Check your database connection and configuration
{{ status.database_type }}
{{ status.database_url }}
{% if status.available %}Available{% else %}Unavailable{% endif %}
{{ status.error }}
Database Connection Failed: Your application cannot connect to the database. This is common in serverless environments.
Recommended Database Options:
Note: Only PostgreSQL has been tested with Leapcell. Use postgresql+psycopg in your DATABASE_URL (asyncpg and psycopg2 are not supported).
Set DATABASE_URL in your environment:
DATABASE_URL=postgresql+psycopg://user:pass@host:port/db
Initialize database:
uv run python oppman.py db