"502 Bad Gateway" - problem with PHP-FPM
-
Hi folks,
Forgive me if this question has been asked before/recently but I have found myself locked out of the Web GUI for some time now. The error presents immediately after I submit credentials.
Restarts have no effect and my scenario doesn't seem like the posts I have found online where the "502 Bad Gateway" message appears only after some uptime. In this case, it is constant and happens instantly after boot.
I did some digging and determined that the PHP-FPM child process is throwing an error whenever I hit the "Login" button:
WARNING: [pool www] child 96405 said into stderr: "pfctl: /dev/pf: Permission denied"
My understanding is that permissiosn on /dev/pf control "who" is allowed to make changes to firewall rules, so I am reluctant to start monkeying around with these permissions. Has anyone run into an error like this before?