Questions tagged [laravel-sail]

319 questions
0
votes
0 answers

Laravel Sail Project - Change working directory of a controller (php file) or integrate php project with laravel's sail project

I am working on a project with Laravel. I have created it with sail. I am trying to use the api from a different tool, so following it's instructions it guides me to download from swagger editor a generated client.So independently, I have a php…
johN
  • 39
  • 6
0
votes
0 answers

Error executing putObject - Unable to write file at Location

Yesterday everything worked fine. But today minio dashbord still works, but I am not able to put files there. No changes made since yesterday. Unable to write file at location: 8596cc71-2db5-4f32-b51b-acdbeee05b86.jpg. Error executing "PutObject" on…
piotr
  • 1,282
  • 1
  • 8
  • 20
0
votes
1 answer

How to connect mongo db and laravel sail properly?

I tried to make mongo and laravel sail work together, but I get this error when I try to call migration: (I already have installed jenssegers/mongodb and mongodb.so extension). MongoDB\\Driver\\Exception\\ConnectionTimeoutException No suitable…
0
votes
1 answer

PHPUnit Doesn't Connect To Database

I have built a project based on Docker Sail (Ubuntu on windows), the project is working fine, except when PHPUnit connects with the Database. I tried to install mysql using "sudo apt-get install php-mysql" now I get this error here is my docker…
0
votes
0 answers

Laravel on WSL not building

I'm trying to build a project on a Linux Ubuntu 22.04, under Windows 11 22H2 Wsl2. But when i run ./vendor/bin/sail up or ./vendor/bin/sail up -d I'm blocked by a infinity step: [+] Building 663.1s (7/15) => [internal] load build definition from…
0
votes
2 answers

Laravel-sail & docker file "/var/www/html/storage/logs/laravel.log" could not be opened in append mode: Failed to open stream: Permission denied

I configured my project to work with WSL 2, on ubuntu 22.0. And it works perfectly, however now I need to configure the project on a linux server. The phpmyadmin and mysql are working! The error when I do: docker-compose up docker-compose.yml # For…
0
votes
0 answers

Domain prefix is not working as intended?

curl -s "https://laravel.build/Apple?with=mysql" | bash //Created Project Apple cd Apple && ./vendor/bin/sail up composer require area17/twill:"^2.0" php artisan twill: install After this I should be able to access twill admin by going…
0
votes
0 answers

tailwind don't builded in laravel sail. without errors

I try to install the tailwindcss in my laravel project and it doesn't work. i have no errors or crashes. i used the guide from tailwindcss docs. But i up project on laravel Sail in docker, and all this be on windows wsl 2. Can someone help me? here…
0
votes
1 answer

Problem with laravel-sail and composer.json

I am trying to install laravel sail to an existing project that has been cloned using git it keeps saying " Composer could not find a composer.json file in /var/www/html To initialize a project, please create a composer.json file as described in the…
0
votes
0 answers

sail file does not run -syntax error near unexpected token?

when I put the sail command, it shows this error. Can someone help me? docker/sail: line 4: syntax error near unexpected token `$'$file2\r'' 'ocker/sail: line 4: `case "${UNAMEOUT}" in $file1 $file2
0
votes
0 answers

Laravel Sail can't create new log files: permission denied

I'm using Laravel Sail with this Dockerfile content FROM ubuntu:22.04 LABEL maintainer="Taylor Otwell" ARG WWWGROUP ARG NODE_VERSION=16 ARG POSTGRES_VERSION=14 WORKDIR /var/www/html ENV DEBIAN_FRONTEND noninteractive ENV TZ=UTC RUN apt-get…
PHP User
  • 2,350
  • 6
  • 46
  • 87
0
votes
1 answer

Laravel Sail and Containerised MS SQL Server

I have used the following dockerfile to add MS SQL Server drivers to Sail. FROM ubuntu:22.04 LABEL maintainer="Taylor Otwell" ARG WWWGROUP ARG NODE_VERSION=16 ARG POSTGRES_VERSION=14 WORKDIR /var/www/html ENV DEBIAN_FRONTEND…
Finchy70
  • 441
  • 9
  • 25
0
votes
0 answers

Laravel Sail Docker Phpmyadmin

I have a problem with my Laravel 8 Sail. The container works fine, but when i tried to in to phpmyadmin i can't, because page only show the logo of phpmyadmin, but don't show o form for into application. I take a picture of problem. phpmyadmin Share…
0
votes
1 answer

Laravel Sail starting error related to MySQL on Ububtu 22

I added Sail to a current Laravel project composer require laravel/sail --dev php artisan sail:install but when I run ./vendor/bin/sail up I get MySQL error: :~/work/dashboard$ ./vendor/bin/sail up [+] Running 3/3 ⠿ Network dashboard_sail …
PHP User
  • 2,350
  • 6
  • 46
  • 87
0
votes
0 answers

Can't connect Laravel to RabbitMQ Docker

I've set up the Laravel server and RabbitMQ in Docker containers using Laravel Sail. When I try to run sail artisan queue:work I get these errors for these hosts: rabbit: php_network_getaddresses: getaddrinfo for rabbit failed: Temporary failure in…
Edmund Sulzanok
  • 1,883
  • 3
  • 20
  • 39