I migrated my laravel saas site from one host to another but its throwing error:
There is no existing directory at "/home4/username/abc.com/storage/logs" and it could not be created: Permission denied.
How it fix it? Please help.
I gave permissions to the logs folder and even changed the database but still the issue and the path it is showing belongs to my old host but I have migrated my website to new host.
Start by checking the
.envfile on the new host.Verify the user running
apache2ornginxhas correct permissions to these Laravel folders.In the
config/logging.php, check folders and code there for logging.Clear all cache