Laravel Sail worked fine before. Using WSL2 Ubuntu 20.04. And then I update Docker to the new version. After I restart my PC, I run Laravel Sail again using "sail up -d", and it throw an error this time: exec: "docker-compose-v1": executable file not found in $PATH I don’t know a lot about Docker. I ..
So , I am working on a small project where I need to create a symlink to store file in the storage directory in laravel. I was previously working on windows where the same code was working fine but as I configured Laravel Sail and set it up in my WSL-2 environment, I performed my ..
I have a laravel application using WSL2 that runs normally. I had a recent problem when I needed to connect this application with the database that is installed on Windows. I tried to connect several times and it always returns the following error: sqLSTATE[HY000]  Connection refused I believe the problem is not with the ..
I am trying to get Laravel going on Windows 10. In their docs they first tell to install Docker together with wsl2 (linux bash terminal for windows) and then run curl -s https://laravel.build/example-app | bash in the linux terminal. So I did but the terminal shows: -sh: curl: not found I’m not very familiar with ..
I installed docker and set wsl 2 but idk why "laravel.build" isn’t work’s when i press enter i got empty result in command line. See screenshoot here Sourc..
I’m developing a multi-tenant app first time by using Laravel 8, Tenancy For Laravel on Docker and WSL2. My issue occures when I try to create a tenant. I want to create a new database for each tenant, but creating database trows the following error: SQLSTATE: Syntax error or access violation: 1044 Access denied for ..
This happened to me a couple of times now on windows wsl2. I have an existing project using laravel sail that works on my mac but when I try to make it work on windows running the installation for an existing project https://laravel.com/docs/8.x/sail#installing-composer-dependencies-for-existing-projects I haven’t found a solution adapted to laravel sail yet. ./vendor/bin/sail up ..
I’m trying to connect my laravel project that is running on wsl2 ubuntu to mysql server (with xampp) running on windows 10. .env file configs DB_CONNECTION=mysql DB_HOST=127.0.0.1 DB_PORT=3306 DB_DATABASE=test DB_USERNAME=root DB_PASSWORD= when I run a php artisan migrate it gives this error IlluminateDatabaseQueryException : SQLSTATE[HY000]  No such file or directory (SQL: select * from ..
I created a new laravel app curl -s https://laravel.build/example-app | bash then I removed all files from the directory where I created it then I tried to install it again with the same code and get an error Cannot create project directory at "/opt/example-app", it exists as a file. But I don’t see any file ..
I’m trying to run Laravel Jetstream with Sail on WSL2 (Ubuntu 20.04) and Docker. So far I could use composer to install Laravel. When I enter CLI mode to use "php artisan" commands this works fine. As soon as I try to edit the files in Visual Studio Code with "code ."in the Project folder ..
After successfully making WSL2 work with Docker Desktop (v3.1.0) NAME STATE VERSION * Ubuntu-20.04 Running 2 docker-desktop Running 2 docker-desktop-data Running 2 I followed steps from the Laravel Docs: https://laravel.com/docs/8.x#getting-started-on-windows but the error: [ErrorException] file_get_contents(): Read of 8192 bytes failed with errno=13 Permission denied showed up, and i couldn’t find the docker-compose.yml file in the ..
So I’ve managed to do a clean install of Laravel in Windows using WSL2. One of the requirements of my project is to have two databases running at the same time mysql and mongodb. I added an image of MongoDB in my docker-compose.yml as the dock-hub tells me, but when I try to add the ..
I’ve been developing for Laravel using Homestead (VirtualBox and Vagrant) on Windows 10. Recently I wanted to switch to Docker and the Linux Sub System on Windows (WSL2). Under Homestead I’ve been running my app under my-domain.test. In my docker-compose file I use localhost on port 8008. I can access the website under localhost:8008 but ..