<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>I've been getting to grips with using koha-testing-docker (<a href="https://gitlab.com/koha-community/koha-testing-docker" target="_blank">https://gitlab.com/koha-community/koha-testing-docker</a>) since KohaCon 18. Thanks Kyle and Tomás for having a session on it at the HackFest!<br></div><div><br></div><div>A couple of questions - apologies if the answers to these are obvious, I've not really used docker until now...<br></div><div><br></div><div>I'm using docker on a Ubuntu 18.04 desktop.</div><div><br></div><div>env/defaults.env and .env</div><div>====================</div><div><br></div><div>Is the copy you make of defaults.env only required because docker requires it (as instructed under Setup in the README.md file)?<br></div><div><br></div><div>Anything I've updated in .env seems to be ignored in favour of what is in the env/defaults.env file, for example your Git user name and email.<br></div><div></div><div><br></div><div>However, if you don't have the .env file you get this error when running docker-compose -p koha up :</div><div><br></div><div>> WARNING: The KOHA_INTRANET_PREFIX variable is not set. Defaulting to a blank string.<br>> WARNING: The KOHA_INSTANCE variable is not set. Defaulting to a blank string.<br>> WARNING: The KOHA_INTRANET_SUFFIX variable is not set. Defaulting to a blank string.<br>> WARNING: The KOHA_DOMAIN variable is not set. Defaulting to a blank string.<br>> WARNING: The KOHA_OPAC_PREFIX variable is not set. Defaulting to a blank string.<br>> WARNING: The KOHA_OPAC_SUFFIX variable is not set. Defaulting to a blank string.<br>> WARNING: The RUN_TESTS_AND_EXIT variable is not set. Defaulting to a blank string.<br>> WARNING: The COVERAGE variable is not set. Defaulting to a blank string.<br>> ERROR: The Compose file './docker-compose.yml' is invalid because:<br>> services.koha.networks.kohanet contains non-unique items, please remove duplicates from [u'', u'']<br></div><div><br></div><div>For the moment I just make changes in env/defaults.env and copy this to .env</div><div></div><div><br></div><div>UNIMARC support<br></div><div>==============</div><div><br></div><div>Does koha-testing-docker support UNIMARC at this stage?</div><div><br></div><div>Adding either UNIMARC or unimarc to the env/defaults.env file didn't seem to make any difference.</div><div><br></div><div>Normally I would use MARC21, but I was trying to test a UNIMARC patch - the UNIMARC specific script said it only works on UNIMARC (surprisingly enough!).</div><div><br></div><div>If I try reset_all_unimarc in the container it hangs at the last line:<br></div><div><br></div><div>> Inserting /kohadevbox/koha/installer/data/mysql/en/marcflavour/unimarc/mandatory/authorities_normal_unimarc.sql...<br>> Inserting /kohadevbox/koha/installer/data/mysql/en/marcflavour/unimarc/mandatory/unimarc_framework_DEFAULT.sql...<br>> Setting the MARC flavour on the sysprefs...<br>> Setting Koha version to 18.0600035...<br>> Running [sudo koha-shell kohadev -p -c 'PERL5LIB=/kohadevbox/koha:/kohadevbox/qa-test-tools perl /kohadevbox/misc4dev/<a href="http://create_superlibrarian.pl" target="_blank">create_superlibrarian.pl</a> --userid koha --password koha ']...<br>> Running [sudo koha-shell kohadev -c 'PERL5LIB=/kohadevbox/koha:/kohadevbox/qa-test-tools perl /kohadevbox/misc4dev/<a href="http://insert_data.pl" target="_blank">insert_data.pl</a> --marcflavour UNIMARC']...<br>> There is no records data for UNIMARC yet at /kohadevbox/misc4dev/<a href="http://insert_data.pl" target="_blank">insert_data.pl</a> line 50.</div><div><br></div><div>Also, is there an easy way to tell if Koha is using UNIMARC? I assume you can tell by looking at the default cataloguing framework (if you know what you are looking for, which I don't).</div><div></div><div><br></div><div><div>Rebuilding search indexes<br></div><div>=====================</div><div><br></div><div>After docker is running you don't get any search reults when searching the catalogue.<br></div><div><br></div><div>Is having to rebuild the search index manually once docker has started the normal behaviour?</div><div><br></div><div>Is it possible to have the indexes created as part of docker starting up?</div><div><br></div><div>Or is there a reason why this isn't done? (Depending on whether you want to use Zebra or Elastic.) <br></div></div><div><br></div><div>Getting my head around docker</div><div>=========================</div><div><br></div><div>I found this quick guide useful to get the concepts of docker <a href="https://vsupalov.com/6-docker-basics/" target="_blank">https://vsupalov.com/6-docker-basics/</a></div><div><br></div><div>As well, the docker documentation is helpful after that <a href="https://docs.docker.com/get-started/">https://docs.docker.com/get-started/</a><br></div><div><br></div><div>Are there any other useful guides or tutorials that you would recommend to people new to docker?</div><div><br></div><div>Thanks for everyone's work that has made koha-testing-docker possible!</div><div><br></div><div><div><div dir="ltr" class="gmail-m_173171946604047558gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>David Nind | <a href="mailto:david.nind@gmail.com" target="_blank">david.nind@gmail.com</a><br>PO Box 12367, Thorndon, Wellington, New Zealand 6144<br>m. +64 21 0537 847</div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>