The command is set as sh -c "sleep 10 && /entrypoint.sh db createdb && /entrypoint.sh db migrate && /entrypoint.sh run". This throws an error, when the database was already created or migrated. In the official documentation it says at least for db createdb should not be run multiple times.
The command is set as `sh -c "sleep 10 && /entrypoint.sh db createdb && /entrypoint.sh db migrate && /entrypoint.sh run"`. This throws an error, when the database was already created or migrated. In [the official documentation](https://plausible.io/docs/self-hosting#3-external-databases) it says at least for `db createdb` should not be run multiple times.
thanks for the report @p4u1 ! what error do you get? we've been running this recipe in production for a while and so far the only issue we've hit has been that migrations sometimes aren't run completely, requiring manual database changes.
thanks for the report @p4u1 ! what error do you get? we've been running this recipe in production for a while and so far the only issue we've hit has been that migrations sometimes aren't run completely, requiring manual database changes.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
The command is set as
sh -c "sleep 10 && /entrypoint.sh db createdb && /entrypoint.sh db migrate && /entrypoint.sh run". This throws an error, when the database was already created or migrated. In the official documentation it says at least fordb createdbshould not be run multiple times.thanks for the report @p4u1 ! what error do you get? we've been running this recipe in production for a while and so far the only issue we've hit has been that migrations sometimes aren't run completely, requiring manual database changes.
Maybe, our plausible instance is somehow messed up. I get those errors on startup and the container aborts afterwards: