Dreamfactory server down after httpd restart


#1

Getting the below error in httpd error_logs:

PHP Fatal error: require_once(): Failed opening required ‘/opt/dreamfactory/platform/web/…/vendor/autoload.php’ (include_path=’.:/usr/share/pear:/usr/share/php’) in /opt/dreamfactory/platform/web/index.php on line 54

While browsing the url , it gives blank page and internal server error…

It is CentOS on AWS

How can we resolve this ?


#2

verify that the file /opt/dreamfactory/platform/vendor/autoload.php exists and is readable by the user that runs the httpd


#3

Agreed with @drewpearce. It’s possible when you restarted Apache, the web service was started as a different user with different permissions. Especially if you installed with one user or if you have a separate www-data user, then used a sudo command to restart the service.