Patch 5 Gives me a 500 Headache

Just applied Patch 5 .
And ended up with this
[Sun Aug 19 06:18:50.412802 2018] [mpm_prefork:notice] [pid 5147] AH00163: Apache/2.4.18 (Ubuntu) mod_perl/2.0.9 Perl/v5.22.1 configured – resuming normal operations
[Sun Aug 19 06:18:50.412911 2018] [core:notice] [pid 5147] AH00094: Command line: ‘/usr/sbin/apache2’
[Sun Aug 19 06:19:24.401218 2018] [:error] [pid 5150] [client 24.50.232.68:6980] PHP Warning: Unknown: failed to open stream: Permission denied in Unknown on line 0
[Sun Aug 19 06:19:24.401365 2018] [:error] [pid 5150] [client 24.50.232.68:6980] PHP Fatal error: Unknown: Failed opening required ‘/var/www/openemr/sql_upgrade.php’ (include_path=’.:/usr/share/php’) in Unknown on line 0
[Sun Aug 19 06:27:32.378572 2018] [:error] [pid 5151] [client 24.50.232.68:19915] PHP Warning: require_once(/var/www/openemr/sites/default/config.php): failed to open stream: Permission denied in /var/www/openemr/interface/globals.php on line 143
[Sun Aug 19 06:27:32.378677 2018] [:error] [pid 5151] [client 24.50.232.68:19915] PHP Fatal error: require_once(): Failed opening required ‘/var/www/openemr/sites/default/config.php’ (include_path=’.:/usr/share/php’) in /var/www/openemr/interface/globals.php on line 143

Ubuntu 16.04
Apache/2.4.18
MySQL 5.7.23
PHP 7.0.30

Thank you in Advance

hi @APerez, you’re missing the sql_upgrade file? are you trying to patch multi-site?

also should be using sql_patch.php here and not sql_upgrade.php

Hi all
It started with sqlconf.php and as I fixed permissions to root:www-data and config.php all the way up to sql_patch and sql_upgrade. Yup both are there.