Open ericwsawyer opened 10 years ago
Hmm, I don't see any errors in the apache logs and the scripts should be running as root when executed by vagrant. From your original message, if you tried "vagrant@dof:/var/www/vagrant2/src/scripts$ service apache2 restart", that will not work, you need "sudo service apache2 restart".
The problem is likely line endings .... shell scripts don't run properly from the host in Windows. There are some notes in the twineapp/vagrant repo on this, but I think the simplest thing is to just manually run the .sh files inside the vm. Again, this is a bit of a pain, as you can't "vagrant ssh" in windows. If there isn't enough info in the notes now I'll ask the guys that work in windows to add some additional notes.
On Tue, Nov 5, 2013 at 2:12 PM, JulianBurz notifications@github.com wrote:
Hmm, I don't see any errors in the apache logs and the scripts should be running as root when executed by vagrant. From your original message, if you tried "vagrant@dof:/var/www/vagrant2/src/scripts$ service apache2 restart", that will not work, you need "sudo service apache2 restart".
— Reply to this email directly or view it on GitHubhttps://github.com/twineapp/vagrant2/issues/1#issuecomment-27802651 .
Enketo and Formhub will not install I think it is caused when script tries to restart Apache2