Search found 224 matches

by Magic919
Wed Dec 02, 2020 3:17 pm
Forum: ZoneMinder 1.35.x
Topic: API problem 1.35.14
Replies: 3
Views: 71

Re: API problem 1.35.14

Probably a problem with running the DB update scripts.
by Magic919
Mon Nov 30, 2020 3:07 pm
Forum: ZoneMinder 1.34.x
Topic: unable to connect to API V1.34.22
Replies: 28
Views: 355

Re: unable to connect to API V1.34.22

I'm glad we got there in the end.

I'm a user of the API and also zmeventnoticationserver (ZMES). I'd guess that Pi users following that install path don't often use the API. I don't know.

Hope your next bit goes well.
by Magic919
Mon Nov 30, 2020 1:51 pm
Forum: Hardware Queries
Topic: Camera Floodlight combo
Replies: 1
Views: 89

Re: Camera Floodlight combo

I have a light with PIR and I have separate cameras. I'm sure Ring etc have the combo market covered, but they won't be ZM users, IMO.
by Magic919
Mon Nov 30, 2020 1:48 pm
Forum: ZoneMinder 1.34.x
Topic: unable to connect to API V1.34.22
Replies: 28
Views: 355

Re: unable to connect to API V1.34.22

In general, Pi users should follow the approved guides as it's quite hard to work out how to help once they reach here. As I mentioned, this looked like a rewrite problem. The original Apache config you posted said - RewriteBase /api The one you were directed to has RewriteBase /zm/api This can be d...
by Magic919
Mon Nov 30, 2020 11:33 am
Forum: ZoneMinder 1.34.x
Topic: unable to connect to API V1.34.22
Replies: 28
Views: 355

Re: unable to connect to API V1.34.22

This bit is perhaps a typo

curl -X POST http://10.0.0.105/zm/api/getVersion.json

Should be
curl -X POST http://10.0.0.105/zm/api/host/getVersion.json

I'm out of ideas, sorry.
by Magic919
Mon Nov 30, 2020 9:17 am
Forum: ZoneMinder 1.34.x
Topic: unable to connect to API V1.34.22
Replies: 28
Views: 355

Re: unable to connect to API V1.34.22

Ok. You are not using the Apache config file you think. This bit - *:80 zm (/etc/apache2/sites-enabled/zoneminder_backup.conf:1 Apache is expecting to use any file ending .conf. Either (re)move it or name it zoneminder.conf.backup. Restart Apache, check again. Looks ok otherwise.
by Magic919
Mon Nov 30, 2020 8:33 am
Forum: ZoneMinder 1.34.x
Topic: unable to connect to API V1.34.22
Replies: 28
Views: 355

Re: unable to connect to API V1.34.22

There is no simple way to check the running config for Apache, which is a shame. You mentioned two config files (which should be one file and a symlink). /etc/apache2/sites-enabled/zoneminder.conf /etc/apache2/sites-available/zoneminder.conf Run these sudo apache2ctl -S sudo diff /etc/apache2/sites-...
by Magic919
Sun Nov 29, 2020 3:59 pm
Forum: ZoneMinder 1.34.x
Topic: unable to connect to API V1.34.22
Replies: 28
Views: 355

Re: unable to connect to API V1.34.22

Can you confirm you switched to the Apache config suggested on the previous page. I’m out of suggestions otherwise.
by Magic919
Sun Nov 29, 2020 1:40 pm
Forum: ZoneMinder 1.34.x
Topic: unable to connect to API V1.34.22
Replies: 28
Views: 355

Re: unable to connect to API V1.34.22

This highlights a problem - /api/zm/api/

That suggests a rewrite error to me.

Run

Code: Select all

find /usr/share/zoneminder/ -name .htaccess 
by Magic919
Sun Nov 29, 2020 12:08 pm
Forum: ZoneMinder 1.34.x
Topic: unable to connect to API V1.34.22
Replies: 28
Views: 355

Re: unable to connect to API V1.34.22

Can you test with authentication off?

Please check the filesystem where it's hosted to ensure it's free of .htaccess files. That's all the way from /usr/share/zoneminder/www/ to /usr/share/zoneminder/www/api/app/webroot/

Browse to http://10.0.0.105/zm/api and see if you see Cake errors.
by Magic919
Sun Nov 29, 2020 8:50 am
Forum: ZoneMinder 1.34.x
Topic: unable to connect to API V1.34.22
Replies: 28
Views: 355

Re: unable to connect to API V1.34.22

Given those are months old, I’d assume Apache is not logging there. Do a find command and look for error and access and then hunt/grep through the results.

The .htaccess files are something that has caused me problems in the past.
by Magic919
Sun Nov 29, 2020 7:40 am
Forum: ZoneMinder 1.34.x
Topic: Cloud backup of alarm events
Replies: 2
Views: 73

Re: Cloud backup of alarm events

There are some interesting things on GitHub, like this one under smart-zoneminder https://github.com/goruck/smart-zonemin ... -s3-upload

I expect it would easier to hack one of those to look for .mp4 instead of .jpg.

Whether this is a solution to the ‘problem’ I’m less sure.
by Magic919
Fri Nov 27, 2020 10:51 am
Forum: Hardware Queries
Topic: Server required for 24 IP cameras registration
Replies: 12
Views: 538

Re: Server required for 24 IP cameras registration

Yes, that makes sense. I think the 2224 is sufficient if optimised.

I also think an extra ~600 is too big a stretch to buy in case of increased need later.
by Magic919
Fri Nov 27, 2020 8:57 am
Forum: Hardware Queries
Topic: Server required for 24 IP cameras registration
Replies: 12
Views: 538

Re: Server required for 24 IP cameras registration

If you can bear the cost, what does 'too much' mean? That's a philosophical response. I run the E-2224 but fewer cameras. I run other things too and there is plenty of overhead. If you will tune the cameras (low FPS) and not run high resolutions I expect you'll be fine. Perhaps someone with experien...