Plesk layout is broken after upgrade: the page displays empty content

Refers to:

  • Plesk 12.5 for Linux
  • Plesk Onyx for Linux
  • Plesk 12.0 for Linux
  • Plesk 12.5 for Windows

Created:

2016-11-16 13:08:33 UTC

Modified:

2017-02-03 20:23:14 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Plesk layout is broken after upgrade: the page displays empty content

Symptoms

After upgrade from Plesk 12.0 to Plesk 12.5 or Plesk Onyx, Plesk is not showing pages content. For example, domain or subscription does not show any menus and the page is just empty.

Plesk layout is broken. One of the following errors is caught by Firebug:

JavaScript error: Uncaught TypeError: Smb.Dropdown is not a function
JavaScript error: TypeError: Smb.Dropdown is not a constructor

Or:

TypeError: filterConfig is undefined

Similar errors may appear upon interaction with Plesk interface. For example:

Internal error.
TypeError: filterConfig is undefined

Or:

File Manager and Mail tab cannot be accessed.

Cause

Incomplete upgrade. In particular, duplicated plesk-core and plesk-l10n packages, or the packages (or files from packages) were not upgraded properly.

Resolution

  1. Install yum-utils package:

    # yum install yum-utils
  2. Check for duplicated packages with the command:

    # package-cleanup --dupes
    Loaded plugins: fastestmirror
    ...
    psa-12.0.18-cos6.build1200140606.15.x86_64
    psa-12.5.30-cos6.build1205150826.19.x86_64
    ...
  3. Make sure that there is no important package can be removed. Try to clean out the older versions of packages:

    # package-cleanup --cleandupes
  4. Try to upgrade again.

If actions above does not help, do the following:

Delete the following file:

# mv /usr/local/psa/admin/application/smb/views/scripts/partials/shortcuts.phtml

Otherwise move application folder

# mv /usr/local/psa/admin/application{,_backup}

Unpack .rpm/.deb plesk-core and plesk-l10n packages and put application folder into /usr/local/psa/admin/. For example:

# mkdir ~/tmp-core

# wget http://autoinstall.plesk.com/PSA_12.5.30/dist-deb-Debian-7.0-x86_64/base/plesk-core_12.5.30-debian7.0.build1205150826.19_amd64.deb
# dpkg -x ~/plesk-core_12.5.30-debian7.0.build1205150826.19_amd64.deb ~/tmp-core
# cp -pR ~/tmp-core/opt/psa/admin/application /usr/local/psa/admin/
Have more questions? Submit a request
Please sign in to leave a comment.