Did you create the symlink with php artisan storage:link?
Oct 9, 2018
4
Level 1
Storage/app not readable CentOS
Hello, we're working on Laravel as API, we're storing images in database with:
Storage::disk('local')->put($path, $file);
There's no issue there, however when trying to read the route of storage/app we get an exception:
{
"message": "The root path /var/www/html/projects/laravel-pro/storage/app is not readable.",
"exception": "LogicException",
"file": "/var/www/html/projects/laravel-pro/vendor/league/flysystem/src/Adapter/Local.php",
"line": 81
}
I found out that it has to be with is_readable($path), however the route is not protected for apache user.
We're setting the url with https with no port like this: https:://pro.laraveldev.com, ¿What could the problem be? Apache has permissions for writting and reading everything on the project folder
Please or to participate in this conversation.