FitTrackee/docs/_sources/troubleshooting/administrator.rst.txt

28 lines
1.0 KiB
Plaintext
Raw Normal View History

2020-12-30 11:12:35 +01:00
Administrator
#############
2021-07-10 10:46:44 +02:00
`FitTrackee fails to start`
~~~~~~~~~~~~~~~~~~~~~~~~~~~
2020-12-30 11:12:35 +01:00
2022-04-09 10:21:57 +02:00
- Check the database URL in `environment variables <../installation.html#envvar-DATABASE_URL>`__ if the following error is displayed in **gunicorn** logs:
2020-12-30 11:12:35 +01:00
2022-04-09 10:21:57 +02:00
.. code::
2021-07-10 10:46:44 +02:00
2022-04-09 10:21:57 +02:00
sqlalchemy.exc.NoSuchModuleError: Can't load plugin: sqlalchemy.dialects:postgres
2021-07-10 10:46:44 +02:00
2022-04-09 10:21:57 +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
2022-07-03 17:27:43 +02:00
A valid ``EMAIL_URL`` must be provided (see `emails <../installation.html#emails>`__).
`Map images are not displayed but map is shown in Workout detail`
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Check the path in `environment variables <../installation.html#envvar-UPLOAD_FOLDER>`__. ``UPLOAD_FOLDER`` must be set with an absolute path.