Zoneminder plugin fail to load cached frontend files (css/js)

Status
Not open for further replies.

AxAn

Cadet
Joined
Mar 18, 2017
Messages
8
I'm running the latest Freenas on the 11.2 stable train and installed the Zoneminder plugin.
The GUI looked a bit fishy and when looking at the network traffic did I see that all files loaded from "/cache" fail to load (did load the index page using that url).

The fix was to add the cache path to nginx and create 2 directories:

Code:
ee /usr/local/etc/nginx/conf.d/zoneminder.conf

        location /cache {
                alias /var/cache/zoneminder;
        }

sudo service nginx restart

mkdir /var/db/zoneminder/events
mkdir /var/db/zoneminder/images

chown www:www /var/db/zoneminder/events
chown www:www /var/db/zoneminder/images/


If I click on a added camera then that page (/index.php?view=watch&mid=3) fail to load another url (/zm/index.php?view=request&request=status&entity=events&id=3&count=20&sort=Id desc) using ajax. This can probably be fixed by adding "/zm" to nginx, I guess.

Bug reporting system seem to be down at the moment but I'll check later to try and report it.
 

Ericloewe

Server Wrangler
Moderator
Joined
Feb 15, 2014
Messages
20,194
It should be back up now.
 
Status
Not open for further replies.
Top