Articles in this section

White screen after login page in Plesk: TypeError: Cannot read properties of undefined (reading 'config')

Plesk for Linux kb: technical

Symptoms

  • After logging into Plesk, white screen is displayed and the following errors are displayed in the browser console:

PLESK_ERROR: TypeError: Cannot read properties of undefined (reading 'config')
Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'config')
Uncaught (in promise) Error: Cannot query field "webSocket" on type "Config".
TypeError: Cannot read properties of null (reading 'select')
Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'container')
TypeError: Cannot read properties of undefined (reading 'logo')
TypeError: E is undefined

  • The same error can occur in an attempt to access PHP Settings or DNS Settings pages in Domains > example.com.

Cause

Corrupted Plesk installation, possibly due to previously failed update.

Resolution

  1. Connect to the server via SSH
  2. Install the missing packages using the following command:

# plesk installer --select-release-latest --upgrade-installed-components 

restore the logo file: # cd /usr/local/psa/admin/htdocs/images/logos # cp logoImg-C8ahMm powered-logo.png
2. reinstall plesk-core package for current Plesk version and Linux flavor, for example: # wget http://ch.origin.autoinstall.plesk.com/PSA_18.0.55/dist-rpm-RedHat-el8-x86_64/base/plesk-core-18.0-2.redhat.8+p18.0.55.0+t230825.0745.x86_64.rpm # rpm -Uvh --force --nodeps plesk-core-18.0-2.redhat.8+p18.0.55.0+t230825.0745.x86_64.rpm

Was this article helpful?

Comments

1 comment
Date Votes
  • Still have the same problem after running this... Can't do anything I get that big error when trying to log in. Tried this and repairing the installation - neither help.

    Common guys, 20+ years of development and this is the best you can do? Why does the entire system need to come to a screeching halt over some issue displaying a logo?

    0

Please sign in to leave a comment.