[Koha] updatedatabase.pl failing from 3.10 to 3.12

Jürgen Eichenbrenner eichenbrenner at issev.de
Wed Apr 29 00:44:12 NZST 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?

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.


More information about the Koha mailing list