[Koha-devel] Hello, and question about kohadevbox

Mark Alexander marka at pobox.com
Wed Feb 1 21:40:13 CET 2017


Hi all,

I'm a newbie here, and have been working on setting up a Koha git
environment.  The kohadevbox project looked good, so I gave it a try
just now.  The provisioning went fine until the koha-create step:

  fatal: [jessie]: FAILED! => {"changed": true, "cmd": "koha-create --create-db kohadev", "delta": "0:00:06.582852", "end": "2017-02-01 20:02:32.211551", "failed": true, "rc": 1, "start": "2017-02-01 20:02:25.628699", "stderr": "", "stdout": "Koha instance is empty, no staff user created.\nStarting Zebra server for kohadev", "stdout_lines": ["Koha instance is empty, no staff user created.", "Starting Zebra server for kohadev"], "warnings": []}

I ssh'd into the VM and tried removing the kohadev instance and recreating it
by hand, and it appears that koha-create returns a non-zero status, even
though it appears to have been successful:

  vagrant at kohadevbox:~$ sudo /usr/sbin/koha-create --create-db kohadev
  Koha instance is empty, no staff user created.
  Starting Zebra server for kohadev
  vagrant at kohadevbox:~$ echo $?
  1
  vagrant at kohadevbox:~$ 

Is there some way I can get vagrant to ignore the non-zero result from koha-create,
and restart the provisioning at the point where it left off?

Thanks in advance!


More information about the Koha-devel mailing list