• 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.

[SOLVED] Error "cu_repair__option_validate_configuration_no_extension" after upgrading Debian

LarsenD

Regular Pleskian
I noticed this error when upgrading some servers from Debian Wheezy to Debian Jessie, but Google didn't know about it. So hopefully this will help someone else.

Plesk version was 12.5.30. Right now it is MU#14. Don't recall which MU it was then.

After running the dist-upgrade, I started the Plesk post-script "/usr/lib/plesk-9.0/distupgrade.helper.deb7-deb8_post.x64.sh". This led to "websrvmng: /opt/psa/admin/sbin/apache_control_adapter execution failed:". Probably the reason was "apache2: Syntax error on line 140 of /etc/apache2/apache2.conf: Could not open configuration file /etc/apache2/mods-enabled/php5_cgi.load: No such file or directory".

I don't know why this failed as it was not a problem on other servers. Solved by "a2dismod php5_cgi". Afterwards, "/etc/apache2/plesk.conf.d/ip_default" was empty. I restored the symlink that had been there before the upgrade.

Then I started "plesk repair all -v -n" and got
Code:
cu_repair__option_validate_configuration_script

  cu_repair__option_validate_configuration_no_extension ............. [ERROR]

As a side-effeect, "/usr/local/psa/bin/pleskbackup --server --configuration" failed with:
Code:
Use of uninitialized value $errCode in numeric eq (==) at /opt/psa/PMM/agents/PleskX/PmmCli.pm line 40.
Use of uninitialized value $errCode in numeric eq (==) at /opt/psa/PMM/agents/PleskX/PmmCli.pm line 41.
Use of uninitialized value $errCode in numeric eq (==) at /opt/psa/PMM/agents/PleskX/PmmCli.pm line 42.
Use of uninitialized value $errCode in numeric eq (==) at /opt/psa/PMM/agents/PleskX/PmmCli.pm line 43.
Use of uninitialized value $errCode in numeric eq (==) at /opt/psa/PMM/agents/PleskX/PmmCli.pm line 44.
Use of uninitialized value $errCode in numeric eq (==) at /opt/psa/PMM/agents/PleskX/PmmCli.pm line 45.
Use of uninitialized value $errCode in numeric eq (==) at /opt/psa/PMM/agents/PleskX/PmmCli.pm line 46.
Use of uninitialized value $errCode in numeric ne (!=) at /opt/psa/PMM/agents/PleskX/PmmCli.pm line 47.
Runtime error: Not a HASH reference at /opt/psa/PMM/agents/PleskX/PmmCli.pm line 65.


Solution:
I solved those two problems by running a Plesk update via CLI: "/opt/psa/admin/bin/autoinstaller --select-release-current --upgrade-installed-components".

This installed the micro-updates again that must have been missing before. I can see that "debsums -s plesk-core" before didn't show any changed files (but backup failed), and afterwards it did (amongst others: PmmCli.pm). So, the changed PmmCli.pm doesn't show the problem anymore and "plesk repair" is now fine, too.
 
Back
Top