Articles in this section

Unable to log into Plesk using one time link after Plesk update to 18.0.61: Incorrect redirection to port 8880

kb: bug Plesk for Linux

Applicable to:

  • Plesk for Linux

Symptoms

  • Unable to access Plesk with login link generated by plesk login after Plesk update to release version 18.0.61

  • Opening the login link in web browser leads to incorrect redirection from port 443 to 8880

  • After the Plesk update the nginx configuration at /etc/nginx/plesk.conf.d/server.conf is:

    location / {
    proxy_pass http://127.0.0.1:8880;
    proxy_redirect http://$host:8880 $scheme://$host; <====================
    proxy_set_header Host $host;
    proxy_set_header X-Real-IP $remote_addr;
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_set_header X-Forwarded-Proto $scheme;
    access_log off;
    gzip on;
    gzip_types text/plain text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript application/javascript;
    }

Cause

This has been identified as a Plesk bug  currently being fixed within the same release.

As reference: PPP-64956

Resolution

This issue will be fixed in release 18.0.61 Update 1, in the meantime as a workaround apply the following steps:

  1. Connect to the server via SSH

  2. Run the following command to fix nginx configuration:

    # plesk sbin httpdmng --reconfigure-server

Was this article helpful?

Comments

5 comments
Date Votes
  • The issue still persists.

    Plesk login screen gets directed to port 8080 instead of 443.

    Have run "plesk sbin httpdmng --reconfigure-server" after the updates.

    OS: AlmaLinux 8.9 (Midnight Oncilla)
    Product: Plesk Obsidian 18.0.61 Update #1

     

    0
  • This issue still persists.

    Have updated to version 18.0.61 and still observe module links, extensions and the plesk login link redirect to the server port 8880 in the hostname. Simply removing the 8880 in the URL with no other adjustments works to the original location,

    Have also run "plesk sbin httpdmng --reconfigure-server" after the seeing the issue still existed after the update and can still reproduce the issue.

     

    OS: Ubuntu 22.04.4 LTS
    Version: Plesk Obsidian v18.0.61_build1800240514.15 os_Ubuntu 22.04

    0
  • I had to disable Google Authenticator and the MFA extension to log in because it's asking for port 8880. Also, Graphana monitoring is broken because of the port 8880 when you use Cloudflare to protect Plesk.

    2
  • I faced the same issue after enabling MFA. Had to disable it from CLI to get in to the server.

    1
  • Still have the problem using 18.0.61 Update #2 with Multi-Factor Authentication (MFA) Version 1.0.2-823. 
    Also Grafana Version 1.5.1-1289 not working because of port 8880.

    OS: Ubuntu 22.04.4 LTS
    Version: 18.0.61 Update #2

    0

Please sign in to leave a comment.