找不到 Laravel8 存储文件
php artisan storage:link
本地工作正常。 在没有启动 php artisanserve 的情况下部署后,它在存储中找不到文件。 符号链接已上线。
php artisan storage:link
local worked fine.
After deployment without start php artisan serve
it doesnt find the files in storage.
Symlink is online.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
如果您有权访问 ssh 或远程终端:
If you have access to ssh or to the remote terminal:
好吧,如果我自己制作符号链接,效果很好。
使用
ln -s ../storage/app/public storage
而不是
php artisan 存储:链接
ok if I make symlink on my own it worked fine.
use
ln -s ../storage/app/public storage
instead of
php artisan storage:link