https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26025
Bug ID: 26025
Summary: Data loss issue during Schema database upgrade from
16.11 to 20.05
Change sponsored?: ---
Product: Koha
Version: 20.05
Hardware: All
OS: All
Status: NEW
Severity: minor
Priority: P5 - low
Component: Installation and upgrade (command-line installer)
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
Hi
While trying to run database upgrade command from Koha 16.11 to 20.05 it gives
following error:
Upgrade to 16.12.00.003 done (Bug 17486 - Remove 'Mozilla Persona' as an
authentication method)
DBD::mysql::db do failed: Cannot add or update a child row: a foreign key
constraint fails (`koha_library`.`deletedbiblio_metadata`, CONSTRAINT
`deletedbiblio_metadata_fk_1` FOREIGN KEY (`biblionumber`) REFERENCES
`deletedbiblio` (`biblionumber`) ON DELETE CASCADE ON UPDATE CASCADE) [for
Statement "
INSERT INTO deletedbiblio_metadata ( biblionumber, format, marcflavour,
metadata ) SELECT biblionumber, 'marcxml', 'CHANGEME', marcxml FROM
deletedbiblioitems;
"] at
/usr/share/koha/intranet/cgi-bin/installer/data/mysql/updatedatabase.pl line
13816.
Above seems to be data loss under deletedbiblioitem etc. as per discussion over
Koha mailing list?
--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
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/