Fresh install - unable to start docker : "FATAL: database "plausible_db" does not exist" #3193
Answered
by
ruslandoga
meepmeep
asked this question in
Self-Hosted Support
-
I completely messed up the upgrade to 2.0, so I decided to start again on a clean install. removed the hosting directory, git clone the file, untouched docker-compose.yml file.
And the log :
|
Beta Was this translation helpful? Give feedback.
Answered by
ruslandoga
Jul 25, 2023
Replies: 3 comments 8 replies
-
So what's the problem? :) |
Beta Was this translation helpful? Give feedback.
1 reply
-
I tried to create the db with docker exec, and then remove the "entrypoint.sh db createdb", but it still fails. |
Beta Was this translation helpful? Give feedback.
2 replies
-
Maybe I cut the log to early on this thread.
And then it goes on infinite loop (restarting the hosting-plausible-1 container, crashing, etc.) |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can probably remove
GEONAMES_SOURCE_FILE
andIP_GEOLOCATION_DB
and reintroduceGEONAMES_SOURCE_FILE
(with a properly mounted geonames.csv) if it becomes a problem later.And here's how to set up a custom
geonames.csv
(note that it's not strictly necessary)$ curl -O https://s3.eu-central-1.wasabisys.com/plausible-application/geonames.csv
docker-compose.yml
plausible-conf.env
+ GEONAMES_SOURCE_FILE=/etc/app/geonames.csv
More info: https://github.com/plausible/location#cities