Page 1 of 1

Issue with upgrade 1.32 to 1.34

Posted: Thu Jan 30, 2020 3:10 pm
by hagak
I recently upgraded to 1.34 from 1.32. I ran zmupdate.pl and it ran without error, if I re-run zmupdate.pl it shows that I am on the latest version 1.34.

However my API interface has issues:
curl http://server/zm/api/host/getVersion.json
{"version":"1.34.0","apiversion":"2.0"}

curl http://server/zm/api/monitors.json
{"success":false,"data":{"name":"An Internal Error Has Occurred.","message":"An Internal Error Has Occurred.","url":"\/zm\/api\/monitors.json","exception":{"class":"PDOException","code":"42S22","message":"SQLSTATE[42S22]: Column not found: 1054 Unknown column 'Monitor.DefaultView' in 'field list'"}}}

This leads me to believe I have some issue with my DB schema. Any ideas on how to correct this?

Re: Issue with upgrade 1.32 to 1.34

Posted: Thu Jan 30, 2020 8:05 pm
by hagak
I reran zmupdate.pl using the --version=1.32.0 to force it to run again. I then restarted mysql and zm and it has resovled this issue.