Umami 2.2.0 tracker XHR request works only on every second app restart
-
wrote on May 18, 2023, 3:58 PM last edited by
I just did a fresh install of Umami a few days ago, on May 13th, and I am experiencing the same exact issue.
Initially everything works.
If I restart the app, then on the site it loads a 200 for the js file but a 400 for the XHR request (so the data is not logged).
If I restart the app again, it works again as expected.
And so on...The only customization I have is in the env.sh where I added
export TRACKER_SCRIPT_NAME=get.js export COLLECT_API_ENDPOINT=/api/get
The installed version is:
App Title and Version: Umami 2.2.0 Package Version: is.umami.cloudronapp@3.1.0
-
wrote on May 18, 2023, 7:31 PM last edited by
I recently updated (funnily enough also on 13 May). I don't really use it much so only just went to look and lo and behold, zero data has been captured since 13 May (I also note that contrary to the warnings, the old data seems to still be there).
I've just restarted the app to see if like others on this thread that somehow magically makes the data collection work again... didn't seem to.
-
I recently updated (funnily enough also on 13 May). I don't really use it much so only just went to look and lo and behold, zero data has been captured since 13 May (I also note that contrary to the warnings, the old data seems to still be there).
I've just restarted the app to see if like others on this thread that somehow magically makes the data collection work again... didn't seem to.
wrote on May 18, 2023, 11:13 PM last edited by@jdaviescoates validate your tracker script still works and is being called correctly, or simply reinstall it with the new version with copy/pasta.
-
-
wrote on Jun 3, 2023, 10:43 AM last edited by
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.
-
wrote on Jun 4, 2023, 5:01 AM last edited by
I agree, this is a bizarre issue and unfortunately I can't yet figure out where the issue is coming from.
-
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.
-
wrote on Jun 4, 2023, 4:53 PM last edited by stefano Jun 4, 2023, 4:53 PM
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
-
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
-
wrote on Jun 5, 2023, 8:05 AM last edited by
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.
-
-
@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.
-
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?
-
wrote on Jun 26, 2023, 12:31 PM last edited by stefano Jun 26, 2023, 12:32 PM
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.
-
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.
-
wrote on Jun 26, 2023, 4:54 PM last edited by
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.
-
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.