Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

martinszeltins's avatar

There is no existing directory at "/home/martin/4evergaming.com/storage/logs" and its not buildable: Permission denied

I have installed a Laravel app on my local computer and now I am trying to move it to a shared hosting (without ssh access). But I'm getting this error

There is no existing directory at "/home/martin/4evergaming.com/storage/logs" and its not buildable: Permission denied

What does it mean? How could I fix it?

The new directory on my shared host is this

/home/4evergaming/public_html/4evergaming/
0 likes
2 replies
Snapey's avatar

it means your webserver does not have permission to write to the storage folder to create the logs directory.

Check your permissions on the storage folder and make sure it is group writable or owned by your web server user (usually www-data)

martinszeltins's avatar
martinszeltins
OP
Best Answer
Level 14

@snapey Good news! I was able to do without ssh access but I had to manually change /bootstrap/cache/config.php file and it worked

I just replaced this line

/home/martin/4evergaming.com/

with this line

/home/4evergaming/public_html/4evergaming/

And also I had to change my database config.

Please or to participate in this conversation.