Administrator¶
FitTrackee fails to start¶
Check the database URL in environment variables if the following error is displayed in gunicorn logs:
sqlalchemy.exc.NoSuchModuleError: Can't load plugin: sqlalchemy.dialects:postgres
The variable
DATABASE_URL
must start withpostgresql://` (engine URLs starting with ``postgres://
are no longer supported).Check the email URL in environment variables if the following error is displayed in gunicorn logs:
fittrackee.emails.exceptions.InvalidEmailUrlScheme
A valid
EMAIL_URL
must be provided (see emails).
Map images are not displayed but map is shown in Workout detail¶
Check the path in environment variables.
UPLOAD_FOLDER
must be set with an absolute path.
Failed to upload or download files¶
Check
client_max_body_size
in nginx config. Increase the value to handle larger files (see nginx documentation).Increase gunicorn timeout value if the following error is displayed in gunicorn log:
[CRITICAL] WORKER TIMEOUT
.