Sandeep B. Posted June 4 Share Posted June 4 Update Roundcube on CWP, the new Version of Roundcube 1.5 LTS have clear Interface with modern look also in this version some major security holes were fixed. It is recommended to update the roundcube to latest version. Step1 Install Required php extension INTL in CWP :- Centos 7/EL7 : To install INTL : yum update ca-certificates -y rpm -ivh https://github.com/mysterydata/md-disk/raw/main/libicu69-69.1-4.el7.x86_64.rpm curl -s -L https://www.alphagnu.com/upload/tmp/cwp_rc_fix.sh | bash To remove INTL : curl -s -L https://www.alphagnu.com/upload/tmp/cwp_rc_fix_remove.sh | bash Centos 8 stream/EL8 : To install INTL : dnf update ca-certificates -y rpm -ivh https://github.com/mysterydata/md-disk/raw/main/libicu69-69.1-4.el8.x86_64.rpm curl -s -L https://www.alphagnu.com/upload/tmp/el8/cwp_rc_fix_el8.sh | bash To remove INTL : curl -s -L https://www.alphagnu.com/upload/tmp/cwp_rc_fix_remove.sh | bash Step 2 Download roundcube script from official source : cd /usr/local/src rm -rf roundcube* wget https://github.com/roundcube/roundcubemail/releases/download/1.5.6/roundcubemail-1.5.6-complete.tar.gz Now extract the archive file : tar xf roundcubemail-1.5.6-complete.tar.gz Step 3 Update the Roundcube installation : cd roundcubemail-1.5.6 sed -i "s@\/usr\/bin\/env php@\/usr\/bin\/env \/usr\/local\/cwp\/php71\/bin\/php@g" /usr/local/src/roundcubemail-1.5.4/bin/installto.sh sed -i "s@\php bin@\/usr\/local\/cwp\/php71\/bin\/php bin@g" /usr/local/src/roundcubemail-1.5.4/bin/installto.sh bin/installto.sh /usr/local/cwpsrv/var/services/roundcube Installation Instructions : Upgrading from 1.4.11. Do you want to continue? (y/N) type : y and hit enter At last you’ll see this message upon installation complete : Running update script at target... Executing database schema update. Updating database schema (2020020100)... [OK] Updating database schema (2020020101)... [OK] Updating database schema (2020091000)... [OK] Updating database schema (2020122900)... [OK] This instance of Roundcube is up-to-date. Have fun! All done. All done check by login into roundcube Link to comment Share on other sites More sharing options...
Plamen K. Posted June 13 Share Posted June 13 Hello, after update step by step everything is fine well just like your example but now after login in webmail return this error: Server error! (Internal Server Error) Any idea how to fix it? Link to comment Share on other sites More sharing options...
Sandeep B. Posted June 13 Author Share Posted June 13 4 hours ago, Plamen K. said: Hello, after update step by step everything is fine well just like your example but now after login in webmail return this error: Server error! (Internal Server Error) Any idea how to fix it? Hi internal server error is not expected in update process, you maybe have issue with other thing. Try to restart cwp services : sh /scripts/restart_cwpsrv Link to comment Share on other sites More sharing options...
Solution Sandeep B. Posted June 13 Author Solution Share Posted June 13 I've fixed it please rerun the commands before running the above script run this command : curl -s -L https://www.alphagnu.com/upload/tmp/cwp_rc_fix_remove.sh | bash 1 Link to comment Share on other sites More sharing options...
Starburst Posted September 27 Share Posted September 27 Current version is Roundcube Webmail 1.6.3 You just have to change where it says 1.5.3 to 1.6.3 As always with update, do a backup or snapshot first. 1 Link to comment Share on other sites More sharing options...
Sandeep B. Posted September 27 Author Share Posted September 27 14 hours ago, Starburst said: Current version is Roundcube Webmail 1.6.3 You just have to change where it says 1.5.3 to 1.6.3 As always with update, do a backup or snapshot first. it requires php 7.3 and not fully supported with CWP as it uses php 7.2 as core php version Link to comment Share on other sites More sharing options...
Starburst Posted September 29 Share Posted September 29 On 9/27/2023 at 7:27 PM, Sandeep B. said: it requires php 7.3 and not fully supported with CWP as it uses php 7.2 as core php version Just tried the 1.6.3 upgrade and gave: # bin/installto.sh /usr/local/cwpsrv/var/services/roundcube Unsupported PHP version. Required PHP >= 7.3. So since CWP still uses the obsolete PHP 7.1, we are limited to old version of RoundCube. Is there an ETA when CWP might finally make it to PHPP 8.1, 8.2 or the new 8.3 RC? No to mention 0.9.8.1170 is behind on it's PHP version now by quite a bit with 8.1 & 8.2. Link to comment Share on other sites More sharing options...
Sandeep B. Posted September 29 Author Share Posted September 29 cwp uses 7.2 and yes 7.4 will be released soon for cwp service its under test with el9 roundcube 1.5 is still supported by the developers as it is LTS version and security patches will be maintained by the devs. Link to comment Share on other sites More sharing options...
leisegang Posted October 31 Share Posted October 31 i tried upgrading ti version 1.5.5 and the problem is that roundcube says imap connection failed. What am i doing wrong,. i am also iunable to downgrade to version 1.5.4 i used 1.5.5 because of an security update Link to comment Share on other sites More sharing options...
Sandeep B. Posted October 31 Author Share Posted October 31 ensure that dovecot service is running systemctl status dovecot Link to comment Share on other sites More sharing options...
Fidolas Posted Monday at 07:20 PM Share Posted Monday at 07:20 PM On 6/4/2023 at 3:29 PM, Sandeep B. said: Step 3 Update the Roundcube installation : cd roundcubemail-1.5.6 sed -i "s@\/usr\/bin\/env php@\/usr\/bin\/env \/usr\/local\/cwp\/php71\/bin\/php@g" /usr/local/src/roundcubemail-1.5.4/bin/installto.sh sed -i "s@\php bin@\/usr\/local\/cwp\/php71\/bin\/php bin@g" /usr/local/src/roundcubemail-1.5.4/bin/installto.sh bin/installto.sh /usr/local/cwpsrv/var/services/roundcube I believe that there is an error in these lines. It should say: cd roundcubemail-1.5.6 sed -i "s@\/usr\/bin\/env php@\/usr\/bin\/env \/usr\/local\/cwp\/php71\/bin\/php@g" /usr/local/src/roundcubemail-1.5.6/bin/installto.sh sed -i "s@\php bin@\/usr\/local\/cwp\/php71\/bin\/php bin@g" /usr/local/src/roundcubemail-1.5.6/bin/installto.sh bin/installto.sh /usr/local/cwpsrv/var/services/roundcube So the example is about 1.5.6 version. I'm trying to follow these steps but using the latest one to date https://github.com/roundcube/roundcubemail/releases/download/1.6.5/roundcubemail-1.6.5-complete.tar.gz But it complains that "Unsupported PHP version. Required PHP >= 7.3" I suppose that there is no solution until CWP gets updated to use PHP > 7.3 Anyway, thanks a lot, as always, for detailed instructions. Link to comment Share on other sites More sharing options...
Sandeep B. Posted Monday at 07:34 PM Author Share Posted Monday at 07:34 PM yes 1.6 is not supported in cwp at this time. Link to comment Share on other sites More sharing options...
Fidolas Posted Monday at 08:14 PM Share Posted Monday at 08:14 PM I'm also having "Server error!" into the Roundcube interface after updating. Not sure if there are necessary changes into the config.inc.php in roundcube installation folder. Do I need to change anything there? Link to comment Share on other sites More sharing options...
Fidolas Posted Monday at 08:20 PM Share Posted Monday at 08:20 PM Ok. Forget about my previous message. I had to run this: curl -s -L https://www.alphagnu.com/upload/tmp/cwp_rc_fix.sh | bash but AFTER the installation. Not sure why. Now it works and no "Server error!" messages anymore. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now