Migration : How to restore a broken migration link?

Hi,

I had an email migration that failed badly and I thought it would be a great idea to remove a possibly “bogus node” to get things back on track, as described here : Release notes — NS8 documentation

It was a bad idea : I can’t restart the migration :grimacing:

I can’t disconnect from the cluster either because “Some apps have already been migrated: it is not possible to disconnect at this point.”

I felt in a loophole. Any idea how to get out of this ?

Txs

I guess that deleting /var/lib/nethserver/nethserver-ns8-migration/environment and /var/lib/nethserver/nethserver-ns8-migration/agent.envcould help ?

then skipping the module that was already migrated ?

Not exactly, see NS7 NS8 migration disaster - #3 by mrmarkuz

So in your case please remove the already migrated apps.

Usually the app shows like never migrated and you can disconnect from cluster, no skipping needed.

EDIT:

The process is explained here: GitHub - NethServer/nethserver-ns8-migration

Thanks.

I deleted the whole folder contents var/lib/nethserver/nethserver-ns8-migration/*

then

Error connecting to NS8: The domain ‘xxxxx.be’ already exists in the NS8 cluster. Please choose a different domain name

:grimacing: Should I delete the domain on NS8 ? It looks like I’ll have to start everything over :slightly_frowning_face:

You could try to delete the domain on NS8. If it’s not working I recommend to start over with a fresh ns8.

1 Like

Looks like it’s working… I hope I’ll be able to reconnect nextcloud.

1 Like

I’m afraid if nextcloud was deleted it will start a new instance on the ns8