Bug 24694 - Installing the sample data produces some errors
Summary: Installing the sample data produces some errors
Status: RESOLVED DUPLICATE of bug 26447
Alias: None
Product: Koha
Classification: Unclassified
Component: Installation and upgrade (web-based installer) (show other bugs)
Version: Main
Hardware: All All
: P5 - low minor (vote)
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-02-20 08:33 UTC by paxed
Modified: 2020-09-13 10:41 UTC (History)
1 user (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description paxed 2020-02-20 08:33:25 UTC
Getting the following errors when installing the default sample data:

sample_holidays.sql
[Thu Feb 20 08:26:09 2020] install.pl: DBD::mysql::st execute failed: Cannot add or update a child row: a foreign key constraint fails (`koha`.`repeatable_holidays`, CONSTRAINT `repeatable_holidays_ibfk_1` FOREIGN KEY (`branchcode`) REFERENCES `branches` (`branchcode`) ON DELETE CASCADE ON UPDATE CASCADE)

message_transport_types.sql
[Thu Feb 20 08:26:07 2020] install.pl: DBD::mysql::st execute failed: Duplicate entry 'email' for key 'PRIMARY'

sample_notices_message_attributes.sql
[Thu Feb 20 08:26:10 2020] install.pl: DBD::mysql::st execute failed: Duplicate entry '1' for key 'PRIMARY' 

sample_notices_message_transports.sql
[Thu Feb 20 08:26:10 2020] install.pl: DBD::mysql::st execute failed: Duplicate entry '1-email-0' for key 'PRIMARY'
Comment 1 Katrin Fischer 2020-09-13 10:41:29 UTC

*** This bug has been marked as a duplicate of bug 26447 ***