Questions tagged [laravel-sail]
319 questions
0
votes
0 answers
Laravel sail 10, getting 503 Service Unavailable by running sail up -d
Since today, if I run sail artisan up -d, I get 503 Service Unavailable.
My Docker on my pc is up to date. I have run different commands in the hope that it will solve the problem but it didn't.
docker-compose.yml
version: '3'
services:
…

Mohsen
- 260
- 3
- 14
0
votes
0 answers
What is the way to setup Sail from a cloned Laravel project that already uses sail?
The past few years I haven't been able to find the easiest way to clone a project from github and setup laravel sail on WSL2. The goal is to download the project and setup sail so it creates the correct dockerized mysql instance and database (and…

Felix R.
- 1
0
votes
0 answers
laravel sail with intel macbook pro is so slow
im using Laravel sail for local development. the problem is each request to takes 2 or 3 seconds to run and this made me so sick. here is my docker-compose.yml which has been built by sail:
# For more information:…

arya_la
- 399
- 2
- 10
0
votes
0 answers
Laravel and Monolog: Why do I get 'WARN' message on STDOUT with 'stderr' channel?
I have a question about why Monolog on Laravel shows "WARN" message on STDOUT. How can I avoid it?
I'm running a new Laravel 10 project. I've created a RequestLogger middleware which executes the following line on every request, and I configured the…

Guanart
- 1
- 1
0
votes
0 answers
Can lumen be ran in a docker container using sail package?
I was wondering if it is possible to use the sail package in running a lumen project in a docker container.
I tried editing the supervisor file that comes by default with the sail package like…

Mena
- 1,873
- 6
- 37
- 77
0
votes
0 answers
docker is not running for window 11 (laravel 9 project)
I am using Docker on Ubuntu to run a Lavarel project, with sail docker. When I run the command ./vendor/bin/sail up -d in the command line it shows the error Docker is not running, however, it seems to work when I run it via docker desktop.
Via…

Vishnu
- 1
- 1
0
votes
0 answers
Migrating Laravel Sail to other server
I want to move a laravel sail project from one server to another. How do I move the project folder, database, and docker images to the new server? I want to keep the changes in the project codes and database entries.
Is it possible to migrate all at…

qvcm
- 1
0
votes
1 answer
How to access image from css file using Laravel+Sail+Vite
I'm failing to set url property for background-image. Things work good with sail npm run build but with sail npm run dev path breaks. It is embarrassing, but I would like to ask for some help here:
welcome.blade.php
…

Yevgen
- 1,239
- 3
- 15
- 30
0
votes
1 answer
Spatie Newsletter - Mailchimp Driver - subscribe() method not updating subscriber list
I'm using the Spatie Newsletter package with the Mailchimp driver to handle newsletter subscriptions in my Laravel application. However, when I call the subscribe() method, the subscriber is not being added to the corresponding list on Mailchimp,…

nermineslimane
- 541
- 4
- 21
0
votes
0 answers
Failed to download Laravel/pint : composer gives a connection timeout error while downloading laravel/pint
I wanted to create a new laravel project using sail , but it stops at laravel/pint and give me connection timeout error, the command is :
curl -s "https://laravel.build/dashboard?with=mysql,redis,mailpit" | bash
the rror is :
// ...
- Downloading…

YASSINE BENAID
- 16
- 3
0
votes
0 answers
Railway. NGINX. 413 Request Entity Too Large. Laravel app
i am deploying an app in Railway that handles file uploads. I get this error if the file is greater than 1mb.
I have tried this solutions but i dont have a /etc/nginx folder…

Andrés Romero
- 11
- 1
0
votes
0 answers
Laravel sail - accented search term queries not working
I am using Laravel Sail and when performing back-end queries, the accented term searches not working, as, for example "éz" becomes "ez". I checked php.ini, and it is UTF-8, so the problem does not come from here. I think it is because of MYSQL…

Tamás László
- 139
- 1
- 8
0
votes
0 answers
Failed to fetch connection timeout error inside docker container
I'm trying to build my laravel app via sail using this command:
vendor/bin/sail up --build --remove-orphans
This command is throwing a connection timeout error like this:
#0 197.5 E: Failed to fetch…

Tariq Imtinan
- 114
- 1
- 14
0
votes
0 answers
Preview Laravel Sail Project on Github Codespaces
Set up a Laravel project on Codespaces using the Laravel Sail docker-compose.yml file. I am running ./vendor/bin/sail up to start the Docker containers. Says app is now running at 0.0.0.0:80,
When I go to the forwarded ports tab and attempt preview…

watkib
- 347
- 3
- 11
- 25
0
votes
0 answers
What are the correct permissions and owner I should set for Laravel Sail to work?
I'm trying to run a Laravel project previously developed in another environment using Laravel Sail, but I'm experiencing several problems related to permissions. The docker container "laravel.test" container shows de following error:
The…

Nil Suria
- 474
- 4
- 15