I haven't touched the serve.sh file. I have destroyed and re-upped a few times to no avail.
The problem is your file endings:
citricsquid said:
==> default: /vagrant/scripts/serve.sh: line 2: $'\r': command not found
This is a line ending problem. You're using windows, I presume? You need to make sure your editor saves all files with the linux line ending, not the windows line ending. The windows line ending causes problems with Vagrant.
http://laravel.io/forum/05-17-2014-laravel-homestead-error#reply-7090
Thank you @citricsquid and @mvtenorio, I was able to provision the machine, I am almost there. But now I have the issue when I navigate to: http://restbox.app:8000/ it gives me a blank white screen with: No input file specified.
EDIT: Changed the Key in YAML to exclude .pub
---
authorize: C:/VM/Homestead/homestead.pub
keys:
- C:/VM/Homestead/homestead
folders:
- map: C:/VM/Laravel
to: /home/vagrant/restbox
sites:
- map: restbox.app
to: /home/vagrant/restbox/public
EDIT2: Then had to edit the sites-enabled in nginx, to get the path to the VM right, works now. Thanks for the help fellas!
And how do you change the "sites-enabled"?
I have VirtualBox, Vagrant running. Homestead is "installed" or whatever. But all I get is "No input file specified."
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community