Umami - Failed container start with environment variables
Solved
Umami
-
Adding any environment variables to the env file and then restarting the container causes the app to never start.
For example - on a new install, add FORCE_SSL = 1 to the env file and restart the container. The error log contains:
May 24 20:30:40 /app/data/env: line 5: FORCE_SSL: command not found May 24 20:31:41 ==> Changing ownership May 24 20:31:41 => Building database May 24 20:31:41 /app/data/env: line 5: FORCE_SSL: command not found May 24 20:32:41 ==> Changing ownership May 24 20:32:41 => Building database May 24 20:32:41 /app/data/env: line 5: FORCE_SSL: command not found
And it will continually stay in this state creating the errors forever until the container is stopped.
-
-
@echokos said in Umami - Failed container start with environment variables:
May 24 20:32:41 /app/data/env: line
I had something similar with IGNORE_IP when I lazily copied the variable from the umami doc (https://umami.is/docs/environment-variables)
try this FORCE_SSL=1 (without spaces)
and restart your app - This seems to work.
-
-