-
Notifications
You must be signed in to change notification settings - Fork 486
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Permissions seemed to be borked under completely new Docker Desktop installation #754
Comments
Furthermore, it seems this breaks serving projects via Sail. I just get a 500 error when trying to load any page, and have traced it to the server.php script in the Laravel framework. It fails on this line: The call to |
I'm currently having the same warning regarding the permissions of the I've tried removing everything from my docker, volumes, containers, builds, and building from 0 without cache (after restarting my mac) but I'm still facing this warning. |
Can confirm this issue is present in v1.38.0. Downgrading to v1.37.1 and rebuilding fixed it. |
Ok, I can confirm that now it works with the latest version, no idea what happened but I purged all my data from docker (this will remove all containers, images and volumes). After removing the vendor folder then re-install using the docker run command ( |
Also having the same issue, which causes @Im-Fran This works, but unfortunately this issue happens randomly again. Is it a Docker issue? This is also on MacOS btw. |
I don't really know, maybe it's a file permission issue? I haven't seen the error really lately, but if I get the same error I'll try to investigate what caused it. |
Sail Version
1.38.0
Laravel Version
11.32.0
PHP Version
8.3.13
Operating System
macOS
OS Version
14.6.1
Description
Recently, I’ve started getting the following warning whenever I run any
composer
commands inside a Sail container:I have reset Docker Desktop to factory defaults (from the “Troubleshoot” menu). I’ve even completely uninstalled Docker Desktop and installed it afresh, but as soon as I run
sail build
,sail up -d
, and then access the running instance usingsail shell
, I get the warning above the first time I run a Composer command, i.e.composer update
If I run
ls -al
, I notice all the files and directories inside the/var/www/html
directory seem to be owned by the usersail
and groupdialout
, but the directory itself is owned by the userroot
and grouproot
:Steps To Reproduce
sail build --no-cache
sail up -d
sail shell
composer update
from inside the Sail containerThe text was updated successfully, but these errors were encountered: