Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to v2 interrupted by docker healthcheck #5273

Open
1 task done
derekoharrow opened this issue Oct 29, 2024 · 2 comments
Open
1 task done

Upgrade to v2 interrupted by docker healthcheck #5273

derekoharrow opened this issue Oct 29, 2024 · 2 comments
Labels
bug Something isn't working cannot-reproduce

Comments

@derekoharrow
Copy link

derekoharrow commented Oct 29, 2024

📑 I have found this issue...

Attempted upgrade from v1 to v2. The DB upgrade was working fine, but then the container got killed by the in built docker healthcheck.

To get around this for me, I restored by DB/backup and then cleared down all the stats so that the upgrade didn't take too long for the healthcheck.

I guess another alternative would be to temporarily disable the healthcheck before upgrading, or make the healthcheck work during the upgrade process.

🛡️ Security Policy

Description

No response

👟 Reproduction steps

Follow the v2 migration guide without clearing history/shrinking DB first.

👀 Expected behavior

Should upgrade ok

😓 Actual Behavior

Upgrade interrupted by healtcheck timing out.

🐻 Uptime-Kuma Version

2.0.0-beta.0

💻 Operating System and Arch

Ubuntu 22.04.2 LTS

🌐 Browser

n/a

🖥️ Deployment Environment

  • Runtime: Docker version 27.3.1, build ce12230
  • Database: sqlite/embedded
  • Filesystem used to store the database on: ext3
  • number of monitors: 80+

📝 Relevant log output

No response

@louislam
Copy link
Owner

Do you have the last log before healthcheck restarted?

I thought it was fixed by: #5258

@derekoharrow
Copy link
Author

Sorry - they've gone. It was progressing with the DB upgrade and then the container was stopped/restarted by the healthcheck by the look of it.

I only pulled the container an hour or two ago. I think I was using the slim rootless one to begin with (until I later realised I needed the rooted one to work with docker).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working cannot-reproduce
Projects
None yet
Development

No branches or pull requests

2 participants