• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Resolved TypeError data.site is null

rik

Basic Pleskian
Username:

TITLE

TypeError data.site is null

PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE

Plesk for VPS Web Admin Edition 18.0.56
AlmaLinux 8.9

PROBLEM DESCRIPTION

When I try to log in to Plesk and access the URL, the following message appears and I cannot do anything.

Type TypeError
Message data.site is null
Stack trace

1308/DynamicListRowBody/body<@https://domain.tld/cp/javascript/views/smb/web/view.js?c762409bde0643f26734:75:47882
useMemo@https://domain.tld/ui-library/plesk-ui-library.min.js?1699278827:35:69146
s</t.useMemo@https://domain.tld/ui-library/plesk-ui-library.min.js?1699278827:12:6045
DynamicListRowBody@https://domain.tld/cp/javascript/views/smb/web/view.js?c762409bde0643f26734:75:47777
Cl@https://domain.tld/ui-library/plesk-ui-library.min.js?1699278827:35:62823
ki@https://domain.tld/ui-library/plesk-ui-library.min.js?1699278827:35:119678
yc@https://domain.tld/ui-library/plesk-ui-library.min.js?1699278827:35:108832
bc@https://domain.tld/ui-library/plesk-ui-library.min.js?1699278827:35:108760
vc@https://domain.tld/ui-library/plesk-ui-library.min.js?1699278827:35:108621
cc@https://domain.tld/ui-library/plesk-ui-library.min.js?1699278827:35:105764
Vs@https://domain.tld/ui-library/plesk-ui-library.min.js?1699278827:35:46664
rc@https://domain.tld/ui-library/plesk-ui-library.min.js?1699278827:35:102858
to@https://domain.tld/ui-library/plesk-ui-library.min.js?1699278827:35:68150
Q/l<@https://domain.tld/cp/javascript/vendors.js?1699278827:25:8495
fe/K/<@https://domain.tld/cp/javascript/vendors.js?1699278827:36:17536
K@https://domain.tld/cp/javascript/vendors.js?1699278827:36:17523
Y@https://domain.tld/cp/javascript/vendors.js?1699278827:36:18210
W@https://domain.tld/cp/javascript/vendors.js?1699278827:36:21806

STEPS TO REPRODUCE

Whenever you access the Plesk login screen. Same thing even after reloading.

ACTUAL RESULT

plesk20231205a.png


EXPECTED RESULT

Login page is displayed

ANY ADDITIONAL INFORMATION

Same situation occurs in 3 Web Admin Editions

YOUR EXPECTATIONS FROM PLESK SERVICE TEAM

Answer the question
 
plesk20231205b.png


I have 8 plesk.
There is no problem with Web Host Edition, but there is a problem with 5 of Web Admin Edition.
If there is no subdomain, display data.site is null.
If there is a subdomain, an Internal server error will be displayed.

Even if you check with plesk repair all -n, everything will be OK.
 
Even if you check with plesk repair all -n, everything will be OK.
I checked with plesk repair all -n and everything is OK.
 
Host Edition also shows "data.site is null" when opening the domain page. The problem is occurring on all 8 Plesks. I think it was normal when I checked the Host Edition two hours ago.
 
You could try to update the plesk install using
Code:
plesk installer install-panel-updates

If that doesnt work then contact support at https://support.plesk.com/hc/en-us
thank you. However, nothing changed. Not fixed

[root@ ~]# plesk installer install-panel-updates
Downloading file products.inf3: 0%
Downloading file products.inf3: 100% was finished.
....
You already have the latest version of product(s) and all the selected components installed. Installation will not continue.
[root@ ~]#
 
I was accessing it with Firefox, but when I switched to Chrome, the message changed.
"Cannot destructure property 'screenshotUrl' of 'data.site' as it is null."
This message appears when I open the Chrome console.
plesk20231205c.png
 
ok the current release of plesk is Plesk Obsidian 18.0.57 Update 2.

You need to update to this as I believe there is a hostfix included in a recent update for this issue.

Try this:
Code:
plesk installer install-all-updates
 
The message varies depending on the browser you use. The same error message is displayed on the JavaScript console, so it seems to be a JavaScript problem, but the result does not change even after a forced reload.

- Safari
Right side of assignment cannot be destructured
- Firefox
data.site is null
- Chrome
Cannot destructure property 'screenshotUrl' of 'data.site' as it is null.
 
just tested the install-all-updates command, it doesnt update plesk. Use the following command to update to the latest release;

Code:
plesk installer --select-release-latest --upgrade-installed-components
 
ok the current release of plesk is Plesk Obsidian 18.0.57 Update 2.

You need to update to this as I believe there is a hostfix included in a recent update for this issue.

Try this:
Code:
plesk installer install-all-updates
I have the same problem with another Plesk (18.0.57 Update 2).
I have 8 Plesks, and this time I confirmed that the problem occurred on all of them.
Although no special extensions are installed, 360Monitoring is set up on all eight machines.

Another Plesk. It also has the same problem.
[root@ ~]# plesk -v
Product version: Plesk Obsidian 18.0.57.2
OS version: AlmaLinux 8.9 x86_64
Build date: 2023/11/28 16:00
Revision: d67d6eef84e863abfcdcd912466650cb78b0653d
[root@ ~]#
 
Back
Top