When I change the storage directory to 777, the page can be displayed normally, or the log under logs can be accessed normally after deleting it. However, I have set the storage directory to 777 a long time ago, and every time I set it like this, it will take a while. The time cannot be displayed normally again
Possible reasons
I have encountered a situation where the owner is between apache and root users. There will be such a situation. The user apache specified by php-fpm uses the root user when granting permissions. Especially when using the daily mode of laravel logs. The new file does not have 777 permissions.
Check
Check whether the user specified by php-fpm has all permissions for storage.
Solution
Change the user group where the folder is located.
Enable debugging of the .env file, if not, check the server log
chown to set up user nginx or Apache
chmod and add -R