I’ve just had another very frustrating attempt to migrate from an SME 9.2 server to Nethserver 7.6 (latest iso). In this instance, the migrate from backup failed, where last time it was the migration using rsync.
Has anyone got any current experience of successfully migrating from SME to Nethserver?
After installing the basic system, I added a local LDAP service, added mail, fail2ban and other services that I needed. I did not add the file server, since this is a gateway machine and has never used ibays for anything except a web page.
I then did a current backup of the SME machine. I use a package called Synbak for backing up SME machines, which is compatible with the internal SME backup, creates a compressed tar archive which I have used multiple times in the past to restore failed SME machines, so I know it works.
I followed the migration instructions - created /var/lib/migration and dumped the contents of the backup there. Then ran “signal-event migration-import /var/lib/migration”. That was almost 24 hours ago. Yesterday I had to leave the machine after a couple of hours. When I cam back this morning, it had still not completed and I had to kill the process.
Going through the logs, there are numerous errors. For example:
Feb 6 10:44:01 nethbox esmith::event[17889]: Action: /etc/e-smith/events/migration-import/S50nethserver-hosts-migrate SUCCESS [0.5315]
Feb 6 10:44:02 nethbox esmith::event[17889]: Version check failed. Got the following error when calling the ‘mysql’ command line client
Feb 6 10:44:02 nethbox esmith::event[17889]: ERROR 1049 (42000): Unknown database ‘mysql’
Feb 6 10:44:02 nethbox esmith::event[17889]: FATAL ERROR: Upgrade failed
Then there is this:
Feb 6 10:44:04 nethbox esmith::event[18513]: ts
Feb 6 10:44:04 nethbox esmith::event[18513]: NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MariaDB
Feb 6 10:44:04 nethbox esmith::event[18513]: SERVERS IN PRODUCTION USE! PLEASE READ EACH STEP CAREFULLY!
Feb 6 10:44:04 nethbox esmith::event[18513]: Y!
Feb 6 10:44:04 nethbox esmith::event[18513]: In order to log into MariaDB to secure it, we'll need the current
Feb 6 10:44:04 nethbox esmith::event[18513]: password for the root user. If you've just installed MariaDB, and
Feb 6 10:44:04 nethbox esmith::event[18513]: you haven't set the root password yet, the password will be blank,
Feb 6 10:44:04 nethbox esmith::event[18513]: so you should just press enter here.
Feb 6 10:44:04 nethbox esmith::event[18513]: ere.
Feb 6 10:44:04 nethbox esmith::event[18513]: Enter current password for root (enter for none):
Feb 6 10:44:04 nethbox esmith::event[18513]: ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
And there it sat - repeating that error over and over…
I have a number of SME machines that I would like to migrate to Nethserver, but my current success rate is zero and most of those SME machines are no practical to start again, so any help would be most appreciated…