uptime-kuma icon indicating copy to clipboard operation
uptime-kuma copied to clipboard

Restored DB - Dashboard shows hosts are down (Ping/HTTP monitors) but they are up - doesnt update

Open JackieTreeh0rn opened this issue 1 year ago • 2 comments

⚠️ Please verify that this question has NOT been raised before.

  • [x] I checked and didn't find similar issue

🛡️ Security Policy

📝 Describe your problem

I am running on docker stack using a gluster volume mapped on all swarm nodes and with zero backlog. this allows for service to respawn on any node, it works quite well, however...

  • Compose bind: /mnt/glustervol/uptime-kuma/data:/app/data

  • I take down stack to make db backup (all services and monitors are up at the time of backup): docker stack rm uptime-kuma

  • I backup db data folder cp -av ./data/* ./data_bak

  • I restore db back up cp -av ./data_bak/* ./data

  • I redeploy stack (all services are monitors already up - same state as during backup) docker stack deploy -c docker-compose.yml uptime-kuma

Service starts, shows all my monitors, etc, but only a few hosts report as UP eventhough they are ALL up. No issue reported on service log, just that hosts are down. Tried editing monitors just to re-save, and no difference.

what gives?

📝 Error Message(s) or Log

No response

🐻 Uptime-Kuma Version

image: louislam/uptime-kuma:1

💻 Operating System and Arch

Ubuntu 23.10 / Docker latest

🌐 Browser

Safari

🖥️ Deployment Environment

  • Runtime:
  • Database:
  • Filesystem used to store the database on:
  • number of monitors:

JackieTreeh0rn avatar Jan 26 '24 05:01 JackieTreeh0rn

What are the error messages of the monitors shown as down?

chakflying avatar Jan 26 '24 05:01 chakflying

on the dashboard. everything is restored, all my monitors etc. bu only a handful of hosts show as being UP. the logs for the service just show standard ouput (hosts down to ping, etc) I reboot the hosts anyway to see if it resets somehow but nothing. I basically end up having to delete all my monitors, recreate them from scratch if that makes sense. Ive tried the WiKi, etc. Is there a better way to back up the DB? should I back it up while the service is running? I am taking the service down as I stated before backup thinking that makes sense

JackieTreeh0rn avatar Jan 26 '24 06:01 JackieTreeh0rn

We are clearing up our old help-issues and your issue has been open for 60 days with no activity. If no comment is made and the stale label is not removed, this issue will be closed in 7 days.

github-actions[bot] avatar Mar 26 '24 12:03 github-actions[bot]