• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

Issue Debian 13: Apache Issues

Daveo

Basic Pleskian
Server operating system version
Debian 13.02
Plesk version and microupdate number
18.0.74 #1
I'm running a fresh install of Debian 13 with Plesk on my local server

I restored a full server Plesk backup.

All sites that use nginx are working.

All sites that use Apache don't work.
Error on screen is:
502 Bad Gateway
Web server received an invalid response while acting as a gateway or proxy server.

Log shows...
208308#0: *1 connect() failed (111: Connection refused) while connecting to upstream

If I go to <domain>, I get above error, but <domain>/index.php or htm/html works.

All services are running without any issues.

Any ideas on how to fix ?
 
Just tried it and got this...

Code:
# plesk repair web -y

Checking Plesk version .............................................. [OK]

Checking apache configuration ....................................... [OK]

Checking nginx configuration ........................................ [OK]

Checking for custom configuration templates ......................... [OK]

Checking associations between domains and IP addresses .............. [OK]

Checking for corrupted reference between IP collections and  
IPaddresses ......................................................... [OK]

Checking for links between APS applications and subscriptions ....... [OK]

Checking for nginx ULIMIT value ..................................... [OK]

Checking for extra configurations in database not owned by any object
................................................................... [OK]

Checking the status of the required Apache modules .................. [OK]

Checking the configuration of Apache modules ........................ [OK]

Checking web server configuration. Please wait
    Reinstalling SSL/TLS certificates ............................... [OK]
    Applying the default SSL/TLS certificate to all IP addresses .... [OK]
    Repairing web server configuration for all domains. This aspect  
    can be used with individual domains ("plesk repair web          
    example.com"), and on the server level ("plesk repair web") ..... [OK]
    Repairing server-wide configuration parameters for web servers .. [OK]

Checking the usage of PHP handlers .................................. [OK]

Checking for obsolete PHP-FPM configuration files ................... [OK]

Checking php-fpm configuration
    Repairing php-fpm configuration for all domains ................. [OK]

Error messages: 0; Warnings: 0; Errors resolved: 0

Still not fixed the issue, no Apache sites are working. Only nginx sites.

Thinking it may be worth reinstalling system back to Debian 12, instead of Debian 13.
 
I've reinstalled the server to Debian 12.12.

Installed the things I needed: redis, elasticsearch, samba, nfs and plex.

When I get back home I'll do the following...

Install Plesk
Upgrade MariaDB to 11.4 LTS
Restore full server backup
Check to make sure Apache & nginx sites are working

Will report back where this fixes issue or not.
 
All done and everything is now working fine again :)

Not sure why no Apache sites were working after restoring full server backup on Debian 13.
 
Back
Top