Zmninja Certification error

Discussion topics related to mobile applications for ZoneMinder
Post Reply
NXT
Posts: 11
Joined: Sat Feb 08, 2020 4:44 pm

Zmninja Certification error

Post by NXT » Thu Feb 20, 2020 1:17 pm

Hi,

Can somebody help me with this error?
When I run this command to test the event server manual "sudo -u www-data ./zmeventnotification.pl --config ./zmeventnotification.ini"


Thanks!
Attachments
Snap6.png
Snap6.png (668.61 KiB) Viewed 6413 times
Snap4.png
Snap4.png (227.36 KiB) Viewed 6413 times

User avatar
asker
Posts: 1341
Joined: Sun Mar 01, 2015 12:12 pm

Re: Zmninja Certification error

Post by asker » Thu Feb 20, 2020 1:34 pm

--
My collection of ZoneMinder learnings:
https://wiki.zoneminder.com/Various_ZM_thoughts

NXT
Posts: 11
Joined: Sat Feb 08, 2020 4:44 pm

Re: Zmninja Certification error

Post by NXT » Thu Feb 20, 2020 1:45 pm

Hi,

thanks for the reply.
So my settings are correct?

I tried this but still the same issue.
--------------------------------
For this scenario, this should have been enough!
sudo chown -R www-data:root /etc/letsencrypt/

I did above and the manual start was working fine.

Thanks

NXT
Posts: 11
Joined: Sat Feb 08, 2020 4:44 pm

Re: Zmninja Certification error

Post by NXT » Thu Feb 20, 2020 3:32 pm

Ok now its working.
So I did the test and I got the "Tick end" message.
I opened ZMninja on my phone its asked it was allowed to send notification. "I approved".
But still no notifications on my phone.

User avatar
asker
Posts: 1341
Joined: Sun Mar 01, 2015 12:12 pm

Re: Zmninja Certification error

Post by asker » Thu Feb 20, 2020 4:34 pm

--
My collection of ZoneMinder learnings:
https://wiki.zoneminder.com/Various_ZM_thoughts

NXT
Posts: 11
Joined: Sat Feb 08, 2020 4:44 pm

Re: Zmninja Certification error

Post by NXT » Tue Mar 03, 2020 11:13 pm

Hi,

Did some more checks.
Looks like I don’t have the tokens.txt file.
How can I fix that?

Thanks!

Kind regards,

User avatar
asker
Posts: 1341
Joined: Sun Mar 01, 2015 12:12 pm

Re: Zmninja Certification error

Post by asker » Wed Mar 04, 2020 3:59 pm

tokens.txt is created when mobile phones running zmNinja register with the ES.
If that is not happening, your zmNinja mobile app is not able to connect to the ES. Check debug logs on both sides when zmNinja starts.
NXT wrote:
Tue Mar 03, 2020 11:13 pm
Hi,

Did some more checks.
Looks like I don’t have the tokens.txt file.
How can I fix that?

Thanks!

Kind regards,
--
My collection of ZoneMinder learnings:
https://wiki.zoneminder.com/Various_ZM_thoughts

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests