pgadmin-org / pgadmin4

pgAdmin is the most popular and feature rich Open Source administration and development platform for PostgreSQL, the most advanced Open Source database in the world.
https://www.pgadmin.org
Other
2.56k stars 659 forks source link

Worker PID failing to boot after upgrading to latest version (tags: Latest & 8.13.0) #8136

Closed farewarr closed 1 week ago

farewarr commented 1 week ago

PgAdmin container does not fully boot and webpage is not accessible.

Container logs:

self.wsgi = self.app.wsgi() ^^^^^^^^^^^^^^^ File "/venv/lib/python3.12/site-packages/gunicorn/app/base.py", line 67, in wsgi self.callable = self.load() ^^^^^^^^^^^ File "/venv/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py", line 58, in load return self.load_wsgiapp() ^^^^^^^^^^^^^^^^^^^ File "/venv/lib/python3.12/site-packages/gunicorn/app/wsgiapp.py", line 48, in load_wsgiapp return util.import_app(self.app_uri) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/venv/lib/python3.12/site-packages/gunicorn/util.py", line 371, in import_app mod = importlib.import_module(module) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/importlib/init.py", line 90, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "", line 1387, in _gcd_import File "", line 1360, in _find_and_load File "", line 1331, in _find_and_load_unlocked File "", line 935, in _load_unlocked File "", line 995, in exec_module File "", line 488, in _call_with_frames_removed File "/pgadmin4/run_pgadmin.py", line 4, in from pgAdmin4 import app File "/pgadmin4/pgAdmin4.py", line 103, in app = create_app() ^^^^^^^^^^^^ File "/pgadmin4/pgadmin/init.py", line 754, in create_app app.register_blueprint(module) File "/venv/lib/python3.12/site-packages/flask/sansio/scaffold.py", line 47, in wrapper_func return f(self, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/venv/lib/python3.12/site-packages/flask/sansio/app.py", line 595, in register_blueprint blueprint.register(self, options) File "/pgadmin4/pgadmin/tools/init.py", line 52, in register from .psql import blueprint as module File "/pgadmin4/pgadmin/tools/psql/init.py", line 15, in from eventlet.green import subprocess ModuleNotFoundError: No module named 'eventlet' [2024-11-15 16:15:46 +0000] [106] [INFO] Worker exiting (pid: 106) [2024-11-15 16:15:51 +0000] [1] [ERROR] Worker (pid:106) exited with code 3 [2024-11-15 16:15:51 +0000] [1] [ERROR] Shutting down: Master [2024-11-15 16:15:51 +0000] [1] [ERROR] Reason: Worker failed to boot.

Downgrading to 8.12.0 fixed the issue. Let me know if you have any questions. Thanks.

Starstrike commented 1 week ago

Duplicate of https://github.com/pgadmin-org/pgadmin4/issues/8133