- Server operating system version
- Ubuntu 24.04.3 LTS
- Plesk version and microupdate number
- v18.0.72_build1800250901.06
Introduction
A couple of days ago I had to restore the Plesk configuration from a full-backup to a new VM on Azure, on a fresh install of Plesk.(The VM has more RAM and lacks local storage, compared to the previous VM)
The Issue
One of my three websites runs into a 504 Error on the home page and one other page. All other pages and the Wordpress backend work just fine.I believe what they have in common is a certain design element of the webdesign agency's custom theme.
The Logs

What I've Tried So Far:
- Restarting the server
- Re-Restoring the backup of the malfunctioning subscription (multiple times)
- Googeling the error and seeing if anything is similar
- Updating WP and the plugins
- Checking files which have caused problems in the past
- Re-enabling BIND DNS & Mail, followed by a new restore attempt
- Changing the default admin user back to 'admin'
The Question
What could cause this error and what else can I try?This has never happened on the old installation.
The only idea I have left is rebuilding the VM yet again and hoping for a different outcome. (Madness?)
More Details
On Thursday I decided to migrate my Plesk VM to another Azure Region. None of the Microsoft migration services worked as expected so I decided to rebuild the Plesk instance from scratch. (The IP changed and I moved from a Standard_D2lds_v5 to Standard_D2as_v5)On the new VM, I applied some basic settings and removed unneeded components: DNS BIND, Mail hosting, Webmail Services
followed by the FTPS upload of the full-backup. (It was too large for browser upload)
The error logs of the restore are here:
WARNING: () The webmail service roundcube is unavailable. It will be replaced with none for the following service plans: Admin Simple, Default Domain, Unlimited, Default Simple
WARNING: () The DNS service is not installed. The DNS settings will not be restored for the following objects: Server settings, demo.MYDOMAIN.at, nice-newton.***-***-***-***.plesk.page, MYDOMAIN.at, db.MYDOMAIN.at, MYOTHERDOMAIN.at, static.MYDOMAIN.at, MYOTHEROTHERDOMAIN.at, MYOTHERDOMAIN.MYDOMAIN.at
WARNING: () The time for keeping traffic statistics on some service plans is less than the server-wide value (12). The value will be changed to 12 for these service plans.
WARNING: () The traffic statistics retention time on some domains is less than the server-wide value (12). The value will be changed to 12 for these domains.
WARNING: (Restore server object '') Failed to install the extension heavy-metal-skin: The execution of post-install.php has failed with the following message:
[2025-09-05 04:18:03.060] 105290:68ba647b0dd8b ERR [panel] Execution branding_theme has failed with exit code 4, stdout: , stderr: Can not find client 'admin'
:
0: /opt/psa/admin/plib/pm/ApiCli.php:343
pm_ApiCli::filterResult(string 'branding_theme', integer '4', string '', string 'Can not find client 'admin'
', integer '5'
1: /opt/psa/admin/plib/pm/ApiCli.php:333
pm_ApiCli::execWithPipes(string 'branding_theme', string '/opt/psa/admin/bin/php -f '/opt/psa/admin/plib/api-cli/branding_theme.php' -- '-i' '-vendor' 'admin...', integer '5', array, string ''
2: /opt/psa/admin/plib/pm/ApiCli.php:73
pm_ApiCli::call(string 'branding_theme', array)
3: /opt/psa/admin/plib/modules/heavy-metal-skin/library/SkinsManager.php:173
Modules_HeavyMetalSkin_SkinsManager::installSkins()
4: /opt/psa/admin/plib/modules/heavy-metal-skin/scripts/post-install.php:21
ERROR: pm_Exception_ResultException: Execution branding_theme has failed with exit code 4, stdout: , stderr: Can not find client 'admin'
(ApiCli.php:343)
WARNING: (Restore server object '') Execution of /opt/psa/admin/plib/api-cli/mailserver.php --set-max-connections '' -ignore-nonexistent-options failed with return code 500.
Stderr is
Unable to update the maximum number of connections: 'The value must be an integer number.'
WARNING: (Restore server object '') Execution of /opt/psa/admin/plib/api-cli/mailserver.php --set-max-connections-per-ip '' -ignore-nonexistent-options failed with return code 500.
Stderr is
Unable to update the maximum number of connections per IP address: 'The value must be an integer number.'
WARNING: (Restore reseller plan object 'Default Reseller') Execution of /opt/psa/admin/plib/api-cli/reseller_template.php --update Default\ Reseller -guid d91ed89f-303e-11f0-9a6c-0022485d2510 -ignore-nonexistent-options failed with return code 1.
Stderr is
You cannot manage resellers due to license restrictions.
WARNING: (Restore user account object 'van-admin') Internal server error: <cli><failure>There is no DSMail service for domain with id = 3</failure></cli>
Due to errors in the Azure migration, the old server does not exist anymore. Only a VM backup is still available in a Vault.
Off-Topic
The error regarding the Theme extension is probably because I changed the default admin user's login name to something else. I assume the extension requires the admin user to be called "admin". Bug?Anyway, that extension even threw me an error on install and only showed 2 themes ever since.