question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

updating container with autoupdater style program

See original GitHub issue

Is it a duplicate question? NO

Describe the bug I lost all my monitors when I update my docker using ouroboros/watchtower style programs.

To Reproduce Steps to reproduce the behavior:

  1. let ouroboros/watchtower automatically update your container

Expected behavior Not to lose all app monitors + settings.

Info Uptime Kuma Version: Version: 1.7.3 Using Docker?: Yes Docker Version: 20.10.8 Node.js Version (Without Docker only): OS: Ubuntu 20.04.3 LTS Browser: Google Chrome 94.0.4606.61

Screenshots If applicable, add screenshots to help explain your problem.

Error Log It is easier for us to find out the problem.

Docker: docker logs <container id> PM2: ~/.pm2/logs/ (e.g. /home/ubuntu/.pm2/logs)

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
xxcriticxxcommented, Oct 1, 2021

thanks @gaby I will adjust my setup

1reaction
gabycommented, Oct 1, 2021

@xxcriticxx This issue is related to how WatchTower works, not uptime-kuma. They already addressed your issue here: https://github.com/containrrr/watchtower/issues/410

As an alternative you can use an external volume, like this:

mkdir -p /opt/data/uptime-kuma/
docker run -d --restart=always -p 3001:3001 -v /opt/data/uptime-kuma/:/app/data --name uptime-kuma louislam/uptime-kuma:1
Read more comments on GitHub >

github_iconTop Results From Across the Web

Auto-update Your Docker Containers - YouTube
Ouroboros and Dozzle, Automatically update your docker containers and watch the logs.My favorite Raspberry Pi Kit ...
Read more >
How to use auto-updates and rollbacks in Podman - Red Hat
You can configure containers for auto-updates by setting the io.containers.autoupdate label when you create each container.
Read more >
Auto-updating podman containers with systemd
Auto-Updating containers can be very useful in some cases. Podman provides mechanisms to take care of container updates automatically.
Read more >
[Feature Request] Container Auto Update Option. : r/portainer
[Feature Request] Container Auto Update Option. Hi Guys,. Love using Portainer for management of the Docker containers I have running.
Read more >
Keeping your Docker containers up to date - TheOrangeOne
A more optimal solution is a combination of the above: some containers auto-update, and others are pinned to the versions you need, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found