Hello Mark and welcome ;)

kohadevbox could be very usefu for developing and testing purposes, for sure.

Just try to run

vagrant up --provision

it should continue in provision process

regards
Josef

st 1. 2. 2017 v 21:40 odesílatel Mark Alexander <marka@pobox.com> napsal:
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@kohadevbox:~$ sudo /usr/sbin/koha-create --create-db kohadev
  Koha instance is empty, no staff user created.
  Starting Zebra server for kohadev
  vagrant@kohadevbox:~$ echo $?
  1
  vagrant@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!
_______________________________________________
Koha-devel mailing list
Koha-devel@lists.koha-community.org
http://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/