photoprism stoped after reboot

  • Hello,

    photoprism runs very well, but after a reboot of OMV the container stops. (see the screenshot).

    Every time I have to press the "up" button again to make it work again.


    Here is the message when the container restarts.


    docker-compose up -d ...

    time="2023-07-07T16:22:33+02:00" level=warning msg="cannot expand '~', because the environment lacks HOME"

    Container photoprism-mariadb-1 Running

    Container photoprism-photoprism-1 Created

    Container photoprism-photoprism-1 Starting

    Container photoprism-photoprism-1 Started


    END OF LINE



    Does somebody has any idea?

  • Does somebody has any idea?

    Post the YML code you used inside a codebox, PLEASE (</> symbol on the blue banner of the posting box

  • Here's the Yml code


    • Offizieller Beitrag

    - "~/.docker/config.json:/config.json" # optional, for authentication if you have a Docker Hub account

    Possibly the problem is in the last line. Do you really need that line? Do you have an account on Docker Hub? If not, you can simply comment on it.


    # - "~/.docker/config.json:/config.json" # optional, for authentication if you have a Docker Hub account

    • Offizieller Beitrag

    Line 36...remove the # from in front of the "restart: unless-stopped" command

    Yeah. That's important :)

  • buddelschiff

    Hat das Label gelöst hinzugefügt.

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!