CWP – Roundcube auf Version 1.5.6 updaten

In diesem Tutorial zeige ich euch wie ihr bei CWP unter Centos/RHEL7 und Centos/RHEL8 eure Roundcube Installation auf die Version 1.5.6 updaten könnt.
Mir ist bewusst, dass Version 1.6.x bereits vorhanden ist, jedoch wird es nicht empfohlen dieses Update zum aktuellen Zeitpunkt unter CWP durchzuführen.
Das Problem ist dabei, dass CWP PHP 7.2 als Core Version verwendet und Roundcube 1.6.x PHP 7.3 benötigt, daher ist ein solches Update zwar technisch möglich, wird jedoch offiziell nicht ganz vom CWP Team unterstützt.

Bitte unterstützt meine Arbeit

Schritt 1

Installation der benötigten PHP Extension INTL

Centos 7/EL7

INTL Installieren

yum update ca-certificates -y
rpm -ivh https://www.painkiller-tech.com/Daten/uploads/INTL/el7/libicu69-69.1-4.el7.x86_64.rpm
curl -s -L https://www.painkiller-tech.com/Daten/uploads/rc_fix_scripts/el7/cwp_rc_fix.sh | bash


INTL Erweiterung entfernen (wenn man sie nicht mehr benötigt)

curl -s -L https://www.painkiller-tech.com/Daten/uploads/rc_fix_scripts/cwp_rc_fix_remove.sh | bash


Centos 8/EL8

INTL installieren

dnf update ca-certificates -y
rpm -ivh https://www.painkiller-tech.com/Daten/uploads/INTL/el8/libicu69-69.1-4.el8.x86_64.rpm
curl -s -L https://www.painkiller-tech.com/Daten/uploads/rc_fix_scripts/el8/cwp_rc_fix_el8.sh | bash


INTL Erweiterung entfernen (wenn man sie nicht mehr benötigt)

curl -s -L https://www.painkiller-tech.com/Daten/uploads/rc_fix_scripts/cwp_rc_fix_remove.sh | bash


Schritt 2

Download der offizellen Roundcube Sources

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


Nun entpacken wir das Archiv

tar xf roundcubemail-1.5.6-complete.tar.gz


Schritt 3

Updaten der 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.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


Ihr werdet nun gefragt, ob ihr das Update ausführen möchtet, hier bestätigt ihr mit Y

Danach läuft das Update und ihr erhaltet zum Schluss eine Ausgabe die wie folgt aussieht

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.


Damit ist das Update abgeschlossen, ihr könnt nun die Version überprüfen indem Ihr euch bei eurem Roundcube anmeldet und in der linken Leiste auf das ? klickt. Hier seht Ihr nun die Version 1.5.6

Das war es auch schon, ihr habt Roudcube erfolgreich auf 1.5.6 upgedated.

Related posts

CWP – MariaDB auf eine neue Version updaten

Verbessern des Nachrichtenflusses mit MTA-STS

Synology – Docker bereinigen

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Read More