• The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

How to fix "Unable to load object of type PhDomain with id=1: Domain does not exist."

DocF

New Pleskian
Hi,

I want to call.
/usr/local/psa/bin/server_pref -u -crontab-secure-shell "/bin/sh"
and get
Unable to load object of type PhDomain with id=1: Domain does not exist.

Ho can it get fixed? It's a Plesk 11.0.9 upgraded from Plesk 10.

Thx,
Christian
 
It is database inconsistency. There is no record for domain ID 1 in 'domains' table but corresponding record exists in 'hosting' table. Try to remove this record from 'hosting' table if you are absolutely sure thad domain doesn't exist or contact Support Team if you are not familiar with SQL.
 
Thank you very much. "SUCCESS: Server preferences are successfully updated" after deleting the inconsistent record from hosting. To find such records try this:
SELECT
*
FROM
hosting h
WHERE
h.dom_id NOT IN (
SELECT
d.id
FROM
domains d
)
 
Back
Top