3liz / lizmap-docker-compose

Run Lizmap stack with docker-compose
31 stars 42 forks source link

database "lizmap" does not exist #36

Open run4gis opened 2 years ago

run4gis commented 2 years ago

Hi to all!

Using Windows 10 + Docker Desktop. When run "docker compose up", get an error: database "lizmap" does not exist. What did I do wrong?

Thank you!

dmarteau commented 2 years ago

The lizmap database is created at startup from the postgres container only ithe first time the postgres service is configured.

rashidhaffadi commented 1 year ago

same problem on windows10 + docker desktop it gives me this error:

Error response from daemon: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error mounting "/run/desktop/mnt/host/d/lizmap/lizmap-docker-compose-master/lizmap/etc/nginx.conf" to rootfs at "/etc/nginx/nginx.conf": mount /run/desktop/mnt/host/d/lizmap/lizmap-docker-compose-master/lizmap/etc/nginx.conf:/etc/nginx/nginx.conf (via /proc/self/fd/14), flags: 0x5000: not a directory: unknown: Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected type

dmarteau commented 1 year ago

@rashidhaffadi your clearly have a path issue: check the mounted directories as stated in the error message.

SirD91 commented 1 year ago

Hello / Bonjour @dmarteau

I have the same two issues mentioned above in this discussion :

So in Docker Desktop, the container nginx:alpine is the only one which can't run. Is that the reason why I can't access to the lizmap administration panel yet ? (With the link http://localhost:8090/admin.php/admin/maps/)

Thank you