[Koha] New install

Katrin Fischer katrin.fischer.83 at web.de
Fri Feb 11 09:26:03 NZDT 2022


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
> Koha at lists.katipo.co.nz
> Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha


More information about the Koha mailing list