Page 1 of 1

Roundcube update

Posted: Wed Jul 27, 2016 9:25 am
by petkoo12
Hello,

i want ask you how can i update roundcube from 0.9 to the newest ? Is the update safe ? I am using Ubuntu 14.04.

Thank you for quick answer

Re: Roundcube update

Posted: Fri Jul 29, 2016 8:27 am
by petkoo12
hello,

i have solved it here is tutorial

*** Save Original Files

Code: Select all

mv /usr/share/roundcube/ /usr/share/roundcube_bk/
cp -R /var/lib/roundcube/ /var/lib/roundcube_bk/
*** Download Roundcube and prepare the folder

Code: Select all

tar xvf rcm[NAME_MAY_DIFFERS].tar.gz
cp -R rcm[NAME_MAY_DIFFERS]/ /usr/share/roundcube/
*** Create config files (and symlinks)

Code: Select all

mkdir /etc/roundcube/config
cp /usr/share/roundcube/config/defaults.inc.php /etc/roundcube/config/defaults.inc.php
ln -s /etc/roundcube/config/defaults.inc.php /var/lib/roundcube/config/defaults.inc.php
cp /usr/share/roundcube/config/config.inc.php /etc/roundcube/config/config.inc.php
ln -s /etc/roundcube/config/config.inc.php /var/lib/roundcube/config/config.inc.php
*** Copy plugins and skins

Code: Select all

rm -R /var/lib/roundcube/plugins/
rm -R /var/lib/roundcube/skins/
cp -R /usr/share/roundcube/plugins/ /var/lib/roundcube/plugins/
cp -R /usr/share/roundcube/skins/ /var/lib/roundcube/skins/
***Set up password and database name

Code: Select all

nano /etc/roundcube/config/defaults.inc.php
nano /etc/roundcube/config/config.inc.php

modify this line :
$config['db_dsnw'] = 'mysql://name of sql user:password of user@localhost/database name';


That should work on http://www.yourdomain.com/webmail

Re: Roundcube update

Posted: Sat Mar 04, 2017 6:02 am
by www.rinku31
@petkoo12 your steps work fine. More clarification:

*** Save Original Files

Code: Select all

mv /usr/share/roundcube/ /usr/share/roundcube_bk/
cp -R /var/lib/roundcube/ /var/lib/roundcube_bk/
*** Copy Database Details
Copy database details form file: /etc/roundcube/db.inc.php and save in a text file. it will use in last step.

*** Download Roundcube and prepare the folder (you can find link: https://roundcube.net/download/). 1.2.3 is latest version for now but you can replace for future update.

Code: Select all

wget https://github.com/roundcube/roundcubemail/releases/download/1.2.3/roundcubemail-1.2.3.tar.gz
tar xvf roundcubemail-1.2.3.tar.gz
cp -R roundcubemail-1.2.3/ /usr/share/roundcube/
*** Rename config.inc.php.sample
Go to location: /usr/share/roundcube/config/ and rename config.inc.php.sample to config.inc.php

*** Create config files (and symlinks)

Code: Select all

mkdir /etc/roundcube/config
cp /usr/share/roundcube/config/defaults.inc.php /etc/roundcube/config/defaults.inc.php
ln -s /etc/roundcube/config/defaults.inc.php /var/lib/roundcube/config/defaults.inc.php
cp /usr/share/roundcube/config/config.inc.php /etc/roundcube/config/config.inc.php
ln -s /etc/roundcube/config/config.inc.php /var/lib/roundcube/config/config.inc.php
*** Copy plugins and skins

Code: Select all

rm -R /var/lib/roundcube/plugins/
rm -R /var/lib/roundcube/skins/
cp -R /usr/share/roundcube/plugins/ /var/lib/roundcube/plugins/
cp -R /usr/share/roundcube/skins/ /var/lib/roundcube/skins/
***Set up password and database name (copy, past form your copied text file)

Code: Select all

nano /etc/roundcube/config/defaults.inc.php
nano /etc/roundcube/config/config.inc.php

modify this line :
$config['db_dsnw'] = 'mysql://name of sql user:password of user@localhost/database name';

Re: Roundcube update

Posted: Mon Apr 23, 2018 6:35 am
by itsolon
Thank you for your upgrade information
i followed the steps but i cannot get to a working roundcube

everything seems to work fine
but when i login i have the roundcube menu but can not set any adjustment nor see any email.

i have ubuntu and tried to upgrade to 1.3.6

I can login but no email content is shown

the menu is gray