koha-testing-docker missing koha-conf.xml
after doing ktd up, after configuring the database info etc in .env, I am getting koha-koha-1 | Running [PERL5LIB=/kohadevbox/koha:/kohadevbox/koha/lib:/kohadevbox/qa-test-tools perl /kohadevbox/misc4dev/setup_sip.pl --instance=emmaus]...koha-koha-1 | unable to locate Koha configuration file koha-conf.xml at /kohadevbox/koha/C4/Context.pm line 171. etc. What am i missing? Hopefully someone picks this up, as it's needed to be done before next week start. Waylon
Hi Waylon, did you set $KOHA_CONF to /etc/koha/sites/<yourinstance>/koha-conf.xml ? All in all, you need $KOHA_CONF $KOHA_HOME $KOHA_PATH and $PERL5LIB, of which only $KOHA_CONF might differ according to which Koha instance you are working on at a given moment (if there are > 1 Koha instances on your server). Best regards, Anke -- Anke Bruns M.A. (LIS) Arbeitsgruppe "Anwendungs- und Informationssysteme" E-Mail: <mailto:anke.bruns@gwdg.de> anke.bruns@gwdg.de ------------------------------------------------- Gesellschaft für wissenschaftliche Datenverarbeitung mbH Göttingen (GWDG) Burckhardtweg 4, 37077 Göttingen, URL: <https://gwdg.de/> https://gwdg.de Support: Tel.: +49 551 39-30000, URL: <https://gwdg.de/support> https://gwdg.de/support Sekretariat: Tel.: +49 551 39-30001, E-Mail: gwdg@gwdg.de Geschäftsführer: Prof. Dr. Ramin Yahyapour Aufsichtsratsvorsitzender: Prof. Dr. Christian Griesinger Sitz der Gesellschaft: Göttingen Registergericht: Göttingen, Handelsregister-Nr. B 598 ------------------------------------------------- Zertifiziert nach ISO 9001 und ISO 27001 ------------------------------------------------- Von: Koha-devel <koha-devel-bounces@lists.koha-community.org> Im Auftrag von Waylon Robertson Gesendet: Donnerstag, 20. Juli 2023 07:19 An: Koha Devel <koha-devel@lists.koha-community.org> Betreff: [Koha-devel] koha-testing-docker missing koha-conf.xml after doing ktd up, after configuring the database info etc in .env, I am getting koha-koha-1 | Running [PERL5LIB=/kohadevbox/koha:/kohadevbox/koha/lib:/kohadevbox/qa-test-tools perl /kohadevbox/misc4dev/setup_sip.pl --instance=emmaus]... koha-koha-1 | unable to locate Koha configuration file koha-conf.xml at /kohadevbox/koha/C4/Context.pm line 171. etc. What am i missing? Hopefully someone picks this up, as it's needed to be done before next week start. Waylon
How did you modify .env? Keep those as it: KOHA_INSTANCE=kohadev KOHA_CONF=/etc/koha/sites/kohadev/koha-conf.xml Le jeu. 20 juil. 2023 à 07:19, Waylon Robertson <wrobertson1981@yahoo.co.nz> a écrit :
after doing ktd up, after configuring the database info etc in .env, I am getting koha-koha-1 | Running [PERL5LIB=/kohadevbox/koha:/kohadevbox/koha/lib:/kohadevbox/qa-test-tools perl /kohadevbox/misc4dev/setup_sip.pl --instance=emmaus]... koha-koha-1 | unable to locate Koha configuration file koha-conf.xml at /kohadevbox/koha/C4/Context.pm line 171.
etc. What am i missing?
Hopefully someone picks this up, as it's needed to be done before next week start.
Waylon
_______________________________________________ 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/
yes, turns out, the ktd scripts don't create a proper koha config directory, so.. ktd can't be used for multiple libraries, and that the koha start script does setup every time it starts, means it can't be used for a docker image for production use.need to build koha-koha-1 myself i guess. Waylon On Friday, 21 July 2023 at 08:59:46 pm NZST, Jonathan Druart <jonathan.druart@bugs.koha-community.org> wrote: How did you modify .env? Keep those as it: KOHA_INSTANCE=kohadev KOHA_CONF=/etc/koha/sites/kohadev/koha-conf.xml Le jeu. 20 juil. 2023 à 07:19, Waylon Robertson <wrobertson1981@yahoo.co.nz> a écrit :
after doing ktd up, after configuring the database info etc in .env, I am getting koha-koha-1 | Running [PERL5LIB=/kohadevbox/koha:/kohadevbox/koha/lib:/kohadevbox/qa-test-tools perl /kohadevbox/misc4dev/setup_sip.pl --instance=emmaus]... koha-koha-1 | unable to locate Koha configuration file koha-conf.xml at /kohadevbox/koha/C4/Context.pm line 171.
etc. What am i missing?
Hopefully someone picks this up, as it's needed to be done before next week start.
Waylon
_______________________________________________ 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/
It’s not meant for production usage. That’s why https://gitlab.com/koha-community/koha-testing-docker says “Dockered development and testing environment for the Koha project”. Some people use containers for Koha in production but they use their own Docker images. I don’t think that there’s widespread interest in the Koha community creating Docker images for production. David Cook Senior 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 Waylon Robertson Sent: Saturday, 22 July 2023 10:26 AM To: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Cc: Koha Devel <koha-devel@lists.koha-community.org> Subject: Re: [Koha-devel] koha-testing-docker missing koha-conf.xml yes, turns out, the ktd scripts don't create a proper koha config directory, so.. ktd can't be used for multiple libraries, and that the koha start script does setup every time it starts, means it can't be used for a docker image for production use. need to build koha-koha-1 myself i guess. Waylon On Friday, 21 July 2023 at 08:59:46 pm NZST, Jonathan Druart <jonathan.druart@bugs.koha-community.org <mailto:jonathan.druart@bugs.koha-community.org> > wrote: How did you modify .env? Keep those as it: KOHA_INSTANCE=kohadev KOHA_CONF=/etc/koha/sites/kohadev/koha-conf.xml Le jeu. 20 juil. 2023 à 07:19, Waylon Robertson <wrobertson1981@yahoo.co.nz <mailto:wrobertson1981@yahoo.co.nz> > a écrit :
after doing ktd up, after configuring the database info etc in .env, I am getting koha-koha-1 | Running [PERL5LIB=/kohadevbox/koha:/kohadevbox/koha/lib:/kohadevbox/qa-test-tools perl /kohadevbox/misc4dev/setup_sip.pl --instance=emmaus]... koha-koha-1 | unable to locate Koha configuration file koha-conf.xml at /kohadevbox/koha/C4/Context.pm line 171.
etc. What am i missing?
Hopefully someone picks this up, as it's needed to be done before next week start.
Waylon
_______________________________________________ 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/
participants (4)
-
Bruns, Anke -
David Cook -
Jonathan Druart -
Waylon Robertson