-
-
Notifications
You must be signed in to change notification settings - Fork 144
First run fails: zm.config doesn't exist in engine #125
Comments
Same here |
I have same exact error. Brand new install on Windows 10 using Docker Desktop with WSL2. Same exact image was working fine a week ago on Ubuntu. Not sure it's related to docker specifically and host OS. I also do get this failure when it's running updates on startup
and then it is followed by same error as above
|
Same here. Windows 10 using Docker Desktop and WSL2. |
This docker was developed for and is supported mainly on Unraid. It appears that this issue comes up when the docker is used on other platforms. I have absolutely no way to reproduce this issue so I can find a fix. My suggestion is to use the Zoneminder forum to get help with troubleshooting the problem. Once a solution is found, I can then apply an appropriate fix. |
Maybe the README can be updated to clarify that the docker instructions are supported/tested only on Unraid? There is no mention of it at the moment. |
My point was that I have no way to duplicate this issue. Even if it were developed and tested on any other platform, it's the same issue. It's an overwhelming task to test all available platforms to verify correct operation for a 'free' docker software. |
I'm having the same issue with Docker on OS X. Anyone able to get things working? All I found in the ZM forums was something from 2009 mentioning that the DB was not set up correctly and that step was missed. |
I spun up the zoneminderhq/zoneminder docker image and everything works fine, so either that image is behind on releases or there's something wrong with this image. |
Update: I turned off gRPC-FUSE in the Docker for Desktop settings and now it seems to start up fine. |
I have added a new environment variable that will prevent MySql and Zoneminder from starting so the docker will stay running and you can go into the docker and troubleshoot. Look at the readme for details. |
I'm pretty sure MariaDB has issues in Docker on Windows - check out this issue for info: docker-library/percona#42 (comment) I believe the "solution" (if you can call it that) was to use docker volumes instead of a bind mount - I ran into this years ago so not sure what the current state is.... |
You might also want to try it with the latest release - privileged mode was just removed and that seems to have been causing issues with MariaDB for others in the past. |
Same error - Docker version 20.10.0, build 7287ab3 on osx Big Sur (Followed latest readme
When i do show tables, i can see it lists following tables
|
First, check that the run command you are using has been updated as per the update readme. Specifically, look at how the shmem flags have changed and the privileged flag too. Quite a few people got caught out by not noticing that with the new release. Other than that, how are you running docker on you OSX host? If you are using the Docker desktop app with a GUI, try using the command line flavour instead (installed via HomeBrew) - You may get different results (others have reported different behaviour). You can find a good primer on how to do that in the second answer on this stack overflow answer: https://stackoverflow.com/questions/21871479/docker-cant-connect-to-docker-daemon Other than that, I don't have any other suggestions for you - I'm a bit of a n00b with ZoneMinder I'm afraid. I guess you can try a fresh install and see if you get different results. |
I think it has some thing to do with file system case sensitivity, when i ran the docker image without binding any local volumes so that all data/tables will be stored in image it self, it ran without above error |
Could be a permissions issue. The permissions are a bit of a mess when mounting local volumes. You could try chmod-ing the mounted dir with 777 on the host and see if that helps. |
Thank you. This worked for me on macOS. |
One year later, I'm finding this issue with a WSL2 / Docker installation. Which was the official solution ? I'm literally running this command: A) privileged false
B) Latest release
The folders have Full Access from the privilege perspective within Windows... EDIT: Also tried with |
same issue here |
that sounds like a bug in the code: it's expecting a file with a name that doesn't, exist upper/lower case mixup? |
Hi,
I pulled the image and run the container with the same command in the readme, but it doesn't start.
I'm on Docker desktop for MacOS (19.03.13).
Here's the full commands and last part of the logs for reference:
docker pull dlandon/zoneminder
Thanks
The text was updated successfully, but these errors were encountered: