No Vido or PICs but thumbnails

Discussions related to the 1.36.x series of ZoneMinder
Post Reply
battlet
Posts: 1
Joined: Sun Apr 20, 2025 6:18 am

No Vido or PICs but thumbnails

Post by battlet »

Hello all. New to zoneminder, but not new to Ubuntu, Home Assistant, or NVRs. I use to use motioneye, but I have heard good things.

So first all my events and images are going to a external 20T USB drive that gets mirrored. You are going to find this odd, but.. this is being used as a SIEM

/var/log/events and /var/log/cameras replacing /var/lib/zoneminder/events and /var/lib/zoneminder/images. They still exist as well, but have symlinks to the USB drive. All permissions I have checked and double checked i.e the /var/cache/zoneminder /var/log/zm /etc/zm.conf /usr/share/zoneminder/www /dev/shm

I am sure it probably has something to do with apache2 and a php configuration?? idk. It's not my browser or the cache from my browser as it occurs on all my systems when remote using any browser.

I mean at this point I am just 777 everything until I get something working and will go back and change the perms ;)

lrwxrwxrwx 1 root root 15 Apr 20 01:02 events -> /var/log/events
drwxrwxrwx 6 root root 4.0K Apr 20 00:54 events.bak
lrwxrwxrwx 1 root root 16 Apr 20 01:45 images -> /var/log/cameras

drwxrwxrwx 11 motioneye motioneye 4.0K Apr 19 23:17 cameras
drwxrwxrwx 9 root root 4.0K Apr 20 01:46 events

Anyways, I am not really a php or apache expert. I know enough to apparently be dangerious. Good news is all my cameras easily transferred over. Would be nice to be able to see the live feeds though and pull up footage. Thanks in advance.

Ohh yeah, I also gave apache2 all the permissions it needs. i.e.
sudo a2enmod cgi
sudo a2enmod rewrite
sudo a2enmod expires
sudo a2enmod headers
sudo a2enmod env
sudo a2enmod alias
sudo a2enmod mime
Attachments
Screenshot from 2025-04-20 01-35-56.png
Screenshot from 2025-04-20 01-35-56.png (7.44 KiB) Viewed 2565 times
Screenshot from 2025-04-20 01-35-13.png
Screenshot from 2025-04-20 01-35-13.png (31.17 KiB) Viewed 2565 times
Screenshot from 2025-04-20 01-34-27.png
Screenshot from 2025-04-20 01-34-27.png (21.86 KiB) Viewed 2565 times
adam.robertson
Posts: 23
Joined: Tue Mar 25, 2025 2:19 pm

Re: No Vido or PICs but thumbnails

Post by adam.robertson »

I had a sort of similar issue that I tracked down to my ZM was looking for my cache at :

/var/cache/zoneminder/cache
rather than just:
/var/cache/zoneminder
so I made a symlink like:
ln -s /var/cache/zoneminder/ /var/cache/zoneminder/cache

...and that seemed to fix several little issues.
not sure if it is related to what you are experiencing or not, but it wont hurt anything to try. Just delete afterwards if it does not solve anything.
User avatar
burger
Posts: 472
Joined: Mon May 11, 2020 4:32 pm

Re: No Vido or PICs but thumbnails

Post by burger »

See the install guide for Ubuntu here:
https://wiki.zoneminder.com/Ubuntu
For using an external HDD, see this guide:
https://wiki.zoneminder.com/Using_a_ded ... Hard_Drive
fastest way to test streams:
ffmpeg -i rtsp://<user>:<pass>@<ipaddress>:554/path ./output.mp4 (if terminal only)
ffplay rtsp://<user>:<pass>@<ipaddress>:554/path (gui)
find paths on ispydb or in zm hcl

If you are new to security software, read:
https://wiki.zoneminder.com/Dummies_Guide
Post Reply