Page 1 of 1

secondary server setup

Published: May 3, 2024 - 11:28
by CLAIRON
Good morning,
I hope I am in the right place to ask my question; if not, please excuse me in advance.

I'm setting up a secondary repository server and I'm encountering this problem:
The installation of the prefix-remote-repo-nginx package fails and returns the following error:
-------------

Code: Select all

Traceback (most recent call last):
  File "C:\Program Files (x86)\wapt\common.py", line 4113, in install_wapt
    setup = import_setup(setup_filename)
  File "C:\Program Files (x86)\wapt\waptutils.py", line 1566, in import_setup
    py_mod = imp.load_source(modulename, setupfilename)
  File "imp.py", line 171, in load_source
  File "<frozen importlib._bootstrap>", line 702, in _load
  File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 843, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "C:\Windows\TEMP\waptmxi51kge\setup.py", line 9, in <module>
ModuleNotFoundError: No module named 'urllib2'
ModuleNotFoundError: No module named 'urllib2'

---------------------
In the Secondary Repositories tab, sync_started is set to OK
The rule on PC is = created

Could you please help me.
thanks in advance,
Sincerely,

Re: Setting up a secondary server

Published: May 3, 2024 - 3:37 PM
by dcardon
Hi Christophe,

The problem is most likely related to a version issue between the WAPT version of the agent and the WAPT version for which the remote repo package was written.

Is the agent still running WAPT 2.3?
CLAIRON wrote: May 3, 2024 - 11:28 I hope I am in the right place to ask my question, if not, please excuse me in advance.
You should probably check with Kevin through the ticketing system :-)

See you soon,

Denis

Re: Setting up a secondary server

Published: May 6, 2024 - 10:36
by CLAIRON
Hi Denis,

The PC on which I tried to install nginx is running version 2.5.

I reconfigured the wapt-get.ini file on another PC, and the remote-nginx package installed correctly.
I'll check the differences between the two PCs before bothering you.

My question:
The repository URL shown in the "Secondary Repositories" tab in the browser doesn't return a WAPT page.

Is this normal?

Thanks in advance for your reply.

Christophe,

Re: Setting up a secondary server

Published: Dec 6, 2024 - 11:01
by CLAIRON
Hello,

I'm closing this thread following the addition of a feature in version 2.6 that eliminates the need for secondary servers.

Excellent tool, I'm completely satisfied.

You guys are the best!
Christophet