Blank screen for UI after post_upgrade - permissions issue

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?

I found the answer in an Oct 7 2020 thread from mvogel4949. Cynjut guided him to httpd permissions. In the httpd.conf file in /etc/httpd/conf, I changed the User and Group from Apache to Asterisk and it came back good as new.

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.