[Koha-devel] Email::MesageID module and koha-testing-docker

dcook at prosentient.com.au dcook at prosentient.com.au
Thu Mar 12 00:20:32 CET 2020


That `docker system prune -a` command could have unexpected consequences if you use Docker for anything other than koha-testing-docker. 

My suggestion is typically to fetch the latest koha-testing-docker git directory and to run "docker-compose pull" which will fetch the latest Docker images listed in the docker-compose.yml file.

David Cook
Systems Librarian
Prosentient Systems
72/330 Wattle St
Ultimo, NSW 2007
Australia

Office: 02 9212 0899
Direct: 02 8005 0595

-----Original Message-----
From: Koha-devel <koha-devel-bounces at lists.koha-community.org> On Behalf Of Jon Knight
Sent: Thursday, 12 March 2020 4:02 AM
To: Koha Devel <koha-devel at lists.koha-community.org>
Subject: Re: [Koha-devel] Email::MesageID module and koha-testing-docker

Just in case it helps, ashimema suggested on the IRC channel that I should run:

`docker system prune -a`

on the command line before firing up a docker container from the updated koha-testing-docker git directory. That worked a treat. Putting it here in case others trip over the same problem!

Thank you!

Jon
________________________________________
From: Koha-devel <koha-devel-bounces at lists.koha-community.org> on behalf of Jon Knight <J.P.Knight at lboro.ac.uk>
Sent: 11 March 2020 15:24
To: Koha Devel
Subject: [Koha-devel] Email::MesageID module and koha-testing-docker

I was going to do a spot of Koha "signing off" today whilst waiting for some other work to arrive and decided to try firing up the koha-testing-docker (https://gitlab.com/koha-community/koha-testing-docker.git) Docker image as the bug I was going to test needed command line interaction (for web based testing I usually use the sandboxes as its quicker and easier).

Unfortunately I've come unstuck because I keep getting:

koha_1       | Something went wrong rebuilding biblio indexes for kohadev
koha_1       | Can't locate Email/MessageID.pm in @INC (you may need to install the Email::MessageID module) (@INC contains: /kohadevbox/koha /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.24.1 /usr/local/share/perl/5.24.1 /usr/lib/x86_64-linux-gnu/perl5/5.24 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.24 /usr/share/perl/5.24 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base /var/lib/koha/kohadev/plugins) at /kohadevbox/koha/Koha/Email.pm line 22.
koha_1       | BEGIN failed--compilation aborted at /kohadevbox/koha/Koha/Email.pm line 22.
koha_1       | Compilation failed in require at /kohadevbox/koha/C4/Letters.pm line 38.

...followed by lots of similar lines and a failed Koha install. I've tried pulling a fresh koha-testing-docker git install onto my laptop and setting/exporting the CPAN=1 environment variable to get CPAN dependencies updated but it still happens. I can `kshell` into the docker container and install the module manually, but of course its blown away the next time I do a `ku` or `kp` command to bring up a new container instance.

Kind of puts a dampener on doing sign-offs, so does anyone else have the same issue and/or any hints on how to fix it?

Jon
_______________________________________________
Koha-devel mailing list
Koha-devel at lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/ _______________________________________________
Koha-devel mailing list
Koha-devel at lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 484 bytes
Desc: not available
URL: <http://lists.koha-community.org/pipermail/koha-devel/attachments/20200312/2a4d3edd/attachment-0001.sig>


More information about the Koha-devel mailing list