Topic: Roundcube 1.4.5 Upgrade Issues
This is my first roundcube upgrade and I ran into some issues.
Even though the installation ended with "This instance of Roundcube is up-to-date. Have fun! All done.", there were a few errors:
JavaScript dependencies issue
Missing "pspell" php extension
Composer update
Installer directory
[root@ roundcubemail-1.4.5]# ./bin/installto.sh /opt/www/roundcubemail-1.4.3/
Copying files to target location...done.
Installing JavaScript dependencies...ERROR: Required 'wget' or 'curl' program not found.
done.
NOTICE: The 'installer' directory still exists. You should remove it after the upgrade.
Running update script at target...
WARNING: Dependency check failed!
(Some of your configuration settings require other options to be configured or additional PHP modules to be installed)
- spellcheck_engine: This requires the <tt>pspell</tt> extension which could not be loaded.
Please fix your config files and run this script again!
See ya.
Executing database schema update.
NOTICE: Update dependencies by running `php composer.phar update --no-dev`
This instance of Roundcube is up-to-date.
Have fun!
All done.
How to resolve
1. Let's resolve pspell first:
yum install php-pspell
2. Next, resolve composer issue
yum install composer
# cd /usr/src/roundcubemail-1.4.5
cp composer.json-dist composer.json
# https://getcomposer.org/doc/faqs/how-to-install-untrusted-packages-safely.md
composer update --no-plugins --no-scripts --no-dev
3. Next, resolve JS dependencies
The error is misleading because both curl and wget are already installed.
The roundcube script uses the backtick operator (`) to check for curl and wget.
However, to use the backtick operator, the script needs access to "shell_exec".
So in addition to removing "system" from "disable_functions" in /etc/php.ini,
As discussed in this thread:
https://forum.iredmail.org/topic12104-i … grade.html,
I had to remove one extra function: "shell_exec"
Once these issues have been resolved run installto.sh again
[root@ roundcubemail-1.4.5]# ./bin/installto.sh /opt/www/roundcubemail-1.4.3/
All issues should now be resolved. If it looks all good, "Installer" directory can now be removed:
IREDMAIL SERVER
====
- iRedMail version: 1.2.1
- Deployed with iRedMail Easy or the downloadable installer? Downloadable installer
- Linux/BSD distribution name and version: CentOS Linux release 7.8
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? No
====
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.