[Koha-bugs] [Bug 35552] New: Cannot change column 'itemnumber': used in a foreign key constraint 'tmp_holdsqueue_ibfk_1' at /usr/share/koha/lib/C4/Installer.pm line 741

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Dec 12 19:52:43 CET 2023


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35552

            Bug ID: 35552
           Summary: Cannot change column 'itemnumber': used in a foreign
                    key constraint 'tmp_holdsqueue_ibfk_1' at
                    /usr/share/koha/lib/C4/Installer.pm line 741
 Change sponsored?: ---
           Product: Koha
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Installation and upgrade (web-based installer)
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: vctrzuniga at gmail.com
        QA Contact: testopia at bugs.koha-community.org
                CC: gmcharlt at gmail.com

Hello,

This issue started last night during the final steps of upgrading from 23.06 to
23.11. Upon following the advice from Emmi Takkinen (See ticket #35543 for
reference) I ran into this issue dealing with the foreign key constraint
'tmp_holdsqueue_ibfk_1'.

I ran again the update and upgrade commands this morning. Here is the output I
am getting:


======


Setting up koha-common (23.11.00-1) ...
Installing new version of config file
/etc/koha/apache-shared-intranet-plack.conf ...
Installing new version of config file /etc/koha/apache-shared-intranet.conf ...
Installing new version of config file /etc/koha/apache-site-https.conf.in ...
Installing new version of config file /etc/koha/koha-conf-site.xml.in ...
Installing new version of config file
/etc/koha/zebradb/marc_defs/marc21/biblios/biblio-koha-indexdefs.xml ...
Installing new version of config file
/etc/koha/zebradb/marc_defs/marc21/biblios/biblio-zebra-indexdefs.xsl ...
Upgrading database schema for catalog
Upgrade to 23.06.00.013  [10:26:04]: Bug 28966 - Holds queue view too slow to
load for large numbers of holds
ERROR - {UNKNOWN}: DBI Exception: DBD::mysql::db do failed: Cannot change
column 'itemnumber': used in a foreign key constraint 'tmp_holdsqueue_ibfk_1'
at /usr/share/koha/lib/C4/Installer.pm line 741

dpkg: error processing package koha-common (--configure):
 installed koha-common package post-installation script subprocess returned
error exit status 1


E: Sub-process /usr/bin/dpkg returned an error code (1)

======

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list