Open run4gis opened 1 year ago
The lizmap database is created at startup from the postgres container only ithe first time the postgres service is configured.
docker compose down --volumes
(caution this will wipeout the database in case you have any data in it).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
@rashidhaffadi your clearly have a path issue: check the mounted directories as stated in the error message.
Hello / Bonjour @dmarteau
I have the same two issues mentioned above in this discussion :
lizmap-docker-compose-master-postgis-1 | ... FATAL: database "lizmap" does not exist
For this, I tried the command docker compose down --volumes
but it ended with an error :
error decoding 'Volumes[0]': invalid spec: :/srv/projects: empty section between colons
Same path issue with the mounted directories I'm not sure to understand the solution proposed, I created a folder named "nginx" in the "etc" folder but it obviously didn't solve anything. My question here is : How can I "check the mounted directories" ? What does it mean please ?
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
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!