[RESOLVED] Repo Error on NGINX packet

Share your tips or issues concerning the WAPT Console or WAPT Agent here
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
User avatar
Geoffroy
Messages: 75
Registration: June 28, 2022 - 3:34 PM

July 7, 2023 - 4:57 PM

Good morning,

Debian server WAPT2.4.14080
WAPT2.4.14080 Windows console
Repo in Windows 10 Pro 22H2

We currently have two repositories that are working well. We wanted to install a third one as a complement, but when we install the necessary packages..

remote-repo-Nginx
remote-Repo-Conf

We have an error on the NGINX package.
However, the repository appears correctly in the secondary repository and synchronizes properly. On the other hand, the GPO is not applied on any of the workstations because it cannot find the necessary information to install the agent.
Once we remove the rule pointing to this repository, which is causing an error, all machines install correctly. Therefore, I think the repository is completely broken. Installed multiple times and still getting the NGINX error
The future REPO will only include Windows and Chrome.

installing questeducation-remote-repo-nginx(=1.22.1-24)
Install nginx to permit WAPTAgent to become a repository
Create WAPTService directories for nginx
Copy conf file for nginx
Install nginx
Register nginx frontend
Register service "WAPTRepoNginx" with nssm
running command: "W:\wapt\waptservice\win64\nssm.exe" install "WAPTRepoNginx" "W:\wapt\waptservice\nginx\nginx.exe"
Traceback (most recent call last):
File "W:\wapt\common.py", line 4082, in install_wapt
exitstatus = setup.install()
File "C:\Windows\TEMP\wapt_m4zuwu_\setup.py", line 173, in install
File "C:\Windows\TEMP\wapt_m4zuwu_\setup.py", line 150, in install_nginx_service
File "C:\Windows\TEMP\wapt_m4zuwu_\setup.py", line 44, in install_windows_nssm_service
File "W:\wapt\common.py", line 3859, in run
return ensure_unicode(run(*arg, pidlist=self.pidlist,**args))
File "W:\wapt\waptutils.py", line 2118, in run
raise CalledProcessErrorOutput(proc.returncode, cmd, ''.join(output))
waptutils.CalledProcessErrorOutput: Command '"W:\\wapt\\waptservice\\win64\\nssm.exe" install "WAPTRepoNginx" "W:\\wapt\\waptservice\\nginx\\nginx.exe" ' returned non-zero exit status 1.
Output:The specified path could not be found.


CalledProcessErrorOutput: Command '"W:\\wapt\\waptservice\\win64\\nssm.exe" install "WAPTRepoNginx" "W:\\wapt\\waptservice\\nginx\\nginx.exe" ' returned non-zero exit status 1.
Output: The specified path could not be found.
Attachments
2023-07-07 16_49_47-Clipboard.png
2023-07-07 16_49_47-Clipboard.png (8.1 KB) Viewed 3802 times
Last edited by geoffroy on July 19, 2023 - 3:34 PM, edited 1 time.
Server: WAPT Enterprise 2.6.0.17226 on Debian 12;
Consoles: Windows 11
; Infrastructure: Windows
User avatar
Geoffroy
Messages: 75
Registration: June 28, 2022 - 3:34 PM

July 18, 2023 - 10:52

Hello,

we switched to a Linux repo and the problem is gone. However, I think an update to the Windows package is needed.
Server: WAPT Enterprise 2.6.0.17226 on Debian 12;
Consoles: Windows 11
; Infrastructure: Windows
User avatar
dcardon
WAPT Expert
Messages: 1932
Registration: June 18, 2014 - 09:58
Location: Saint Sébastien sur Loire
Contact :

July 21, 2023 - 12:15

Hi Geoffroy,

Simon fixed the package on Windows. Thanks for reporting the bug. I'm closing the thread.

Denis

PS: Personally, I prefer servers and secondary repositories on Linux :-)
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