Questions tagged [homestead]

Laravel Homestead is an official, pre-packaged Vagrant "box" that provides you a wonderful development environment without requiring you to install PHP, HHVM, a web server, and any other server software on your local machine. Homestead runs on any Windows, Mac, or Linux system, and includes the Nginx web server, PHP 5.6-7.3, MySQL, Postgres, Redis, Memcached, and all of the other goodies you need to develop amazing Laravel applications.

To install Laravel Homestead, please visit the official web site.

1571 questions
13
votes
1 answer

Vagrant: missing file id_rsa

I'm using windows with homestead and I'm trying to enter vagrant up on the command line but I'm getting this error: C:/www/Homestead/scripts/homestead.rb:106:in read': No such file or directory @ rb_sysopen - C:/Users/Niall/.ssh/id_rsa…
Niall
  • 804
  • 10
  • 27
13
votes
5 answers

The host path of the shared folder is missing: ~/Code

I'd like to use laravel homestead for my development machine and installed virtualbox and vagrant successfully, but when I run vagrant up I get this error: Bringing machine 'default' up with 'virtualbox' provider... There are errors in the…
Xeen
  • 6,955
  • 16
  • 60
  • 111
13
votes
3 answers

laravel homestead the host path of shared folder missing error on windows 7

I am trying to set up laravel homestead on my windows 7 machine . I installed vagrant and virtualbox. Also the git bash shell. did vagrant box add laravel/homestead composer global require "laravel/homestead=~2.0" added composer vendor bin to…
Sojan Jose
  • 3,168
  • 6
  • 33
  • 52
12
votes
10 answers

Laravel homestead 502 bad gateway

Everytime i go to my project I get a 502 bad gateway. When I refresh, the page works.. If I click a link to another page I get 502 bad gateway again. After the refresh the page loads. What could be the problem here. Homestead.yaml --- ip:…
twoam
  • 862
  • 5
  • 14
  • 29
12
votes
4 answers

Use SSL on Laravel Homestead

I'm using Laravel Homestead and it is working fine. Now I want to implement HTTPS on one of my sites. I found that to achieve that you just need to add ssl: true into Homestead.yaml and then run vagrant reload --provision. I can see it working when…
Parth Vora
  • 4,073
  • 7
  • 36
  • 59
12
votes
5 answers

vagrant homestead can't access host(laravel 5.2)

When I goto my host ao.dev:8000 or ao.dev, "this site can't be reached,ao.dev refused to connect" is displayed. My yaml file: also i've my view file: i've checked: I've run vagrant up command by going to Homestead directory . Also see:…
YaSh Chaudhary
  • 2,605
  • 8
  • 37
  • 74
12
votes
4 answers

Laravel Homestead php-7 "php5-fpm: unrecognized service" on vagrant up

Whilst trying to use the php-7 version of Laravel Homestead in a per-project installation, I see this error during vagrant up: php5-fpm: unrecognized service I've tried vagrant destroy and reinstalling the Vagrant box, but it still comes back to…
MHG
  • 1,410
  • 3
  • 19
  • 32
11
votes
1 answer

error: OpenSSL SSL_read: SSL_ERROR_SYSCALL, errno 10054

While running the command vagrant box add laravel/homestead, I am getting this error: An error occurred while downloading the remote file. The error message, if any, is reproduced below. Please fix this error and try again. OpenSSL SSL_read:…
saee
  • 433
  • 1
  • 3
  • 15
11
votes
5 answers

What is Vagrant Homestead root password?

I have installed Homestead with vagrant box add laravel/homestead vagrant init vagrant up I can login with user vagrant:vagrant, but I can't login as root! root:root and root:vagrant is wrong password. I have solution: there is no root password,…
Samarkand
  • 111
  • 1
  • 1
  • 6
11
votes
3 answers

Laravel Homestead with Apache server

Last year, after being a long time user of a WAMP stack, I switched over to Homestead on Vagrant. For a non-Laravel development project, I am required to use Apache Server. I know that it is possible to install Apache server on Homestead and then…
Wouter C
  • 533
  • 1
  • 6
  • 21
11
votes
7 answers

ReflectionException in Container.php line 741: Class view does not exist

I'm working on a Laravel 5.1 project with Homestead. I shelled into my Vagrant machine and ran the Composer Update command in an attempt to try to update my project and now I get the following error: 1. in Container.php line 741 2. at…
MikeAguilera210
  • 113
  • 1
  • 1
  • 4
11
votes
4 answers

Understanding the Homestead yaml file in Laravel

Can someone explain the Homestead.yaml file in details. Not fully understanding its contents is bothering me. Here is the complete Homestead yaml file: ip: "192.168.10.10" memory: 2048 cpus: 1 provider: virtualbox authorize:…
fs_tigre
  • 10,650
  • 13
  • 73
  • 146
10
votes
6 answers

Very slow laravel homestead/vagrant/virtualbox on Mac OSX

I am using Homestead + Vagrant + Virtualbox on a Mac. Problem While I found lots of threads/answers how to fix slow response times (e.g. TTFB) none of them worked. My response times vary between 25 - 32 seconds, which of obviously is not acceptable…
wbq
  • 633
  • 4
  • 13
10
votes
3 answers

vagrant up - Errno::EADDRNOTAVAIL with vagrant version 1.9.3

I have been trying to install Laravel Homestead and I have been following different tutorials but always when I reach the point where I have to execute vagrant up I recive this error: $ vagrant up Bringing machine 'homestead-7' up with 'virtualbox'…
thingNumber2
  • 123
  • 1
  • 8
10
votes
1 answer

Getting randomly "unable to unlink old '' (Permission denied)" after a git pull within a Vagrant box

I'm working in a Vagrant box pre-packaged with Homestead 5.0 and sometimes after a git pull or git checkout, I get unable to unlink old '' (Permission denied) After rebooting my box, I can pull or checkout normally. I've also tried to git…
Dominic
  • 101
  • 4