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


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Offical apps | Community apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Umami
  3. Umami 2.2.0 tracker XHR request works only on every second app restart
Everything related to the PHP CVE and eMudhra Cert Please read our Security issue thread - PHP and eMudhra cert compromise.

Umami 2.2.0 tracker XHR request works only on every second app restart

Scheduled Pinned Locked Moved Umami
38 Posts 6 Posters 18.3k Views 6 Watching
  • 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.
  • girishG girish

    @stefano I missed your initial post about your setup. Do you see the same behavior with different browsers and ad block extensions disabled? I will try to reproduce this again in the meantime.

    d19dotcaD
    d19dotcaD
    d19dotca
    wrote on last edited by
    #26

    @girish just wanted to ask about an update on this one.

    --
    Dustin Dauncey
    www.d19.ca

    girishG 1 Reply Last reply
    1
    • d19dotcaD d19dotca

      @girish just wanted to ask about an update on this one.

      girishG
      girishG
      girish
      Staff
      wrote on last edited by
      #27

      @d19dotca will try this again...

      1 Reply Last reply
      1
      • girishG
        girishG
        girish
        Staff
        wrote on last edited by
        #28

        Out of curiosity, is anyone else seeing this behavior?

        1 Reply Last reply
        0
        • M
          M
          Meuschke
          wrote on last edited by Meuschke
          #29

          @girish It seems that this behavior happens for me too.
          This seems to be browser independent. Restarting the Umami application then helps.

          1 Reply Last reply
          3
          • girishG
            girishG
            girish
            Staff
            wrote on last edited by
            #30

            I tried to reproduce this but I am not able to. Here's what I did:

            • Install umami
            • Add domain in umami.
            • Install surfer
            • Put tracking code from umami into a sample index.html
            • I refresh index.html 10 times. I see 10 in umami

            Is there something special I need to do?

            1 Reply Last reply
            0
            • S
              S
              stefano
              wrote on last edited by stefano
              #31

              Try restarting either Umami or rebooting the server, after that Umami should stop working (you will see an error in the browser's console when loading the site).
              Then after restarting/rebooting again, it will work again.

              Basically it stops working every other reboot, so when a reboot is needed I need to reboot twice to get Umami to work.

              Not sure if it matters, but in my case the website I am tracking is on a different server than Umami.

              1 Reply Last reply
              3
              • girishG
                girishG
                girish
                Staff
                wrote on last edited by
                #32

                @stefano thanks! I can reproduce it.

                1 Reply Last reply
                3
                • girishG
                  girishG
                  girish
                  Staff
                  wrote on last edited by girish
                  #33

                  Alright, https://github.com/umami-software/umami/issues/2093 . The issue is that the geolocation db is being removed when we build the app on restart. I tried to debug a lot but couldn't figure out.

                  robiR 1 Reply Last reply
                  3
                  • d19dotcaD
                    d19dotcaD
                    d19dotca
                    wrote on last edited by
                    #34

                    Thanks for looking into this! I’m glad it’s not just me and others have seen this too. I know you said you couldn’t reproduce it a while back so assumed maybe it was an issue on my end, glad to know it’s something more with Umami and the build part. 🙂 Thanks for sticking with it, @girish. And thanks to everyone else here commenting with their “me too” as well. 🙂

                    --
                    Dustin Dauncey
                    www.d19.ca

                    1 Reply Last reply
                    1
                    • girishG girish

                      Alright, https://github.com/umami-software/umami/issues/2093 . The issue is that the geolocation db is being removed when we build the app on restart. I tried to debug a lot but couldn't figure out.

                      robiR
                      robiR
                      robi
                      wrote on last edited by
                      #35

                      @girish would it help to move the location of the geo db?

                      Frequency tech & energy mastery

                      girishG 1 Reply Last reply
                      0
                      • robiR robi

                        @girish would it help to move the location of the geo db?

                        girishG
                        girishG
                        girish
                        Staff
                        wrote on last edited by
                        #36

                        @robi the location is hardcoded in the code. I still don't understand why or who remove the geo database. It is just building the app....

                        robiR 1 Reply Last reply
                        0
                        • girishG girish

                          @robi the location is hardcoded in the code. I still don't understand why or who remove the geo database. It is just building the app....

                          robiR
                          robiR
                          robi
                          wrote on last edited by
                          #37

                          @girish perhaps an inadvertent cleanup of *

                          Frequency tech & energy mastery

                          1 Reply Last reply
                          0
                          • girishG
                            girishG
                            girish
                            Staff
                            wrote on last edited by
                            #38

                            @d19dotca @Meuschke this should be finally fixed in the latest update.

                            1 Reply Last reply
                            4

                            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
                            Reply
                            • Reply as topic
                            Log in to reply
                            • Oldest to Newest
                            • Newest to Oldest
                            • Most Votes


                            • Login

                            • Don't have an account? Register

                            • Login or register to search.
                            • First post
                              Last post
                            0
                            • Categories
                            • Recent
                            • Tags
                            • Popular
                            • Bookmarks
                            • Search