[Koha-devel] Testing Docker Issue

dcook at prosentient.com.au dcook at prosentient.com.au
Sun Feb 14 23:04:44 CET 2021


I would be careful using “docker volumes prune -f” as that’s a nuclear option. Easy to lose volumes that you don’t want to lose, if you use Docker for anything other than KTD, when using that command.

 

David Cook

Software Engineer

Prosentient Systems

Suite 7.03

6a Glen St

Milsons Point NSW 2061

Australia

 

Office: 02 9212 0899

Online: 02 8005 0595

 

From: Koha-devel <koha-devel-bounces at lists.koha-community.org> On Behalf Of Agustin Moyano
Sent: Saturday, 13 February 2021 2:36 AM
To: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Cc: koha-devel <koha-devel at lists.koha-community.org>
Subject: Re: [Koha-devel] Testing Docker Issue

 

Hi Andrew, if database persists after restarting ktd, you can do:

 

docker system prune -f

 

and 

 

docker volumes prune -f

 

The first command will remove any container that's not actually running, and the second will remove any persistent volume that's not attached to a running container.

 

Cheers.

 

On Fri, Feb 12, 2021 at 6:01 AM Jonathan Druart <jonathan.druart at bugs.koha-community.org <mailto:jonathan.druart at bugs.koha-community.org> > wrote:

I pushed bug 25026 (RaiseError must be set for the UI) a couple of
days ago, and a related misc4dev's merge request has also been merged
at the same time
(https://gitlab.com/koha-community/koha-misc4dev/-/issues/52).

Can you make sure you "docker-compose pull" before and that
/kohadevbox/misc4dev HEAD is b300d83 (Issue #52 - Prevent SQL errors
to stop the reset_all process)?


Le jeu. 11 févr. 2021 à 18:03, Andrew Fuerste-Henry
<andrew at bywatersolutions.com <mailto:andrew at bywatersolutions.com> > a écrit :
>
> Hi folks!
> A couple of us within ByWater have run into testing docker issues recently. When trying to start up testing docker on master, one gets a bunch of SQL errors before the koha process just dies. It seems to be ok with starting up on a different branch and then switching to master after the fact.
> Has anyone else seen this?
>
> --
> Andrew Fuerste-Henry
> Educator
> (he/him/his)
> ByWater Solutions
> bywatersolutions.com <http://bywatersolutions.com> 
> Phone:(888)900-8944
>
> What is Koha?
> _______________________________________________
> Koha-devel mailing list
> Koha-devel at lists.koha-community.org <mailto:Koha-devel at lists.koha-community.org> 
> https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
> website : https://www.koha-community.org/
> git : https://git.koha-community.org/
> bugs : https://bugs.koha-community.org/
_______________________________________________
Koha-devel mailing list
Koha-devel at lists.koha-community.org <mailto:Koha-devel at lists.koha-community.org> 
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
website : https://www.koha-community.org/
git : https://git.koha-community.org/
bugs : https://bugs.koha-community.org/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.koha-community.org/pipermail/koha-devel/attachments/20210215/f4b126e4/attachment.htm>


More information about the Koha-devel mailing list