Hi Igor,

there are some dependencies in the sample data. If you pick sample
holidays, you'd also need to pick the sample libraries, as a holiday
always needs a library assigned to it. If you uncheck the holidays in
the installer, the error should go away.

Hope this helps,

Katrin

On 10.02.22 11:13, Сычев Игорь Алексеевич wrote:
Hello Koha Community!

Why does the problem occur on a fresh install?
21.11
Unimarc

DBD::mysql::db do failed: Cannot add or update a child row: a foreign key 
constraint fails (koha_koha3.repeatable_holidays, CONSTRAINT 
repeatable_holidays_ibfk_1 FOREIGN KEY (branchcode) REFERENCES branches 
(branchcode) ON DELETE CASCADE ON UPDATE CASCADE) at 
/usr/share/koha/lib/C4/Installer.pm line 574.

Good Luck!

Igor A. Sychev
Tomsk Polytechnic University
https://lib.tpu.ru

_______________________________________________

Koha mailing list  http://koha-community.org
[email protected]
Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha
_______________________________________________

Koha mailing list  http://koha-community.org
[email protected]
Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha

Reply via email to