我使用php deployer工具(Deployer.org)在Laravel 5.5上部署我的应用程序。
当我开始使用带有symlynk存储的公共磁盘时 - >存储/程序/公, 我在deployng上遇到错误:
In Client.php line 96:
The command "/usr/bin/php /var/www/example.com/releases/1/artisan
storage:link" failed
Exit Code: 1 (General error)
Host Name: production
================
In Filesystem.php line 228:
symlink(): No such file or directory
我直接看到host / releases / 1 / public broken symlink到我当地的MacOs文件夹存储 - > /用户/用户1 /代码/项目/存储/应用程序/公共
我从头开始重复新安装Laravel项目和部署,但仍然错误。
答案 0 :(得分:0)
修正了它。我不小心推了推 公共/存储文件夹到git。 (