Русское сообщество разработки на PHP-фреймворке Laravel.
Ты не вошёл. Вход тут.
Страницы 1
Fatal error: Uncaught UnexpectedValueException: The stream or file "/var/www/clients/client1/web2/web/gincore/manage/../logs/app.log" could not be opened: failed to open stream: Permission denied in /var/www/clients/client1/web2/web/gincore/gincore/bootstrap/cache/compiled.php:13906 Stack trace: #0 /var/www/clients/client1/web2/web/gincore/gincore/bootstrap/cache/compiled.php(13836): Monolog\Handler\StreamHandler->write(Array) #1 /var/www/clients/client1/web2/web/gincore/gincore/bootstrap/cache/compiled.php(13596): Monolog\Handler\AbstractProcessingHandler->handle(Array) #2 /var/www/clients/client1/web2/web/gincore/gincore/bootstrap/cache/compiled.php(13694): Monolog\Logger->addRecord(400, '/var/www/client...', Array) #3 /var/www/clients/client1/web2/web/gincore/manage/Core/Log.php(36): Monolog\Logger->error('/var/www/client...') #4 /var/www/clients/client1/web2/web/gincore/manage/inc_config.php(55): Log::error('/var/www/client...', '/var/www/client...') #5 [internal function]: error_handler(2, 'session_start()...', '/var in /var/www/clients/client1/web2/web/gincore/gincore/bootstrap/cache/compiled.php on line 13906
Доступ к папке storage полный
делал
php artisan cache:clear
Как исправить эту ошибку?
Не в сети
Сделал вот это все и все равно глухо
sudo chown -R root:www-data storage (ownership to members of..)
sudo chmod -R g+rwX storage (permissions recursively)
sudo chmod g+s storage (affect future sub-directories)
.env was misisng on the remote server (.gitignore)
Не в сети
Если это не продакшн, то делай sudo -R 777 storage bootstrap/cache
Не в сети
Страницы 1