No me permite ingresar a la APPs

hola, la apps no carga

OperationalError at /login/

server closed the connection unexpectedly This probably means the server terminated abnormally before or while processing the request.

Request Method: GET
Request URL: Aqui Toy | Login
Django Version: 4.2.1
Exception Type: OperationalError
Exception Value: server closed the connection unexpectedly This probably means the server terminated abnormally before or while processing the request.
Exception Location: /usr/local/lib/python3.9/site-packages/psycopg2/init.py, line 122, in connect
Raised during: apps.login.views.login
Python Executable: /usr/local/bin/python
Python Version: 3.9.17
Python Path: [‘/code’, ‘/code’, ‘/usr/local/lib/python39.zip’, ‘/usr/local/lib/python3.9’, ‘/usr/local/lib/python3.9/lib-dynload’, ‘/usr/local/lib/python3.9/site-packages’]
Server time: Tue, 21 Jan 2025 17:36:36 -0500

Hi there,

Your Postgres disk filled up, this is why Postgres is not accepting connections.

You can try expanding the volume (fly volumes extend · Fly Docs), you’ll need to use fly volumes list -a your-postgres-app to get the list of volume IDs. Then you’ll likely need to restart your Postgres machines with fly machine restart (for each machine ID in fly machines list -a your-postgres-app).

I don’t guarantee Postgres will automatically recover when you do this - it doesn’t like it when the disk fills up and it might be unrecoverable. If that’s the case, you’ll likely need to create a new Postgres cluster from a backup and update your main app to connect to the new Postgres. But it’s worth trying the volume expansion first.

  • Daniel
1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.