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

Question Issue with pleskpm_Settings::set Value Length Exceeding Expected Limit

majdi draouil

New Pleskian
Server operating system version
OS: Ubuntu 22.04.4 LTS
Plesk version and microupdate number
Plesk Obsidian 18.0.66 Update #1,
I’m experiencing an issue while working with Plesk, specifically related to the pleskpm_Settings::set function. The error message is as follows:

arduino
Copier le code
pleskpm_Settings::set. Value length 5000 expected, 7420

Problem Description:

When attempting to set a value using pleskpm_Settings::set, the system expects the value to have a length of 5000 characters. However, the value I’m trying to set has a length of 7420 characters, which exceeds the expected limit.

Steps to Reproduce:

  1. Attempt to set a value using pleskpm_Settings::set with a string length greater than 5000 characters (in my case, 7420).
  2. The error message appears, indicating that the expected length is 5000, but the value length exceeds that.
Questions:

  • Is there a way to adjust or increase the expected length for this parameter?
  • Could this issue be related to a specific configuration in Plesk or an inherent limitation?
  • Are there any workarounds or best practices to avoid this issue when dealing with longer values?
 
Could you please confirm where exactly you see the error in question? If possible, can you please execute the following command:

grep -r "Invalid usage of pm_Settings::set" /var/log/plesk/panel.log

and let us know if you see any entries related to Repair Kit.
 
root@webmail:~# grep -r "Invalid usage of pm_Settings::set" /var/log/plesk/panel.log
[2024-12-26 23:26:17.752] 59890:676dd778dce50 ERR [extension/repair-kit] Invalid usage of pm_Settings::set. Value length 5000 expected, 7420 received.
[2024-12-26 23:29:10.481] 95916:676dd826cab79 ERR [extension/repair-kit] Invalid usage of pm_Settings::set. Value length 5000 expected, 7420 received.
root@webmail:~#
 
Thank you for the confirmation. There's a known bug of Repair Kit with ID EXTPLESK-2460 which results in returning the error as a positive.
 
Back
Top