[Koha-bugs] [Bug 24851] No sample libraries for UNIMARC installations

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Mar 12 10:25:05 CET 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24851

David Nind <david at davidnind.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |david at davidnind.com

--- Comment #3 from David Nind <david at davidnind.com> ---
Thanks Jonathan for doing this, and Jon for testing. It will be great to be
able to test UNIMARC related bugs using koha-testing-docker!

I was trying to test this earlier, and I couldn't get it to work by following
the test plan - so I'm probably doing something wrong!

What I did and the results:

1) git pull for the koha-testing-docker repository (so that is up-to-date) and 
docker-compose pull so that all the images are up-to-date as well.
2) Started up, kshell, applied patch, shut down
3) Made the changes to the .env file
4) Started up koha-testing-docker
5) Get these messages during start up:

Not enough data in the database, library and/or patron category does not exist
at /kohadevbox/misc4dev/create_superlibrarian.pl line 31.
...
...
C4::Installer::load_sql returned the following errors while attempting to load
/kohadevbox/misc4dev/data/sql/unimarc/1812/after_22155/items.sql:
koha_1       | DBD::mysql::st execute failed: Cannot add or update a child row:
a foreign key constraint fails (`koha_kohadev`.`items`, CONSTRAINT
`items_ibfk_2` FOREIGN KEY (`homebranch`) REFERENCES `branches` (`branchcode`)
ON UPDATE CASCADE) at /usr/share/perl5/DBIx/RunSQL.pm line 273.
koha_1       | Something went wrong loading file
/kohadevbox/misc4dev/data/sql/unimarc/1812/after_22155/items.sql ([SQL ERROR]:
INSERT INTO `items` ( `itemn...
.....
.....
error retrieving biblio 1 at
/kohadevbox/koha/misc/migration_tools/rebuild_zebra.pl line 681.

^^^^ that message repeats - trying to retrieve all the biblio entries (number
after changes)

Use of uninitialized value in string eq at
/kohadevbox/koha/misc/migration_tools/rebuild_zebra.pl line 663.

^^^^ line number changes between 86, 92, and 663

6) When I go to 127.0.0.1:8081 I get the web installer

Not sure what I'm doing wrong here, but I'm sure it is something simple and
obvious to you! The patch is applied, so I shouldn't be getting all the errors
above!

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list