You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 7, 2023. It is now read-only.
After running Setup CKAN Docker.bat, I receive an error related to the docker_db image (error log posted below) and only appears when I run SDDI-CKAN-Docker on windows.
lnpp-postgresql | FATAL: data directory "/var/lib/postgresql/data" has wrong ownership
lnpp-postgresql | HINT: The server must be started by the user that owns the data directory.
lnpp-postgresql exited with code 1
lnpp-postgresql | FATAL: data directory "/var/lib/postgresql/data" has wrong ownership
lnpp-postgresql | HINT: The server must be started by the user that owns the data directory.
lnpp-postgresql | FATAL: data directory "/var/lib/postgresql/data" has wrong ownership
lnpp-postgresql | HINT: The server must be started by the user that owns the data directory.
lnpp-postgresql | FATAL: data directory "/var/lib/postgresql/data" has wrong ownership
lnpp-postgresql | HINT: The server must be started by the user that owns the data directory.
lnpp-postgresql exited with code 1
lnpp-postgresql | FATAL: data directory "/var/lib/postgresql/data" has wrong ownership
lnpp-postgresql | HINT: The server must be started by the user that owns the data directory.
lnpp-postgresql | FATAL: data directory "/var/lib/postgresql/data" has wrong ownership
lnpp-postgresql | HINT: The server must be started by the user that owns the data directory.
lnpp-postgresql | FATAL: data directory "/var/lib/postgresql/data" has wrong ownership
lnpp-postgresql | HINT: The server must be started by the user that owns the data directory.
lnpp-postgresql | FATAL: data directory "/var/lib/postgresql/data" has wrong ownership
lnpp-postgresql | HINT: The server must be started by the user that owns the data directory.
lnpp-postgresql | FATAL: data directory "/var/lib/postgresql/data" has wrong ownership
lnpp-postgresql | HINT: The server must be started by the user that owns the data directory.
lnpp-postgresql exited with code 1
The text was updated successfully, but these errors were encountered:
As referenced here: docker-library/postgres#435 (comment)
the problem is solved by mapping a local volume one directory below the location of docker-compose.yml.
The same solution is integrated here but commented out (as it only appears in windows 10 with Docker desktop). #- ./postgres_data1:/var/lib/postgresql/data
If you still face the same error you may need to comment on the named volume and instead uncomment this line:
After running Setup CKAN Docker.bat, I receive an error related to the docker_db image (error log posted below) and only appears when I run SDDI-CKAN-Docker on windows.
The text was updated successfully, but these errors were encountered: