Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Solved Umami packge 2.4.1+ breaks TRACKER_SCRIPT_NAME

    Umami
    3
    6
    72
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • E
      echokos last edited by

      I've reverted to package 2.4.0 and it works fine, but package 2.4.1 or after does not respect the TRACKER_SCRIPT_NAME setting in the env.sh file.

      d19dotca 1 Reply Last reply Reply Quote 0
      • d19dotca
        d19dotca @echokos last edited by

        @echokos Interesting, it seems to be working fine for me. I have a tracker_script_name set. Do you have it set with export before the variable name?

        --
        Dustin Dauncey
        www.d19.ca

        1 Reply Last reply Reply Quote 2
        • d19dotca
          d19dotca last edited by girish

          Here's what I have set in mine and it works so far just fine:

          # https://umami.is/docs/environment-variables
          
          export HASH_SALT=xxx
          export TRACKER_SCRIPT_NAME=umami2
          export REMOVE_TRAILING_SLASH=1
          

          --
          Dustin Dauncey
          www.d19.ca

          girish E 2 Replies Last reply Reply Quote 2
          • girish
            girish Staff @d19dotca last edited by

            @d19dotca I removed your salt. But maybe you can change it for good measure in your installation.

            d19dotca 1 Reply Last reply Reply Quote 2
            • E
              echokos @d19dotca last edited by

              @d19dotca Thank you! I was definitely missing the 'export' in the env.sh file. Adding it and rebooting solves the issues after upgrading.

              1 Reply Last reply Reply Quote 2
              • Topic has been marked as a question  nebulon nebulon 
              • Topic has been marked as solved  nebulon nebulon 
              • d19dotca
                d19dotca @girish last edited by

                @girish said in Umami packge 2.4.1+ breaks TRACKER_SCRIPT_NAME:

                @d19dotca I removed your salt. But maybe you can change it for good measure in your installation.

                Good catch! Sorry I missed that 😅 I’ll change it quickly as a precaution.

                --
                Dustin Dauncey
                www.d19.ca

                1 Reply Last reply Reply Quote 1
                • First post
                  Last post
                Powered by NodeBB