Page MenuHomePhabricator

vagrant up: SSH command responded with a non-zero exit status
Closed, InvalidPublic

Description

Full log of "vagrant up" execution

I tried to set up a WikiData development environment using Vagrant. At first everything seemed to be okay. The "precise64" VM was downloaded and the automated setup with "puppet" started. But then after Apache, MySQL and PHP were installed the following error occurred:


The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!

cd /tmp/vagrant-puppet/manifests && puppet apply --verbose --debug --modulepath '/etc/puppet/modules:/tmp/vagrant-puppet/modules-0' base.pp --detailed-exitcodes || [ $? -eq 2 ]

There were two errors reported in the script output before it stopped:


\x1b[1;35merr: /Stage[main]/Wikidata::Client/Exec[populateSitesTable2]/returns: change from notrun to 0 failed: MW_INSTALL_PATH=/srv/client /usr/bin/php /srv/extensions/Wikibase/lib/maintenance/populateSitesTable.php returned 1 instead of one of [0] at /tmp/vagrant-puppet/modules-0/wikidata/manifests/init.pp:179\x1b[0m

\x1b[1;35merr: /Stage[main]/Wikidata::Client/Exec[client_update]/returns: change from notrun to 0 failed: /usr/bin/php /srv/client/maintenance/update.php --quick --conf '/srv/orig-client/LocalSettings.php' returned 1 instead of one of [0] at /tmp/vagrant-puppet/modules-0/wikidata/manifests/init.pp:143\x1b[0m

Afterwards some "warnings" about "Skipping because of failed dependencies" showed up. See attached log file for details.

I'm using VirtualBox 4.2.12 and Vagrant 1.2.2.


Version: unspecified
Severity: normal
OS: Windows 8
Platform: PC

Attached:

Details

Reference
bz49944

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 1:47 AM
bzimport set Reference to bz49944.

(In reply to comment #0)

I tried to set up a WikiData development environment using Vagrant.

Robert, can you specify which Vagrant configuration you are using? Is it https://github.com/SilkeMeyer/wikidata-vagrant ?

(In reply to comment #1)

Robert, can you specify which Vagrant configuration you are using? Is it
https://github.com/SilkeMeyer/wikidata-vagrant ?

Yes, I can confirm the repo. I followed the instructions in README.md. Last attempt/clone was on 2013-06-21

[mass-moving from Tools>MediaWiki-Vagrant to separate product. See bug 54041. Filter bugmail on this comment.]

MediaWiki-Vagrant currently don't have a Wikidata::Client puppet class, so this is unreproducible.