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

Follow

Comments

318 comments

  • Avatar
    AP

    I can't solve this problem. whenever I try this solution I get the following message "The System Updates tool is already installing updates in automatic mode. Please try later."

    Please advise. thank you

    0
    Comment actions Permalink
  • Avatar
    Edward Greenberg

    Thank you for the fix.  Perhaps you can send out a mailing next time. If you can send me a notice that my monthly cost is going up, you can also notify me when sites are broken. 

     

    0
    Comment actions Permalink
  • Avatar
    Andrés Villarroel Rojas

    Is NOT working to us. We have an Ubuntu 20 on Lightsail (Amazon)... We can see 9 new packages, but Plesk doesnt let us to install them... very sad. Our clients are very angry.... This was a very disaster to us 

     

     

    0
    Comment actions Permalink
  • Avatar
    Andrés Villarroel Rojas

    Is not working to us. Plesk said:

     

    Error de actualización.

    • 2021-09-28 14:59:51 INFO: pum is called with arguments: ['--update', '--json', '--', 'apache2', 'apache2-bin', 'apache2-data', 'apache2-utils', 'vim', 'vim-common', 'vim-runtime', 'vim-tiny', 'xxd']
    • 2021-09-28 14:59:54 INFO: updating packages: vim-common apache2-data vim-runtime vim xxd apache2-bin vim-tiny apache2 apache2-utils
    • 2021-09-28 14:59:54 ERROR: E:dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
    • 2021-09-28 14:59:54 ERROR: Exited with returncode 1.
    0
    Comment actions Permalink
  • Avatar
    Manuel Wiesert

    Nur fehlermeldungen ... nischt geht ... sch******

    0
    Comment actions Permalink
  • Avatar
    Anton Maslov

    Andrés Villarroel Rojas it seems like there are some pending/broken updates. Please login to the server SSH console and execute "dpkg --configure -a" as suggested.

    1
    Comment actions Permalink
  • Avatar
    LyfeRadio

    When i follow the guide from the OP, and hit Recheck, it doesn't find any updates.

    this is the latest according to the panel: apache2-bin 2.4.29-1ubuntu4.17

    However this article says apache2-bin 2.4.29-1ubuntu4.18 is the latest version.
    I do not get that version though, or is the version being deployed later in the EU ?

    0
    Comment actions Permalink
  • Avatar
    Johannes Reitter (Edited )

    Same here, German server @ Strato.

    Downgraded eralier this morning, now followed the instructions for the update. Nothing works. Downgraded again and waiting for a new fix.

    Edit: changing the repos helped, see further down below.

    1
    Comment actions Permalink
  • Avatar
    Netdata1

    Server 500 error 

     

    apt-mark unhold apache2

    apache2 was already not hold.

    went to Plesk system updates : no updates ALL sites still offline for 12 hours 

    Can any one please help!

    0
    Comment actions Permalink
  • Avatar
    LyfeRadio

    Netdata1

    You can as a work around setup the websites to use FastCGI for the time being.
    It will resolve the issues temporary, i have that setup for now. Until Strato deploys the correct Apache versions.

    0
    Comment actions Permalink
  • Avatar
    maxr2011 (Edited )

    Johannes Reitter and LyfeRadio and Netdata1

    Also using Strato.

    To update to 2.4.29-1ubuntu4.18 you have to use official ubuntu repositories.

    Here you can simply generate one by yourself: https://repogen.simplylinux.ch/generate.php

    afterwards just paste in /etc/apt/sources.list and comment out the Strato ones. This one works for me

     

    Paste the following for Ubuntu 18.04:

    ###### Ubuntu Main Repos
    deb http://de.archive.ubuntu.com/ubuntu/ bionic main restricted universe multiverse

    ###### Ubuntu Update Repos
    deb http://de.archive.ubuntu.com/ubuntu/ bionic-security main restricted universe multiverse
    deb http://de.archive.ubuntu.com/ubuntu/ bionic-updates main restricted universe multiverse

     

    and on Ubuntu 20.04:

    deb http://de.archive.ubuntu.com/ubuntu/ focal main restricted universe multiverse
    deb http://de.archive.ubuntu.com/ubuntu/ focal-updates main restricted universe multiverse
    deb http://de.archive.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse
    deb http://de.archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse

     

    apt-mark unhold apache2
    apt-get update
    apt-get upgrade

    Hope I could help!

    4
    Comment actions Permalink
  • Avatar
    Johannes Reitter

    maxr2011 Cheers mate! That did the trick. 

    1
    Comment actions Permalink
  • Avatar
    Andrés Villarroel Rojas

    @Anton Maslov

     

    Thanks. In my case I did:

    • Try to update the new packages, and Plesk gave me an error
    • I changed one by one all my sites from FPM to FastCGI

    That fixed my problem 

    Then, with less pression, I ran "dpkg --configure -a" as a Root, and Plesk let me aply the new packages

     

    This day was terrible. Thanks for all the info share for us, but.... Plesk guys, please, check the new realeases before to update! .... please

    1
    Comment actions Permalink
  • Avatar
    Sven Buchien (Edited )

    There is no need to change the Strato-Repositorie. You can fix it with this solution and than you can wait for the new update:

     

    1. Replace the updated version of PhysicalHosting.php

    # wget https://support.plesk.com/hc/en-us/article_attachments/4407408199954/PPPM-13232.tgz && tar -xvf PPPM-13232.tgz -C /usr/local/psa/admin/plib/Template/Variable/Domain/

    2. Rebuild webserver config

    # plesk sbin httpdmng --reconfigure-all


    3. Remove the hold status for apache2

    # apt-mark unhold apache2

    4. Update & Upgrade

    # apt-get update & apt-get upgrade

    0
    Comment actions Permalink
  • Avatar
    Luca Brezzi

    I'm on Ubuntu 18.04.6 and it says "up to date" near every apache2 2.4.29 element. I assume this is the latest update, right? But nothing changed. Do I need to restart everything? My websites still display Error 500, unless I use PHP FastCGI

    0
    Comment actions Permalink
  • Avatar
    LyfeRadio

    I'll just wait for Strato to release the update, this stuff is giving me a headache. Plus my sites work fine at the moment, so its all good.

    1
    Comment actions Permalink
  • Avatar
    Graham Oliver

    What a fright it gave me! Thank you for this easy-to-apply fix. And thank you Google for leading me to this page.

    0
    Comment actions Permalink
  • Avatar
    Markus (Edited )

    I would suggest you to not use the official archive.ubuntu.com repository at that moment, as it is extremely slow (300KB/s) right now, use de.archive.ubuntu.com for example as provided above.

    0
    Comment actions Permalink
  • Avatar
    Tjerk Visser

    LyfeRadio Same here. Did the fix and was down again because of the Strato Repository. Got the site running again and will now wait to for strato to update the good files.

    1
    Comment actions Permalink
  • Avatar
    maxr2011 (Edited )

    LyfeRadio 

    I wondered why they still did not release new versions. Previously I thought maybe the strato apt repository is just a proxy to the official ubuntu - for security purposes, but it seems they have their own apt repository set up with own versions.

    Not sure which one is better to use atm

    0
    Comment actions Permalink
  • Avatar
    Tim Walker

    did the fast-cgi work around, and it worked for the site... but clients cant log in to wordpress? Logs show [crit] 1998899#0: *10786407 connect() to unix:///var/www/vhosts/system/sitename/php-fpm.sock failed (2: No such file or directory) while connecting to upstream.

    I get that there is a new fix, but nervous to apply during the day...  seasoned Windows Server admin pretending to know Ubuntu makes me nervous.

    1
    Comment actions Permalink
  • Avatar
    Ben Hu (Edited )

    Hi thanks for the swift response on this.

    I did the version 1 fix (downgrade apache2 to 2.4.41-4ubuntu3) and redid the final fix per released by apache launch, now the service is running however when I checked the running version of apache2, it shows:

    httpd -version: 2.4.41-4ubuntu3.4

    My understanding is that we have now updated to

    2.4.41-4ubuntu3.5

    right? What happened here?

    =====

    Did a refresh in the Plesk backend now after a few hours, seeing 2.4.41-4ubuntu3.6
    I did have executed a reboot of my server after patching this morning. Any way glad to see this is finally fixed. Thank you for you guys' greatest effort on this.

    1
    Comment actions Permalink
  • Avatar
    Alce Cabeza

    OH thank you so much! My apache2 was already unhold, so I updated and upgraded the system and it worked for me. Thank God!

    0
    Comment actions Permalink
  • Avatar
    Taylor Latch

    Thanks

    0
    Comment actions Permalink
  • Avatar
    Islem Fer

    Thank You

    0
    Comment actions Permalink
  • Avatar
    Jimmy Saputra

    Same errors for all my websites, it's been 5 days

    0
    Comment actions Permalink
  • Avatar
    Joachim Weisse

    My way to fix for my Strato dedicated root servers with Ubuntu 18.04 LTS

    1. login to your SSH console, then type in:

    sudo apt-mark unhold apache2

    2. copy /etc/apt/sources.list to /etc/sources.list.strato to save the original Strato sources list
    3. copy the posted sources.list for Ubuntu 18.04 LTS from here, certain posts above:

    ###### Ubuntu Main Repos
    deb http://de.archive.ubuntu.com/ubuntu/ bionic main restricted universe multiverse

    ###### Ubuntu Update Repos
    deb http://de.archive.ubuntu.com/ubuntu/ bionic-security main restricted universe multiverse
    deb http://de.archive.ubuntu.com/ubuntu/ bionic-updates main restricted universe multiverse

    and paste them to a clear new sources.list file at /etc/apt/ directory.

    Hint: you can use also the Midnight Commander (simply type "mc" and Enter at your SSH console). Just copy at next step here the new sources.list from step 3, open now the old sources.list at your Ubuntu server with MCEdit by hitting F4 after seleting the old sources.list file at Midnight Commander, clear it complete and then press Shift + Insert to paste the former copied text from your Windows clipboard in your new sources.list file. Hit F10 and yes to save the file.

    4. run now the apt update and upgrade:

    sudo apt update && sudo apt upgrade

    5. revert back your former saved original strato sources.list.strato to sources.list
    Easy with MC - just copy (F5) the marked /etc/apt/sources.list strato file to /etc/apt/sources.list and overwrite the former changed file this way.

    Now you should up to date and have set back your original Strato sources.list file.
    Plesk inform you that you at your Plesk control panel you now uses up to date apache2-bin 2.4.29-1ubuntu4.18 (Ubuntu for bionic-updates by Ubuntu)

    6. If all worked fine now, you should cleanup a little bit to save some space at your servers hdd by cleaning from unused older packages:

    sudo apt autoremove && sudo apt autoclean

     

    Thats all - this way you should be up to date and without the ERROR 500 message. ;-)
    Greetings

    1
    Comment actions Permalink
  • Avatar
    Faisal Rahman

    Thanks.. yesterday had an error and today is fine by itself :)

    0
    Comment actions Permalink
  • Avatar
    Roberto Ferrer

    I'm using Plesk with AWS Lightsail, how and where exactly can apply this updates?

    I don't see the 'Tools & Settings...' that you are referring to.

    Thank you in advance for your help.

    R

     

    0
    Comment actions Permalink

Please sign in to leave a comment.

Have more questions? Submit a request