Skip to content

Fresh install - unable to start docker : "FATAL: database "plausible_db" does not exist" #3193

Discussion options

You must be logged in to vote

You can probably remove GEONAMES_SOURCE_FILE and IP_GEOLOCATION_DB and reintroduce GEONAMES_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)

  1. Download it
$ curl -O https://s3.eu-central-1.wasabisys.com/plausible-application/geonames.csv
  1. Mount it

docker-compose.yml

  plausible:
    image: plausible/analytics:v2.0.0
+   volumes:
+     - ./geonames.csv:/etc/app/geonames.csv:ro
  1. Point Plausible to it

plausible-conf.env

+ GEONAMES_SOURCE_FILE=/etc/app/geonames.csv

More info: https://github.com/plausible/location#cities

Replies: 3 comments 8 replies

Comment options

You must be logged in to vote
1 reply
@ruslandoga
Comment options

Comment options

You must be logged in to vote
2 replies
@meepmeep
Comment options

@ruslandoga
Comment options

Comment options

You must be logged in to vote
5 replies
@ruslandoga
Comment options

@meepmeep
Comment options

@meepmeep
Comment options

@ruslandoga
Comment options

Answer selected by meepmeep
@meepmeep
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants