Bug 21857 - Fresh kohadevbox fails to web install
Summary: Fresh kohadevbox fails to web install
Status: CLOSED WORKSFORME
Alias: None
Product: Koha
Classification: Unclassified
Component: Installation and upgrade (web-based installer) (show other bugs)
Version: Main
Hardware: All All
: P5 - low critical (vote)
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-11-18 04:18 UTC by Mark Tompsett
Modified: 2020-01-06 20:15 UTC (History)
2 users (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 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. :(