mardi 16 avril 2019

Laravel storage:link keeps getting unlinked

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?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire