Join us in building a kind, collaborative learning community via our updated Code of Conduct.

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 ...

4
votes
3answers
4k views

Homestead - Connecting to my database

I just created a fresh laravel project and I'm using a Homestead vagrant box by running vagrant init laravel/homestead and after Vagrant Up When I use vagrant ssh it gives me no problem and I ...
0
votes
1answer
16 views

Connecting to Sequel Pro with Homestead issues

I have been checking out a lot of answers here and on GitHub regarding this issue, but whatever I try there is always something wrong. I also don´t get why with the same credentials sometimes I am ...
29
votes
3answers
3k views

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 ...
0
votes
2answers
402 views

Laradock: Install image magik

I am trying to install image magik inside laradock https://github.com/laradock/laradock I have setup nginx , mysql, redis and elasticsearch. I have tried installing the image magik inside php-fpm ...
15
votes
7answers
6k views

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/...
0
votes
0answers
28 views

How to run older version Symfony(2/3) in Homestead?

Hey Guys I'm new to the Vagrant. I'm running successfully Symfony4 but not Symfony 2.8. When running Symfony 2.8 project i.e., Symfony-Demo1.test in browser I get the following: We can’t connect to ...
0
votes
1answer
33 views

Where to locate Symfony project created in Vagrant?

Hey guys I'm new to vagrant. I have used Homestead box. I have created Symfony4 Project but seems I can't locate the project folder.. Create Project In. vagrant@homestead:~$ composer create-project ...
1
vote
1answer
18 views

Have to keep running view:clear otherwise I get a permission denied error

