Page 1 of 1

debian upgrade failed

Posted: Mon Feb 22, 2016 7:45 pm
by bradywang
I woke up this morning and my system update itself last night.

An update to zoneminder from 1.28.1-6~bpo8+1 to 1.29.0+dfsg-1~bpo8+1 is needed.
This update has been successfully installed.

so i tried to log in at first i got an error about php timezone not set i fixed that now i get.

SQL-ERR 'SQLSTATE[42S02]: Base table or view not found: 1146 Table 'zm.Servers' doesn't exist', statement was 'SELECT * FROM Servers ORDER BY Name'

Re: debian upgrade failed

Posted: Mon Feb 22, 2016 10:55 pm
by bbunge
You need to upgrade your database and permissions. See the WIKI for Ubuntu upgrades to get the code.

Re: debian upgrade failed

Posted: Wed Mar 02, 2016 5:51 pm
by sb3rla
May you be a little more clear? :-)

Re: debian upgrade failed

Posted: Wed Mar 02, 2016 7:13 pm
by rip
Your error is pretty clear, the database permission and/or zmupdate were skipped or incomplete.

Zmupdate can look like it stalled as there is no feedback that it's working, be patient, let it finish.

Re: debian upgrade failed

Posted: Thu Mar 03, 2016 7:26 am
by PacoLM
Stop ZM and try to run "zmupdate.pl -f"