zmeventnotification tokens.txt

Discussion topics related to mobile applications and ZoneMinder Event Server (including machine learning)
Post Reply
Henri
Posts: 29
Joined: Mon May 16, 2011 7:39 pm

zmeventnotification tokens.txt

Post by Henri »

I dont use mobil push notifications and i see in the logfile every 5 minutes the following message
ERR [PARENT: Could not parse token file for token counts: ]
How can i disable this message ?
Thanks in advance for your support.
User avatar
asker
Posts: 1553
Joined: Sun Mar 01, 2015 12:12 pm

Re: zmeventnotification tokens.txt

Post by asker »

For now, just do

Code: Select all

sudo echo {} > /var/lib/zmeventnotification/push/tokens.txt 
sudo chown www-data:www-data /var/lib/zmeventnotification/push/tokens.txt 
I've fixed the next version not to update tokens if use_fcm is disabled.
I no longer work on zmNinja, zmeventnotification, pyzm or mlapi. I may respond on occasion based on my available time/interest.

Please read before posting:
How to set up logging properly
How to troubleshoot and report - ES
How to troubleshoot and report - zmNinja
ES docs
zmNinja docs
Henri
Posts: 29
Joined: Mon May 16, 2011 7:39 pm

Re: zmeventnotification tokens.txt

Post by Henri »

Thank you for the quick answer
Post Reply