Installation of MediaWiki Vagrant - error logs - vagrant

I try to install MediaWiki Vagrant. Also, I follow this page.
I'm on a very new Ubuntu 16.04 installation and I've got this error message :
==> default: Error: /usr/local/bin/multiversion-install /vagrant/mediawiki --wiki wiki --dbname wiki --dbpass wikipassword --dbuser wikiadmin --pass vagrant --scriptpath /w --server http://dev.wiki.local.wmftest.net:8080 --confpath /vagrant/settings.d/wikis/wiki wiki Admin
==> default: returned 1 instead of one of [0]
==> default: Error: /Stage[main]/Mediawiki/Mediawiki::Wiki[devwiki]/Exec[wiki_setup]/returns: change from notrun to 0 failed: /usr/local/bin/multiversion-install /vagrant/mediawiki --wiki wiki --dbname wiki --dbpass wikipassword --dbuser wikiadmin --pass vagrant --scriptpath /w --server http://dev.wiki.local.wmftest.net:8080 --confpath /vagrant/settings.d/wikis/wiki wiki Admin
==> default: returned 1 instead of one of [0]
Here are all my logs :
cywil#cywil-GT70-2OC-2OD:~$ cd vagrant
cywil#cywil-GT70-2OC-2OD:~/vagrant$ ./setup.sh
You're all set! Simply run `vagrant up` to boot your new environment.
(Or try `vagrant config --list` to see what else you can tweak.)
cywil#cywil-GT70-2OC-2OD:~/vagrant$ vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Checking if box 'debian/contrib-jessie64' is up to date...
==> default: Clearing any previously set forwarded ports...
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
default: Adapter 1: nat
default: Adapter 2: hostonly
==> default: Forwarding ports...
default: 8080 (guest) => 8080 (host) (adapter 1)
default: 443 (guest) => 4430 (host) (adapter 1)
default: 22 (guest) => 2222 (host) (adapter 1)
==> default: Running 'pre-boot' VM customizations...
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
default: SSH address: 127.0.0.1:2222
default: SSH username: vagrant
default: SSH auth method: private key
==> default: Machine booted and ready!
==> default: Checking for guest additions in VM...
default: The guest additions on this VM do not match the installed version of
default: VirtualBox! In most cases this is fine, but in rare cases it can
default: prevent things such as shared folders from working properly. If you see
default: shared folder errors, please make sure the guest additions within the
default: virtual machine match the version of VirtualBox you have installed on
default: your host and reload your VM.
default:
default: Guest Additions Version: 4.3.36
default: VirtualBox Version: 5.0
==> default: Setting hostname...
==> default: Configuring and enabling network interfaces...
==> default: Mounting shared folders...
default: /vagrant => /home/cywil/vagrant
default: /vagrant/logs => /home/cywil/vagrant/logs
==> default: Machine already provisioned. Run `vagrant provision` or use the `--provision`
==> default: flag to force provisioning. Provisioners marked to run always will still run.
==> default: Machine 'default' has a post `vagrant up` message. This is a message
==> default: from the creator of the Vagrantfile, and not from Vagrant itself:
==> default:
==> default: Vanilla Debian box. See https://atlas.hashicorp.com/debian/ for help and bug reports
cywil#cywil-GT70-2OC-2OD:~/vagrant$ vagrant roles list
Available roles:
abusefilter inputbox restbase
accountinfo interwiki revisionslider
analytics invitesignup sal
antispam jsduck sandboxlink
antispoof jsonconfig scholarships
apex kafka score
apparmor kartographer scribunto
articleplaceholder kartographerwv securepoll
babel keystone semanticextraspecialproperties
betafeatures l10nupdate semanticmediawiki
buggy labeledsectiontransclusion semanticresultformats
campaigns langwikis semantictitle
cassandra ldapauth sentry
categorytree liquidthreads shorturl
centralauth livingstyleguide simple_miser
centralnotice lockdown simple_performant
checkuser loginnotify sitematrix
cirrussearch maps spark
cite massaction statsd
citoid massmessage striker
cldr math svg
codeeditor mathoid swift
cologneblue mathsearch templatedata
commons memcached templatesandbox
commons_datasets mleb templatestyles
commonsmetadata mobileapp testwiki
confirmedit mobilecontentservice textextracts
contactpage mobilefrontend three_d
contenttranslation modern throttleoverride
disableaccount molhandler thumb_on_404
disambiguator * monobook thumbor
doublewiki multimedia tidy
easytimeline multimediaviewer timedmediahandler
echo navigationtiming timeless
education newsletter titleblacklist
elk newusermessage torblock
emailauth notebook translate
embedvideo nuke uls
eventbus oathauth uploadslink
eventlogging oauth uploadwizard
externalstore oauthauthentication urlgetparameters
featuredfeeds oozie urlshortener
fileannotations openbadges usermerge
flaggedrevs ores variables
flow pageassessments varnish
fss pagedtiffhandler vectorbeta
fundraising pageimages vipsscaler
gadgets pagetriage visualeditor
gadgets2 pageviewinfo warnings_as_errors
geodata parserfunctions widgets
geodata_elastic parsoid wikibase_repo
geshi payments wikidata
gettingstarted pdfhandler wikidatapagebanner
globalblocking performanceinspector wikidiff2
globalcssjs phabricator wikieditor
globalusage phptags wikigrok
globaluserpage phragile wikihiero
gpgmail pipeescape wikilove
graph poem wikimediaevents
graphoid poolcounter wikimediaflow
greystuff popups wikimediaincubator
guidedtour private wikimediamaintenance
gwtoolset proofreadpage wikimediamessages
hadoop psr3 wikimetrics
headertabs questycaptcha wikispeech
hive quicksurveys wikitech
https quips xanalytics
hue quiz xhprofgui
iabot raita youtube
iegreview relatedarticles zend
imagemetrics renameuser zero
Roles marked with '*' are enabled.
Note that roles enabled by dependency are not marked.
Use `vagrant roles enable` & `vagrant roles disable` to customize.
cywil#cywil-GT70-2OC-2OD:~/vagrant$ vagrant roles enable monobook
Ok. Run `vagrant provision` to apply your changes.
cywil#cywil-GT70-2OC-2OD:~/vagrant$ vagrant provision
==> default: Running provisioner: lsb_check...
==> default: Running provisioner: shell...
default: Running: /tmp/vagrant-shell20170425-9233-r1b890.sh
==> default: Running provisioner: puppet...
==> default: Running Puppet with site.pp...
==> default: Info: Loading facts
==> default: Notice: Compiled catalog for mediawiki-vagrant.dev in environment production in 4.18 seconds
==> default: Info: Applying configuration version '1493114917.f0b87099'
==> default: Notice: /Stage[main]/Npm/Exec[npm_set_cache_dir]/returns: executed successfully
==> default: Notice: /Stage[main]/Mediawiki/Mediawiki::Wiki[devwiki]/Exec[wiki_setup]/returns: Could not open input file: /vagrant/mediawiki/maintenance/install.php
==> default: Error: /usr/local/bin/multiversion-install /vagrant/mediawiki --wiki wiki --dbname wiki --dbpass wikipassword --dbuser wikiadmin --pass vagrant --scriptpath /w --server http://dev.wiki.local.wmftest.net:8080 --confpath /vagrant/settings.d/wikis/wiki wiki Admin
==> default: returned 1 instead of one of [0]
==> default: Error: /Stage[main]/Mediawiki/Mediawiki::Wiki[devwiki]/Exec[wiki_setup]/returns: change from notrun to 0 failed: /usr/local/bin/multiversion-install /vagrant/mediawiki --wiki wiki --dbname wiki --dbpass wikipassword --dbuser wikiadmin --pass vagrant --scriptpath /w --server http://dev.wiki.local.wmftest.net:8080 --confpath /vagrant/settings.d/wikis/wiki wiki Admin
==> default: returned 1 instead of one of [0]
==> default: Notice: /Stage[main]/Mediawiki/Mediawiki::Wiki[devwiki]/Exec[wiki_include_extra_settings]: Dependency Exec[wiki_setup] has failures: true
==> default: Warning: /Stage[main]/Mediawiki/Mediawiki::Wiki[devwiki]/Exec[wiki_include_extra_settings]: Skipping because of failed dependencies
==> default: Notice: /Stage[main]/Mediawiki/Mediawiki::Wiki[devwiki]/Exec[wiki_copy_LocalSettings]: Dependency Exec[wiki_setup] has failures: true
==> default: Warning: /Stage[main]/Mediawiki/Mediawiki::Wiki[devwiki]/Exec[wiki_copy_LocalSettings]: Skipping because of failed dependencies
==> default: Notice: /Stage[main]/Mediawiki::Ready_service/Systemd::Service[mediawiki-ready]/File[/lib/systemd/system/mediawiki-ready.service]: Dependency Exec[wiki_setup] has failures: true
==> default: Warning: /Stage[main]/Mediawiki::Ready_service/Systemd::Service[mediawiki-ready]/File[/lib/systemd/system/mediawiki-ready.service]: Skipping because of failed dependencies
==> default: Notice: /Stage[main]/Mediawiki::Ready_service/Systemd::Service[mediawiki-ready]/Exec[systemd reload for mediawiki-ready]: Dependency Exec[wiki_setup] has failures: true
==> default: Warning: /Stage[main]/Mediawiki::Ready_service/Systemd::Service[mediawiki-ready]/Exec[systemd reload for mediawiki-ready]: Skipping because of failed dependencies
==> default: Notice: /Stage[main]/Mediawiki::Ready_service/Systemd::Service[mediawiki-ready]/Service[mediawiki-ready]: Dependency Exec[wiki_setup] has failures: true
==> default: Warning: /Stage[main]/Mediawiki::Ready_service/Systemd::Service[mediawiki-ready]/Service[mediawiki-ready]: Skipping because of failed dependencies
==> default: Notice: /Stage[main]/Hhvm::Fcgi/Systemd::Service[hhvm]/File[/etc/systemd/system/hhvm.service.d]: Dependency Exec[wiki_setup] has failures: true
==> default: Warning: /Stage[main]/Hhvm::Fcgi/Systemd::Service[hhvm]/File[/etc/systemd/system/hhvm.service.d]: Skipping because of failed dependencies
==> default: Notice: /Stage[main]/Hhvm::Fcgi/Systemd::Service[hhvm]/File[/etc/systemd/system/hhvm.service.d/puppet-override.conf]: Dependency Exec[wiki_setup] has failures: true
==> default: Warning: /Stage[main]/Hhvm::Fcgi/Systemd::Service[hhvm]/File[/etc/systemd/system/hhvm.service.d/puppet-override.conf]: Skipping because of failed dependencies
==> default: Notice: /Stage[main]/Hhvm::Fcgi/Systemd::Service[hhvm]/Exec[systemd reload for hhvm]: Dependency Exec[wiki_setup] has failures: true
==> default: Warning: /Stage[main]/Hhvm::Fcgi/Systemd::Service[hhvm]/Exec[systemd reload for hhvm]: Skipping because of failed dependencies
==> default: Notice: /Stage[main]/Hhvm::Fcgi/Systemd::Service[hhvm]/Service[hhvm]: Dependency Exec[wiki_setup] has failures: true
==> default: Warning: /Stage[main]/Hhvm::Fcgi/Systemd::Service[hhvm]/Service[hhvm]: Skipping because of failed dependencies
==> default: Notice: /Stage[main]/Mediawiki/Mediawiki::Group[devwiki_suppress]/Mediawiki::Settings[devwiki_suppress_group]/File[/vagrant/settings.d/wikis/wiki/settings.d/puppet-managed/10-devwiki_suppress_group.php]: Dependency Exec[wiki_setup] has failures: true
==> default: Warning: /Stage[main]/Mediawiki/Mediawiki::Group[devwiki_suppress]/Mediawiki::Settings[devwiki_suppress_group]/File[/vagrant/settings.d/wikis/wiki/settings.d/puppet-managed/10-devwiki_suppress_group.php]: Skipping because of failed dependencies
==> default: Notice: /Stage[main]/Mediawiki/Exec[update_all_databases]: Dependency Exec[wiki_setup] has failures: true
==> default: Warning: /Stage[main]/Mediawiki/Exec[update_all_databases]: Skipping because of failed dependencies
==> default: Notice: /Stage[main]/Mediawiki/Mediawiki::User[admin_user_in_steward_suppress_on_wiki]/Mediawiki::Maintenance[mediawiki_user_Admin_wiki]/Exec[mediawiki_user_Admin_wiki]: Dependency Exec[wiki_setup] has failures: true
==> default: Warning: /Stage[main]/Mediawiki/Mediawiki::User[admin_user_in_steward_suppress_on_wiki]/Mediawiki::Maintenance[mediawiki_user_Admin_wiki]/Exec[mediawiki_user_Admin_wiki]: Skipping because of failed dependencies
==> default: Notice: /Stage[main]/Mediawiki/Mediawiki::User[admin_user_in_steward_suppress_on_wiki]/Mediawiki::Maintenance[mediawiki_user_Admin_wiki_steward,suppress]/Exec[mediawiki_user_Admin_wiki_steward,suppress]: Dependency Exec[wiki_setup] has failures: true
==> default: Warning: /Stage[main]/Mediawiki/Mediawiki::User[admin_user_in_steward_suppress_on_wiki]/Mediawiki::Maintenance[mediawiki_user_Admin_wiki_steward,suppress]/Exec[mediawiki_user_Admin_wiki_steward,suppress]: Skipping because of failed dependencies
==> default: Notice: /Stage[main]/Mediawiki/Mediawiki::Import::Text[Main_Page]/Mediawiki::Maintenance[add page devwiki/Main_Page]/Exec[add page devwiki/Main_Page]: Dependency Exec[wiki_setup] has failures: true
==> default: Warning: /Stage[main]/Mediawiki/Mediawiki::Import::Text[Main_Page]/Mediawiki::Maintenance[add page devwiki/Main_Page]/Exec[add page devwiki/Main_Page]: Skipping because of failed dependencies
==> default: Notice: /Stage[main]/Mediawiki/Mediawiki::Import::Text[Template:Main_Page]/Mediawiki::Maintenance[add page devwiki/Template:Main_Page]/Exec[add page devwiki/Template:Main_Page]: Dependency Exec[wiki_setup] has failures: true
==> default: Warning: /Stage[main]/Mediawiki/Mediawiki::Import::Text[Template:Main_Page]/Mediawiki::Maintenance[add page devwiki/Template:Main_Page]/Exec[add page devwiki/Template:Main_Page]: Skipping because of failed dependencies
==> default: Notice: /Stage[main]/Mediawiki::Jobrunner/File[/etc/default/jobrunner]: Dependency Exec[wiki_setup] has failures: true
==> default: Warning: /Stage[main]/Mediawiki::Jobrunner/File[/etc/default/jobrunner]: Skipping because of failed dependencies
==> default: Notice: /Stage[main]/Mediawiki::Jobrunner/File[/etc/jobrunner.json]: Dependency Exec[wiki_setup] has failures: true
==> default: Warning: /Stage[main]/Mediawiki::Jobrunner/File[/etc/jobrunner.json]: Skipping because of failed dependencies
==> default: Notice: /Stage[main]/Mediawiki::Jobrunner/File[/etc/logrotate.d/mediawiki_jobrunner]: Dependency Exec[wiki_setup] has failures: true
==> default: Warning: /Stage[main]/Mediawiki::Jobrunner/File[/etc/logrotate.d/mediawiki_jobrunner]: Skipping because of failed dependencies
==> default: Notice: /Stage[main]/Mediawiki::Jobrunner/File[/etc/logrotate.d/mediawiki_jobchron]: Dependency Exec[wiki_setup] has failures: true
==> default: Warning: /Stage[main]/Mediawiki::Jobrunner/File[/etc/logrotate.d/mediawiki_jobchron]: Skipping because of failed dependencies
==> default: Notice: /Stage[main]/Mediawiki::Jobrunner/Git::Clone[mediawiki/services/jobrunner]/File[/vagrant/srv/jobrunner]: Dependency Exec[wiki_setup] has failures: true
==> default: Warning: /Stage[main]/Mediawiki::Jobrunner/Git::Clone[mediawiki/services/jobrunner]/File[/vagrant/srv/jobrunner]: Skipping because of failed dependencies
==> default: Notice: /Stage[main]/Mediawiki::Jobrunner/Git::Clone[mediawiki/services/jobrunner]/Exec[git_clone_mediawiki/services/jobrunner]: Dependency Exec[wiki_setup] has failures: true
==> default: Warning: /Stage[main]/Mediawiki::Jobrunner/Git::Clone[mediawiki/services/jobrunner]/Exec[git_clone_mediawiki/services/jobrunner]: Skipping because of failed dependencies
==> default: Notice: /Stage[main]/Mediawiki::Jobrunner/Service::Gitupdate[jobrunner]/File[/etc/mw-vagrant/services/jobrunner.conf]: Dependency Exec[wiki_setup] has failures: true
==> default: Warning: /Stage[main]/Mediawiki::Jobrunner/Service::Gitupdate[jobrunner]/File[/etc/mw-vagrant/services/jobrunner.conf]: Skipping because of failed dependencies
==> default: Notice: /Stage[main]/Mediawiki::Jobrunner/Service::Gitupdate[jobchron]/File[/etc/mw-vagrant/services/jobchron.conf]: Dependency Exec[wiki_setup] has failures: true
==> default: Warning: /Stage[main]/Mediawiki::Jobrunner/Service::Gitupdate[jobchron]/File[/etc/mw-vagrant/services/jobchron.conf]: Skipping because of failed dependencies
==> default: Notice: /Stage[main]/Mediawiki::Jobrunner/Systemd::Service[jobrunner]/File[/lib/systemd/system/jobrunner.service]: Dependency Exec[wiki_setup] has failures: true
==> default: Warning: /Stage[main]/Mediawiki::Jobrunner/Systemd::Service[jobrunner]/File[/lib/systemd/system/jobrunner.service]: Skipping because of failed dependencies
==> default: Notice: /Stage[main]/Mediawiki::Jobrunner/Systemd::Service[jobrunner]/Exec[systemd reload for jobrunner]: Dependency Exec[wiki_setup] has failures: true
==> default: Warning: /Stage[main]/Mediawiki::Jobrunner/Systemd::Service[jobrunner]/Exec[systemd reload for jobrunner]: Skipping because of failed dependencies
==> default: Notice: /Stage[main]/Mediawiki::Jobrunner/Systemd::Service[jobrunner]/Service[jobrunner]: Dependency Exec[wiki_setup] has failures: true
==> default: Warning: /Stage[main]/Mediawiki::Jobrunner/Systemd::Service[jobrunner]/Service[jobrunner]: Skipping because of failed dependencies
==> default: Notice: /Stage[main]/Mediawiki::Jobrunner/Systemd::Service[jobchron]/File[/lib/systemd/system/jobchron.service]: Dependency Exec[wiki_setup] has failures: true
==> default: Warning: /Stage[main]/Mediawiki::Jobrunner/Systemd::Service[jobchron]/File[/lib/systemd/system/jobchron.service]: Skipping because of failed dependencies
==> default: Notice: /Stage[main]/Mediawiki::Jobrunner/Systemd::Service[jobchron]/Exec[systemd reload for jobchron]: Dependency Exec[wiki_setup] has failures: true
==> default: Warning: /Stage[main]/Mediawiki::Jobrunner/Systemd::Service[jobchron]/Exec[systemd reload for jobchron]: Skipping because of failed dependencies
==> default: Notice: /Stage[main]/Mediawiki::Jobrunner/Systemd::Service[jobchron]/Service[jobchron]: Dependency Exec[wiki_setup] has failures: true
==> default: Warning: /Stage[main]/Mediawiki::Jobrunner/Systemd::Service[jobchron]/Service[jobchron]: Skipping because of failed dependencies
==> default: Notice: Finished catalog run in 5.22 seconds
The SSH command responded with a non-zero exit status. Vagrant
assumes that this means the command failed. The output for this command
should be in the log above. Please read the output to determine what
went wrong.
What can I do ?
Many thanks by advanced for your answers !
Cyril