Each time I edit a blade file I have to run php artisan view:clear in order for the page to load correctly otherwise I get the following error ErrorException (E_ERROR) file_put_contents(/home/vagrant/...
0
votes
1answer
27 views

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

Can someone explain why I got this error and how to solve this? I read several same stackoverflow question but still doesn't work. PDOException in Connector.php line 119: SQLSTATE[HY000] [1045] ...
0
votes
2answers
156 views

Laravel App - Admin Route ONLY '/admin' will always return a 404 error | '/admins' or anything else works

So if you go here you will see the EXACT SAME ISSUE word for word that i'm having... Basically I have the admin route set like this: Route::get('/admin', function () { return view('admin.app'); }...
0
votes
0answers
22 views

VBoxManage: Could not rename the directory in Mac [closed]

I am installing Laravel Homestead 5.6 in my macOS Sierra and I am having problems when doing: sudo vagrant up I get this error: Bringing machine 'default' up with 'virtualbox' provider... ==> ...
0
votes
0answers
14 views

Homestead failing on vagrant up [closed]

When running vagrant up I get the following error in Ubuntu 16,04LTS. I have no clue what the problem is as I did the same setup on a different machine and it worked perfectly fine. The following ...
13
votes
11answers
63k views

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 ...
1
vote
1answer
201 views

Updating Laravel Homestead error: 401 Unauthorized

I'm trying to update Laravel Homestead with vagrant box update command. It used to work for me in the past, but now it gives me the error: ~/Homestead: vagrant box update ==> homestead-7: Checking ...
0
votes
1answer
1k views

“vendor” folder missing after running “Composer Install”

I am currently trying to run on Vagrant/Homestead a Laravel Application that I pulled from Github. I connected it to the database, and run Composer Install, Composer Update inside the folder. When I ...
1
vote
0answers
183 views

Vagrant + Laravel Homestead + Excluding nested directories from sync

I am trying to exclude some directories from syncing. Below is my Folder values for the project directory in homestead.yaml folders: - map: ~/Dropbox/Sisir Workspace/projects/www to: /var/...
0
votes
1answer
94 views

Homestead / Homestead.yaml (Windows) no input file specified

I used to work with homestead on a mac machine, but since i don't have access to that mac machine anymore i'm back on my windows machine. So today i installed homestead with no problems, ran vagrant ...
2
votes
1answer
506 views

Error on vagrant up for laravel homestead

Hi there I have encountered below error after running vagrant up: $ vagrant up Bringing machine 'homestead-7' up with 'virtualbox' provider... ==> homestead-7: Clearing any previously set ...
1
vote
3answers
140 views

VM won't bring up using homestead up

I have no issue running vm's using homestead up but last week I just updated to the latest Windows 10 update and now when I run the command it gives me There was an error while executing `VBoxManage`...
121
votes
23answers
174k views

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 : Configuration Here is my .env APP_ENV=local APP_DEBUG=true APP_KEY=***** ...
0
votes
2answers
84 views

The page has expired due to inactivity. Why?

I have a problem. I have 2 computers, the first is Ubuntu and the second is Windows 10. Both computers have a bundle of Vagrant + VirtualBox + Homestead. On a computer with Ubuntu, everything works ...
-2
votes
0answers
29 views

SQLSTATE[HY000] [1045] Access denied for user 'homestead'@'localhost' (using password: YES) (SQL: select * from `tasks` order by `created_at` asc) [duplicate]

Please help me. How can I fix it? I also changed my database name, user & password but not work. SQLSTATE[HY000] [1045] Access denied for user 'homestead'@'localhost' (using password: YES) (...
16
votes
2answers
7k views

npm install errors on vagrant/homestead/windows: EPROTO: protocol error, symlink

I'm building my first project in Laravel and trying to use Elixir, using homestead on Windows 8.1. I've hit the known npm/vagrant issue of too-long-path-names: https://harvsworld.com/2015/how-to-fix-...
2
votes
3answers
1k views

How to access Laravel Homestead on other devices?

My machine and Android devices are on the same network. Machine IP: 192.168.0.11 The IP where Homestead is running: 192.168.10.10 If I enter 192.168.0.11:8000 on my Android device I can use only one ...
-1
votes
0answers
23 views

How to access mysql server running in Laravel/Homestead from host machine?

I've searched on internet but i could not find how to access mysql server running in guest laravel/homestead from host. i've tried to access mysql server from same old way by loading this url on ...
0
votes
1answer
26 views

Accessing symfony's app_dev.php using homestead vagrant solution

I have setup the homestead as the documentation states and performed the following changes to Homestead.yaml in order to handle my project: ip: 192.168.10.10 memory: 2048 cpus: 1 provider: virtualbox ...
6
votes
2answers
3k views

How to automatically enable php extensions in Homestead on vagrant up

Im using Laravel 5.3 in Homestead with Vagrant 1.8.7 running on VirtualBox. I have need to enable some php extensions. I know that I could ssh into the box and edit the php.ini to enable the ...
0
votes
1answer
22 views

Installing and using Sweet Modal Vue npm package in Laravel 5.6

So I have been searching through Stack Overflow and reading to the responses to similar questions as this but they have not helped me at all in better understanding this: I wanted to use this Sweet ...
0
votes
0answers
7 views

Homested VM not booting

my Homested VM is not booting and it just stays like this... i've tried to fix this problem and it... just cant boot... Bringing machine 'homestead-7' up with 'virtualbox' provider... ==> ...
0
votes
2answers
69 views

No input file selected using Homestead

I'm on Windows and i'm trying to work with Laravel Homestead. Actually I have the problem of "No input file selected" seems like URL it's not correctly. My real PATH is this: C:\Users\Lluis\...
-1
votes
2answers
28 views

How can I configuring php.ini in the homestead laravel?

When I run my script, there exist error like this : maximum execution time of 30 seconds exceeded So I need to edit in the php.ini. But here I using laravel homestead I'm confused to change it in ...
0
votes
0answers
26 views

Serve symfony application on uri path in nginx

This is the nginx configuration I have to serve this symfony application in app.test. I need to serve it on app.test/path to comply to a third party service. What should I change to achieve it? ...
0
votes
0answers
22 views

Homstead share the nginx settings

Hello I have created the following project but in order to work I placed some changes to the nginx settings. Theese settings I want to get shared between my coleagues/contibutors. So for that I want ...
0
votes
1answer
39 views

Homestead “No input file specified” with default settings?

Like title says, homestead.test default set up shows "no input file specified" - I have read every single thread (I think) regarding to this topic and I just can't figure out why this still occurs ...
3
votes
3answers
6k views

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: ...
14
votes
5answers
19k views

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' ...
0
votes
1answer
65 views

Homestead.yaml format directory path with parenthesis

Getting an error when launching homestead, think it's due to formatting of directory path in Homestead.yaml --- ip: "192.168.10.10" memory: 2048 cpus: 1 provider: virtualbox authorize: c:/...
19
votes
6answers
12k views

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 ...
0
votes
1answer
492 views

Error while running npm & unable to install npm on Homestead

I receive this error while running whatever command with npm: npm install npm -v etc. module.js:472 throw err; ^ Error: Cannot find module 'readable-stream' at Function.Module....
11
votes
4answers
5k views

Vagrant can't use the requested machine because it is locked

I have tried to access my projects sites that I have set up on homestead, they were working all fine before, and I haven't been working on them for few weeks, but today when I have tried to access ...
0
votes
2answers
51 views

Laravel Homestead - configure php.ini file

I'm on Windows10 So Laravel Homestead uses its own php installation, right. So what's the path to the php.ini file then? Can I access it via the file explorer or?
1
vote
2answers
160 views

Multiple Homestead Boxes

I'm trying to install multiple of the same homestead box. Each one for a different project, totally isolated from each other. None of them will be run concurrently, only one at a time. But when I ...
2
votes
3answers
4k views

How to connect MSSQL in Laravel homestead?

I am trying to connect with a MSSQL database using laravel homestead. It always throws the exception: PDOException in Connector.php line 55: could not find driver. I've seen a lot of people ...
1
vote
2answers
85 views

Unable to launch http://homestead.app after all setup of homestead done

I am newbie for homestead. I done all setup of homestead with VitualBox and Vagrant. After Vagrant up I got following message in terminal: vagrant up Bringing machine 'default' up with 'virtualbox' ...
47
votes
4answers
28k views

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. ...
0
votes
1answer
128 views

Homestead: How to upgrade PHP version

I installed a year ago Homestead with Laravel 5.5. Now I want to upgrade to Laravel 5.6. I upgraded Homestead as explained here with vagrant box update git pull origin master This forced me also ...
0
votes
0answers
16 views

Webpack Dev Server alongside virtual box updating but HMR not injecting

My current dev environment is using Laravel / Homestead / Vagrant to locally host my dev sites (example.dev) setup using this tutorial. I wanted to modernize my task runner / dev process and some kind ...
0
votes
0answers
41 views

Homestead vagrant up Parse error

I've been using Laravel 5.2 and recently started switching to Laravel 5.5. After configuring the etc/hosts and Homestead.yaml file, I encountered the following error: Symfony \ Component \ Debug \ ...
1
vote
0answers
22 views

Laravel Homestead & nginx - unable to use the requested resource as a variable

I am running an older Laravel project that requires PHP 5.6 and I am using Laravel Homestead to run the older version of PHP. For the development environment I am trying to configure nginx to rewrite ...
0
votes
0answers
22 views

Laravel/homestead - restore mysql databases

I lost all my databases on vagrant while I was reinstalling boxes. How can I restore them from TimeMachine?