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 Phone:(888)900-8944 <(888)%20900-8944> What is Koha? <http://bywatersolutions.com/what-is-koha/>
Which errors do you get? Le jeu. 11 févr. 2021 à 18:03, Andrew Fuerste-Henry < andrew@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 Phone:(888)900-8944 <(888)%20900-8944>
What is Koha? <http://bywatersolutions.com/what-is-koha/> _______________________________________________ Koha-devel mailing list Koha-devel@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/
I had issues with reset_all as well. It is some latest changes on the db El jue., 11 feb. 2021 15:32, Jonathan Druart < jonathan.druart@bugs.koha-community.org> escribió:
Which errors do you get?
Le jeu. 11 févr. 2021 à 18:03, Andrew Fuerste-Henry < andrew@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 Phone:(888)900-8944 <(888)%20900-8944>
What is Koha? <http://bywatersolutions.com/what-is-koha/> _______________________________________________ Koha-devel mailing list Koha-devel@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@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/
Digging through the terminal, the errors I was getting were related to some new tables created in a bug I was testing. They somehow persisted after a git reset --hard and a reset_all. On Thu, Feb 11, 2021 at 1:42 PM Tomas Cohen Arazi <tomascohen@gmail.com> wrote:
I had issues with reset_all as well. It is some latest changes on the db
El jue., 11 feb. 2021 15:32, Jonathan Druart < jonathan.druart@bugs.koha-community.org> escribió:
Which errors do you get?
Le jeu. 11 févr. 2021 à 18:03, Andrew Fuerste-Henry < andrew@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 Phone:(888)900-8944 <(888)%20900-8944>
What is Koha? <http://bywatersolutions.com/what-is-koha/> _______________________________________________ Koha-devel mailing list Koha-devel@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@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/
-- Andrew Fuerste-Henry Educator (he/him/his) ByWater Solutions bywatersolutions.com Phone:(888)900-8944 <(888)%20900-8944> What is Koha? <http://bywatersolutions.com/what-is-koha/>
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@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 Phone:(888)900-8944
What is Koha? _______________________________________________ Koha-devel mailing list Koha-devel@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/
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@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@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 Phone:(888)900-8944
What is Koha? _______________________________________________ Koha-devel mailing list Koha-devel@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@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/
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@lists.koha-community.org> On Behalf Of Agustin Moyano Sent: Saturday, 13 February 2021 2:36 AM To: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Cc: koha-devel <koha-devel@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@bugs.koha-community.org <mailto:jonathan.druart@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@bywatersolutions.com <mailto:andrew@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@lists.koha-community.org <mailto:Koha-devel@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@lists.koha-community.org <mailto:Koha-devel@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/
Thanks for the feedback, all. Docker commands are definitely something I could stand to learn more about! Andrew On Sun, Feb 14, 2021 at 4:05 PM <dcook@prosentient.com.au> wrote:
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@lists.koha-community.org> *On Behalf Of *Agustin Moyano *Sent:* Saturday, 13 February 2021 2:36 AM *To:* Jonathan Druart <jonathan.druart@bugs.koha-community.org> *Cc:* koha-devel <koha-devel@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@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@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 Phone:(888)900-8944
What is Koha? _______________________________________________ Koha-devel mailing list Koha-devel@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@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@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/
-- Andrew Fuerste-Henry Educator (he/him/his) ByWater Solutions bywatersolutions.com Phone:(888)900-8944 <(888)%20900-8944> What is Koha? <http://bywatersolutions.com/what-is-koha/>
participants (5)
-
Agustin Moyano -
Andrew Fuerste-Henry -
dcook@prosentient.com.au -
Jonathan Druart -
Tomas Cohen Arazi