Laravel storage:link keeps getting unlinked

时间:2019-04-16 23:47:09

标签: laravel laravel-5 laravel-5.2 symlink

So, every couple weeks or so I'm sent a bug report saying "File uploads have stopped working AGAIN." like clockwork.

The issue is always this dumb symlink between /public and /storage/public.

I can see the symlink never actually gets removed, but after a while it just doesn't open or do anything - trying to open it through FileZilla returns "No such file or directory".

It fixes itself if I do rm storage, then

php artisan storage:link

again, but I really don't want to have to do this all the time.

Has anyone experienced this before?

0 个答案:

没有答案