Related

'Vagrant up' error - No file(s) found for import of 'nodes/**/*.pp'

I am new to OpenAM, vagrant, and puppet. I am trying to setup OpenAM following OpenAM Vagrant (& here). Using Oracle VirtualBox 5.1.8, Windows 7, and Vagrant 1.8.7 I tried:
git clone https://github.com/phinze/openam-vagrant.git
cd openam-vagrant
cp puppet/nodes/openam.pp.example vagrant up
The (error) trace:
default: Could not parse for environment production: No file(s) found
for import of 'nodes/**/*.pp' at
/tmp/vagrant-puppet/manifests-768747907b90c39ab6f16fcb3320897a/site.pp:3
on node openam.vagrant.dev (changed to my.dev.url)
I have set a FQDN in /etc/hosts and updated the Vagrantfile and openam.pp.example file. I also looked at similar reported issues at SO, but was unsuccessful.
did you rename the /puppet/nodes/openam.pp.example file to /puppet/nodes/openam.pp ?
once you do the update and run vagrant up :
==> default: notice: /Stage[main]/Timer_entropyd::Package/File[timer-entropyd-deb]/ensure: defined content as '{md5}cf94b08aac1f19e0b0681a5abf1964e1'
==> default: notice: /Stage[main]//Exec[apt-get-update]/returns: executed successfully
==> default: notice: /Stage[main]//Node[openam.vagrant.dev]/Package[vim-nox]/ensure: ensure changed 'purged' to 'present'
==> default: notice: /Stage[main]/Timer_entropyd::Package/Package[timer-entropyd]/ensure: ensure changed 'purged' to 'latest'
==> default: notice: /Stage[main]//Node[openam.vagrant.dev]/Package[curl]/ensure: ensure changed 'purged' to 'present'
==> default: notice: /Stage[main]/Tomcat::Package/Package[tomcat6]/ensure: ensure changed 'purged' to 'present'
==> default: notice: /Stage[main]/Tomcat::Config/File[/etc/default/tomcat6]/content: content changed '{md5}bc5b21625e2fa3cc8ada6ba03fe3bcd3' to '{md5}dbf709ff719e76ded1734582c6a1e2f1'
==> default: notice: /Stage[main]/Tomcat::Config/File[/etc/tomcat6/server.xml]/content: content changed '{md5}1733213f7f85c894ee210c14de6eddc1' to '{md5}0210005c49f6e01ada8dc27c3b712709'
==> default: notice: /Stage[main]/Tomcat::Config/File[/usr/share/tomcat6]/owner: owner changed 'root' to 'tomcat6'
==> default: notice: /Stage[main]/Tomcat::Config/File[/usr/share/tomcat6]/group: group changed 'root' to 'tomcat6'
==> default: notice: /Stage[main]/Openam::Prereqs/Package[unzip]/ensure: ensure changed 'purged' to 'present'
==> default: notice: /Stage[main]/Openam::Download/File[/usr/local/src/openam]/ensure: created
==> default: notice: /Stage[main]/Openam::Download/Exec[download-openam]/returns: executed successfully
==> default: notice: /Stage[main]/Openam::Download/Exec[unzip-openam]/returns: executed successfully
==> default: notice: /Stage[main]/Openam::War/Exec[install-openam-war]/returns: executed successfully
==> default: notice: /Stage[main]/Openam::Configurator/File[/var/lib/openam]/ensure: created
==> default: notice: /Stage[main]/Openam::Configurator/File[/var/lib/openam/configurator.jar]/ensure: defined content as '{md5}9c95981acd876be865a0293eb16eab89'
==> default: notice: /Stage[main]/Tomcat::Service/Service[tomcat6]: Triggered 'refresh' from 1 events
==> default: notice: /Stage[main]/Openam::Config/File[/etc/openam]/ensure: created
==> default: notice: /Stage[main]/Openam::Config/File[/etc/openam/initial_configuration.properties]/ensure: defined content as '{md5}b528e7c1773ae0bd5568657a90241b2a'
==> default: notice: /Stage[main]/Openam::Config/Exec[openam-configurator]/returns: Checking configuration directory /etc/openam/....Success.
....

