Page 1 of 1

[SOLVED] Moving the wua and store folders to the server

Published: June 9, 2021 - 4:20 PM
by olm
WAPT Enterprise version installed: 1.8.2.7334 on a Debian Buster server.

Hello,

We are encountering a small problem moving the wapt_wua and wapt_folder folders to another partition.

Here is what we have done:

1) Moved the /var/www/wapt and /var/www/waptwua folders into the /wapt folder, resulting in the following directory structure:
for wua: /wapt/waptwua
for the main wapt repository: /wapt/wapt.
We have correctly maintained the same access rights.

2) Changed the wapt server configuration file by adding/modifying the following two lines:
wapt_folder = /wapt/wapt
waptwua_folder = /wapt/waptwua.

After restarting the service, when we relaunch the console, the URL of the main repository displays a 502 Bad Gateway error

. After some investigation, we were able to find the problem; we also needed to modify the nginx configuration file.

After another restart, the 502 Bad Gateway error has changed to a different line in the WAPT server URL.

I think we're getting close, but we're still stuck. Do you have any idea what to do next?

Thanks in advance,
Olivier Marcoux

Re: Moving the wua and store folders to the server

Published: June 15, 2021 - 11:27
by dcardon
If you just need to create another mount point, you can try using `mount --bind` rather than changing all the parameters
mount --bind /wapt/wapt/ /var/www/wapt/

Re: Moving the wua and store folders to the server

Published: July 29, 2021 - 1:53 PM
by corrieamato
Thanks for this post, it sheds some light on things!

Re: [SOLVED] Moving the wua and store folders to the server

Published: July 30, 2021 - 5:29 PM
by dcardon
Thanks for the feedback :-)