Articles in this section

Plesk panel is unaccessible: 500 Server erorr: Cannot read properties of undefined (reading 'viewer')

Plesk for Linux kb: technical

Symptoms

  • Plesk panel is unavailable with the following error:

    500 Server Error
    Message Cannot read properties of undefined (reading 'viewer')
    Stack trace
    TypeError: Cannot read properties of undefined (reading 'pathname')
    at g (https://example.com/cp/javascript/vendors.js?1673367587:31:5109)
    at Module.b (https://example.com/cp/javascript/main.js?1673367587:370:746)
    at m (https://example.com/cp/javascript/main.js?1673367587:370:36196)
    at _s (https://example.com/ui-library/plesk-ui-library.min.js?1673367587:26:62823)
    at _i (https://example.com/ui-library/plesk-ui-library.min.js?1673367587:26:119805)
    at yc (https://example.com/ui-library/plesk-ui-library.min.js?1673367587:26:108787)
    at bc (https://example.com/ui-library/plesk-ui-library.min.js?1673367587:26:108715)
    at gc (https://example.com/ui-library/plesk-ui-library.min.js?1673367587:26:108578)
    at ic (https://example.com/ui-library/plesk-ui-library.min.js?1673367587:26:105719)
    at Ha (https://example.com/ui-library/plesk-ui-library.min.js?1673367587:26:46664)
    at nc (https://example.com/ui-library/plesk-ui-library.min.js?1673367587:26:102815)
    at Ms (https://example.com/ui-library/plesk-ui-library.min.js?1673367587:26:65670)
    at https://example.com/ui-library/plesk-ui-library.min.js?1673367587:26:65529
    at https://example.com/cp/javascript/vendors.js?1673367587:31:14547
    at Set.forEach (<anonymous>)
    at P (https://example.com/cp/javascript/vendors.js?1673367587:31:14535)
    at L (https://example.com/cp/javascript/vendors.js?1673367587:31:14576)
    at M (https://example.com/cp/javascript/vendors.js?1673367587:31:17994)

  • The reported plesk  version with "plesk -v" or "plesk db 'select * from upgrade_history'" differs from one that is displayed when running "plesk install --console --all-versions"

Cause

Failed upgrade corrupted Plesk core files

Resolution

  1. Connect to the server via SSH.

  2. Run the following command to check the current Plesk version:

# plesk -v

  1. Execute the following command:

# plesk install --console --all-versions

Choose for installation the same version that is shown in step 2.

Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.