FitTrackee/docsrc/source/troubleshooting/administrator.rst

22 lines
757 B
ReStructuredText
Raw Normal View History

2019-07-14 20:44:10 +02:00
Administrator
#############
2021-07-10 10:46:44 +02:00
`FitTrackee fails to start`
~~~~~~~~~~~~~~~~~~~~~~~~~~~
2019-07-14 20:44:10 +02:00
2022-04-09 10:16:46 +02:00
- Check the database URL in `environment variables <../installation.html#envvar-DATABASE_URL>`__ if the following error is displayed in **gunicorn** logs:
2019-07-14 20:44:10 +02:00
2022-04-09 10:16:46 +02:00
.. code::
2021-07-10 10:46:44 +02:00
2022-04-09 10:16:46 +02:00
sqlalchemy.exc.NoSuchModuleError: Can't load plugin: sqlalchemy.dialects:postgres
2021-07-10 10:46:44 +02:00
2022-04-09 10:16:46 +02:00
It must start with `postgresql://` (engine URLs starting with `postgres://` are no longer supported).
- Check the email URL in `environment variables <../installation.html#envvar-EMAIL_URL>`__ if the following error is displayed in **gunicorn** logs:
.. code::
fittrackee.emails.exceptions.InvalidEmailUrlScheme
A valid ``EMAIL_URL`` must be provided (see `emails <../installation.html#emails>`__).