-
Hey guys, I am a happy user of docker-volume-backup and the backups work very well. But unfortunately, I am struggling with the notifications. I have a local Gotify server running which receives the messages from several services. I just cannot figure out why it does not work reliably with docker-volume-backup. The strange thing is that on some days, I do receive a message on Gotify and on some days I do not. With other services, it is working flawlessly and I get all the messages. Whenever I try to debug it and run the backup command inside the Docker container shell, I am not successful in getting any messages on Gotify and get this output in the console:
This is my ENV variable that I use to configure docker-volume-backup (I am using an Ansible role to start the Docker container):
If there would be something wrong with the URL or the token, I would expect it to never work, but as written above, I do get the message on some days. I do have Do you have any idea what I am doing wrong or how I can debug this problem further? Thanks a lot! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 10 replies
-
Seeing that your error message contains
Does Gotify log the requests made against it so you can compare what is being requested when successful, and compare it to what is being requested when failing? |
Beta Was this translation helpful? Give feedback.
That's a tricky situation. In an ideal world I would guess you deploy an additional Gotfiy server that sends notifications for backing up your Gotify server, but maybe that's not very practical.
Real world solutions I can think of right now:
sleep 60
as apost-archive
command and hope it gives your Gotify server enough time to start up. This could still cause races of course