Webconsole shows "stopped" but mostly everything is working

Forum for questions and support relating to the 1.30.x releases only.
Locked
whopper_g
Posts: 4
Joined: Tue Jan 28, 2014 9:25 am

Webconsole shows "stopped" but mostly everything is working

Post by whopper_g »

Hi folks,
well, i didn’t' know when exactly this started, but i guess this started after upgrading my box to Debian 9 (stretch) a while back.
Some version Info’s:
zoneminder 1.30.4-dmo1
mysql-server 5.7.18-1
php 7.0.19-1

Issue:
If i access the Webconsole, i could do mostly anything (like add a new monitor, view events, logs, change options and so on) but not access zones that are defined.

Things i did already:
- Check permissions for the tmp and socks file/folders
- clean install of zoneminder (apt-get remove zoneminder, apt-get purge zoneminder, clean all zm related folders, make sure db was dropped)

After that, the issue still persists. I could not find any log entries (apache nor zm.log) regarding this issue.
Another thing i just found out is that the API also seems not to work (error 500 while accessing /zm/api/host/getVersion.json)

So if anybody got any tips on this would be really appreciated.
bbunge
Posts: 2981
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: Webconsole shows "stopped" but mostly everything is working

Post by bbunge »

Looks like Debian 9 is now using MySQL 5.7. Therefore you will need to add to my.cnf:

In the [mysqld] section add the following

sql_mode = NO_ENGINE_SUBSTITUTION

You may also have to add php-apc or whatever Debian uses for this. Am doing a test install so I can verify the install procedures in teh WIKI.
bbunge
Posts: 2981
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: Webconsole shows "stopped" but mostly everything is working

Post by bbunge »

Procedure for ZM 1.30.4 on Debian 9 (testing)

https://wiki.zoneminder.com/Debian_9_64 ... e_Easy_Way
Locked