Plesk

Unable to access Domains tab after Plesk upgrade to Plesk Obsidian 18.0.57: Cannot read properties of undefined (reading ‘state’)

Symptoms

Domains tab cannot be opened after Plesk upgrade to Plesk Obsidian 18.0.57:

Type TypeError
Message Cannot read properties of undefined (reading 'state')
Stack trace
TypeError: Cannot read properties of undefined (reading 'state')
at S (https://server.example.com:8443/cp/javascript/views/admin/domain/list.js?3497a984aac4e1c1a42e:1:31650)
at kl (https://server.example.com:8443/ui-library/plesk-ui-library.min.js?1699885424:35:62823)
at Ci (https://server.example.com:8443/ui-library/plesk-ui-library.min.js?1699885424:35:119678)
at yc (https://server.example.com:8443/ui-library/plesk-ui-library.min.js?1699885424:35:108830)
at bc (https://server.example.com:8443/ui-library/plesk-ui-library.min.js?1699885424:35:108758)
at vc (https://server.example.com:8443/ui-library/plesk-ui-library.min.js?1699885424:35:108621)
at cc (https://server.example.com:8443/ui-library/plesk-ui-library.min.js?1699885424:35:105762)
at Vs (https://server.example.com:8443/ui-library/plesk-ui-library.min.js?1699885424:35:46664)
at rc (https://server.example.com:8443/ui-library/plesk-ui-library.min.js?1699885424:35:102858)
at to (https://server.example.com:8443/ui-library/plesk-ui-library.min.js?1699885424:35:68150)

In /var/log/plesk/panel.log the following error is shown:

[2023-11-21 18:36:29.825] 31857:655cf8ad6feda ERR [panel] Db_Table_Exception: Unable to find row with id 168 in domain_aliases table.

Cause

Product issue:

Resolution

Please consider updating your server:

Workaround

If update is not possible for some reason you may try the following

workaround

Until the bug is fixed apply a hotfix:

1. Log in to Plesk server via SSH

2. Backup /usr/local/psa/admin/plib/AdminPanel/View/List/Domains.php file:

# cp /usr/local/psa/admin/plib/AdminPanel/View/List/Domains.php{,.orig}

3. Download hotfix from attachment and replace the file:

# wget https://support.plesk.com/hc/en-us/article_attachments/19238425375895/Domains.php
# mv Domains.php /usr/local/psa/admin/plib/AdminPanel/View/List/Domains.php

 

Exit mobile version