I have had problems upgrading my Distro Freepbx. I resolved a lot of them by using post_upgrade. But now, a permissions issue has appeared. When I went to the UI, there was just a white screen. From the browser console, I saw that config.php would not run because of permissions. Using Winscp, I changed the permissions of the file from 644 to 755 and it ran the page but gave a different permissions error: “Unknown: open(/var/lib/php/session/sess_ips7dsr32l5orr2i92riutvgi7, O_RDWR) failed: Permission denied (13)”.
I re-ran post_upgrade, and the permissions for config.php reverted to 644. How can I get my UI up and running again?