Page 1 of 1

Webserver not starting after activate security module

Posted: 15 May 2020 22:15
by MattiasW
I tried to active the security module under automation. After that my webserver crashed. I get these messages in the log file:

[2020-05-15 21:05:21.705] [core] Starting ZWay Automation webserver
[2020-05-15 21:05:21.812] [E] [core] result: Error: SyntaxError: Unexpected end of input
at AutomationController.loadNotifications (automation/classes/AutomationController.js:1493:3)
at AutomationController.start (automation/classes/AutomationController.js:252:7)
at automation/main.js:126:13

I tried to restore a backup but that did not help. Then I tried to reinstall z-way-server but the issue still persists. Does anyone have some ideas what to do?

Re: Webserver not starting after activate security module

Posted: 16 May 2020 19:48
by PoltoS
looks like nitification storage is broken. Please remove automation/storage/notificationjson....... (long name) file

Re: Webserver not starting after activate security module

Posted: 16 May 2020 23:09
by MattiasW
Removing the json file solved it and the server is up. Thanks