Questions tagged [laravel-sail]
319 questions
1
vote
3 answers
Laravel Sail: could not find driver (SQL: SHOW FULL TABLES WHERE table_type = 'BASE TABLE') --- Mac
I just recently replaced my macbook. I setup the previous project I was working on. Unfortunately I encountered this error.
could not find driver (SQL: SHOW FULL TABLES WHERE table_type = 'BASE TABLE')
at…

Brian Caballero
- 11
- 3
1
vote
2 answers
Where is dockerfile located in default laravel sail project
Building a laravel project using laravel sail documentation. As mentioned in the docker-compose.yml file it mentions dockerfile: Dockerfile. But it is not located in the root folder, so where is it?
# For more information:…

chris
- 117
- 4
- 15
1
vote
1 answer
Errors running sail build
Running sail build I get the following errors:
#7 91.31 Executing: /tmp/apt-key-gpghome.hfO5Uiq59J/gpg.1.sh --homedir /root/.gnupg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys C300EE8C
#7 92.16 gpg: key 00A6F0A3C300EE8C: public key…

Mr U.
- 126
- 8
1
vote
1 answer
Indexing does not stop in Laravel 8 project using Laravel Sail in PhpStorm
I am working on a project created in Laravel 8 Sail and running on Docker Desktop (Windows 10 Pro). The problem is that PhpStorm keeps indexing continuously...
I searched the internet for the solution the only thing I found is
File -> Invalidate…

Mohsen
- 260
- 3
- 14
1
vote
0 answers
Docker - Laravel App Not Running and Not Error
The container stands up and doesn't give any error but also doesn't work. When I try another app that has the same sub-core of the app, I see that it works successfully. The problem is in this app, I'm sure now.
I am leaving some necessary files…

nrkdrk
- 78
- 9
1
vote
1 answer
Facebook\WebDriver\Exception\UnknownErrorException: unknown error: net::ERR_CONNECTION_REFUSED (Session info: headless chrome=96.0.4664.110)
I have tried changing the APP_URL in env,
Updated Chrome driver.
Tried dusk outside sail shell using "sail dusk" and getting..
Facebook\WebDriver\Exception\UnknownErrorException: unknown error: net::ERR_CONNECTION_REFUSED (Session info: headless…

Bhaskar S
- 41
- 6
1
vote
2 answers
Laravel Sail with Laravel Nova: ...vendor/laravel/nova/src/NovaCoreServiceProvider.php not found
I recently tried to deploy my laravel Nova project in docker, and my search brought me to laravel sail.
So having the default docker-compose.yml file included in the project, I ran the 'sail up' command in my project working…

dullbenz
- 11
- 3
1
vote
1 answer
I can't use Sequel Pro to connect to my Sail PHPMyAdmin
I'm using Sail in my Laravel 8 project and I can't find a way to use Sequel Pro to see my database.
When I run ./vendor/bin/sail up -d, my containers are running perfectly and I can access to my PHPMyAdmin in http://localhost:8080/ using these…

Jérôme
- 978
- 1
- 9
- 22
1
vote
1 answer
How to solve very slow migrations and seeders on Laravel Sail with Apple M1 Max
With a brand new Macbook I was a little surprised by the poor performance of my migrations and seeders.
I managed to get MySql 8.0 working on Docker with experimental features enabled and tried to add the platform but it did not make any difference…

Gijs
- 196
- 3
- 9
1
vote
1 answer
Why sail didn't build my laravel container?
I followed the guide in laravel document.Run the command
composer require laravel/sail --dev and command php artisan sail:install in my terimal.After that I tried the command ./vendor/bin/sail up, but I got this : No such file or directory.I turn to…

LesiJin
- 11
- 4
1
vote
0 answers
How to increase MYSQL writes per second?
I am using a Laravel application with MySql using docker image mysql:8.0.
When I use the Laravel db:seed command,then mysql container will only manage to insert max 200 rows per minute (each row has just 3 columns, id, name , date).
I am using…

Adam
- 25,960
- 22
- 158
- 247
1
vote
0 answers
ERROR: for db_common UnixHTTPConnectionPool(host='localhost', port=None): Read timed out. (read timeout=60)
havent had much luck with stackoverflow lately :( but what heck lets give it one more go:
Okay, this is the issue: I am running a laravel sail "docker-compose.yml" on an AWS "t2.micro" free tier EC2 Instance and when I spin up the…

dragoon
- 31
- 1
- 5
1
vote
1 answer
Laravel Sail - No response in browser
When running
sudo APP_PORT=3001 ./vendor/bin/sail up
In the terminal I am expecting to see the default laravel splash screen on http://localhost:3001. But instead I see an error message This page isn’t workinglocalhost didn’t send any data.…

TEster
- 191
- 2
- 4
- 19
1
vote
0 answers
HTTP request from Laravel Sail to other host fails
I am using Docker for Windows to host the Laravel instance
I have Laravel running on Docker (running on http://localhost:8080).
I have an API service on a http://api.mywebsite.test which is on my computer - not in a docker.
I'm trying to CURL the…

StarNab
- 31
- 5
1
vote
0 answers
Laravel is suspiciously slow (fresh app, everything is by default)
I work with Windows 10 (WSL 2).
My hardware is:
Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz 2.60 GHz
RAM 8.00GB
SSD
Actually, this is a game laptop (MSI GL 65 95CK) if you are interested.
I decided to install Laravel, went to documentation and…

Aleksej_Shherbak
- 2,757
- 5
- 34
- 71