updatedatabase.pl failing from 3.10 to 3.12
Upgrading from 3.10.13 to 3.12.15 or any higher version, the updatedatabase.pl script is broken. Does it work when I upgrade to a lower 3.12 version? Or do I have to fix this manually? Or is there a script to get it fixed? Thanks, Jürgen Eichenbrenner, International School Stuttgart. [Tue Apr 28 12:29:33 2015] updatedatabase.pl: DBD::mysql::db do failed: Table 'borrower_attribute_types_branches' already exists at /home/koha/koha312/intranet/cgi-bin/installer/data/mysql/updatedatabase.pl line 6119. [Tue Apr 28 12:29:33 2015] updatedatabase.pl: DBD::mysql::db do failed: Table 'categories_branches' already exists at /home/koha/koha312/intranet/cgi-bin/installer/data/mysql/updatedatabase.pl line 6121. [Tue Apr 28 12:29:33 2015] updatedatabase.pl: DBD::mysql::db do failed: Table 'authorised_values_branches' already exists at /home/koha/koha312/intranet/cgi-bin/installer/data/mysql/updatedatabase.pl line 6123. [Tue Apr 28 12:29:33 2015] updatedatabase.pl: DBD::mysql::db do failed: Duplicate entry 'OPACNumbersPreferPhrase' for key 'PRIMARY' at /home/koha/koha312/intranet/cgi-bin/installer/data/mysql/updatedatabase.pl line 6405. [Tue Apr 28 12:29:33 2015] updatedatabase.pl: DBD::mysql::db do failed: Duplicate entry 'IntranetNumbersPreferPhrase' for key 'PRIMARY' at /home/koha/koha312/intranet/cgi-bin/installer/data/mysql/updatedatabase.pl line 6406. [Tue Apr 28 12:29:33 2015] updatedatabase.pl: DBD::mysql::db do failed: Duplicate entry 'UNIMARCAuthorityField100' for key 'PRIMARY' at /home/koha/koha312/intranet/cgi-bin/installer/data/mysql/updatedatabase.pl line 6413. [Tue Apr 28 12:29:33 2015] updatedatabase.pl: DBD::mysql::db do failed: Table 'linktracker' already exists at /home/koha/koha312/intranet/cgi-bin/installer/data/mysql/updatedatabase.pl line 6458. [Tue Apr 28 12:29:33 2015] updatedatabase.pl: DBD::mysql::db do failed: Duplicate key name 'batch_id_record_type' at /home/koha/koha312/intranet/cgi-bin/installer/data/mysql/updatedatabase.pl line 6483. [Tue Apr 28 12:29:33 2015] updatedatabase.pl: DBD::mysql::db do failed: Duplicate entry '1-overdues_report' for key 'PRIMARY' at /home/koha/koha312/intranet/cgi-bin/installer/data/mysql/updatedatabase.pl line 6492. [Tue Apr 28 12:29:33 2015] updatedatabase.pl: DBD::mysql::db do failed: Duplicate entry 'UNIMARCAuthorsFacetsSeparator' for key 'PRIMARY' at /home/koha/koha312/intranet/cgi-bin/installer/data/mysql/updatedatabase.pl line 6538. [Tue Apr 28 12:31:08 2015] updatedatabase.pl: DBD::mysql::db do failed: Duplicate entry 'CalculateFinesOnReturn' for key 'PRIMARY' at /home/koha/koha312/intranet/cgi-bin/installer/data/mysql/updatedatabase.pl line 6845.
Hi Jürgen, Jürgen Eichenbrenner schrieb am 28.04.2015
Upgrading from 3.10.13 to 3.12.15 or any higher version, the updatedatabase.pl script is broken. Does it work when I upgrade to a lower 3.12 version? Or do I have to fix this manually? Or is there a script to get it fixed?
Those look like (scary) warnings to me. Do you encounter actual problems after the upgrade? Otherwise you can just ignore them. HTH, Mirko -- Mirko Tietgen mirko@abunchofthings.net http://koha.abunchofthings.net
Jürgen Eichenbrenner schreef op di 28-04-2015 om 12:44 [+0000]:
Upgrading from 3.10.13 to 3.12.15 or any higher version, the updatedatabase.pl script is broken. Does it work when I upgrade to a lower 3.12 version? Or do I have to fix this manually? Or is there a script to get it fixed?
As they're all "X already exists" type messages, you can ignore them. It's just due to features that were put into both versions. I'd recommend upgrading to something a lot more recent than 3.12 though. -- Robin Sheat Catalyst IT Ltd. ✆ +64 4 803 2204 GPG: 5FA7 4B49 1E4D CAA4 4C38 8505 77F5 B724 F871 3BDF
participants (3)
-
Jürgen Eichenbrenner -
Mirko Tietgen -
Robin Sheat