I recently upgraded to Zoneminder 1.34. Though it's failing to start due to a migration SQL failing to update the "Logs" table.
Code: Select all
Feb 8 18:32:47 33e80d710a9c /etc/mysql/debian-start[12359]: Checking for insecure root accounts.
Feb 8 18:32:47 33e80d710a9c /etc/mysql/debian-start[12363]: Triggering myisam-recover for all MyISAM tables and aria-recover for all Aria tables
Initiating database upgrade to version 1.34.2 from version 1.32.3
Upgrading database to version 1.34.2
Loading config from DB 230 entries
Saving config to DB 230 entries
Upgrading DB to 1.33.0 from 1.32.3
Database successfully upgraded to version 1.33.0.
Upgrading DB to 1.33.1 from 1.32.3
Database successfully upgraded to version 1.33.1.
Upgrading DB to 1.33.2 from 1.32.3
Database successfully upgraded to version 1.33.2.
Upgrading DB to 1.33.3 from 1.32.3
Database successfully upgraded to version 1.33.3.
Upgrading DB to 1.33.4 from 1.32.3
Database successfully upgraded to version 1.33.4.
Upgrading DB to 1.33.5 from 1.32.3
Database successfully upgraded to version 1.33.5.
Upgrading DB to 1.33.6 from 1.32.3
Database successfully upgraded to version 1.33.6.
Upgrading DB to 1.33.7 from 1.32.3
Database successfully upgraded to version 1.33.7.
Upgrading DB to 1.33.8 from 1.32.3
Database successfully upgraded to version 1.33.8.
Upgrading DB to 1.33.9 from 1.32.3
Database successfully upgraded to version 1.33.9.
Upgrading DB to 1.33.10 from 1.32.3
Database successfully upgraded to version 1.33.10.
Upgrading DB to 1.33.11 from 1.32.3
Database successfully upgraded to version 1.33.11.
Upgrading DB to 1.33.12 from 1.32.3
ERROR 1034 (HY000) at line 15: Incorrect key file for table 'Logs'; try to repair it
Command 'mysql -hlocalhost -uzmuser -p"zmpass" zm < /usr/share/zoneminder/db/zm_update-1.33.12.sql' exited with status: 1
Output:
Freshening configuration in database
Migratings passwords, if any...
Loading config from DB 230 entries
Saving config to DB 230 entries
* Starting Apache httpd web server apache2
*
Starting ZoneMinder:
Feb 8 18:35:48 33e80d710a9c zmpkg[12462]: INF [Sanity checking States table...]
Feb 8 18:35:48 33e80d710a9c zmpkg[12462]: INF [Command: start]
Feb 8 18:35:49 33e80d710a9c zmpkg[12462]: FAT [Version mismatch, system is version 1.34.
Any help would be appreciated.
Thanks.