upgrade broke TRACKER_SCRIPT_NAME
-
I have used a custom environment variable to set a custom file name for my umami installation but about a month ago an automated upgrade apparently broke that. In fact, I can't even see in the settings now where it's possible to SET custom environment variables for the app. Was this a deprecation in cloudron? It doesn't appear to be related to changes in umami itself.
-
I just double checked and env.sh hasn't been changed, so not sure why the environment var is being ignored. It contains:
root@ab8ccac7-d2dc-4371-9cb8-0c0907fa15a9:/app/data# cat env.sh # https://umami.is/docs/environment-variables export HASH_SALT=<REMOVED> export TRACKER_SCRIPT_NAME=yummi -
Found the bug. The variable previously appended .js but apparently an upgrade either truncated the config file, or the umami code itself changed such that the extension wasn't used.
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