Vagrant Errors - Source not found

25 views
Skip to first unread message

Thom Duppstadt

unread,
Mar 23, 2016, 12:33:20 PM3/23/16
to Vagrant
I'm using Vagrant through VirtualBox and I'm receiving a 'Source not found' error on 11 files. Any ideas how to resolve this issue? Here is a singular example of this error

==> fxnetworks: ----------
==> fxnetworks:           ID: ads.local.php
==> fxnetworks:     Function: file.managed
==> fxnetworks:         Name: /vagrant/config/autoload/ads.local.php
==> fxnetworks:       Result: False
==> fxnetworks:      Comment: Source file salt://fxnetworks/files/fxnetworks/vagrant/ads.local.php not found
==> fxnetworks:      Started: 16:03:11.891313
==> fxnetworks:     Duration: 3.052 ms
==> fxnetworks:      Changes:
==> fxnetworks: ----------
Thank you in advance for your time.

Thom Duppstadt

unread,
Mar 23, 2016, 12:35:53 PM3/23/16
to Vagrant

Attached the Vagrantfile
Vagrantfile

Alvaro Miranda Aguilera

unread,
Mar 24, 2016, 1:08:43 AM3/24/16
to vagra...@googlegroups.com
Hello,

the error seems to indicate the script you are running is not finding the files in the location expected.

is the shared folder mounted right?

I would suggest do this:

vagrant ssh -c "sudo su -"
df -Ph

cd /vagrant

and check the paths and the script you want to run, and run it manually like

bash /vagrant/<script>

Vagrant is just following instructions, so if the shared folder is mounted, and the script is being executed properly, then it seems the fix will came from updating the script you are running.

Alvaro


--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vagrant-up+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/32a9309e-6b1b-41df-8432-f62a624a97d2%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages