-
Notifications
You must be signed in to change notification settings - Fork 48
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
Docker Install Errors Out With "Invalid Cache Path" When Running "php artisan install --only-user" Inside Container #107
Comments
i hava this issue too |
Are you using a volume or a bind mount for the storage directory (or in other words, did you alter the command) ? |
I'm using volume mounting, but I did alter the command to replace $PWD with the absolute path to the mount point. |
That's rather strange. Can you check if the directory Could be a permission issue, but they usually don't appear using named volumes. |
That directory indeed does not exist. The storage directory only contains database.sqlite and a logs directory. |
Seems the container can't copy the data into the volume, yet somehow manage to copy some data. You can try to stop the container and delete the volume with |
This fixed the problem for me. There was nothing in the
|
I'm following the guide here for a Docker install --> https://benotes.org/docs/installation/docker
Note, I'm running on Debian Bullseye. When I reach the step to run "php artisan install --only-user" inside of the container, I get the following output:
The text was updated successfully, but these errors were encountered: