The stream or file "/www/wwwroot/la.cmsbj.cn/storage/logs/laravel.log" could not be opened in append mode: failed to open stream: Permission denied
按提到的路径找到log目录,设置权限755
如果出现
laravel-admin 出现SQLSTATE[42S01]: Base table or view already exists: 1050 Table ‘users‘ already exist
解决办法:
AppServiceProvider.php中增加
use Illuminate\Support\Facades\Schema;
然后在
boot方法中输入Schema::defaultStringLength(191);
然后把数据表中user表删掉(如果数据库之前没有其他表就把里面的表都删掉)
然后重新运行php artisan admin:install
https://blog.csdn.net/Terry_R/article/details/116590053