• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • 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.

Unable to update hosting preferences: hosting update is failed: object ID is invalid

S

Synoptic

Guest
When i'm trying to create a new domain - after updated to 8.1.1 and to 8.2 (was getting hte same error before updating to 8.2). I get this error : Unable to update hosting preferences: hosting update is failed: object ID is invalid.

This happens when I want to create a physical hosting. After getting the error, the somain is listed, but still need to be setup. Going back to the setup of the domain, I get the same error.

I would like to know if there is a log file in which I could look in. By experience, this error is a result of a database query not being completed - missing something.
 
Looks like update didn't went well and database is inconsistent. There are several signs of failed upgrade:

1) two installed 'psa' rpms -- old one and new one
2) versions of rpm and /usr/local/psa/version do not match
3) there are errors in upgrade logs in /tmp/

If update had failed it should be rolled-back to previous version and re-done.
 
Ok, how do I troubleshoot this ? How do I revert back ?

Which package is mostly causing this ?
 
Ok, how do I troubleshoot this ? How do I revert back ?

Which package is mostly causing this ?

Here is the deal: in order to troubleshoot this problem you should find initial error that caused it.
So firstly check /tmp/autoinstaller3.log (Plesk update log) for error messages. If you find any paste them here.

Generally troubleshooting of problems with issues in changing database during update include the following:
1. Create dump of current database state (just in case)
2. Restore preupgrade database dump. It is usually stored in /var/lib/psa/dumps
3. Run upgrade once again by downloading Plesk distribution tarball from ftp://download1.swsoft.com/Plesk. unpacking it and installing appropriate packages using "rpm -Uvh --force" command
Note: base Plesk packages are in ../base and directories of tarball. ../opt directory contains optional packages (modules, etc).

It is for you to decide but I'd rather check updater logs first prior to applying this troubleshooting scheme.
 
My log file does not contain the initial problem in it. I deleted the file before I got aware of the problem.
 
Ok, I found the problem. I have mounted a new disk under the vhost directory, but I had forgotten to move the .skel directory.

I didint know that there was the httpsd log file in the psa admin directory, this would have saved me 10 hours.
 
Back
Top