/storage/logs 中没有现有目录且无法构建:权限被拒绝 [英] There is no existing directory at /storage/logs and its not buildable: Permission denied

查看:22
本文介绍了/storage/logs 中没有现有目录且无法构建:权限被拒绝的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 OVH Web 服务器上部署 Laravel 时遇到问题.制作完成后

I have a problem with my Laravel deployment on a OVH web server. After made

composer update

php artisan cache:clear

php artisan route:clear

php artisan dump-autoload

我有这个答案:
/storage/logs 中没有现有目录且不可构建:权限被拒绝
我把所有文件都放在 777 chmod 上,但我总是有这个答案.

I have this answer:
There is no existing directory at /storage/logs and its not buildable: Permission denied
I put all the files on 777 chmod but I have always this answer.

推荐答案

请尝试以下命令

php artisan route:clear

php artisan config:clear

php artisan cache:clear

注意:如果您是 Homestead &VirtualBox 用户,请确保您的 VirtualBox 是最新的.

Note: In case you are a Homestead & VirtualBox user, please be sure that your VirtualBox is up to date.

它帮助了这个线程在laracasts

这篇关于/storage/logs 中没有现有目录且无法构建:权限被拒绝的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