After Apache got updated on our Ubuntu distro, we suddenly started have Error 500 of Plesk shown on all our sites.
AH10292: Invalid proxy UDS filename (proxy:unix:///var/www/vhosts/system/example.com/php-fpm.sock|fcgi://127.0.0.1:9000/var/www/vhosts/example.com/httpdocs/public/index.php)
Then handling of UDS URIs to proxy connections from Apache to PHP-FPM seems to have been modified and that resulted with Error on Plesk.
Workaround
- Connect to the server using SSH with root privilidges.
2. Replace updated version of the file PhysicalHosting.php
to /usr/local/psa/admin/plib/Template/Variable/Domain/
:
wget https://plesk.zendesk.com/hc/article_attachments/4407408199954/PPPM-13232.tgz && tar -xvf PPPM-13232.tgz -C /usr/local/psa/admin/plib/Template/Variable/Domain/
3. Rebuild webserver configuration files:
plesk sbin httpdmng --reconfigure-all
4. Unhold apache2 package:
apt-mark unhold apache2