Storage in laravel says symlink - no such file

后端 未结 12 1970
离开以前
离开以前 2020-12-07 22:39

I deployed laravel app on shared hosting in public_html/app folder. Here is everything from public folder. In /../../files I have rest of files. When I do php artisan storag

12条回答
  •  臣服心动
    2020-12-07 23:44

    Follow these three steps:

    1. Remove storage file from public folder.

      rm public/storage

    2. If storage folder is there in your root directory, remove public file inside app folder.

      rm storage/app/public

    3. Run link command

      php artisan storage:link

提交回复
热议问题