vagrant - The capability 'nfs_mount' could not be found

The capability 'nfs_mount' could not be found. This is an internal error
that users should never see. Please report a bug.
Cmd
C:\var\www\cc-dev-env>vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Checking if box 'ubuntu/trusty64' is up to date...
==> default: Clearing any previously set forwarded ports...
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
default: Adapter 1: nat
default: Adapter 2: hostonly
==> default: Forwarding ports...
default: 22 (guest) => 2222 (host) (adapter 1)
==> default: Running 'pre-boot' VM customizations...
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
default: SSH address: 127.0.0.1:2222
default: SSH username: vagrant
default: SSH auth method: private key
default: Warning: Remote connection disconnect. Retrying...
==> default: Machine booted and ready!
==> default: Checking for guest additions in VM...
default: The guest additions on this VM do not match the installed version of
default: VirtualBox! In most cases this is fine, but in rare cases it can
default: prevent things such as shared folders from working properly. If you see
default: shared folder errors, please make sure the guest additions within the
default: virtual machine match the version of VirtualBox you have installed on
default: your host and reload your VM.
default:
default: Guest Additions Version: 4.3.36
default: VirtualBox Version: 5.0
==> default: [vagrant-hostsupdater] Checking for host entries
==> default: [vagrant-hostsupdater] found entry for: 192.168.100.100 cc.dev
==> default: Mounting NFS shared folders from guest...
The capability 'nfs_mount' could not be found. This is an internal error
that users should never see. Please report a bug.
I am using
Windows 10 64-bit
Vagrant 1.8.1
vagrant-hostsupdater (1.0.2)
vagrant-nfs_guest (0.1.8)
vagrant-share (1.1.5, system)
vagrant-winnfsd (1.1.0)
Of course I would like to not see this error and see the VM that I am trying to boot open.

