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
  • 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

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Umami
  3. Umami 2.2.0 tracker XHR request works only on every second app restart

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

Scheduled Pinned Locked Moved Umami
38 Posts 6 Posters 5.0k 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.
  • S stefano

    This issue persists and can't understand why it's happening.
    Every time a reboot is required I need to remember to manually restart Umami, or it stops working.

    So weird that it happens every other reboot/restart.

    girishG Offline
    girishG Offline
    girish
    Staff
    wrote on last edited by
    #22

    @stefano Is yours with a fresh install or migrated from Umami 1 ?

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

      Fresh install. I installed Umami for the first time on May 13th.

      The installed versions are:

      App Title and Version: Umami 2.2.0
      Package Version: is.umami.cloudronapp@3.1.0
      
      girishG 1 Reply Last reply
      0
      • S stefano

        Fresh install. I installed Umami for the first time on May 13th.

        The installed versions are:

        App Title and Version: Umami 2.2.0
        Package Version: is.umami.cloudronapp@3.1.0
        
        girishG Offline
        girishG Offline
        girish
        Staff
        wrote on last edited by
        #24

        @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 1 Reply Last reply
        0
        • S Offline
          S Offline
          stefano
          wrote on last edited by
          #25

          Ok, no worries 🙂

          Yes, it doesn't depend on the browser. I tried with Chrome, Edge, Firefox and Brave (even with shields off), without any ad-blocking extension enabled.

          1 Reply Last reply
          1
          • 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 Offline
            d19dotcaD Offline
            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 Offline
              girishG Offline
              girish
              Staff
              wrote on last edited by
              #27

              @d19dotca will try this again...

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

                Out of curiosity, is anyone else seeing this behavior?

                1 Reply Last reply
                0
                • M Offline
                  M Offline
                  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 Offline
                    girishG Offline
                    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 Offline
                      S Offline
                      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 Offline
                        girishG Offline
                        girish
                        Staff
                        wrote on last edited by
                        #32

                        @stefano thanks! I can reproduce it.

                        1 Reply Last reply
                        3
                        • girishG Offline
                          girishG Offline
                          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 Offline
                            d19dotcaD Offline
                            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 Offline
                              robiR Offline
                              robi
                              wrote on last edited by
                              #35

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

                              Conscious tech

                              girishG 1 Reply Last reply
                              0
                              • robiR robi

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

                                girishG Offline
                                girishG Offline
                                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 Offline
                                  robiR Offline
                                  robi
                                  wrote on last edited by
                                  #37

                                  @girish perhaps an inadvertent cleanup of *

                                  Conscious tech

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

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

                                    1 Reply Last reply
                                    4
                                    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