zmeventnotification installation problem

Previous development branch now released as 1.36
Locked
titof2375
Posts: 66
Joined: Sat Dec 12, 2020 2:32 pm

zmeventnotification installation problem

Post by titof2375 »

Hello
here I am installing zoneminder 1.35 and especially zmeventnotification, I am following this tutorial in French.
https://www.nextdom.org/forum/projets-d ... c-nextdom/
and when i type this command
sudo -u www-data ./zmeventnotification.pl --config ./zmeventnotification.ini I end up with this error
Image
Do you have a solution?
Attachments
erreurv.PNG
erreurv.PNG (16.7 KiB) Viewed 1927 times
Magic919
Posts: 1381
Joined: Wed Sep 18, 2013 6:56 am

Re: zmeventnotification installation problem

Post by Magic919 »

Sort out the secrets.ini file. Might just be permissions if it exists.
-
titof2375
Posts: 66
Joined: Sat Dec 12, 2020 2:32 pm

Re: zmeventnotification installation problem

Post by titof2375 »

nouveau.PNG
nouveau.PNG (21.37 KiB) Viewed 1918 times
titof2375
Posts: 66
Joined: Sat Dec 12, 2020 2:32 pm

Re: zmeventnotification installation problem

Post by titof2375 »

Magic919 wrote: Tue Dec 29, 2020 7:21 am Sort out the secrets.ini file. Might just be permissions if it exists.
what do you mean
Magic919
Posts: 1381
Joined: Wed Sep 18, 2013 6:56 am

Re: zmeventnotification installation problem

Post by Magic919 »

It clearly states that it encountered errors whilst reading the file.
-
titof2375
Posts: 66
Joined: Sat Dec 12, 2020 2:32 pm

Re: zmeventnotification installation problem

Post by titof2375 »

yes, is how to fix this problem, i don't understand how to do it
Magic919
Posts: 1381
Joined: Wed Sep 18, 2013 6:56 am

Re: zmeventnotification installation problem

Post by Magic919 »

Understood.

Do

Code: Select all

ls -la /etc/zm/secrets.ini
Hopefully the file IS there. If not, you need to create one.

I expect it’s there but not owned by www-data.

Code: Select all

chown www-data:www-data /etc/zm/secrets.ini
That will change it to the web owner and should remove the error.
-
titof2375
Posts: 66
Joined: Sat Dec 12, 2020 2:32 pm

Re: zmeventnotification installation problem

Post by titof2375 »

thank you
Locked