David, I think what you want is do_all_you_can_do.pl (from koha-misc4dev) to stop if populate_db.pl die with "DB not empty" Cheers, Jonathan Le jeu. 6 févr. 2020 à 06:15, <dcook@prosentient.com.au> a écrit :
Hi all,
Is there a trick for stopping and starting koha-testing-docker, when using docker-compose, so that you can re-use the same containers?
I stop/start containers all the time on other projects, and I swear that Tomas told me how to do it with koha-testing-docker, but koha_koha_1 keeps crashing with “User kohadev-koha already exists” after I try to start it after stopping it, as it’s trying to run /kohadevbox/run.sh. Perhaps /kohadevbox/run.sh should have a test where it only tries to do setup if it hasn’t already setup the container environment.
David Cook
Systems Librarian
Prosentient Systems
72/330 Wattle St
Ultimo, NSW 2007
Australia
Office: 02 9212 0899
Direct: 02 8005 0595
_______________________________________________ Koha-devel mailing list Koha-devel@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/