Website on Plesk server suddenly started to show 500 error: AH10292: Invalid proxy UDS filename

If you’re seeing a page that looks like the screenshot above and receiving an error message in the logs like the one below, then you need to fix the issue with apache2 server.

500 error: AH10292: Invalid proxy UDS filename

If you’re getting the following error after rune the

Ubuntu 20.08 Severs

If you’re using Ubuntu 20.08, run the following commands:

Check if you’re using apache2.4.41 for ubuntu3.5

grep 'status installed' /var/log/dpkg.log | grep apache2:amd64

Output:

2021-09-27 12:46:57 status installed apache2:amd64 2.4.41-4ubuntu3.5

Apply the patch

Downgrade Apache to the previous version:

export version="2.4.41-4ubuntu3"; apt-get install apache2=$version apache2-utils=$version apache2-data=$version apache2-bin=$version

Set to “hold” package for updates:

apt-mark hold apache2

For Ubuntu 18.08 and above

Downgrade Apache to the previous version:

export version="2.4.29-1ubuntu4"; apt-get install apache2=$version apache2-utils=$version apache2-data=$version apache2-bin=$version

Set to “hold” package for updates:

apt-mark hold apache2

Troubleshooting the commands above

# export version="2.4.41-4ubuntu3"; apt-get install apache2=$version apache2-utils=$version apache2-data=$version apache2-bin=$version
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Version '2.4.41-4ubuntu3' for 'apache2' was not found
E: Version '2.4.41-4ubuntu3' for 'apache2-utils' was not found
E: Version '2.4.41-4ubuntu3' for 'apache2-data' was not found
E: Version '2.4.41-4ubuntu3' for 'apache2-bin' was not found

if you’re getting an error like the one above, then you will need to run the following commands:

sudo add-apt-repository ppa:ondrej/apache2
sudo apt install apache2