[Koha] ERROR Upgrading Database to 21.12.00.016

Keith Sorbo keith at thesorbos.com
Thu Jun 9 16:20:02 NZST 2022


HELP!

While running an automated upgrade I am getting the following error


Updating database structure

Update errors :

   - Upgrade to 21.12.00.016 [04:05:32]: Bug 30060 - Update
   user_permissions to add primary key and remove null option from code column
   ERROR: {UNKNOWN}: DBI Exception: DBD::mysql::db do failed: You have an
   error in your SQL syntax; check the manual that corresponds to your MySQL
   server version for the right syntax to use near 'IF EXISTS `PRIMARY`' at
   line 1 at /usr/share/koha/lib/C4/Installer.pm line 739


More information about the Koha mailing list