https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39221
Bug ID: 39221
Summary: Cannot add or update a child row: a foreign key
constraint fails
Change sponsored?: ---
Product: Koha
Version: 24.11
Hardware: All
OS: All
Status: NEW
Severity: critical
Priority: P5 - low
Component: Installation and upgrade (command-line installer)
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
CC: [email protected]
Upgrading from 24.05 to 24.11 shows this message:
*******************************************
ERROR: {UNKNOWN}: DBI Exception: DBD::mysql::db do failed: Cannot add or update
a child row: a foreign key constraint fails
(`koha_XXX`.`#sql-alter-315d71-38f`, CONSTRAINT `borrower_attributes_ibfk_2`
FOREIGN KEY (`code`) REFERENCES `borrower_attribute_types` (`code`) ON DELETE
CASCADE ON UPDATE CASCADE) at /usr/share/koha/lib/C4/Installer.pm line 743
dpkg: error processing package koha-common (--configure):
installed koha-common package post-installation script subprocess returned
error exit status 1
Errors were encountered while processing:
koha-common
E: Sub-process /usr/bin/dpkg returned an error code (1)
*********************************************
NO WAY WITH:
sudo apt install -f
sudo apt --fix-broken install
sudo dpkg --configure -a'
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/