Vagrant up error: I can ssh but nginx is giving me errors

I am using Vagrant/Homestead combo with Laravel 5.2 and I tried to make HTTP calls to the server and something broke but I don't know why, I kept getting a 405 bad gateway error and someone recommended I just create a new vagrant box.
So I went to my VirtualBox Manager and deleted my homestead box/deleted all files as well, then ran vagrant up to create a new one and I was able to ssh just fine but now when I try to make a HTTP call, namely in Postman, I get:
<html>
<head>
<title>502 Bad Gateway</title>
</head>
<body bgcolor="white">
<center>
<h1>502 Bad Gateway</h1>
</center>
<hr>
<center>nginx/1.9.7</center>
</body>
</html>
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
When running vagrant up, I get this error (look at the very last line):
Lansana#DESKTOP-UV14VGF MINGW64 ~/Homestead (master) $ vagrant up Bringing machine 'default' up with 'virtualbox' provider...
==> default: Importing base box 'laravel/homestead'...
==> default: Matching MAC address for NAT networking...
==> default: Checking if box 'laravel/homestead' is up to date...
==> default: Setting the name of the VM: homestead
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
default: Adapter 1: nat
default: Adapter 2: hostonly
==> default: Forwarding ports...
default: 80 => 8000 (adapter 1)
default: 443 => 44300 (adapter 1)
default: 3306 => 33060 (adapter 1)
default: 5432 => 54320 (adapter 1)
default: 22 => 2222 (adapter 1)
==> default: Running 'pre-boot' VM customizations...
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
default: SSH address: 127.0.0.1:2222
default: SSH username: vagrant
default: SSH auth method: private key
default: Warning: Connection timeout. Retrying...
default:
default: Vagrant insecure key detected. Vagrant will automatically replace
default: this with a newly generated keypair for better security.
default:
default: Inserting generated public key within guest...
default: Removing insecure key from the guest if it's present...
default: Key inserted! Disconnecting and reconnecting using new SSH key...
==> default: Machine booted and ready!
==> default: Checking for guest additions in VM...
==> default: Setting hostname...
==> default: Configuring and enabling network interfaces...
==> default: Mounting shared folders...
default: /vagrant => C:/Users/Lansana/Homestead
default: /home/vagrant/Sites => C:/Users/Lansana/Homestead/Projects
==> default: Running provisioner: file...
==> default: Running provisioner: shell...
default: Running: inline script
==> default: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC4q2BHIAHJ/yUc9zwJVCUbtbPe5xPJmbsbUJmtjldEnaIZ00tG/memsDHbOlGsbTxRU2QgKmrKSu7Iz8r+FglDbXLzbrg0O9rrQWi9FCpl8J630o1/fz3vejVIslcnuRBtiW/UUjYTZ5vsU2E/aMmxJFA31IzWslmQKHzOW+2XHyQ3e8QQBI7owA4QpVHtki0g0xlISA+H7kgG90NY0uEF+t4GK0KY/CN2GzxMFCAxtXLa2M8uGimySImsPBZByMNuLsdiok8W8vLWtDr9qvXhQkXOpxSTUflfCiJQmOke3hJpjWGPCcaVg9gPmr3wH9GUKnGQJ6SPQlslMI+Mekr/ lansana#homestead
==> default: Running provisioner: shell...
default: Running: inline script
==> default: Running provisioner: shell...
default: Running: C:/Users/Lansana/AppData/Local/Temp/vagrant-shell20160109-5024-pucyip.sh
==> default: Running provisioner: shell...
default: Running: C:/Users/Lansana/AppData/Local/Temp/vagrant-shell20160109-5024-1dw603v.sh
==> default: nginx stop/waiting
==> default: nginx start/running, process 1943
==> default: php5-fpm: unrecognized service The SSH command responded with a non-zero exit status. Vagrant assumes that this means the command failed. The output for this command should be in the log above. Please read the output to determine what went wrong.
Anyone know what is going wrong here?
Try doing the following:
$ composer remove laravel/homestead
$ composer clear-cache
$ composer require laravel/homestead
$ vagrant destroy && vagrant up
For some reason, doing a composer update laravel/homestead didn't grab the latest version of the homestead files (I think it has something to do with the composer.json using "^3.0", and didn't think 3.0.1 required an update or something), I noticed homestead.rb was not the current version.

