Frontend Errors www/cache files not found
Posted: Fri Oct 19, 2018 11:35 am
Hi Folks
I've been struggling for a few days to get Zoneminder working. I'm running Lubuntu 18.10 64bit:
and I'm using Nginx instead of Apache as I'm looking for a lighter footprint from the web server.
I followed the instructions here https://chiralsoftware.com/idea/nginx-u ... zoneminder to configure Nginx for Zoneminder and all seemed to go well. If I access http://my.server.ip.addr/zoneminder/ I can see the console. However the add monitor button doesn't do anything and the options screen layout is broken. Looking in the web server error log I found a lot of file not found errors similar to those below all relating to /usr/share/zoneminder/www/cache.
Looking under /usr/share/zoneminder/www the cache directory was absent. I created it, changed the perms to the user running the web server and restarted zonemonitor, but no dice.
Anyone have any clue what I've missed?
Cheers
Paul
I've been struggling for a few days to get Zoneminder working. I'm running Lubuntu 18.10 64bit:
Code: Select all
Linux rogue 4.15.0-36-generic #39-Ubuntu SMP Mon Sep 24 16:19:09 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
I followed the instructions here https://chiralsoftware.com/idea/nginx-u ... zoneminder to configure Nginx for Zoneminder and all seemed to go well. If I access http://my.server.ip.addr/zoneminder/ I can see the console. However the add monitor button doesn't do anything and the options screen layout is broken. Looking in the web server error log I found a lot of file not found errors similar to those below all relating to /usr/share/zoneminder/www/cache.
Code: Select all
2018/10/19 12:15:16 [error] 504#504: *42 open() "/usr/share/zoneminder/www/cache/skins_classic_css_classic_views_options-classic-1539910494.css" failed (2: No such file or directory), client: 192.168.1.22, server: 192.168.1.7, request: "GET /zoneminder/cache/skins_classic_css_classic_views_options-classic-1539910494.css HTTP/1.1", host: "192.168.1.7", referrer: "http://192.168.1.7/zoneminder/index.php?view=options"
2018/10/19 12:15:16 [error] 504#504: *45 open() "/usr/share/zoneminder/www/cache/skins_classic__js_jquery-ui-1.12.1_jquery-ui.structure.min-classic-1539910494.css" failed (2: No such file or directory), client: 192.168.1.22, server: 192.168.1.7, request: "GET /zoneminder/cache/skins_classic__js_jquery-ui-1.12.1_jquery-ui.structure.min-classic-1539910494.css HTTP/1.1", host: "192.168.1.7", referrer: "http://192.168.1.7/zoneminder/index.php?view=options"
2018/10/19 12:15:16 [error] 504#504: *39 open() "/usr/share/zoneminder/www/cache/skins_classic__css_classic_jquery-ui-theme-classic-1539910494.css" failed (2: No such file or directory), client: 192.168.1.22, server: 192.168.1.7, request: "GET /zoneminder/cache/skins_classic__css_classic_jquery-ui-theme-classic-1539910494.css HTTP/1.1", host: "192.168.1.7", referrer: "http://192.168.1.7/zoneminder/index.php?view=options"
2018/10/19 12:15:16 [error] 504#504: *44 open() "/usr/share/zoneminder/www/cache/skins_classic_js_classic-classic-1539910494.js" failed (2: No such file or directory), client: 192.168.1.22, server: 192.168.1.7, request: "GET /zoneminder/cache/skins_classic_js_classic-classic-1539910494.js HTTP/1.1", host: "192.168.1.7", referrer: "http://192.168.1.7/zoneminder/index.php?view=options"
2018/10/19 12:15:16 [error] 504#504: *41 open() "/usr/share/zoneminder/www/cache/skins_classic_js_skin-classic-1539910494.js" failed (2: No such file or directory), client: 192.168.1.22, server: 192.168.1.7, request: "GET /zoneminder/cache/skins_classic_js_skin-classic-1539910494.js HTTP/1.1", host: "192.168.1.7", referrer: "http://192.168.1.7/zoneminder/index.php?view=options"
Anyone have any clue what I've missed?
Cheers
Paul