381 questions
0
votes
1
answer
46
views
Laravel Sail + Xdebug
I have Laravel Sail installed in WSL, and I'm trying to debug the application using Xdebug. This only works if I enter the WSL IP address directly into the browser (http://172.17.170.44:8000). If I ...
2
votes
0
answers
87
views
Laravel PATCH requests hanging when running on Sail
I'm using the Laravel 12 + React + Inertia starter kit. When I run the application using Sail, my PATCH requests never complete. The PATCH endpoint is being hit properly, executes the logic/DB updates,...
0
votes
0
answers
35
views
How to config pgadmin to use in sail docker app?
I have laravel 12/postgresql app installed under "laravel/sail" 1.41 under kubuntu on my home laptop and I want to install pgadmin4 to work with my db
I have installed pgadmin4 with commands ...
2
votes
0
answers
79
views
Deploy laravel-sail in railway
I built a web app using Laravel 12 with Sail, and I'm trying to deploy it on Railway. I found some guides, but none seem to work.
I uploaded my project, but I'm getting a 502 Bad Gateway error. ...
1
vote
2
answers
2k
views
Why runing laravel app which using docker/sail I got attribute version is obsolete?
I need on my home laptop to run laravel 8 app which using laravel/sail: ^1.0.1 and running it I got errors:
master@master-at-home:/mnt/_work_sdb8/wwwroot/lar/_MyApps/app$ ./vendor/bin/sail up
Docker ...
0
votes
1
answer
84
views
Multiple Sail project environments and database issues
I am used to having just one Laravel Sail project on my machine which has been fine and I am used to using DDEV for Craft CMS project environments where each container feels more self-contained. I am ...
1
vote
1
answer
260
views
Running laravel, sail (docker) & vite (react) on wsl returns 404 (not found) for application assets
I'm trying to set up a Laravel + inertiajs + react application locally with sail/docker on wsl but when running the dev server I get 404 (not found) errors for every application asset. I think I ...
0
votes
1
answer
67
views
How to use a different local domain than test with laravel sail
I am struggling with something so simple...
I have a new laravel app with sail. Visiting laravel.test works.
Trying to modify this domain to something like acme.dev is giving me a headache.
I have ...
1
vote
0
answers
579
views
How to deploy a sail Laravel app in production
I've recently made a laravel app with sail, everything is good in the development environment.
Now I have been asked to deploy this app, I did some researches and most of them said you can't use ...
-1
votes
1
answer
256
views
I cannot find a way to fix my Reverb/WebSocket. It's not working
I cannot find where I went wrong in my code to get my Reverb/WebSocket working.
I have tried setting a new port for this, but it's still not working. I looked at another person's code where it works, ...
0
votes
1
answer
641
views
PHP 8.4 Upgrade in Laravel Sail Causes zend_mm_heap corrupted Error During PHPUnit Tests
Environment:
PHP: 8.4
Laravel: 11.35.1
Sail: 1.39.1
PHPUnit: 10.5.39
macOS: 15.1.1 (24B91)
We are upgrading from PHP 8.2 to PHP 8.4. The only change made so far has been upgrading PHP within Laravel ...
-4
votes
1
answer
734
views
"Could not find driver" error with SQL Server on WSL 2 with Ubuntu 24.04
I'm encountering an issue while trying to connect my Laravel application to a SQL Server database. I'm running this setup on WSL 2 with Ubuntu 24.04, PHP 8.3.11, and Laravel Sail. Here’s a detailed ...
1
vote
1
answer
314
views
laravel sail cannot start mysql
I am trying to run laravel sail in a project I have inherited, I run vendor/bin/sail up --build
And for some reason it cannot start the DB instance? I get the error
[InnoDB] Cannot boot server ...
0
votes
2
answers
620
views
Permission Denied error when creating new files using Laravel Sail commands or VS Code for an app running on Docker and Laravel-Sail? [closed]
I am a Ubuntu user and I recently started warming up to Docker.
I have done the Docker installation on Ubuntu 24.04, I have managed to add Laravel Sail and I have managed to run the application ...
0
votes
1
answer
210
views
Laravel Dusk + Sail - ERR_CONNECTION_REFUSED
I started a new Laravel application using Sail to have local development running in Docker, so it already started with a selenium/standalone-chrome container also.
Installed Dusk following docs, but ...
0
votes
1
answer
230
views
GitHub Actions, Laravel 11 Sail problems
Trying to create GitHub Actions to deploy a Laravel 11 app running Laravel Sail. Almost all tasks run good, but at this point, an error occurs and I can't find the solution.
Have created the docker ...
1
vote
1
answer
360
views
How to run "ping" command from within Laravel Sail application
I'm working with Laravel 11 and need to programmatically execute the "ping" command and get the result. I'm using Laravel Sail. But when I attempt to use the Process facade I get an error:
&...
0
votes
1
answer
588
views
Laravel Sail: Making lighter Docker images on Laravel Sail project
I've been trying to make some modifications to the default 'docker-compose.yml' and Dockerfiles autogenerated by Laravel Sail after it's installed into my Laravel project. I've been attempting this ...
0
votes
1
answer
100
views
Laravel Sail - SQLSTATE[HY000] [2002] Connection refused
I am trying to setup Laravel Sail environment on the server, and after doing the same setup that works locally on my machine along with the .env file
DB_CONNECTION=mysql
DB_HOST=mysql
DB_PORT=3306
...
0
votes
1
answer
773
views
Default AlpineJS installation in sail livewire project
My question comes from simple curiosity, as I'd like to have control over the dependency versions of my project.
Recently I started to work on a laravel/livewire project installed with Sail. I noticed ...
0
votes
2
answers
2k
views
How do I set up Xdebug in PhpStorm with Laravel Sail Docker on WSL2 without Docker Desktop
I am trying to debug Laravel Sail which is run via Docker on WSL2. I want to do this without Docker Desktop as this now requires a licence to use in a corporate setting.
I have been following this ...
1
vote
1
answer
515
views
CORS Error caused by JS files being requested by http in an https environment using Laravel Filament with Sail / Docker
Environment: Laravel with Filament on Docker (Laravel Sail)
The request is made using https:// but there are 2 files (table.js and select.js) which seem to be being requested by http:// which is ...
0
votes
0
answers
149
views
PhpStorm: database host not accessible when in docker
Create simple Laravel application and up Laravel Sail.
Here is how database service looks in Docker Desktop:
Then try (unfortunately) to access this database host from PhpStorm Database Tools:
At ...
-1
votes
1
answer
1k
views
Docker Laravel sail with php 8.3 mssql running on Mac M1
Ok so here is the goal, use Laravel Sail with PHP 8.3, but I need to connect to an external MS SQL server, thus I need MS SQL drivers. Here are the instructions on how to install the drivers: https://...
0
votes
0
answers
251
views
Security policy `PDF' in the Laravel Sail container when using Imagick
I would like to convert a PDF into a PNG. I would use Imagick for this. My Laravel instance runs via the Laravel Sail docker container. Unfortunately, I get an error message when using Imagick:
...