Rob Taylor
Basic Pleskian
TITLE:
ACTUAL RESULT:
Spellcheck in Horde webmail silently fails, aspell dictionary is missing...
PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE:
- CentOS Linux 7.4.1708 (Core)
- Plesk Onyx v17.5.3_build1705170317.16 os_CentOS 7
PROBLEM DESCRIPTION:- Plesk Onyx v17.5.3_build1705170317.16 os_CentOS 7
I noticed that Horde was not identifying mis-spelled words when composing messages and showing no errors.
Checking the Horde log revealed that every time someone click 'Check Spelling' an error is logged indicating that Aspell is not working.
It seems that the aspell installation is incomplete and not functioning.
STEPS TO REPRODUCE:Checking the Horde log revealed that every time someone click 'Check Spelling' an error is logged indicating that Aspell is not working.
It seems that the aspell installation is incomplete and not functioning.
- Go to Plesk WebOps platform for applications, websites and hosting.example.com for a domain that has Horde enabled
- Login to Horde
- Go to the Inbox
- Click 'New Message'
- In the message body enter the word 'Elephent' which is a mis-spell of 'Elephant'
- Click 'Check Spelling'
ACTUAL RESULT:
- Shows a small message in the bottom right of window - 'No spelling errors found'
- The following is logged in /var/log/psa-horde/psa-horde.log:
ERR: HORDE [imp] Spellcheck failed. Command line: aspell -a --encoding=UTF-8 --sug-mode=fast --lang='en_GB' --ignore='2' [pid 1549 on line 91 of "/usr/share/psa-pear/pear/php/Horde/SpellChecker/Aspell.php"]
EXPECTED RESULT:- The following is logged in /var/log/psa-horde/psa-horde.log:
ERR: HORDE [imp] Spellcheck failed. Command line: aspell -a --encoding=UTF-8 --sug-mode=fast --lang='en_GB' --ignore='2' [pid 1549 on line 91 of "/usr/share/psa-pear/pear/php/Horde/SpellChecker/Aspell.php"]
- Highlight the mis-spelt word in red and on click give options for correct spelling
- No errors logged in /var/log/psa-horde/psa-horde.log
ANY ADDITIONAL INFORMATION:- No errors logged in /var/log/psa-horde/psa-horde.log
A Google search for the error revealed that the aspell dictionary packages are missing.
The 'aspell' package is installed by the Plesk installer and yum shows that the aspell package is installed from the repo named '@PLESK_12_5_30-thirdparty'.
As a temporary fix I installed '50:aspell-en-7.1-5.el7.x86_64' from the EPEL repository and this did indeed fix the issue.
YOUR EXPECTATIONS FROM PLESK SERVICE TEAM:The 'aspell' package is installed by the Plesk installer and yum shows that the aspell package is installed from the repo named '@PLESK_12_5_30-thirdparty'.
As a temporary fix I installed '50:aspell-en-7.1-5.el7.x86_64' from the EPEL repository and this did indeed fix the issue.
Confirm bug