PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* ok: [localhost] TASK [debug] ******************************************************************* ok: [localhost] => { "msg": "Using 'ermusage' as instance name" } TASK [Check if git dir already exists] ***************************************** ok: [localhost] TASK [Force get new tags and branches] ***************************************** changed: [localhost] TASK [Clone koha source to /usr/local/src/koha] ******************************** skipping: [localhost] TASK [Copy source koha clone for sandbox] ************************************** changed: [localhost] TASK [Install koha git config for sandbox] ************************************* changed: [localhost] TASK [Change owner for koha clone for sandbox] ********************************* changed: [localhost] TASK [Make .git directory writable by all users (allows container root to run git am)] *** changed: [localhost] TASK [Set as safe directory] *************************************************** changed: [localhost] TASK [Check out origin/main by default] **************************************** changed: [localhost] TASK [Create a new database for Koha instance] ********************************* changed: [localhost] TASK [Ensure user doesn't exist or the create below will fail] ***************** ok: [localhost] TASK [mysql_user] ************************************************************** changed: [localhost] TASK [Start new koha-testing-docker container] ********************************* changed: [localhost] TASK [Get host port for sandbox staff port] ************************************ changed: [localhost] TASK [debug] ******************************************************************* ok: [localhost] => { "msg": "Using '33849' as staff port" } TASK [Get host port for sandbox opac port] ************************************* changed: [localhost] TASK [debug] ******************************************************************* ok: [localhost] => { "msg": "Using '33848' as opac port" } TASK [Get host port for sandbox ssh port] ************************************** changed: [localhost] TASK [debug] ******************************************************************* ok: [localhost] => { "msg": "Using '33848' as ssh port" } TASK [Install apache config for sandbox instance] ****************************** changed: [localhost] TASK [Symlink the new apache config from sites-available to sites-enabled] ***** changed: [localhost] TASK [Add docker container koha-ermusage to ansible hosts] ********************* ok: [localhost] TASK [Test connection to docker container] ************************************* changed: [localhost -> koha-ermusage] TASK [debug] ******************************************************************* skipping: [localhost] TASK [Pausing for 5 minutes whilst container sets itself up] ******************* Pausing for 300 seconds (ctrl+C then 'C' = continue early, ctrl+C then 'A' = abort) ok: [localhost] TASK [debug] ******************************************************************* ok: [localhost] => { "msg": "GIT_REMOTE is set to https://github.com/openfifth/koha" } TASK [Add git remote https://github.com/openfifth/koha as ermusage in docker container] *** fatal: [localhost -> koha-ermusage]: FAILED! => {"changed": true, "cmd": "cd /kohadevbox/koha && git remote add ermusage https://github.com/openfifth/koha && git fetch --tags -f ermusage", "delta": "0:00:00.031253", "end": "2026-10-26 09:26:45.530683", "msg": "non-zero return code", "rc": 128, "start": "2026-10-26 09:26:45.499430", "stderr": "fatal: detected dubious ownership in repository at '/kohadevbox/koha'\nTo add an exception for this directory, call:\n\n\tgit config --global --add safe.directory /kohadevbox/koha", "stderr_lines": ["fatal: detected dubious ownership in repository at '/kohadevbox/koha'", "To add an exception for this directory, call:", "", "\tgit config --global --add safe.directory /kohadevbox/koha"], "stdout": "", "stdout_lines": []} ...ignoring TASK [git checkout commit_id or tag in docker container] ********************** skipping: [localhost] TASK [git checkout ermusage/erm_improvements in docker container] ************** fatal: [localhost -> koha-ermusage]: FAILED! => {"changed": true, "cmd": "cd /kohadevbox/koha && git checkout -b erm_improvements ermusage/erm_improvements", "delta": "0:00:00.005301", "end": "2026-10-26 09:26:46.428993", "msg": "non-zero return code", "rc": 128, "start": "2026-10-26 09:26:46.423692", "stderr": "fatal: detected dubious ownership in repository at '/kohadevbox/koha'\nTo add an exception for this directory, call:\n\n\tgit config --global --add safe.directory /kohadevbox/koha", "stderr_lines": ["fatal: detected dubious ownership in repository at '/kohadevbox/koha'", "To add an exception for this directory, call:", "", "\tgit config --global --add safe.directory /kohadevbox/koha"], "stdout": "", "stdout_lines": []} ...ignoring TASK [Fix git repo permissions] ************************************************ skipping: [localhost] TASK [Make .git directory writable by all users inside container (allows apply_bug to run git am)] *** changed: [localhost -> koha-ermusage] TASK [Marking repo as a safe git directory] ************************************ changed: [localhost -> koha-ermusage] TASK [Checkout origin/main in docker container] ******************************** skipping: [localhost] TASK [Apply bug via git-bz in docker container] ******************************* skipping: [localhost] TASK [Generating CSS and JS using yarn build] ********************************** skipping: [localhost] TASK [Apt Update & Upgrade] **************************************************** changed: [localhost -> koha-ermusage] TASK [Install OpenSSH Server] ************************************************** changed: [localhost -> koha-ermusage] TASK [Enable PermitRootLogin for sshd] ***************************************** changed: [localhost -> koha-ermusage] TASK [Start sshd] ************************************************************** changed: [localhost -> koha-ermusage] TASK [Set root password to 'koha'] ********************************************* changed: [localhost -> koha-ermusage] TASK [Install Postfix MTA] ***************************************************** changed: [localhost -> koha-ermusage] TASK [Enable smtp-sink for mail] *********************************************** changed: [localhost -> koha-ermusage] TASK [Enable email processing] ************************************************* changed: [localhost -> koha-ermusage] TASK [Index the records for the first time] ************************************ changed: [localhost -> koha-ermusage] TASK [Restart Zebra after indexing records] ************************************ changed: [localhost -> koha-ermusage] TASK [Restart Plack after indexing records] ************************************ changed: [localhost -> koha-ermusage] TASK [Restart apache, one last time] ******************************************* changed: [localhost] TASK [Clean up docker files] *************************************************** changed: [localhost] RUNNING HANDLER [Restart apache] *********************************************** changed: [localhost] RUNNING HANDLER [Update koha git repo for sandbox] ***************************** changed: [localhost] PLAY RECAP ********************************************************************* localhost : ok=45 changed=35 unreachable=0 failed=0 skipped=7 rescued=0 ignored=2