1

Topic: Server migration from 0.99 to new server with new IP : How-to

Hello,

I have to migrate to a new server, with a new IP adress and new OS.
I thought I would re-install the same version (0.99-1.00), but it looks like installing old versions is no longer an option.
I also do not have the 1.00 installer since I upgraded from older version manually.

The two docs I refer to are:
Migrate or upgrade iRedAdmin / iRedAdmin-Pro
([Removed link)
+
Backup and restore
(Removed link)

All returns of experience are more than welcome, and I will try and share my XP here

Thanks

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release):  1.00 => Latest 1.6.2
- Deployed with iRedMail Easy or the downloadable installer? Manual Install
- Linux/BSD distribution name and version:  Debian 9.13 => Ubuntu 22.04
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):  MySQL
- Web server (Apache or Nginx): Ngix
- Manage mail accounts with iRedAdmin-Pro? No
- [IMPORTANT] Related original log or error message is required if you're experiencing 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: Server migration from 0.99 to new server with new IP : How-to

Links :
[]//docs.iredmail.org/migrate.or.upgrade.iredadmin.html[]
[]//docs.iredmail.org/backup.restore.html[]

3

Re: Server migration from 0.99 to new server with new IP : How-to

Done and working :
Set up FQDN
Install Latest Version
Restore VM/VM1
Restore all SQL Backups but the SQL one (don't)
Iredadmin UP and RUNNING, latest versions, with all domains and users showing.


To Do / Not working :
Let'sCrypt instead of the self signed certificate
Roundcube Webmail, Login Ok but no mails showing (System Error / general).

There have been some upgrades in the SQL Structure in the latest versions. Not sure where to search.
To be continued

4

Re: Server migration from 0.99 to new server with new IP : How-to

Update: Roundcube or Server Error ?
/var/log/mail.log
"PHP Deprecated:  Return type of zipdownload_mbox_filter::filter($in, $out, &$consumed, $clos
ing) should either be compatible with php_user_filter::filter($in, $out, &$consumed, bool $closing): int, or the #[\ReturnT
ypeWillChange] attribute should be used to temporarily suppress the notice in /opt/www/roundcubemail-1.5.3/plugins/zipdownl
oad/zipdownload.php on line 405"

5

Re: Server migration from 0.99 to new server with new IP : How-to

JohnEu wrote:

Will document later
Right now, can login :
Disk usage is shown,
Sometimes number of emails,
But no emails showing :
"Server Error: STATUS: Internal error occurred. Refer to server log for more information."
Any ideas so far ?

Still stuck with the Roundcube server error,
iredadmin is running fine

downgrading roundcube 1.6
does not seem to be an option ?

Which log file should I look into ? Re-install the whole sytem ?

6 (edited by JohnEu 2023-01-12 07:26:53)

Re: Server migration from 0.99 to new server with new IP : How-to

UP AND RUNNING !

- had to update the SOURCE server manually step-by-step, skipped 'optional' changes
- had to manually set some variables and update DB due to missing columns/Fields
- one error due to user quota
- Verify that all services are running fine and checked all Log files :
mail.log
auth.log
dovecot
etc.
- Letscrypt SSL Ok (self signed KO for Firefox for example)
To be continued