<div dir="ltr"><div dir="ltr" class="gmail_msg">Hello Mark and welcome ;)<br><br></div><div class="gmail_msg">kohadevbox could be very usefu for developing and testing purposes, for sure.<br><br></div><div class="gmail_msg">Just try to run<br><br>vagrant up --provision<br><br></div><div class="gmail_msg">it should continue in provision process<br><br></div><div class="gmail_msg">regards<br></div><div class="gmail_msg">Josef<br><br></div><div class="gmail_quote gmail_msg"><div dir="ltr" class="gmail_msg">st 1. 2. 2017 v 21:40 odesílatel Mark Alexander <<a href="mailto:marka@pobox.com" class="gmail_msg" target="_blank">marka@pobox.com</a>> napsal:<br class="gmail_msg"></div></div><div class="gmail_quote gmail_msg"><blockquote class="gmail_quote gmail_msg" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all,<br class="gmail_msg">
<br class="gmail_msg">
I'm a newbie here, and have been working on setting up a Koha git<br class="gmail_msg">
environment.  The kohadevbox project looked good, so I gave it a try<br class="gmail_msg">
just now.  The provisioning went fine until the koha-create step:<br class="gmail_msg">
<br class="gmail_msg">
  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": []}<br class="gmail_msg">
<br class="gmail_msg">
I ssh'd into the VM and tried removing the kohadev instance and recreating it<br class="gmail_msg">
by hand, and it appears that koha-create returns a non-zero status, even<br class="gmail_msg">
though it appears to have been successful:<br class="gmail_msg">
<br class="gmail_msg">
  vagrant@kohadevbox:~$ sudo /usr/sbin/koha-create --create-db kohadev<br class="gmail_msg">
  Koha instance is empty, no staff user created.<br class="gmail_msg">
  Starting Zebra server for kohadev<br class="gmail_msg">
  vagrant@kohadevbox:~$ echo $?<br class="gmail_msg">
  1<br class="gmail_msg">
  vagrant@kohadevbox:~$<br class="gmail_msg">
<br class="gmail_msg">
Is there some way I can get vagrant to ignore the non-zero result from koha-create,<br class="gmail_msg">
and restart the provisioning at the point where it left off?<br class="gmail_msg">
<br class="gmail_msg">
Thanks in advance!<br class="gmail_msg">
_______________________________________________<br class="gmail_msg">
Koha-devel mailing list<br class="gmail_msg">
<a href="mailto:Koha-devel@lists.koha-community.org" class="gmail_msg" target="_blank">Koha-devel@lists.koha-community.org</a><br class="gmail_msg">
<a href="http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel" rel="noreferrer" class="gmail_msg" target="_blank">http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel</a><br class="gmail_msg">
website : <a href="http://www.koha-community.org/" rel="noreferrer" class="gmail_msg" target="_blank">http://www.koha-community.org/</a><br class="gmail_msg">
git : <a href="http://git.koha-community.org/" rel="noreferrer" class="gmail_msg" target="_blank">http://git.koha-community.org/</a><br class="gmail_msg">
bugs : <a href="http://bugs.koha-community.org/" rel="noreferrer" class="gmail_msg" target="_blank">http://bugs.koha-community.org/</a><br class="gmail_msg">
</blockquote></div></div>