Skip to content
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

Request to Add libcurl4 Package for cURL Support in Zoneminder Docker #47

Closed
joopdo opened this issue May 17, 2023 · 7 comments
Closed

Comments

@joopdo
Copy link

joopdo commented May 17, 2023

I am an avid user of your Zoneminder Docker image and I have come across an issue regarding cURL support. The ESP32 Camera documentation specifies that in order to use the camera as a source in Zoneminder, the source type should be set to cURL (HTTP(S) only) and the URL should be configured as "http://ESP_IP_ADDRESS:8080/".

Unfortunately, the current version of the Zoneminder Docker image does not include support for cURL out of the box. However, I have discovered that after logging into the Docker image and manually installing the libcurl4 package, cURL support is enabled and I am able to use the ESP32 Camera as a source successfully.

Therefore, I kindly request that you consider adding the libcurl4 package to the Zoneminder Docker image by default. This addition will greatly benefit users like me who rely on cURL for their camera sources.

Thank you for your attention to this matter, and I appreciate your efforts in maintaining the Zoneminder Docker repository.

@alexyao2015
Copy link
Member

That's weird that it's not being included... I don't manually add any dependencies to this image. It's all being automatically generated by what zoneminder defines in their control file. At least from quickly glancing at the build logs, I'm seeing libcurl4, but I haven't done much further investigation. I would prefer to not manually be adding various dependencies here since it shouldn't be necessary to do so.

@alexyao2015
Copy link
Member

Anything related to dependencies should honestly be reported to zoneminder since it would either have to be a bug with zoneminder either not defining all the dependencies it needs or it being unable to find a dependency that it defined explicitly.

@alexyao2015
Copy link
Member

alexyao2015 commented May 17, 2023

Last note here. I checked the build logs and I'm seeing libcurl4 as being installed so something else must be happening.

@joopdo
Copy link
Author

joopdo commented May 19, 2023

Thanks for checking @alexyao2015 !

@joopdo
Copy link
Author

joopdo commented May 19, 2023

I just double checked with a clean install. The error happens for me.
Screenshot from 2023-05-19 15-14-33
Perhaps it's one of the dependencies that I install?

apt install libcurl4
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
libnghttp2-14 librtmp1 libssh2-1
The following NEW packages will be installed:
libcurl4 libnghttp2-14 librtmp1 libssh2-1

@alexyao2015
Copy link
Member

Right. This is a bug with zoneminder's packaging in the latest stable release. It's not requesting it to be installed. If you use the main tag which builds from the latest master, it doesn't have this issue. It therefore should be reported to zoneminder to backport this fix, not here.

@joopdo
Copy link
Author

joopdo commented May 19, 2023

Thank you @alexyao2015 ! I'll report this to zoneminder.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants