upgrade broke TRACKER_SCRIPT_NAME
-
wrote on Jul 28, 2023, 4:00 PM last edited by
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.
-
wrote on Jul 28, 2023, 4:29 PM last edited by psifertex Jul 28, 2023, 4:30 PM
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
-
wrote on Jul 28, 2023, 6:27 PM last edited by
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.
-
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.
@psifertex iirc, I think that changed happenned from 1.x to 2.x .