<p dir="ltr">This is due to recent changes on koha-* scripts. I'll try to fix it today.</p>
<p dir="ltr">Once it fails on the instance creation you need to run</p>
<p dir="ltr">$ vagrant provision</p>
<p dir="ltr">And you will be fine. The instance is correctly created, but the exit status of the koha-create command seems to say otherwise.</p>
<p dir="ltr">Regards </p>
<br><div class="gmail_quote"><div dir="ltr">El jue., 2 de feb. de 2017 5:40 AM, Jonathan Druart <<a href="mailto:jonathan.druart@bugs.koha-community.org">jonathan.druart@bugs.koha-community.org</a>> escribió:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="gmail_msg">Did you try to destroy it then create a new one from scratch? :)</div><div dir="ltr" class="gmail_msg"><br class="gmail_msg"><br class="gmail_msg"><div class="gmail_quote gmail_msg"><div dir="ltr" class="gmail_msg">On Thu, 2 Feb 2017 at 02:08 Mark Alexander <<a href="mailto:marka@pobox.com" class="gmail_msg" target="_blank">marka@pobox.com</a>> wrote:<br class="gmail_msg"></div><blockquote class="gmail_quote gmail_msg" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Excerpts from Josef Moravec's message of 2017-02-01 22:47:55 +0000:<br class="gmail_msg">
> Just try to run<br class="gmail_msg">
><br class="gmail_msg">
> vagrant up --provision<br class="gmail_msg">
<br class="gmail_msg">
Thanks. I tried that and it the system is now in a worse state with a half-installed<br class="gmail_msg">
koha-common package.  There was an error in the installation of koha-common:<br class="gmail_msg">
<br class="gmail_msg">
... Setting up koha-common (16.12.01~git+20170202001109.c65a151f) ...",<br class="gmail_msg">
"dpkg: error processing package koha-common (--configure):", "<br class="gmail_msg">
subprocess installed post-installation script returned error exit<br class="gmail_msg">
status 1", "Errors were encountered while processing:", " koha-common[}<br class="gmail_msg">
<br class="gmail_msg">
I tried configuring the half-installed koha-common manually via ssh,<br class="gmail_msg">
in an attempt to figure out what went wrong (see below).  It's a bit<br class="gmail_msg">
too much for me to understand right now.  I'll wait a week and try to<br class="gmail_msg">
start from scratch again.<br class="gmail_msg">
<br class="gmail_msg">
vagrant@kohadevbox:~$ sudo apt-get dist-upgrade<br class="gmail_msg">
Reading package lists... Done<br class="gmail_msg">
Building dependency tree<br class="gmail_msg">
Reading state information... Done<br class="gmail_msg">
Calculating upgrade... Done<br class="gmail_msg">
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.<br class="gmail_msg">
1 not fully installed or removed.<br class="gmail_msg">
After this operation, 0 B of additional disk space will be used.<br class="gmail_msg">
Do you want to continue? [Y/n] y<br class="gmail_msg">
Setting up koha-common (16.12.01~git+20170202001109.c65a151f) ...<br class="gmail_msg">
dpkg: error processing package koha-common (--configure):<br class="gmail_msg">
 subprocess installed post-installation script returned error exit status 1<br class="gmail_msg">
Errors were encountered while processing:<br class="gmail_msg">
 koha-common<br class="gmail_msg">
E: Sub-process /usr/bin/dpkg returned an error code (1)<br class="gmail_msg">
vagrant@kohadevbox:log$ sudo dpkg --configure -D377 koha-common<br class="gmail_msg">
D000001: ensure_diversions: new, (re)loading<br class="gmail_msg">
D000001: process queue pkg koha-common:all queue.len 0 progress 1, try 1<br class="gmail_msg">
D000040: checking dependencies of koha-common:all (- <none>)<br class="gmail_msg">
D000040: ok 2 msgs >><<<br class="gmail_msg">
D000040:     checking Breaks<br class="gmail_msg">
Setting up koha-common (16.12.01~git+20170202001109.c65a151f) ...<br class="gmail_msg">
D000002: fork/exec /var/lib/dpkg/info/koha-common.postinst ( configure 16.12.01~git+20170201001109.692ea16f )<br class="gmail_msg">
dpkg: error processing package koha-common (--configure):<br class="gmail_msg">
 subprocess installed post-installation script returned error exit status 1<br class="gmail_msg">
D000001: ensure_diversions: same, skipping<br class="gmail_msg">
Errors were encountered while processing:<br class="gmail_msg">
 koha-common<br class="gmail_msg">
vagrant@kohadevbox:log$ sudo /var/lib/dpkg/info/koha-common.postinst<br class="gmail_msg">
Use of uninitialized value $action in string eq at /usr/share/debconf/frontend line 27.<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>
_______________________________________________<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></blockquote></div><div dir="ltr">-- <br></div><div data-smartmail="gmail_signature"><div dir="ltr"><div style="color:rgb(117,117,117);font-family:"helvetica neue",helvetica,arial,sans-serif;font-size:12.8px">Tomás Cohen Arazi</div><div style="color:rgb(117,117,117);font-family:"helvetica neue",helvetica,arial,sans-serif;font-size:12.8px">Theke Solutions (<a href="http://theke.io/">https://theke.io</a>)<br>✆ +54 9351 3513384<br>GPG: B2F3C15F</div></div></div>