Skip to content

Nextcloud forgets its already been set up on container wake/recreate #193

@amancevice

Description

@amancevice

I have a deployment of Nextcloud on the Heroku Container platform. Because I'm using the free tier, my container gets spun down after the web dyno goes to sleep and spun back up when a request wakes it up.

My container is configured to use the heroku postgres plugin via the POSTGRES_* ENV variables.

Everything works wonderfully when I first set up the admin user, but once the dyno goes to sleep and I spin up a new instance, the Nextcloud container gets confused and thinks it needs to set up the admin user, even though this has already been done and the information is in the postgres DB.

How can I inform the container that setup is not needed when it wakes up?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions