Bug 21857

Summary: Fresh kohadevbox fails to web install
Product: Koha Reporter: Mark Tompsett <mtompset>
Component: Installation and upgrade (web-based installer)Assignee: Bugs List <koha-bugs>
Status: CLOSED WORKSFORME QA Contact: Testopia <testopia>
Severity: critical    
Priority: P5 - low CC: gmcharlt, jonathan.druart
Version: Main   
Hardware: All   
OS: All   
GIT URL: Change sponsored?: ---
Patch complexity: --- Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Mark Tompsett 2018-11-18 04:18:26 UTC
On a fresh stretch kohadevbox... I'm trying to run the koha web installer, and I am getting:

The following error occurred while importing the database structure:

DBD::mysql::st execute failed: Cannot delete or update a parent row: a foreign key constraint fails at /usr/share/perl5/DBIx/RunSQL.pm line 273.

Please contact your system administrator

Doesn't matter if plack is on or off. Though, the plack off message is time stamped. Suggestions?

reset_all alias successfully sets up Koha.
Comment 1 Mark Tompsett 2018-11-18 04:21:12 UTC
Replication steps:
export LOCAL_ANSIBLE=1;vagrant destroy stretch;vagrant up stretch;vagrant ssh stretch
open browser to localhost:8081 (which is what gets mapped to admin interface)
and it should start going through the web install steps. Eventually a step will trigger the error in the description by comment #0.
Comment 2 Jonathan Druart 2018-12-06 15:01:12 UTC
What is the message in the log?
Comment 3 Mark Tompsett 2018-12-06 15:45:51 UTC
And now I can't duplicate it. I'll just close this. :(