bandundu / email-archiver

Email archiving tool for IMAP/POP3 accounts (early development)
209 stars 7 forks source link

Backend not starting #27

Open Trilis29 opened 4 months ago

Trilis29 commented 4 months ago

Backend not starting, throwing errors

INFO: 24.06.2024 13:30:44.650 - Using preset Fernet key: eL2czOOOrVS5RUnxle5bE2mUpwNp_FQNXkJzctUWW7A= Traceback (most recent call last): File "app.py", line 12, in <module> from models.database import initialize_database File "/home/user/email-archiver/backend/models/database.py", line 9, in <module> engine = create_engine(config.DATABASE_URL, pool_size=20) File "<string>", line 2, in create_engine File "/home/user/email-archiver/backend/.venv/lib/python3.8/site-packages/sqlalchemy/util/deprecations.py", line 281, in warned return fn(*args, **kwargs) # type: ignore[no-any-return] File "/home/user/email-archiver/backend/.venv/lib/python3.8/site-packages/sqlalchemy/engine/create.py", line 546, in create_engine u = _url.make_url(url) File "/home/user/email-archiver/backend/.venv/lib/python3.8/site-packages/sqlalchemy/engine/url.py", line 846, in make_url raise exc.ArgumentError( sqlalchemy.exc.ArgumentError: Expected string or URL object, got None