• 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!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • 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.

Issue Unable to rename subscription, access denied

MIC

New Pleskian
Server operating system version
Microsoft Windows Server 2016
Plesk version and microupdate number
Plesk Obsidian, Version 18.0.43 Update #1, last updated on April 19, 2022 02:44 AM
Hello!
I'm trying to rename a subscription (main domain) in Plesk:
"Subscriptions" > (click on subscription name) -> "Hosting settings" -> type a different name in the "Domain name" textbox (instead of the current "domain.tld" I type "domain.mydomain.tld").
Usually this works, but with this one domain I get an "Access denied" error. No further information.
In c:\Program Files (x86)\Plesk\admin\logs\php_eror.log I can see:

[2022-05-13 15:38:39] 34848:627e5f4349dde ERR [panel] Access denied
[2022-05-13 15:38:39] 34848:627e5f4349dde ERR [panel.ui] Access denied

When I try to run it from the command line I get:
-----------------
C:\Users\Administrator>plesk bin site --update domain.tld -new_name domain.mydomain.tld
An error occurred during domain update: Unable to rename the domain:

exit status 1
-----------------

Can anyone please advise on what to check?

Thanks for any suggestion.
 
Hi,

Have you tried the Plesk Repair kit?

Tools & Settings -> Diagnose & Repair -> Check Plesk Database
 
Hi,

Have you tried the Plesk Repair kit?

Tools & Settings -> Diagnose & Repair -> Check Plesk Database
Hi,
thanks for the useful tip. I tried that. It found 29 inconsistencies withing the database, however, those were just some unimportant remainders of two or three unrelated domains deleted some time ago. However, I fixed those issues anyway. But, at the top of the page, Plesk also reports the following:
The operation failed with the following error: {"id":1,"cmd":"plesk repair.exe web -php-handlers -n","type":"progress","message":"Checking the usage of PHP handlers","level":0}
{"id":2,"cmd":"plesk repair.exe web -php-handlers -n","type":"error","message":"6 service plans with unregistered PHP handlers were found.","level":1}
{"id":3,"cmd":"plesk repair.exe web -php-handlers -n","type":"info","message":"The issue could be resolved only in the interactive mode (without -y and -n options).","level":1}
{"id":4,"cmd":"plesk repair.exe web -php-handlers -n","type":"error","message":"86 domains with unregistered PHP handlers were found.","level":1}
{"id":5,"cmd":"plesk repair.exe web -php-handlers -n","type":"info","message":"The issue could be resolved only in the interactive mode (without -y and -n options).","level":1}

I am a little bit unsure as how this came to be and how to correctly fix this. None the websites should currently use PHP at all, all of them are ASP only, as far as I know. There are currently FIVE active service plans, not six, and none of them has PHP enabled. As for the domains, there's over 300 domains in total, most of which use the same service plan. I am not sure how to check which ones have the problem - I'm a little bit hesitant to run the fully automated repair on an important production server before I'm absolutely sure what's going on.
 
It usually helps when you enable the most common PHP-handlers:

Tools & Settings -> PHP Settings -> 8.* FPM application / 7.* FPM application

But that might be different in your case, even if you don't use PHP in your subscriptions. Plesk still thinks it's missing the correct PHP-handlers.

Anyway, as you can read in the warnings: "The issue could be resolved only in the interactive mode".
Try to run
Code:
# plesk repair.exe web
on the commandline and it will guide you to a solution.
 
It usually helps when you enable the most common PHP-handlers:

Tools & Settings -> PHP Settings -> 8.* FPM application / 7.* FPM application

But that might be different in your case, even if you don't use PHP in your subscriptions. Plesk still thinks it's missing the correct PHP-handlers.

Anyway, as you can read in the warnings: "The issue could be resolved only in the interactive mode".
Try to run
Code:
# plesk repair.exe web
on the commandline and it will guide you to a solution.
Thank you. I tried that, choosing to disable PHP support for all the mentioned plans and subscriptions. After some minor trouble (one website is still reporting "missing temporary directory"), it went through successfully and now the consistency check comes out clean - well, the interactive version from the command line reports no issues, but the browser version reports "0 issued detected" in the Web & FTP section (with a warning sign and the option to "show/hide issues", which shows/hides nothing. Weird.).

However, the initial problem still persists :-(.
Any other tips or ideas?
 
Back
Top