[solved] There are no readable files in this directory tree. Are safe mode or open_basedir active? migrating 3.3.0.8 to a new server

Hello,

I am migrating to a new server. Moved DB and all the files, installed a new SSL certificate and now receive the following message when accessing the site

There are no readable files in this directory tree. Are safe mode or open_basedir active?

Tried to follow this threads

But those seem to be not my case

What application are you using?
Code version: 3.3.0.8
Database version: 3.3.0.11

Would appreciate a peace of advice on how to tackle this issue,
thank you

Solved. The server did not see “files” folder outside of “public_html”

Hi @Vladislav_Mavrin,

If you’ve moved the files_dir inside public_html, you’ll have to take additional steps to protect it from direct access; otherwise your server is likely to get hacked. You can do this using e.g. a .htaccess file to configure basic authentication.

Regards,
Alec Smecher
Public Knowledge Project Team

thank you @asmecher

At the moment I am just testing the new server before making it life. But I will take all the security recommendations.

1 Like