[Installation] NoethysWeb et Alwaysdata

Plus d'informations
il y a 1 mois 3 semaines #27611 par maximus95380
Bonjour à tous.

J'ai essayé d'installer la dernière version disponible de NoethysWeb sur mon serveur Alwaysdata. J'ai réussi à installer toute les dépendances, j'ai réussi à lancer le service sans problème particulier.

Au moment de créer l'application Uwsgi, je réalise le lien, et j'accède à une erreur "Bad Gateway".

Lorsque je consulte les logs, je vois qu'il n'arrive pas à accéder au module "noethysweb".

Quelqu'un aurait-il une idée? 

Logs : 

----Python version: 3.10.0 (default, Oct 5 2021, 06:00:50) [GCC 8.3.0]
Python main interpreter initialized at 0x55c6ea05d5d0
python threads support enabled
your server socket listen backlog is limited to 100 connections
your mercy for graceful operations on workers is 60 seconds
mapped 2133432 bytes (2083 KB) for 20 cores
*** Operational MODE: preforking ***
*** uWSGI is running in multiple interpreter mode ***
spawned uWSGI master process (pid: 3102432)
spawned uWSGI worker 1 (pid: 3102437, cores: 1)
spawned 1 offload threads for uWSGI worker 1
Traceback (most recent call last):
File "/home/fscf49/www/noethysweb/noethysweb/wsgi.py", line 11, in <module>
application = get_wsgi_application()
File "/home/fscf49/.local/lib/python3.10/site-packages/django/core/wsgi.py", line 12, in get_wsgi_application
django.setup(set_prefix=False)
File "/home/fscf49/.local/lib/python3.10/site-packages/django/__init__.py", line 19, in setup
configure_logging(settings.LOGGING_CONFIG, settings.LOGGING)
File "/home/fscf49/.local/lib/python3.10/site-packages/django/conf/__init__.py", line 82, in __getattr__
self._setup(name)
File "/home/fscf49/.local/lib/python3.10/site-packages/django/conf/__init__.py", line 69, in _setup
self._wrapped = Settings(settings_module)
File "/home/fscf49/.local/lib/python3.10/site-packages/django/conf/__init__.py", line 170, in __init__
mod = importlib.import_module(self.SETTINGS_MODULE)
File "/usr/alwaysdata/python/3.10.0/lib/python3.10/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
File "<frozen importlib._bootstrap>", line 992, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
File "<frozen importlib._bootstrap>", line 1004, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'noethysweb'
unable to load app 0 (mountpoint='') (callable not found or import error)
*** no app loaded. GAME OVER ***
SIGINT/SIGTERM received...killing workers...
Exception ignored in: <module 'threading' from '/usr/alwaysdata/python/3.10.0/lib/python3.10/threading.py'>
Traceback (most recent call last):
File "/usr/alwaysdata/python/3.10.0/lib/python3.10/threading.py", line 1498, in _shutdown
def _shutdown():
KeyboardInterrupt:
OOPS ! failed loading app in worker 1 (pid 3102437)
Fri Feb 23 19:50:48 2024 - need-app requested, destroying the instance...
goodbye to uWSGI.
 
Les utilisateur(s) suivant ont remercié: fscf49

Connexion ou Créer un compte pour participer à la conversation.

Temps de génération de la page : 0.116 secondes
Propulsé par Kunena