Last modified: 2014-07-14 00:13:19 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T63235, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 61235 - vagrant up didn't git pull mediawiki
vagrant up didn't git pull mediawiki
Status: RESOLVED WORKSFORME
Product: MediaWiki-Vagrant
Classification: Unclassified
General (Other open bugs)
unspecified
All All
: Unprioritized normal
: ---
Assigned To: Ori Livneh
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-02-11 21:59 UTC by Dan Andreescu
Modified: 2014-07-14 00:13 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Dan Andreescu 2014-02-11 21:59:02 UTC
vagrant    : 1.2.7
virtualbox : 4.2.16
ubuntu     : 13.10
uname -r   : 3.11.0-15-generic

vagrant up produced this puppet error:

notice: /Stage[main]/Mediawiki/Exec[mediawiki setup]/returns: Could not open input file: /vagrant/mediawiki/maintenance/install.php
err: /Stage[main]/Mediawiki/Exec[mediawiki setup]: Failed to call refresh: php /vagrant/mediawiki/maintenance/install.php devwiki admin --dbname wiki --server http://127.0.0.1:8080 --dbpass vagrant --pass vagrant --scriptpath /w --dbuser root 
 returned 1 instead of one of [0] at /tmp/vagrant-puppet/modules-0/mediawiki/manifests/init.pp:119


And the following is a workaround:

vagrant ssh
cd /vagrant/mediawiki
git fetch and git checkout the branch of mediawiki you'd like to set up.

NOTE: it's smart to git fetch --depth because otherwise you'll be waiting a long time :)
Comment 1 Bryan Davis 2014-07-13 19:08:10 UTC
Was this possibly a vm build that you had aborted at some point during the initial `vagrant up`? Exec['mediawiki setup'] has required Git::Clone['mediawiki/core'] since at least Ia0518b6 (committed over a year ago). I have done several completely clean MediaWiki-Vagrant builds over the last couple of weeks and have not had this problem.
Comment 2 Dan Andreescu 2014-07-13 23:19:02 UTC
It's possible Bryan, I haven't had this problem since I reported the issue.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links