How to disable analytics in Dockge
help needed
Solution:Jump to solution
i did delete and redeploy, that did the trick and the disable analytics env var now shows when running a printenv command
26 Replies
Thank you for submitting a support request.
Depending on the volume of requests, our team should get in contact with you shortly.
⚠️ Please include the following details in your post or we may reject your request without further comment: - Log (See https://homarr.dev/docs/community/faq#how-do-i-open-the-console--log) - Operating system (Unraid, TrueNAS, Ubuntu, ...) - Exact Homarr version (eg. 0.15.0, not latest) - Configuration (eg. docker-compose, screenshot or similar. Use ``your-text`` to format) - Other relevant information (eg. your devices, your browser, ...)
❓ Frequently Asked Questions | Homarr documentation
Can I install Homarr on a Raspberry Pi?
Hi, please follow the rules when asking questions and read the documentation before you ask.
See https://homarr.dev/docs/advanced/configuration/environment-variables/#anonymous-analytics
🐳 Environment variables | Homarr documentation
Homarr offers a Docker Container, which can be run on any compatible system, such as Unraid, Kubernetes and many more systems! Our Docker container is based on the
node:16-alpine image and serves per standard on the port 7575
.Ninja — 09:44
i have a question
my adguard home seems to block this
Image1
is it necessary for homarr?
Meierschlumpf — 09:45
Bo, you can diasable it with env variables, wait
Set DISABLE_ANALYTICS to true
Ninja — 09:54
where is the env file located?
i tried to add it here but i dont think thats right
Image2
Meierschlumpf — 09:55
it is, but without the space i would say
Ninja — 09:57
tried, it still pops up
Image3
Meierschlumpf — 09:58
Have you restarted the container?
Ninja — 09:59
yes
i will restart it one more time
yeah still pops up
Meierschlumpf — 10:01
Okay weird
Let's move into 💬・get-helpOkay so you are using docker-compose I guess, right?
yes
dockge
if its the same thing
Okay, how did you resolve into the env variable not working? Did the count go up when you reloaded the homarr app?
yes
i can show you before and after if you would like
Can you try to reload the cache of the page with
CTRL + F5
? Maybe something is cached?did that, it went up again
Okay thats not good I guess
Can you for yourself (without posting the result) go into the container and run
printenv
to check if the environment variables was set correctly?okay
there is no disable analytics in there
Okay weird?
yeah
Can you share your whole docker-compose file?
yes one moment
Without secrets of course
i dont know what that is XD
but i dont think there is anything sensitive
That looks normal to me, how did you restart? Only within docker desktop or within dockge?
Okay can you instead try to
Deploy
it again? I thin restarting will just restart it with the previous configuration and so without the new env variableRestart will not recreate
ok so delete it and deploy again?
Read the Dockge docs, not sure
Solution
i did delete and redeploy, that did the trick and the disable analytics env var now shows when running a printenv command
thank you very much both of you
Your welcome and merry christmas