-
-
Notifications
You must be signed in to change notification settings - Fork 144
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
scikit-learn fails to build while installing zm event server #145
Comments
I recreated container to add and test integrated gpu. Object detection do not work after that. Tried to recreate few times, but no luck. Any easy fix? Manual run:
|
|
It is missing folder: |
@joselito11 Hi, could you please post more detailed steps how you fixed it? I'm really bad with docker I just like the portability of it. Many thanks! |
@hugalafutro Download all files, unzip and copy only the folder /zmes_hook_helpers in /mnt/Zoneminder/hook on host. I have mounted /config to /mnt/Zoneminder on host. Restart |
Thanks I got it 👍 Though the sci-kit error remains on rebuild of the container, but the object detection works after copying the directory in hook |
Hi, not only me then! Things worked last week, when I first tried Zoneminder, then I had a play around and broke it. So started fresh and then this all began. As well as copying the hook_helpers folder I ran
to fix the sklearn issue. Also the same on the master version - dlandon/zoneminder.master:latest Update: 01/01/21 - All now fixed on the master version, but you'll have database problems if you try to revert back! |
I cannot reproduce this issue. Did you set the 'INSTALL_HOOK' environment variable to '1' to install hook processing? |
I did yes. Repeted a number of times too, strange. Did you fix the Cayton issue. I'd guess that's the real cause of the issue? |
What platform are you running on? |
Debian 10 VM, but that shouldn't matter should it with Docker? |
Not really, but I am finding there are some differences between platforms. When you start a fresh docker install with install hook processing enabled, does the log indicate any issues with the installation? |
That is odd. Yes, during the build it moans about numpty (as mentioned on another issue), cython not being the right version for sklearn. I don't think the default is 0.29 as I think I got 0.28 without specifying. |
Take this issue to the Zoneminder forums. I think it is more of an ES issue, than with the Docker. |
I'm curious now.... If you have a straight build up, what version of Cython do you get? If not I'll check tomorrow. Does your docker build / scripts install Cython? |
The hook installation is completely under the control of ES. |
Ah that makes sense then and probably explains why your docker that hadn't changed worked one week and not the next. |
Various updates to install.sh 12days ago which would fit with my timesces of this issue appearing. pliablepixels/zmeventnotification@30dc285 Any chance you have something cached if you're not having this problem? |
No. There is a new version of ES coming and I suspect it will fix your issue. I'll update the docker once the ES version is stable. |
Ah yes. Your docker is quite complex to get your head around 🤔. Strange that something has change if your pinned to a version then. Ok thanks. I did try (well am actually running) your master docker with the same issue. Hopefully it will all sort itself out. Maybe I'll try and rebuild if I get a min. Thanks again. If you do want me to test someone then just ping iit over. |
I'm getting the same scikit and hook helpers issues on fresh new installs of this docker via unRAID with INSTALL_HOOK 1. I did email pliablepixels (ES author) but he doesn't use Docker but don't believe he knew of this issue. |
There is a new version of ES coming soon that should solve this issue. |
@dlandon so should this ZoneMinder/zoneminder#3063 (comment) solve it, or is ES 6.1.0 not the new version? |
ES 6.1.0 is the new version but is not released as stable yet. I have updated to ES 6.1.0 pre-release in the master docker. Once it is released as stable, I will update this docker. |
Ok, getting lost in the versions.... Building now. |
@dlandon Yep, the latest master appears to solve all these issues. Strangely though there is still no @e10kstarfire I guess this should get you up and running. Just change your docker image to |
@jmccoy555 If all is working I will update this docker once ES 6.1.0 goes stable. If you move to the master docker, you will have a problem reverting back to this docker because the database will not be at the correct version and I don't believe it will downgrade. |
I can confirm it will not downgrade, I went through this and had to restore backup. Best wait till the new ES makes it into stable imho. |
@dlandon Ah,I guess I already have the database problem then!! Not really done much setting up apart from adding 4 cameras so may wait or just drop back and do the manual fixes for now. Do we have any idea when it will go stable? Can I not just stick with master until 1.35 is released then jump back? |
@jmccoy555 Yes. |
There is a new docker available that should fix this. Look at the updated docker run for an adjustment in /dev/shm. |
Hi,
I'm using
dlandon/zoneminder:latest
with hooks enabled and everything was well for few weeks, but today I had to recreate the container and the zm event server install fails when installing some dependencies. This in turn renders the hooks unusable as testing the object detection now fails withfull log: https://pastebin.com/raw/8PDK4k8y
relevant part with errors:
The text was updated successfully, but these errors were encountered: