Search found 37 matches

by Nocifer
Sat Oct 20, 2018 12:46 am
Forum: ZoneMinder 1.32.x
Topic: Force Alarm inside monitor page and fps count , 1.32.1 was working, 1.32.2 not working - BUG - when on virualhost
Replies: 13
Views: 2599

Re: Force Alarm inside monitor page and fps count , 1.32.1 was working, 1.32.2 not working - BUG - when on virualhost

@sphillips

Thanks, but it's really iconnor that should be thanked, all I did was observe the same issue you and mistral77 also observed, while they're the one who actually found out what's wrong and fixed it :)
by Nocifer
Fri Oct 19, 2018 9:05 pm
Forum: ZoneMinder 1.32.x
Topic: Frontend Errors www/cache files not found
Replies: 3
Views: 2067

Re: Frontend Errors www/cache files not found

It's because you haven't configured a /cache location block in ZM's Nginx conf file. To fix it you can use the conf file I've linked below, either as a reference to create a /cache block in your own conf, or by replacing it altogether. Keep in mind that in the latter case you'll have to skim through...
by Nocifer
Fri Oct 19, 2018 8:02 pm
Forum: ZoneMinder 1.32.x
Topic: Broke my APIs on Upgrade
Replies: 35
Views: 22735

Re: Broke my APIs on Upgrade

See? Because I wouldn't sit down to test things properly, so much time was wasted chasing weird "bugs", and it took me a mere 10 seconds after I fired up Ubuntu's setup to realize that, since it's Ubuntu Server we're talking about, you'd obviously be accessing ZM's Web UI from a browser running on a...
by Nocifer
Fri Oct 19, 2018 11:58 am
Forum: ZoneMinder 1.32.x
Topic: Broke my APIs on Upgrade
Replies: 35
Views: 22735

Re: Broke my APIs on Upgrade

Just tested on a fresh install of Ubuntu 18.04 with ZM installed from iconnor's ppa, and it works great. Just a minor caveat... you're running this from a virtual machine through the network, right? Not from your local machine? So I suppose it would only make sense that the "listen" directive in the...
by Nocifer
Fri Oct 19, 2018 9:57 am
Forum: ZoneMinder 1.32.x
Topic: Broke my APIs on Upgrade
Replies: 35
Views: 22735

Re: Broke my APIs on Upgrade

Nah, don't worry, it's more like a game of whack-a-mole to me at this point. The thing is, it really should be working... I tested that conf myself before I sent it to you - in fact I'm still using it as we speak to access my own ZM setup, and it's working flawlessly, so I know it's functionally val...
by Nocifer
Thu Oct 18, 2018 10:22 pm
Forum: ZoneMinder 1.32.x
Topic: Broke my APIs on Upgrade
Replies: 35
Views: 22735

Re: Broke my APIs on Upgrade

It's very simple really: it means that between my being tired and my being hasty, I accidentally borked the php block. Which means that your "Connection Refused" was most probably Nginx complaining that it couldn't find anyone to render the 'index.php' file it found; and that "bunch of HTML that loo...
by Nocifer
Thu Oct 18, 2018 9:55 am
Forum: ZoneMinder 1.32.x
Topic: Broke my APIs on Upgrade
Replies: 35
Views: 22735

Re: Broke my APIs on Upgrade

Well, having the root defined as /usr/share/zoneminder/www and given a location block (without an alias) location /zm a URL like localhost/zm would result in the erroneous path /usr/share/zoneminder/www/zm which eventually *would be* a problem. The alias solves this by pointing localhost/zm to /usr/...
by Nocifer
Thu Oct 18, 2018 9:14 am
Forum: ZoneMinder 1.32.x
Topic: Force Alarm inside monitor page and fps count , 1.32.1 was working, 1.32.2 not working - BUG - when on virualhost
Replies: 13
Views: 2599

Re: Force Alarm inside monitor page and fps count , 1.32.1 was working, 1.32.2 not working - BUG - when on virualhost

@sphillips Well, I'm the one who opened that issue you linked, so I can confirm it's a perfectly working solution... but for a different issue. This one here is something else - it has to do with internal variables having the wrong value, which unfortunately is not something that can be fixed by cre...
by Nocifer
Wed Oct 17, 2018 12:03 pm
Forum: ZoneMinder 1.32.x
Topic: lubuntu 32 bit 18.04 and ppa 1.32: cameras go offline
Replies: 5
Views: 1197

Re: ubuntu 18.04 and ppa 1.32: cameras go offline

When you say "offline", do you mean that their "Name" and/or "Source" links in ZM's web UI's Console view show up as red? Or that the cameras produce no image when you're in their respective Monitor view? Can you view the cameras' feeds via other means while they're offline (e.g. by connecting direc...
by Nocifer
Wed Oct 17, 2018 11:48 am
Forum: ZoneMinder 1.32.x
Topic: Storage scheme option
Replies: 2
Views: 2729

Re: Storage scheme option

If an event is generated by Camera 1 on October 17th, 14:30:20 (hour, minute, second), the resulting directory structure for each event with "Medium" will be: events/1/2010-10-17/*event number* And with "Deep": events/1/2010/10/17/14/30/20/*event number* ...or something like that. I've never checked...
by Nocifer
Wed Oct 17, 2018 11:32 am
Forum: ZoneMinder 1.32.x
Topic: Broke my APIs on Upgrade
Replies: 35
Views: 22735

Re: Broke my APIs on Upgrade

Don't worry, we've all been through that stage at some point, it's a necessary part of the process :) The logs are optional, yes. Nginx probably complained because there is no /var/log/zoneminder folder (it's what I use in my own setup). Since it's good practice to keep some kind of logs, you could ...
by Nocifer
Tue Oct 16, 2018 5:25 pm
Forum: ZoneMinder 1.32.x
Topic: Broke my APIs on Upgrade
Replies: 35
Views: 22735

Re: Broke my APIs on Upgrade

Alright, try this one out: https://pastebin.com/pUSDWiFM Don't forget to rename the file from zoneminder-nginx.conf to zoneminder.conf. If the info you've given me is accurate, then in theory it should work without a hitch and ZoneMinder will be listening on http://localhost/zm . In practice, I'm a ...
by Nocifer
Tue Oct 16, 2018 4:49 pm
Forum: ZoneMinder 1.32.x
Topic: Force Alarm inside monitor page and fps count , 1.32.1 was working, 1.32.2 not working - BUG - when on virualhost
Replies: 13
Views: 2599

Re: Force Alarm inside monitor page and fps count , 1.32.1 was working, 1.32.2 not working

Hmm, I've also been seeing lots of mostly 405 errors to the erroneous URL "http://localhost/index.php/index.php" in the Monitor view and the Zone view, and I also have the same problem with Force Alarm not working. I've so far managed to track this URL as being erroneously created by Ajax objects wi...
by Nocifer
Sun Oct 14, 2018 5:50 pm
Forum: ZoneMinder 1.32.x
Topic: Broke my APIs on Upgrade
Replies: 35
Views: 22735

Re: Broke my APIs on Upgrade

You're on Ubuntu 18.04, right? The problem is that this conf file is tailored to a different distro (Arch) and also that, just like with the /cache folder that was mentioned above, in my setup there is a link to /cgi-bin inside the webroot which is obviously missing from yours because the default ZM...
by Nocifer
Sun Oct 14, 2018 1:18 pm
Forum: ZoneMinder 1.32.x
Topic: Broke my APIs on Upgrade
Replies: 35
Views: 22735

Re: Broke my APIs on Upgrade

Oh, thanks. I just posted it for OP to fix the problem they were having, but if you'd really like to include it at some point, just tell me beforehand so I can make it conform to ZM's defaults. Right now it makes some incompatible assumptions that result from my modified setup (e.g. the aforemention...