• The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

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