Updating Roundcube

Category: Apps
Created: 2021-01-18

These instructions describe how you can update the Roundcube webmail software on your server - regardless of whether you have installed Roundcube using the LiveConfig AppInstaller or manually.

  1. Log on to the server via SSH - with the user name under which you’re running the webspace with Roundcube.

    Alternatively, log in as root and switch to the appropriate user with su (this is useful, for example, if SSH access is not enabled in LiveConfig for that subscription):

    root@srv:~# su -s /bin/bash web1234
    
  2. Change to the directory ~/priv/ of that subscription

    web1234@srv:~$ cd ~/priv
    
  3. Download the latest Complete package from the Roundcube download page , e.g.:

    web1234@srv:~/priv$ wget https://github.com/roundcube/roundcubemail/releases/download/1.4.10/roundcubemail-1.4.10-complete.tar.gz
    
  4. Extract the downloaded package to the current directory and then change into the created directory:

    web1234@srv:~/priv$ tar xvf roundcubemail-1.4.10-complete.tar.gz
    [...]
    web1234@srv:~/priv$ cd roundcubemail-1.4.10
    
  5. Now run the script bin/installto.sh and submit the name of your current Roundcube installation as parameter, e.g. ~/apps/webmail or ~/htdocs/roundcube

    web1234@srv:~/priv/roundcubemail-1.4.10$ bin/installto.sh ~/apps/webmail/
    

    The script detects the installed version and runs the update.

  6. Finally delete the downloaded package as well as the extracted files.

    web1234@srv:~/priv/roundcubemail-1.4.10$ cd ..
    web1234@srv:~/priv$ rm -rf roundcubemail-1.4.10*