Giter VIP home page Giter VIP logo

Comments (5)

vbatts avatar vbatts commented on July 20, 2024 1

totally get that, and I can/will disable it to get through this. But since this image is from the publisher, as well as the migration that is taking a long time, perhaps that healthcheck endpoint ought to be brought up during a migration to indicate the application is healthy even if it's currently occupied in a migration.

from jellyfin.

jellyfin-bot avatar jellyfin-bot commented on July 20, 2024

Hi, it seems like your issue report has the following item(s) that need to be addressed:

  • You have not filled in the environment completely.

This is an automated message, currently under testing. Please file an issue here if you encounter any problems.

from jellyfin.

gnattu avatar gnattu commented on July 20, 2024

If you have any kind of timeout mechanisms that will kill a container if the health check fails, please remove that.

Upgrades beyond 10.9.3 requires a db migration that would take some time to finish and if you or your container manager is not patient enough to kill if because the container seems to be "unhealthy", it will kill your db file.

For this exact reason we backup your entire db before doing that. As you can see you have tons of db backups now.

Please use the library.db.bak2 which seems like the first backup before this migration to restore library.db, don't forget to take another backup, then run the container again without all kind of auto-killing feature, be patient to let the migration complete.

from jellyfin.

vbatts avatar vbatts commented on July 20, 2024

oh interesting. That HealthCheck is declared by the image publisher

            "Healthcheck": {
                "Test": [
                    "CMD-SHELL",
                    "curl -Lk -fsS \"${HEALTHCHECK_URL}\" || exit 1"
                ],
                "Interval": 30000000000,
                "Timeout": 30000000000,
                "StartPeriod": 10000000000,
                "Retries": 3
            },

from jellyfin.

gnattu avatar gnattu commented on July 20, 2024

But the health check itself should not restart your container, it will only indicate that the container is not responding to the health check message.

from jellyfin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.