laravel vagrant homestead doesnt create directory

i tryed everything but really canĀ“t find the solution... I want to install homestead but when i do vagrant up or homestead up it just dont create directory or files. here is terminal
Can someone give help?
Thanks in advance!
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Importing base box 'laravel/homestead'...
==> default: Matching MAC address for NAT networking...
==> default: Checking if box 'laravel/homestead' is up to date...
==> default: Setting the name of the VM: homestead
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
default: Adapter 1: nat
default: Adapter 2: hostonly
==> default: Forwarding ports...
default: 80 => 8000 (adapter 1)
default: 443 => 44300 (adapter 1)
default: 3306 => 33060 (adapter 1)
default: 5432 => 54320 (adapter 1)
default: 22 => 2222 (adapter 1)
==> default: Running 'pre-boot' VM customizations...
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
default: SSH address: 127.0.0.1:2222
default: SSH username: vagrant
default: SSH auth method: private key
default: Warning: Connection timeout. Retrying...
default:
default: Vagrant insecure key detected. Vagrant will automatically replace
default: this with a newly generated keypair for better security.
default:
default: Inserting generated public key within guest...
default: Removing insecure key from the guest if its present...
default: Key inserted! Disconnecting and reconnecting using new SSH key...
==> default: Machine booted and ready!
==> default: Checking for guest additions in VM...
==> default: Setting hostname...
==> default: Configuring and enabling network interfaces...
==> default: Mounting shared folders...
default: /vagrant => /Users/Perez/Homestead
default: /home/vagrant/projects => /Users/Perez/Homestead/projects
==> default: Running provisioner: file...
==> default: Running provisioner: shell...
default: Running: inline script
==> default: stdin: is not a tty
==> default: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDXQVws5AGfpExLnJz5KMEqxwC2+hGvdNZL63Pi3HhGo+iOI7rqJhNpYn9KnsfK/kohfl6ByxzetgzBGA793aQOMPR8x/O5Ho+QsaftZnywvIqIOSwcWASWn2jYxxe/FKJ8Pk6tJEt0W3JxoHYbObOYQxj2PtEeBj+UvFjZF4i8u+ZO2DikOE9WLaVygLeZ43bcg0g+vlPoKangmvcekPWhqLQqysm/V94e8VscT1nKMgTO2GeC1CBUPWRZUMK5Afq6J2T98mgsp9NMMW7RvIK4Nvs5iUluuyW5rCh1TMyeCKsIq3uPOuiUEDd7sGiOK9ea++lGEJdTss2YN11m3b3d jacperestrelo#gmail.com
==> default: Running provisioner: shell...
default: Running: inline script
==> default: Running provisioner: shell...
default: Running: inline script
==> default: stdin: is not a tty
==> default: * Restarting nginx nginx
==> default: ...done.
==> default: php5-fpm stop/waiting
==> default: php5-fpm start/running, process 2058
==> default: Running provisioner: shell...
default: Running: /var/folders/7q/nkxx6h8j759cplvbvs1x842w0000gp/T/vagrant-shell20141220-1085-1epuhti.sh
==> default: stdin: is not a tty
==> default: Warning: Using a password on the command line interface can be insecure.
==> default: Warning: Using a password on the command line interface can be insecure.
==> default: Running provisioner: shell...
default: Running: /var/folders/7q/nkxx6h8j759cplvbvs1x842w0000gp/T/vagrant-shell20141220-1085-o5766a.sh
==> default: stdin: is not a tty
==> default: Running provisioner: shell...
default: Running: inline script
==> default: stdin: is not a tty
==> default: Running provisioner: shell...
default: Running: inline script
==> default: stdin: is not a tty
==> default: php5-fpm stop/waiting
==> default: php5-fpm start/running, process 2166
==> default: Running provisioner: shell...
default: Running: inline script
==> default: stdin: is not a tty
==> default: You are already using composer version a422d67e2701860a44a4634f62f88b58b8636468.
==> default: Running provisioner: shell...
default: Running: /var/folders/7q/nkxx6h8j759cplvbvs1x842w0000gp/T/vagrant-shell20141220-1085-1bnb42k.sh
==> default: stdin: is not a tty

