1

Topic: Migration to new server, new version ( 1.6.2 -> 2.1.1 )

======== Required information ====
- iRedMail version: 2.1.1
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Linux/BSD distribution name and version: CentOS 6.5
- Related log if you're reporting an issue: n/a
====

Hi,

We are trying to migrate the iRedAdmin installation from one server to another, and upgrade to the newer version. I have already deployed iRedAdmin-Pro-LDAP-2.1.1 in the new server, and transfered data (LDAP Backup, mysql backups, and vmail mailboxes) from the current iRedAdmin-Pro-LDAP-1.6.2 server.

I have a few questions about the following steps, and I couldn't find any help in the wiki, so I'm posting this.

I haven't found any migration specific steps for these versions such as LDAP modificacions. Should I just restore LDAP/mysql databases backed up from 1.6.2 and overwrite the blank ones in the new 2.1.1 server? Should I ommit "mysql" database?

Why login page always redirects to ru_RU language in the 2.1.1 blank installation?

Thanks in advance. Anyhelp will be valuable.

----

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

2

Re: Migration to new server, new version ( 1.6.2 -> 2.1.1 )

conese wrote:

I haven't found any migration specific steps for these versions such as LDAP modificacions. Should I just restore LDAP/mysql databases backed up from 1.6.2 and overwrite the blank ones in the new 2.1.1 server? Should I ommit "mysql" database?

It's mentioned here: http://www.iredmail.org/wiki/index.php? … ail.Server

conese wrote:

Why login page always redirects to ru_RU language in the 2.1.1 blank installation?

Did you change default language in iRedAdmin-Pro config file (/var/www/iredadmin/settings.py)?

default_language = 'en_US'

3

Re: Migration to new server, new version ( 1.6.2 -> 2.1.1 )

ZhangHuangbin wrote:
conese wrote:

I haven't found any migration specific steps for these versions such as LDAP modificacions. Should I just restore LDAP/mysql databases backed up from 1.6.2 and overwrite the blank ones in the new 2.1.1 server? Should I ommit "mysql" database?

It's mentioned here: http://www.iredmail.org/wiki/index.php? … ail.Server

I don't see any information related to our versions. Does this mean I don't have to perform any change?

ZhangHuangbin wrote:
conese wrote:

Why login page always redirects to ru_RU language in the 2.1.1 blank installation?

Did you change default language in iRedAdmin-Pro config file (/var/www/iredadmin/settings.py)?

default_language = 'en_US'

I tried both with default en_US and es_ES and in both cases the page reloads to ru_RU after load.

One more thing, in the wiki (Migrate to New iRedMail Server) there're some steps to perform LDAP backup, but I don't see any way to restore that backup into the new server. Is there an easy way?

Thanks in advance!

4

Re: Migration to new server, new version ( 1.6.2 -> 2.1.1 )

conese wrote:

I don't see any information related to our versions. Does this mean I don't have to perform any change?

It's mentioned in the link i gave you: http://www.iredmail.org/wiki/index.php? … ail.Server
quoted below:

There might be some changes in LDAP schema, please find scripts in below URL to apply all required changes: https://bitbucket.org/zhb/iredmail/src/ … ra/update/

conese wrote:

I tried both with default en_US and es_ES and in both cases the page reloads to ru_RU after load.

Does this user has preferred language set in its profile page?

conese wrote:

One more thing, in the wiki (Migrate to New iRedMail Server) there're some steps to perform LDAP backup, but I don't see any way to restore that backup into the new server. Is there an easy way?

Again, it's mentioned in the link i gave you, it points to another wiki tutorial:
http://www.iredmail.org/wiki/index.php? … FAQ/Backup