Running ZoneMinder in a Container

Forum for questions and support relating to the 1.32.x releases only.
Post Reply
uviteru
Posts: 2
Joined: Mon May 20, 2019 7:31 pm

Running ZoneMinder in a Container

Post by uviteru »

Hi all,

I am trying to run ZoneMinder in an LXC container on Proxmox, but am not able to add any cameras. The container image is from Ubuntu 19.04 and I followed the setup instructions from here:
https://zoneminder.readthedocs.io/en/st ... buntu.html

When I do an ONVIF probe, I get this result:


Unable to probe network cameras, status is '255'.
Output was:<br/><br/>
http://172.22.172.201/onvif/device_service, 1.1, (type='video_encoder', Profile='Streaming', Profile='G', hardware='DS-2CD2042WD-I', name='HIKVISION%20DS-2CD2042WD-I', location/city='hangzhou')<br/>
http://172.22.172.202/onvif/device_service, 1.1, (type='video_encoder', Profile='Streaming', Profile='G', hardware='DS-2CD2042WD-I', name='HIKVISION%20DS-2CD2042WD-I', location/city='hangzhou')<br/>
http://172.22.172.200/onvif/device_service, 1.1, (type='video_encoder', Profile='Streaming', Profile='G', hardware='DS-2CD2042WD-I', name='HIKVISION%20DS-2CD2042WD-I', location/city='hangzhou')<br/>
http://172.22.172.204/onvif/device_service, 1.1, (location/country='china', name='Amcrest', hardware='IP2M-841W', Profile='Streaming', type='Network_Video_Transmitter', extension='unique_identifier')<br/>
http://172.22.172.203/onvif/device_service, 1.1, (location/country='china', name='Amcrest', hardware='IP2M-841W', Profile='Streaming', type='Network_Video_Transmitter', extension='unique_identifier')<br/>
http://172.22.172.205/onvif/device_service, 1.1, (location/country='china', name='Amcrest', hardware='IP2M-841W', Profile='Streaming', type='Network_Video_Transmitter', extension='unique_identifier')<br/><br/> Please the following command from a command line for more information:<br/><br/>/usr/bin/zmonvif-probe.pl probe


When I run the command line command that is suggests, I get this result:

Name "ZoneMinder::ONVIF::verbose" used only once: possible typo at /usr/bin/zmonvif-probe.pl line 81.
http://172.22.172.202/onvif/device_service, 1.1, (type='video_encoder', Profile='Streaming', Profile='G', hardware='DS-2CD2042WD-I', name='HIKVISION%20DS-2CD2042WD-I', location/city='hangzhou')
http://172.22.172.201/onvif/device_service, 1.1, (type='video_encoder', Profile='Streaming', Profile='G', hardware='DS-2CD2042WD-I', name='HIKVISION%20DS-2CD2042WD-I', location/city='hangzhou')
http://172.22.172.203/onvif/device_service, 1.1, (location/country='china', name='Amcrest', hardware='IP2M-841W', Profile='Streaming', type='Network_Video_Transmitter', extension='unique_identifier')
http://172.22.172.205/onvif/device_service, 1.1, (location/country='china', name='Amcrest', hardware='IP2M-841W', Profile='Streaming', type='Network_Video_Transmitter', extension='unique_identifier')
http://172.22.172.204/onvif/device_service, 1.1, (location/country='china', name='Amcrest', hardware='IP2M-841W', Profile='Streaming', type='Network_Video_Transmitter', extension='unique_identifier')
Can't call method "get_XAddrs" on an undefined value at /usr/share/perl5/ZoneMinder/ONVIF.pm line 126.
root@Kortirion:~#


So I can see that it can indeed see all of my cameras, but none of them display on the regular probe to be added. Can anyone offer any assistance? Thank you.
User avatar
iconnor
Posts: 2903
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: Running ZoneMinder in a Container

Post by iconnor »

Looks like get_ProbeMatch() is not returning any results.

I have pushed a small code change to prevent it from crashing... dunno if it fixes your problem entirely though.
uviteru
Posts: 2
Joined: Mon May 20, 2019 7:31 pm

Re: Running ZoneMinder in a Container

Post by uviteru »

How would I go about getting that code change?
Post Reply