Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash démarrage conteneur docker en 2.4.5 #235

Closed
marcantoinedupre opened this issue Mar 7, 2025 · 2 comments
Closed

Crash démarrage conteneur docker en 2.4.5 #235

marcantoinedupre opened this issue Mar 7, 2025 · 2 comments

Comments

@marcantoinedupre
Copy link

Au démarrage d'un conteneur docker basé sur UsersHub 2.4.5 on obtient l'erreur suivante :

usershub-1  | [2025-03-06 17:37:41 +0000] [1] [INFO] Starting gunicorn 23.0.0
usershub-1  | [2025-03-06 17:37:41 +0000] [1] [INFO] Listening at: http://0.0.0.0:5001 (1)
usershub-1  | [2025-03-06 17:37:41 +0000] [1] [INFO] Using worker: sync
usershub-1  | [2025-03-06 17:37:41 +0000] [7] [INFO] Booting worker with pid: 7
usershub-1  | [2025-03-06 17:37:42 +0000] [7] [ERROR] Exception in worker process
usershub-1  | Traceback (most recent call last):
usershub-1  |   File "/usr/local/lib/python3.9/site-packages/gunicorn/arbiter.py", line 608, in spawn_worker
usershub-1  |     worker.init_process()
usershub-1  |   File "/usr/local/lib/python3.9/site-packages/gunicorn/workers/base.py", line 135, in init_process
usershub-1  |     self.load_wsgi()
usershub-1  |   File "/usr/local/lib/python3.9/site-packages/gunicorn/workers/base.py", line 147, in load_wsgi
usershub-1  |     self.wsgi = self.app.wsgi()
usershub-1  |   File "/usr/local/lib/python3.9/site-packages/gunicorn/app/base.py", line 66, in wsgi
usershub-1  |     self.callable = self.load()
usershub-1  |   File "/usr/local/lib/python3.9/site-packages/gunicorn/app/wsgiapp.py", line 57, in load
usershub-1  |     return self.load_wsgiapp()
usershub-1  |   File "/usr/local/lib/python3.9/site-packages/gunicorn/app/wsgiapp.py", line 47, in load_wsgiapp
usershub-1  |     return util.import_app(self.app_uri)
usershub-1  |   File "/usr/local/lib/python3.9/site-packages/gunicorn/util.py", line 423, in import_app
usershub-1  |     app = app(*args, **kwargs)
usershub-1  |   File "/usr/local/lib/python3.9/site-packages/app/app.py", line 64, in create_app
usershub-1  |     app.config["VERSION"] = open("VERSION").read().strip()
usershub-1  | FileNotFoundError: [Errno 2] No such file or directory: 'VERSION'
usershub-1  | [2025-03-06 17:37:42 +0000] [7] [INFO] Worker exiting (pid: 7)
usershub-1  | [2025-03-06 17:37:42 +0000] [1] [ERROR] Worker (pid:7) exited with code 3
usershub-1  | [2025-03-06 17:37:42 +0000] [1] [ERROR] Shutting down: Master
usershub-1  | [2025-03-06 17:37:42 +0000] [1] [ERROR] Reason: Worker failed to boot.
@jacquesfize
Copy link
Contributor

jacquesfize commented Mar 7, 2025

Fix dans #236 Je fais une release dans la journée.

@jacquesfize
Copy link
Contributor

corrigé dans la 2.4.6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants