Articles in this section

The Plesk login page reloads in a loop on CentOS/RHEL-based distributions

Plesk for Linux kb: technical

Applicable to:

  • Plesk for Linux

Symptoms

  • The Plesk login page reloads in a loop.

  • The web browser console shows the following error:

    POST: https://203.0.113.2:8443/cp/graphql 400 (bad request)

  • The following command shows duplicated Plesk packages:

    # plesk sbin pum --check
    ...
    plesk-config-troubleshooter-18.0-2.centos.7+p18.0.46.2+t220920.1457.noarch is a duplicate with plesk-config-troubleshooter-18.0-2.centos.7+p18.0.46.1+t220905.1648.noarch
    plesk-config-troubleshooter-18.0-2.centos.7+p18.0.49.2+t230110.1619.noarch is a duplicate with plesk-config-troubleshooter-18.0-2.centos.7+p18.0.46.2+t220920.1457.noarch
    plesk-dns-bind-driver-18.0-2.centos.7+p18.0.46.2+t220920.1457.x8664 is a duplicate with plesk-dns-bind-driver-18.0-2.centos.7+p18.0.46.1+t220905.1648.x8664
    plesk-dns-bind-driver-18.0-2.centos.7+p18.0.49.2+t230110.1619.x8664 is a duplicate with plesk-dns-bind-driver-18.0-2.centos.7+p18.0.46.2+t220920.1457.x8664
    plesk-dovecot-2.3.19.1-2.centos.7+p18.0.46.2+t220920.1457.x86_64 has missing requires of plesk-dovecot-core = ('0', '2.3.19.1', '2.centos.7+p18.0.46.2+t220920.1457')
    ...

  • The following command shows Plesk files in the /usr/local/psa directory:

    # rpm -qa | grep plesk | while read i; do rpm -V $i; done | grep -v "python"

Cause

Some Plesk packages are duplicated or corrupted.

Resolution

  1. Connect to the server via SSH

  2. Resolve the issue with duplicate Plesk packages using the steps from this KB article.

    Note: Remove those extra packages that have a different version from Plesk.

  3. Find corrupted Plesk packages:

    3.1. Run the following command to find corrupted files in the /usr/local/psa directory:

    # rpm -qa | grep plesk | while read i; do rpm -V $i; done | grep -v "python"
    ...
    S.5....T. /usr/local/psa/admin/cp/public/javascript/main.js
    S.5....T. /usr/local/psa/admin/cp/public/javascript/main.js.map
    ...

    3.2. Check the Plesk file from the output above to find the corrupted package:

    # rpm -qf /usr/local/psa/admin/cp/public/javascript/main.js

    plesk-control-panel-18.0-2.centos.7+p18.0.38.3+t211001.1903.noarch

  4. Remove the package:

    # rpm -e --nodeps plesk-control-panel-18.0-2.centos.7+p18.0.38.3+t211001.1903.noarch.rpm

  5. Rerun Plesk Update:

    # plesk installer update

  6. Repeat steps 3-5 until the command below stops returning files in the /usr/local/psa directory:

    # rpm -qa | grep plesk | while read i; do rpm -V $i; done | grep -v "python"

Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.