Umami - Failed container start with environment variables
-
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 foundAnd it will continually stay in this state creating the errors forever until the container is stopped.
-
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 foundAnd it will continually stay in this state creating the errors forever until the container is stopped.
-
N nebulon marked this topic as a question on
-
@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.
-
@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.
-
@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.
-
N nebulon has marked this topic as solved on
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login
