I made all the steps of a vagrant install And I connect to localhost:3000, I obtain an error 500 How I can solve it? Here is the log in the ssh console:
showing 5 of 6
show 1 more comments
|
I had a similar problem, although my error message was different. I'm using Vagrant on Windows 10, running git from Cygwin. My precise error message was:
It turns out this file is a symlink, and it looks like VirtualBox is less than fully graceful in handling symlinks within folders that are shared between the guest and host. I haven't found a way to fix the issue directly, but I was able to work around it by cloning OSM into a non-shared folder on the guest machine, as follows:
Then open your web browser and go to localhost:3000. (Note, this workaround doesn't let you share the code with your host machine, so if you want to edit code you have to do it on the guest VM, using command-line tools like vi and git.) answered 11 Nov '18, 01:31 Krubo |
Which steps did you do? Which manual/instructions did you use?
I used the vagrant.md instructions.
https://github.com/openstreetmap/openstreetmap-website/blob/master/VAGRANT.md
I downloaded vagrant for windows I installed it I installed github for windows, because I needed ssh, and git I have done the tutorial of vagrant Then I destroyed the vagrant used for the tutorial
Then I did what is described in the vagrant.md git clone git@github.com:openstreetmap/openstreetmap-website.git cd openstreetmap-website vagrant up vagrant ssh
then on the server : cd /srv/openstreetmap-website/ rails server --binding=0.0.0.0
then back to the PC : in Chrome : http://localhost:3000/
And I got the result that you can see above.
Hello, i have the same problem , that author have. Can anyone help with this ? I've installed fresh Rails Port, via clonnig repo many times, but always there were problem at test:db step. Probably the problem in sass.
Pls do not ask questions in answers.
I suppose that you've missed some steps, because probably style sheets were not pre-processed.
I have a similar problem with ltr/common.scss. I've figured out that it's caused by symlinks in VirtualBox shared folders. You can avoid it by not using VirtualBox shared folders. If I figure out how to make everything work without shared folders, I'll post an answer.