Homestead gives 404 Not Found

I'm trying to get Homestead 2.0 up and running to use for local development with Laravel. I followed the Laracast, but I'm getting a 404 Not Found. Does
This is what I get when running homestead up command
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Importing base box 'laravel/homestead'...
==> default: Matching MAC address for NAT networking...
==> default: Checking if box 'laravel/homestead' is up to date...
==> default: Setting the name of the VM: homestead
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
default: Adapter 1: nat
default: Adapter 2: hostonly
==> default: Forwarding ports...
default: 80 => 8000 (adapter 1)
default: 443 => 44300 (adapter 1)
default: 3306 => 33060 (adapter 1)
default: 5432 => 54320 (adapter 1)
default: 22 => 2222 (adapter 1)
==> default: Running 'pre-boot' VM customizations...
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
default: SSH address: 127.0.0.1:2222
default: SSH username: vagrant
default: SSH auth method: private key
default: Warning: Connection timeout. Retrying...
default: Warning: Connection timeout. Retrying...
default: Warning: Remote connection disconnect. Retrying...
default: Warning: Remote connection disconnect. Retrying...
default: Warning: Remote connection disconnect. Retrying...
default: Warning: Remote connection disconnect. Retrying...
default: Warning: Remote connection disconnect. Retrying...
default:
default: Vagrant insecure key detected. Vagrant will automatically replace
default: this with a newly generated keypair for better security.
default:
default: Inserting generated public key within guest...
default: Removing insecure key from the guest if its present...
default: Key inserted! Disconnecting and reconnecting using new SSH key...
==> default: Machine booted and ready!
==> default: Checking for guest additions in VM...
==> default: Setting hostname...
==> default: Configuring and enabling network interfaces...
==> default: Mounting shared folders...
default: /vagrant => /Users/me/.composer/vendor/laravel/homestead
default: /home/vagrant/Projects => /Users/me/Projects
==> default: Running provisioner: file...
==> default: Running provisioner: shell...
default: Running: inline script
==> default: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCtfIqsdadasdadaiHuOJAFEM6Fy1hwpnknHbezsl8VHl1CzRRGLWR0a1O0GFCB8bQGgaQlJF4rnncxOMj3e28soXUX/hrSgayY/Qo5ZddadsdadsadsdI2STFk7ZhSg6rjaDXYWwVDVMLqyqv8HBulYx0IEgkH5/Hwlw9UCia0OEkbKpsdasdadaxm5128OJFtykWdKpkhkopkopkopkopsgyDsZ6pRccDaITjNKT0aU2bpwSnRx+oLQ18Y32xFSOhq8VwkEdrOvYy9FPe2YAbbi82J7sValnRY+K2+NooU3/XmSCDb me#Me.local
==> default: Running provisioner: shell...
default: Running: inline script
==> default: Running provisioner: shell...
default: Running: inline script
==> default: * Restarting nginx nginx
==> default: ...done.
==> default: php5-fpm stop/waiting
==> default: php5-fpm start/running, process 2233
==> default: Running provisioner: shell...
default: Running: /var/folders/09/bfdxycfd2t1b2ycm3zgmtq100000gn/T/vagrant-shell20141212-2178-1bbctyq.sh
==> default: Warning: Using a password on the command line interface can be insecure.
==> default: Warning: Using a password on the command line interface can be insecure.
==> default: Running provisioner: shell...
default: Running: /var/folders/09/bfdxycfd2t1b2ycm3zgmtq100000gn/T/vagrant-shell20141212-2178-16noi2s.sh
==> default: Running provisioner: shell...
default: Running: inline script
==> default: Running provisioner: shell...
default: Running: inline script
==> default: php5-fpm stop/waiting
==> default: php5-fpm start/running, process 2374
==> default: Running provisioner: shell...
default: Running: inline script
==> default: Updating to version 55895ab494db249bc0fcd836237c3a23c9f36dfc.
==> default: Downloading: connection...
Downloading: 0%
==> default:
==> default: Downloading: 5%
==> default:
==> default: Downloading: 10%
==> default:
==> default: Downloading: 15%
==> default:
==> default: Downloading: 20%
Downloading: 25%
Downloading: 30%
==> default:
==> default: Downloading: 35%
==> default:
==> default: Downloading: 40%
Downloading: 45%
==> default:
==> default: Downloading: 50%
==> default:
==> default: Downloading: 60%
Downloading: 65%
==> default:
==> default: Downloading: 70%
==> default:
==> default: Downloading: 75%
==> default:
==> default: Downloading: 80%
==> default:
==> default: Downloading: 85%
==> default:
==> default: Downloading: 90%
==> default:
==> default: Downloading: 95%
==> default:
==> default: Downloading: 100%
==> default: Use composer self-update --rollback to return to version b23a3cd36870ff0eefc161a4638d9fcf49d998ba
==> default: Running provisioner: shell...
default: Running: /var/folders/09/bfdxycfd2t1b2ycm3zgmtq100000gn/T/vagrant-shell20141212-2178-1a1rgym.sh
This is the Homestead config file
ip: "192.168.10.10"
memory: 2048
cpus: 1
authorize: ~/.ssh/id_rsa.pub
keys:
- ~/.ssh/id_rsa
folders:
- map: ~/Projects
to: /home/vagrant/Projects
sites:
- map: testproject.app
to: /home/vagrant/Projects/Laravel/public
databases:
- homestead
variables:
- key: APP_ENV
value: local
SSH into your homestead virtual machine and try running following command.
serve testproject.app /home/vagrant/Projects/Laravel/public

Resources