1

Topic: upgrade from 0.9.4 to 0.9.5

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.5
- Linux/BSD distribution name and version: Centos 7
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): mysql
- Web server (Apache or Nginx):nginx
- Manage mail accounts with iRedAdmin-Pro? no
- Related log if you're reporting an issue:
====
Overview:
I've upgraded to roundcube-1.1.5, but it is failing, and restoring old roundcube is not working.
In addition, after upgradeing iredadp, I also get an error.

** Thank you in advance **

specifics:

emailing from roundcube gui times out. Yet from mailclient, it works.
- I checked roundcube mysql access, and had to change the password, because 1st error was "cannot connect to DB".
- I lost/overwrote config.inc.php so added plain test password there.


for iredadp, the logfile show:

2016-08-21 16:54:19 ERROR Unexpected error: (OperationalError) (1045, "Access denied for user 'vmail'@'localhost' (using password: YES)") None None. Fallback to default action: DUNNO
2016-08-21 16:54:19 INFO [65.54.190.149] RCPT, ryandmilton@outlook.com -> ryan@ryanmilton.xyz, DUNNO
2016-08-21 16:54:20 ERROR Unexpected error: (OperationalError) (1045, "Access denied for user 'vmail'@'localhost' (using password: YES)") None None. Fallback to default action: DUNNO
2016-08-21 16:54:20 INFO [65.54.190.149] END-OF-MESSAGE, ryandmilton@outlook.com -> ryan@ryanmilton.xyz, DUNNO
2016-08-21 16:55:20 ERROR Unexpected error: (OperationalError) (1045, "Access denied for user 'vmail'@'localhost' (using password: YES)") None None. Fallback to default action: DUNNO
2016-08-21 16:55:20 INFO [65.55.34.147] RCPT, ryandmilton@outlook.com -> ryan@ryanmilton.xyz, DUNNO
2016-08-21 16:55:21 ERROR Unexpected error: (OperationalError) (1045, "Access denied for user 'vmail'@'localhost' (using password: YES)") None None. Fallback to default action: DUNNO
2016-08-21 16:55:21 INFO [65.55.34.147] END-OF-MESSAGE, ryandmilton@outlook.com -> ryan@ryanmilton.xyz, DUNNO










root@srv www]# service mariadb status
Redirecting to /bin/systemctl status  mariadb.service
● mariadb.service - MariaDB database server
   Loaded: loaded (/usr/lib/systemd/system/mariadb.service; enabled; vendor preset: disabled)
   Active: active (running) since Sat 2016-08-06 18:10:48 EDT; 2 weeks 1 days ago
Main PID: 2608 (mysqld_safe)
   CGroup: /system.slice/mariadb.service
           ├─2608 /bin/sh /usr/bin/mysqld_safe --basedir=/usr
           └─2904 /usr/libexec/mysqld --basedir=/usr --datadir=/var/lib/mysql --plugin-dir=/usr/lib64/mysql/plugin --log-error=/var/lib/mysql/srv.ryanmilton.xyz.err --pid-file=srv.ryanmilton.xyz.pid --port=3306

Aug 06 18:10:18 srv.ryanmilton.xyz systemd[1]: Starting MariaDB database server...
Aug 06 18:10:25 srv.ryanmilton.xyz mysqld_safe[2608]: 160806 18:10:25 mysqld_safe Logging to '/var/lib/mysql/srv.ryanmilton.xyz.err'.
Aug 06 18:10:28 srv.ryanmilton.xyz mysqld_safe[2608]: 160806 18:10:28 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
Aug 06 18:10:48 srv.ryanmilton.xyz systemd[1]: Started MariaDB database server.

----

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

2

Re: upgrade from 0.9.4 to 0.9.5

UPDATE: Fixed with a support ticket.

The root cause: Roundcube missed config file and required dependent PHP modules.

- Copy a sample Roundcube config file from a standard iRedMail virtual machine fixes missed config file issue. (of course need to use correct SQL username/password in this file.)

- Upgrading to Roundcube 1.2.1 with package 'roundcube-complete-1.2.1.tar.gz' solves the missed dependencies.