Necesito ayuda en este mi primer proyecto que subo, tengo otro mas que subir y 38 en produción pero necesito ayuda en el sespliegue

emovir
TRIAL

6 months ago

File "", line 1176, in findand_load

File "", line 1147, in findandloadunlocked

File "", line 690, in loadunlocked

File "", line 940, in exec_module

File "", line 241, in callwithframesremoved

File "/app/app.py", line 569, in

app = create_app()

      ^^^^^^^^^^^^

File "/app/app.py", line 48, in create_app

raise Exception("Failed to initialize extensions")

Exception: Failed to initialize extensions

[2025-01-02 17:40:57 +0000] [7] [INFO] Worker exiting (pid: 7)

DEBUG:extensions:Inicializando extensión Mail…

INFO:extensions:Extensión Mail inicializada correctamente

DEBUG:extensions:Inicializando extensión SQLAlchemy…

ERROR:extensions:Error during extension initialization: Either 'SQLALCHEMYDATABASEURI' or 'SQLALCHEMY_BINDS' must be set.

[2025-01-02 17:40:57 +0000] [6] [ERROR] Exception in worker process

Traceback (most recent call last):

File "/opt/venv/lib/python3.11/site-packages/gunicorn/arbiter.py", line 608, in spawn_worker

worker.init_process()

File "/opt/venv/lib/python3.11/site-packages/gunicorn/workers/ggevent.py", line 146, in init_process

super().init_process()

File "/opt/venv/lib/python3.11/site-packages/gunicorn/workers/base.py", line 135, in init_process

self.load_wsgi()

File "/opt/venv/lib/python3.11/site-packages/gunicorn/workers/base.py", line 147, in load_wsgi

self.wsgi = [self.app](self.app).wsgi()

            ^^^^^^^^^^^^^^^

File "/opt/venv/lib/python3.11/site-packages/gunicorn/app/base.py", line 66, in wsgi

self.callable = self.load()

                ^^^^^^^^^^^

File "/opt/venv/lib/python3.11/site-packages/gunicorn/app/wsgiapp.py", line 57, in load

return self.load_wsgiapp()

       ^^^^^^^^^^^^^^^^^^^

File "/opt/venv/lib/python3.11/site-packages/gunicorn/app/wsgiapp.py", line 47, in load_wsgiapp

return util.import_app([self.app](self.app)_uri)

       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "/opt/venv/lib/python3.11/site-packages/gunicorn/util.py", line 370, in import_app

mod = importlib.import_module(module)

      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "/root/.nix-profile/lib/python3.11/importlib/init.py", line 126, in import_module

return _bootstrap._gcd_import(name[level:], package, level)

       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "", line 1204, in gcdimport

File "", line 1176, in findand_load

File "", line 1147, in findandloadunlocked

File "", line 690, in loadunlocked

File "", line 940, in exec_module

File "", line 241, in callwithframesremoved

File "/app/app.py", line 569, in

app = create_app()

      ^^^^^^^^^^^^

File "/app/app.py", line 48, in create_app

raise Exception("Failed to initialize extensions")

Exception: Failed to initialize extensions

[2025-01-02 17:40:57 +0000] [6] [INFO] Worker exiting (pid: 6)

[2025-01-02 17:40:58 +0000] [1] [ERROR] Worker (pid:4) exited with code 3

[2025-01-02 17:40:58 +0000] [1] [ERROR] Worker (pid:7) was sent SIGTERM!

[2025-01-02 17:40:58 +0000] [1] [ERROR] Worker (pid:6) was sent SIGTERM!

[2025-01-02 17:40:58 +0000] [1] [ERROR] Worker (pid:5) was sent SIGTERM!

[2025-01-02 17:40:58 +0000] [1] [ERROR] Shutting down: Master

[2025-01-02 17:40:58 +0000] [1] [ERROR] Reason: Worker failed to boot.

View Deploy details

> ⓘ Deployment information is only viewable by project members and Railway employees.

Closed

1 Replies

6 months ago

Hey, This is an English-only community, please open a new post in English, thank you for understanding!


Status changed to Closed brody 6 months ago


Necesito ayuda en este mi primer proyecto que subo, tengo otro mas que subir y 38 en produción pero necesito ayuda en el sespliegue - Railway Help Station