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
182
votes
32 answers

Access denied for user 'homestead'@'localhost' (using password: YES)

I'm on a Mac OS Yosemite using Laravel 5.0. While in my local environment, I run php artisan migrate I keep getting : Access denied for user 'homestead'@'localhost' (using password: YES) Configuration Here is my…
code-8
  • 54,650
  • 106
  • 352
  • 604
113
votes
6 answers

Is there a default password to connect to vagrant when using `homestead ssh` for the first time?

I'm trying to connect to vagrant via homestead ssh: vagrant@127.0.0.1's password: But my public key password doesn't work. My Homestead.yaml looks like this: authorize: ~/.ssh/id_rsa.pub keys: - ~/.ssh/id_rsa I'm using "Laravel Homestead…
stefan
  • 4,958
  • 4
  • 20
  • 37
112
votes
4 answers

Homestead installation

I could not figure out where I made a mistake here. My command vagrant up replies with the following lines $ vagrant up Check your Homestead.yaml file, the path to your private key does not exist. Check your Homestead.yaml file, the path to your…
Mitesh
  • 1,544
  • 3
  • 13
  • 26
80
votes
32 answers

SQLSTATE[HY000] [2002] Connection refused within Laravel homestead

Using Mac OS X and Homestead 2.2.1 with Laravel 5.2. In terminal (within homestead in my project folder) I can do php artisan to see all the available commands. When I try to run php artisan migrate I get a connection error: SQLSTATE[HY000] [2002]…
nclsvh
  • 2,628
  • 5
  • 30
  • 52
48
votes
7 answers

“vagrant” will damage your computer. | macOS v12 (Monterey) #13132

Today morning suddenly I started getting this popup whenever I ran Vagrant up in my Mac. VirtualBox version 7.0.4 r154605 (Qt5.15.2). macOS v12 (Monterey), MacBook Pro (Retina, 15-inch, Mid 2015) Ubuntu LTS Settler Version Homestead…
Jigar
  • 3,055
  • 1
  • 32
  • 51
46
votes
8 answers

Laravel Dusk error: Failed to connect to localhost port 9515: Connection refused

As the title says, I've go a clean install of Laravel 5.4 and the latest Homestead (1.0.1). However, when I run a simple Dusk test case I get the following error: Failed to connect to localhost port 9515: Connection refused Anyone know how to…
Nick
  • 2,862
  • 5
  • 34
  • 68
42
votes
4 answers

Why does virtual box vboxheadless process using Vagrant use 100% of my cpu?

So I'm using a couple vagrant boxes and when i have them up, "sometimes/randomly" it starts to take up 100% cpu on my OS X machine and i have no idea whats causing it. I can ssh into the vmachine and check the load and it's at 0 sot its not…
David
  • 9,799
  • 5
  • 28
  • 32
38
votes
17 answers

There was an error while executing `VBoxManage`, a CLI used by Vagrant for controlling VirtualBox. windows 10

I just got laravel homestead to run yesterday using powershell. Now, it won't even run. I just suspended vagrant and turned off my pc. Now it's just giving me this error: Bringing machine 'default' up with 'virtualbox' provider... ==> default:…
rendell
  • 917
  • 2
  • 9
  • 26
38
votes
11 answers

Can't install Vagrant box Laravel Homestead

I'm trying to install Laravel Homestead on Mac OS X following the official documentation instructions on here. I installed VirtualBox and Vagrant. Now I'm trying to add the Homestead box with the command vagrant box add laravel/homestead. After a…
Alonso Arellano
  • 459
  • 2
  • 5
  • 8
37
votes
15 answers

Supervisor no such file socket.py

I am trying to setup a queue listener for laravel and cannot seem to get supervisor working correctly. I get the following error when I run supervisorctl reload: error: , [Errno 2] No such file or directory: file:…
Michael
  • 870
  • 3
  • 11
  • 18
35
votes
5 answers

Using vagrant and homestead for multiple sites and per project installation

I have been using XAMPP for quite a time, and after discovering Laravel and finding out, that I quite like it, I also wanted to use Homestead. The problem I'm having is, that I can't seem to be able to run multiple sites. I have tried various…
Musterknabe
  • 5,763
  • 14
  • 61
  • 117
33
votes
9 answers

error "ETXTBSY: text file is busy" on npm install

When running npm install [any package] or even npm install on homestead I get the following error: npm ERR! ETXTBSY: text file is busy, rmdir '/home/vagrant/valemus-shop-starter/valemus-shop/node_modules/fsevents' Debug log can be seen here Box…
Martijn Imhoff
  • 918
  • 1
  • 8
  • 22
33
votes
12 answers

Laravel Homestead hangs at SSH auth method: private key on mac

I can't seem to get Homestead running. It hangs at SSH auth method: private key. The Homestead VM starts. I can go to VirtualBox and open the terminal window and login with vagrant:vagrant. I can't vagrant ssh, ssh vagrant@127.0.0.1:2204 or ssh…
Scott O-Town
  • 331
  • 1
  • 3
  • 5
33
votes
6 answers

configure the php.ini on vagrant homestead

I want to allow short_open_tags in php.ini I want to access to the php.ini on my vagrant box configured with homestead. I saw the php.ini file in /etc/php5/fpm/php.ini But ... permission denied Is somebody knows ? Thanks
29
votes
4 answers

Change Laravel Homestead v7.0.1 with php 7.2 to php 7.1

What are the steps to downgrade the php version to 7.1 and make it default on latest Homestead 7, Homestead 7 comes with php version 7.2 as default. There are a number of dev sites on my homestead I want everything to run on 7.1 by default, if I…
karmendra
  • 2,206
  • 8
  • 31
  • 49
1
2 3
99 100