1

Topic: Roundcube upgrade and symbol links

Hi,

Did first upgrade in iRedMail from 0.9.0 to 0.9.1.

Have  a symbol link from
/usr/share/apache2/roundcubemail-1.0.4
to
/usr/share/apache2/roundcubemail

Upgraded Roundcube files in /usr/share/apache2/roundcubemail-1.0.4 (to 1.1.4)

Renamed "/usr/share/apache2/roundcubemail-1.0.4" to "/usr/share/apache2/roundcubemail-1.1.4"

Ran ln -s /usr/share/apache2/roundcubemail-1.1.4 /usr/share/apache2/roundcubemail

Could not access Roundcube after doing this. Got a blank white screen until renamed Roundcube folder back to /usr/share/apache2/roundcubemail-1.0.4 and changed the symbol link back to the original before the upgrade.

How can I change the Roundcube folder name to /usr/share/apache2/roundcubemail-1.1.4 and get Roundcube working once the symbol link is changed? I am guessing there is a .conf file somewhere that am missing that have to change the Roundcube path name.

Thanks.


==== Required information ====
- iRedMail version (check /etc/iredmail-release):  0.9.1
- Linux/BSD distribution name and version: Ubuntu 14 LTS
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MariaDB
- Web server (Apache or Nginx): Apache
- Manage mail accounts with iRedAdmin-Pro? No
- Related log if you're reporting an issue:
====

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Roundcube upgrade and symbol links

Usually the symbol link will work. The point is, what's the error log in Roundcube log file (It logs to Postfix log file)?

3

Re: Roundcube upgrade and symbol links

Almost positive it's a permission issue. Using the Roundcube script to upgrade Roundcube creates wierd permissions such as "501 80" and "501 staff"

What should the permissions be in this directory? www-data, root, or something else for all files and folders?

Once the permissions are correct am sure the new symbol link will work.

4

Re: Roundcube upgrade and symbol links

*) The root directory of Roundcube 1.1.4 should be owned by root user/group.
*) Directory "temp" and "logs" under Roundcube root directory should be owned by the daemon user/group of web server. on Debian/Ubuntu, it's "www-data".
*) Config file "config/config.inc.php" under Roundcube root directory MUST be owned by the daemon user/group of web server, with permission 0600.