I am trying to switch from CKAN source installation to Docker installation, but using the default .env file I am unable to get past this error on startup:
db | initdb: error: directory "/var/lib/postgresql/data" exists but is not empty
db | If you want to create a new database system, either remove or empty
db | the directory "/var/lib/postgresql/data" or run initdb
db | with an argument other than "/var/lib/postgresql/data".
I am relatively new to Docker, and I am having difficulty seeing how to get past this issue. I did make sure to remove all images and volumes first, and I tried building with the command docker-compose build --no-cache. I used Docker version 3.3.2 that had just been restored to factory settings.
Is it related to the datapusher or datastore plugins trying to create a second database? Because ultimately I'm interested in getting a running instance of CKAN with spatial harvesting working. I won't need the datapusher or datastore plugins installed.
I am trying to switch from CKAN source installation to Docker installation, but using the default
.env
file I am unable to get past this error on startup:I am relatively new to Docker, and I am having difficulty seeing how to get past this issue. I did make sure to remove all images and volumes first, and I tried building with the command
docker-compose build --no-cache
. I used Docker version 3.3.2 that had just been restored to factory settings.Is it related to the datapusher or datastore plugins trying to create a second database? Because ultimately I'm interested in getting a running instance of CKAN with spatial harvesting working. I won't need the datapusher or datastore plugins installed.