Laravel4-Vagrant icon indicating copy to clipboard operation
Laravel4-Vagrant copied to clipboard

Doesn't work on Windows 7

Open dampe opened this issue 11 years ago • 6 comments

Hey, I just tried running this, but there is no response on localhost:8888 . I had the "DL is depraced, use Fiddle" messages. So I tried to install Ruby 1.9.3 and have added it to system path. I was also able to "vagrant ssh". I tried this with Vagrant 1.4.3 at the beginning and then I tried Vagrant 1.3.5, but with that, installation finished, but there were many failed dependencies errors.

I was also getting "Could not retrieve fact fqdn" warning and "Stderr from the command: stdin: is not a tty". No clue here.

Is there anybody running this on Windows? It looks really great, but as a Vagrant newcomer, it's quite hard to figure out where is a problem.

dampe avatar Jan 12 '14 01:01 dampe

I think the ports between guest and host need to match on Windows. I changed Vagrantfile to reflect:

    lv4_config.vm.network :forwarded_port, guest: 80, host: 80, auto_correct: true
    lv4_config.vm.network :forwarded_port, guest: 3306, host: 3306, auto_correct: true
    lv4_config.vm.network :forwarded_port, guest: 5432, host: 5432, auto_correct: true

Then run vagrant reload. Worked for me on Windows 7.

lewiswharf avatar Jan 13 '14 02:01 lewiswharf

Thanks for tip. I tried that, but it didn't help. I have noticed some failed dependency error messages during vagrant up. I took a screenshot of the errors: http://i.imgur.com/8EZCrl6.png

dampe avatar Jan 13 '14 22:01 dampe

Hi Petr,

Do you have the latest copy of the code? I haven't seen the Postgres install issues like that in a while. Also those shouldn't keep the box from coming up. I'm curious about the first issue you mentioned seeing:

I had the "DL is depraced, use Fiddle" messages.

I haven't seen that before and I'm not entirely clear on what you're seeing. I personally haven't run this on Windows before but I know of some other people who have so let me see if anybody else has feedback.

bryannielsen avatar Jan 14 '14 01:01 bryannielsen

@dampe I've been running this on Windows 7 for a while now, and it works perfectly.

Are you able to provide a copy of all the output generated during the vagrant up process?

LimeBlast avatar Jan 30 '14 20:01 LimeBlast

Hey, sorry for late answer.

I tried this once again and I noticed, that it actually works, but only in Firefox. It's quite possible, that I was previously using chrome or IE - none of these works. "Oops! Google Chrome could not connect to localhost:8888". This is definitely weird. I checked the network settings for both IE and Chrome, but everything seems to be ok. I am often using all these three browsers during the day without any issues. Any idea why only Firefox should actually show the Laravel welcome page?

@LimeBlast I somehow got output from console, so I made a gist: https://gist.github.com/dampe/8880458

dampe avatar Feb 08 '14 09:02 dampe

@dampe @bryannielsen @LimeBlast is working flawlessly on my w7 and Snow Leopard machines. bryan , how did u phpmyadmin reachable (localhost:8888/phpmyadmin) .. In my other boxes i can ssh with workbench or sequel pro without major problems but this feature is sweet for minor/major tweaks ;) thanks in advance .

OliverAstu avatar Feb 12 '14 20:02 OliverAstu