I am trying to migrate from an SME 9.2 server to Nethserver.
I installed Nethserver, installed all the updates, successfully logged into the NethServer 7.8.2003 dashboard, configured a local active directory domain, installed the necessary software packages, upgraded them, configured root access between the SME server and the Nethserver machine, then ran the migration command:
screen rsync-migrate 10.0.0.92 22
That copied some 600 GB of data across without any apparent issues.
I then ran the final migration command:
screen rsync-migrate -m 10.0.0.92 22
There were a few initial warnings:
‘imap’ is not a valid service name
‘imaps’ is not a valid service name
‘hfaxd’ is not a valid service name
‘sogod’ is not a valid service name
The following errors were then reported in the messages log file:
mail realmd: DNS Update for mail.example.com.au failed: ERROR_DNS_GSS_ERROR
sssd: tkey query failed: GSSAPI error: Major = Unspecified GSS failure. Minor code may provide more information, Minor = Server not found in Kerberos database.
(repeated 18 times)
mail esmith::event: [ERROR] Could not find username in Unix user DB
(repeated 17 times for various user names)
esmith::event: Action: /etc/e-smith/events/migration-import/S25nethserver-dc-migrate FAILED: 1 [144.013789]
esmith::event: [WARNING] skip existing domain example.com.au
[WARNING] User username/sieve skipped: could not find source directory /var/lib/nethserver/home/username/sieve
(repeated 51 times for various user names, none of which were in the list not found in Unix user DB above)
esmith::event: [ERROR] username skipped: not found in passwd database
(repeated 16 times for various user names - the same as those not found in Unix user DB except for one not reported)
esmith::event: Loading information_schema.sql into mysql [FAILED]
mariadb-prepare-db-dir: Database MariaDB is probably initialized in /var/lib/mysql already, nothing is done.
mariadb-prepare-db-dir: If this is not the case, make sure the /var/lib/mysql is empty before running mariadb-prepare-db-dir.
(both above lines repeated 6 times)
mail S60nethserver-ibays-migrate-commit: Event: ibay-create FAILED
Jul 2 07:07:58 mail esmith::event: [ERROR] ibay-create temp event failed!
Jul 2 07:07:58 mail esmith::event: /bin/sed: can’t read /var/lib/migration/home/e-smith/db/acls.dump: No such file or directory
Jul 2 07:07:58 mail esmith::event: [WARNING] 1 error(s) occurred in /etc/e-smith/events/migration-import/S60nethserver-ibays-migrate-mailboxes action
Jul 2 07:07:58 mail esmith::event: Action: /etc/e-smith/events/migration-import/S60nethserver-ibays-migrate-commit FAILED: 1 [16.329483]
Jul 2 07:07:59 mail esmith::event: Event: migration-import FAILED
The outcome was that 51 users were migrated from /var/lib/migration/home/e-smith/files/users to /var/lib/nethserver/home, but 17 were left behind.
All the ibays were migrated from /var/lib/migration/home/e-smith/files/ibays to /var/lib/nethserver/ibay but had numeric user and group ownership
Are you able to comment on the causes of the failed migration?