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

Questions about WAPT Server / Requests and help related to the WAPT server
Forum Rules
Community Forum Rules
* English support on www.reddit.com/r/wapt
* French community support is available on this forum
* Please prefix the topic title with [RESOLVED] if it is resolved.
* Please do not edit a topic that is tagged [RESOLVED]. Open a new topic referencing the old one.
* Specify the installed WAPT version, full version, and build number (2.2.1.11957 / 2.2.2.12337 / etc.) as well as the Enterprise/Discovery edition.
* Versions 1.8.2 and earlier are no longer supported. The only questions accepted regarding version 1.8.2 are related to upgrading to a supported version (2.1, 2.2, etc.).
* Specify the server OS (Linux/Windows) and version (Debian Buster/Bullseye - CentOS 7 - Windows Server 2012/2016/2019).
* Specify the OS of the administration/package creation machine and the machine with the problematic agent, if applicable (Windows 7/10/11/Debian 11/etc.).
* Avoid asking multiple questions when opening a topic, otherwise it may be ignored. If there are multiple topics, open separate topics, preferably one after the other and not all at the same time (i.e., do not spam the forum).
* Include code snippets, screenshots, and other images directly in the post. Links to Pastebin, Bitly, and other third-party sites will be systematically removed.
* As with any community forum, support is provided voluntarily by members. If you require commercial support, you can contact Tranquil IT's sales department at 02.40.97.57.55
Locked
olm
Messages: 2
Registration: February 2, 2021 - 10:48

June 9, 2021 - 4:20 PM

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
User avatar
dcardon
WAPT Expert
Messages: 1932
Registration: June 18, 2014 - 09:58
Location: Saint Sébastien sur Loire
Contact :

June 15, 2021 - 11:27

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/
Denis Cardon - Tranquil IT
Share your experiences on WAPT! Send us your blog and article URLs in the "Your Opinion of the forum, and we'll feature them on the WAPT
corrieamato
Messages: 1
Registration: July 29, 2021 - 1:32 PM

July 29, 2021 - 1:53 PM

Thanks for this post, it sheds some light on things!
Friday Night Funkin open-source indie game
User avatar
dcardon
WAPT Expert
Messages: 1932
Registration: June 18, 2014 - 09:58
Location: Saint Sébastien sur Loire
Contact :

July 30, 2021 - 5:29 PM

Thanks for the feedback :-)
Denis Cardon - Tranquil IT
Share your experiences on WAPT! Send us your blog and article URLs in the "Your Opinion of the forum, and we'll feature them on the WAPT
Locked