The '/var/cache/zoneminder/cache' directory is not readable by apache after install, so the ui does not look great. Giving apache permissions to that folder solved it:
Code: Select all
<Directory /var/cache/zoneminder/cache>
Options -Indexes +FollowSymLinks
AllowOverride All
Require all granted
</Directory>
Code: Select all
sudo a2enmod rewrite
Code: Select all
sudo a2enconf zoneminder
Got it up and running, and started to move my cameras from the old installation to the new one. They are all IP cameras, and this is where I am lost. The cameras have the exact same configuration as on the old server, but in the new installation I get the following error:
Code: Select all
'zmc -m 1' exited abnormally, exit status 255
Code: Select all
$ENV{LD_PRELOAD} = '/usr/lib/x86_64-linux-gnu/libv4l/v4l1compat.so';
Code: Select all
@daemons = (
I tried Probe and ONVIF as well, both with an empty list.
Anyone have some suggestions on how to proceed getting the cameras back up?
Edit:
For anyone that does not care too much about the ppa, but wants ZoneMinder up and running on ubuntu server 18.04 there is an excellent guide here: https://wiki.zoneminder.com/Ubuntu_Serv ... e_easy_way (Got this tip on IRC). Installed the nginx version there and it works great! The very last part about editing /etc/default/fcgiwrap that file was not there on my system, but I edited /etc/init.d/fcgiwrap and that seems to work for now, atleast until the system updates
Edit 2:
At a closer look, it seems like the problem was the for some reason I can not use DAEMON_OPTS="-f -c 1", had to remove -f and use DAEMON_OPTS="-c 1" instead.