NS7 NS8 migration disaster

NethServer Version: ns8
Module: NS8 Migration

I had already posted about this problem in another thread.

Today, I destroyed the VM on Proxmox where I had previously migrated the data.

I created a new one from scratch but with the same FQDN and domain.

I performed a “Join” to the new VM.

To my surprise, I noticed that NS7 Nextcloud had been migrated, which is not true because the new VM is empty. However, I tried to perform a “Sync data” for the mail part. It immediately gave an error. I’ll try to reproduce part of the log here.

Is there a way to tell the “migration tool” to start over? Now it won’t let me out of the cluster. I’m considering migrating the data manually. I only have about ten mailboxes and could use imapsync…

[Thu Jan 1 01:00:00 1970]Jul 24 11:18:28 terry systemd: [/usr/lib/systemd/system/suricata.service:20] Unknown lvalue 'ProtectKernelModules' in section 'Service' [Thu Jan 1 01:00:00 1970]Jul 24 11:18:28 terry systemd: [/usr/lib/systemd/system/netdata.service:9] Unknown lvalue 'LogNamespace' in section 'Service' [Thu Jan 1 01:00:00 1970]Jul 24 11:18:28 terry systemd: Created slice system-wg\x2dquick.slice. [Thu Jan 1 01:00:00 1970]Jul 24 11:18:28 terry systemd: Starting WireGuard via wg-quick(8) for ns8... [Thu Jan 1 01:00:00 1970]Jul 24 11:18:28 terry wg-quick: [#] ip link add ns8 type wireguard [Thu Jan 1 01:00:00 1970]Jul 24 11:18:28 terry kernel: Request for unknown module key 'The ELRepo Project (http://elrepo.org): ELRepo.org Secure Boot Key: f365ad3481a7b20e3427b61b2a26635b83fe427b' err -11 [Thu Jan 1 01:00:00 1970]Jul 24 11:18:28 terry kernel: wireguard: module verification failed: signature and/or required key missing - tainting kernel [Thu Jan 1 01:00:00 1970]Jul 24 11:18:28 terry kernel: wireguard: WireGuard 1.0.20211208 loaded. See www.wireguard.com for information. [Thu Jan 1 01:00:00 1970]Jul 24 11:18:28 terry kernel: wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. [Thu Jan 1 01:00:00 1970]Jul 24 11:18:28 terry wg-quick: [#] wg setconf ns8 /dev/fd/63 [Thu Jan 1 01:00:00 1970]Jul 24 11:18:28 terry wg-quick: [#] ip -4 address add 10.5.4.2 dev ns8 [Thu Jan 1 01:00:00 1970]Jul 24 11:18:28 terry wg-quick: [#] ip link set mtu 1420 up dev ns8 [Thu Jan 1 01:00:00 1970]Jul 24 11:18:28 terry wg-quick: [#] ip -4 route add 10.5.4.0/24 dev ns8 [Thu Jan 1 01:00:00 1970]Jul 24 11:18:29 terry systemd: Started WireGuard via wg-quick(8) for ns8. [Thu Jan 1 01:00:00 1970]Jul 24 11:18:29 terry esmith::event[15800]: [INFO] wg-quick@ns8 has been started [Thu Jan 1 01:00:00 1970]Jul 24 11:18:29 terry esmith::event[15800]: Action: /etc/e-smith/events/actions/adjust-services SUCCESS [1.522642] [Thu Jan 1 01:00:00 1970]Jul 24 11:18:29 terry esmith::event[15800]: Event: nethserver-ns8-migration-save SUCCESS [Thu Jan 1 01:00:00 1970]Jul 24 11:20:01 terry systemd: Started Session 9218 of user root. [Thu Jan 1 01:00:00 1970]Jul 24 11:20:01 terry systemd: Created slice User Slice of apache. [Thu Jan 1 01:00:00 1970]Jul 24 11:20:01 terry systemd: Started Session 9217 of user apache. [Thu Jan 1 01:00:00 1970]Jul 24 11:20:01 terry systemd: Started Session 9219 of user root. [Thu Jan 1 01:00:00 1970]Jul 24 11:20:04 terry systemd: Removed slice User Slice of apache. [Thu Jan 1 01:00:00 1970]Jul 24 11:22:04 terry cockpit-bridge: rsync: failed to connect to 10.5.4.1 (10.5.4.1): Connection refused (111) [Thu Jan 1 01:00:00 1970]Jul 24 11:22:04 terry cockpit-bridge: rsync error: error in socket IO (code 10) at clientserver.c(126) [sender=3.1.2] [Thu Jan 1 01:00:00 1970]Jul 24 11:22:04 terry cockpit-bridge: rsync: failed to connect to 10.5.4.1 (10.5.4.1): Connection refused (111) [Thu Jan 1 01:00:00 1970]Jul 24 11:22:04 terry cockpit-bridge: rsync error: error in socket IO (code 10) at clientserver.c(126) [sender=3.1.2] [Thu Jan 1 01:00:00 1970]Jul 24 11:22:04 terry cockpit-bridge: rsync: failed to connect to 10.5.4.1 (10.5.4.1): Connection refused (111) [Thu Jan 1 01:00:00 1970]Jul 24 11:22:04 terry cockpit-bridge: rsync error: error in socket IO (code 10) at clientserver.c(126) [sender=3.1.2] [Thu Jan 1 01:00:00 1970]Jul 24 11:22:05 terry cockpit-bridge: Traceback (most recent call last): [Thu Jan 1 01:00:00 1970]Jul 24 11:22:05 terry cockpit-bridge: File "/usr/sbin/ns8-action", line 127, in <module> [Thu Jan 1 01:00:00 1970]Jul 24 11:22:05 terry cockpit-bridge: task_id = run_task(api_endpoint, payload['token'], args.agent, args.action, input_data) [Thu Jan 1 01:00:00 1970]Jul 24 11:22:05 terry cockpit-bridge: File "/usr/sbin/ns8-action", line 46, in run_task [Thu Jan 1 01:00:00 1970]Jul 24 11:22:05 terry cockpit-bridge: post = request.urlopen(req) [Thu Jan 1 01:00:00 1970]Jul 24 11:22:05 terry cockpit-bridge: File "/usr/lib64/python3.6/urllib/request.py", line 223, in urlopen [Thu Jan 1 01:00:00 1970]Jul 24 11:22:05 terry cockpit-bridge: return opener.open(url, data, timeout) [Thu Jan 1 01:00:00 1970]Jul 24 11:22:05 terry cockpit-bridge: File "/usr/lib64/python3.6/urllib/request.py", line 532, in open [Thu Jan 1 01:00:00 1970]Jul 24 11:22:05 terry cockpit-bridge: response = meth(req, response) [Thu Jan 1 01:00:00 1970]Jul 24 11:22:05 terry cockpit-bridge: File "/usr/lib64/python3.6/urllib/request.py", line 642, in http_response [Thu Jan 1 01:00:00 1970]Jul 24 11:22:05 terry cockpit-bridge: 'http', request, response, code, msg, hdrs) [Thu Jan 1 01:00:00 1970]Jul 24 11:22:05 terry cockpit-bridge: File "/usr/lib64/python3.6/urllib/request.py", line 570, in error [Thu Jan 1 01:00:00 1970]Jul 24 11:22:05 terry cockpit-bridge: return self._call_chain(*args) [Thu Jan 1 01:00:00 1970]Jul 24 11:22:05 terry cockpit-bridge: File "/usr/lib64/python3.6/urllib/request.py", line 504, in _call_chain [Thu Jan 1 01:00:00 1970]Jul 24 11:22:05 terry cockpit-bridge: result = func(*args) [Thu Jan 1 01:00:00 1970]Jul 24 11:22:05 terry cockpit-bridge: File "/usr/lib64/python3.6/urllib/request.py", line 650, in http_error_default [Thu Jan 1 01:00:00 1970]Jul 24 11:22:05 terry cockpit-bridge: raise HTTPError(req.full_url, code, msg, hdrs, fp) [Thu Jan 1 01:00:00 1970]Jul 24 11:22:05 terry cockpit-bridge: urllib.error.HTTPError: HTTP Error 403: Forbidden [Thu Jan 1 01:00:00 1970]Jul 24 11:22:05 terry cockpit-bridge: Traceback (most recent call last): [Thu Jan 1 01:00:00 1970]Jul 24 11:22:05 terry cockpit-bridge: File "/usr/sbin/ns8-action", line 127, in <module> [Thu Jan 1 01:00:00 1970]Jul 24 11:22:05 terry cockpit-bridge: task_id = run_task(api_endpoint, payload['token'], args.agent, args.action, input_data) [Thu Jan 1 01:00:00 1970]Jul 24 11:22:05 terry cockpit-bridge: File "/usr/sbin/ns8-action", line 46, in run_task [Thu Jan 1 01:00:00 1970]Jul 24 11:22:05 terry cockpit-bridge: post = request.urlopen(req) [Thu Jan 1 01:00:00 1970]Jul 24 11:22:05 terry cockpit-bridge: File "/usr/lib64/python3.6/urllib/request.py", line 223, in urlopen [Thu Jan 1 01:00:00 1970]Jul 24 11:22:05 terry cockpit-bridge: return opener.open(url, data, timeout) [Thu Jan 1 01:00:00 1970]Jul 24 11:22:05 terry cockpit-bridge: File "/usr/lib64/python3.6/urllib/request.py", line 532, in open [Thu Jan 1 01:00:00 1970]Jul 24 11:22:05 terry cockpit-bridge: response = meth(req, response) [Thu Jan 1 01:00:00 1970]Jul 24 11:22:05 terry cockpit-bridge: File "/usr/lib64/python3.6/urllib/request.py", line 642, in http_response [Thu Jan 1 01:00:00 1970]Jul 24 11:22:05 terry cockpit-bridge: 'http', request, response, code, msg, hdrs) [Thu Jan 1 01:00:00 1970]Jul 24 11:22:05 terry cockpit-bridge: File "/usr/lib64/python3.6/urllib/request.py", line 570, in error [Thu Jan 1 01:00:00 1970]Jul 24 11:22:05 terry cockpit-bridge: return self._call_chain(*args) [Thu Jan 1 01:00:00 1970]Jul 24 11:22:05 terry cockpit-bridge: File "/usr/lib64/python3.6/urllib/request.py", line 504, in _call_chain [Thu Jan 1 01:00:00 1970]Jul 24 11:22:05 terry cockpit-bridge: result = func(*args) [Thu Jan 1 01:00:00 1970]Jul 24 11:22:05 terry cockpit-bridge: File "/usr/lib64/python3.6/urllib/request.py", line 650, in http_error_default [Thu Jan 1 01:00:00 1970]Jul 24 11:22:05 terry cockpit-bridge: raise HTTPError(req.full_url, code, msg, hdrs, fp) [Thu Jan 1 01:00:00 1970]Jul 24 11:22:05 terry cockpit-bridge: urllib.error.HTTPError: HTTP Error 403: Forbidden [Thu Jan 1 01:00:00 1970]Jul 24 11:22:05 terry cockpit-bridge: Traceback (most recent call last): [Thu Jan 1 01:00:00 1970]Jul 24 11:22:05 terry cockpit-bridge: File "/usr/sbin/ns8-action", line 127, in <module> [Thu Jan 1 01:00:00 1970]Jul 24 11:22:05 terry cockpit-bridge: task_id = run_task(api_endpoint, payload['token'], args.agent, args.action, input_data) [Thu Jan 1 01:00:00 1970]Jul 24 11:22:05 terry cockpit-bridge: File "/usr/sbin/ns8-action", line 46, in run_task [Thu Jan 1 01:00:00 1970]Jul 24 11:22:05 terry cockpit-bridge: post = request.urlopen(req) [Thu Jan 1 01:00:00 1970]Jul 24 11:22:05 terry cockpit-bridge: File "/usr/lib64/python3.6/urllib/request.py", line 223, in urlopen [Thu Jan 1 01:00:00 1970]Jul 24 11:22:05 terry cockpit-bridge: return opener.open(url, data, timeout) [Thu Jan 1 01:00:00 1970]Jul 24 11:22:05 terry cockpit-bridge: File "/usr/lib64/python3.6/urllib/request.py", line 532, in open [Thu Jan 1 01:00:00 1970]Jul 24 11:22:05 terry cockpit-bridge: response = meth(req, response) [Thu Jan 1 01:00:00 1970]Jul 24 11:22:05 terry cockpit-bridge: File "/usr/lib64/python3.6/urllib/request.py", line 642, in http_response [Thu Jan 1 01:00:00 1970]Jul 24 11:22:05 terry cockpit-bridge: 'http', request, response, code, msg, hdrs) [Thu Jan 1 01:00:00 1970]Jul 24 11:22:05 terry cockpit-bridge: File "/usr/lib64/python3.6/urllib/request.py", line 570, in error [Thu Jan 1 01:00:00 1970]Jul 24 11:22:05 terry cockpit-bridge: return self._call_chain(*args) [Thu Jan 1 01:00:00 1970]Jul 24 11:22:05 terry cockpit-bridge: File "/usr/lib64/python3.6/urllib/request.py", line 504, in _call_chain [Thu Jan 1 01:00:00 1970]Jul 24 11:22:05 terry cockpit-bridge: result = func(*args) [Thu Jan 1 01:00:00 1970]Jul 24 11:22:05 terry cockpit-bridge: File "/usr/lib64/python3.6/urllib/request.py", line 650, in http_error_default [Thu Jan 1 01:00:00 1970]Jul 24 11:22:05 terry cockpit-bridge: raise HTTPError(req.full_url, code, msg, hdrs, fp) [Thu Jan 1 01:00:00 1970]Jul 24 11:22:05 terry cockpit-bridge: urllib.error.HTTPError: HTTP Error 403: Forbidden [Thu Jan 1 01:00:00 1970]Jul 24 11:22:57 terry cockpit-ws: WebSocket from 84.33.118.187 for session closed [Thu Jan 1 01:00:00 1970]Jul 24 11:22:57 terry cockpit-ws: WebSocket from 84.33.118.187 for session closed [Thu Jan 1 01:00:00 1970]Jul 24 11:22:58 terry cockpit-ws: New connection to session from 84.33.118.187 [Thu Jan 1 01:00:00 1970]Jul 24 11:22:59 terry dbus[896]: [system] Activating via systemd: service name='org.freedesktop.hostname1' unit='dbus-org.freedesktop.hostname1.service' [Thu Jan 1 01:00:00 1970]Jul 24 11:22:59 terry systemd: Starting Hostname Service... [Thu Jan 1 01:00:00 1970]Jul 24 11:22:59 terry dbus[896]: [system] Successfully activated service 'org.freedesktop.hostname1' [Thu Jan 1 01:00:00 1970]Jul 24 11:22:59 terry systemd: Started Hostname Service. [Thu Jan 1 01:00:00 1970]Jul 24 11:23:02 terry cockpit-ws: New connection to session from 84.33.118.187 [Thu Jan 1 01:00:00 1970]Jul 24 11:25:01 terry systemd: Started Session 9221 of user root. [Thu Jan 1 01:00:00 1970]Jul 24 11:25:01 terry systemd: Started Session 9220 of user root. [Thu Jan 1 01:00:00 1970]Jul 24 11:25:01 terry systemd: Created slice User Slice of apache. [Thu Jan 1 01:00:00 1970]Jul 24 11:25:01 terry systemd: Started Session 9222 of user apache. [Thu Jan 1 01:00:00 1970]Jul 24 11:25:03 terry systemd: Removed slice User Slice of apache. [Thu Jan 1 01:00:00 1970]Jul 24 11:30:01 terry systemd: Created slice User Slice of apache. [Thu Jan 1 01:00:00 1970]Jul 24 11:30:01 terry systemd: Started Session 9223 of user apache. [Thu Jan 1 01:00:00 1970]Jul 24 11:30:01 terry systemd: Started Session 9224 of user root. [Thu Jan 1 01:00:00 1970]Jul 24 11:30:01 terry systemd: Started Session 9225 of user root. [Thu Jan 1 01:00:00 1970]Jul 24 11:30:04 terry systemd: Removed slice User Slice of apache.

On the NS7 just remove the /var/lib/nethserver/nethserver-ns8-migration/nethserver-nextcloud directory.

rm -rf /var/lib/nethserver/nethserver-ns8-migration/nethserver-nextcloud

After refreshing the migration page it should be possible to click “Connect to a different cluster” and then start over with the migration.

Perfect, I removed that folder, left the cluster, and then removed all the contents of the folder:

rm -rf /var/lib/nethserver/nethserver-ns8-migration/*

I redid the “Join” and started the migration. I’m waiting for it to finish. Tonight I’ll try to do the “finish migration.”

1 Like

Nothing doing, it crashed again. Last time, Nextcloud worked fine, while Webtop gave an error. Today, it was the opposite…

[Thu Jan  1 01:00:00 1970]Jul 24 20:49:50 terry cockpit-bridge: rsync error: error in socket IO (code 10) at clientserver.c(126) [sender=3.1.2]
[Thu Jan  1 01:00:00 1970]Jul 24 20:49:51 terry cockpit-ws: WebSocket from 192.168.9.2 for session closed
[Thu Jan  1 01:00:00 1970]Jul 24 20:49:51 terry cockpit-ws: WebSocket from 192.168.9.2 for session closed
[Thu Jan  1 01:00:00 1970]Jul 24 20:49:51 terry cockpit-bridge: rsync: failed to connect to 10.5.4.1 (10.5.4.1): Connection refused (111)
[Thu Jan  1 01:00:00 1970]Jul 24 20:49:51 terry cockpit-bridge: rsync error: error in socket IO (code 10) at clientserver.c(126) [sender=3.1.2]
[Thu Jan  1 01:00:00 1970]Jul 24 20:49:52 terry cockpit-ws: New connection to session from 192.168.9.2
[Thu Jan  1 01:00:00 1970]Jul 24 20:49:52 terry cockpit-bridge: rsync: failed to connect to 10.5.4.1 (10.5.4.1): Connection refused (111)
[Thu Jan  1 01:00:00 1970]Jul 24 20:49:52 terry cockpit-bridge: rsync error: error in socket IO (code 10) at clientserver.c(126) [sender=3.1.2]
[Thu Jan  1 01:00:00 1970]Jul 24 20:49:53 terry dbus[896]: [system] Activating via systemd: service name='org.freedesktop.hostname1' unit='dbus-org.freedesktop.hostname1.service'
[Thu Jan  1 01:00:00 1970]Jul 24 20:49:53 terry systemd: Starting Hostname Service...
[Thu Jan  1 01:00:00 1970]Jul 24 20:49:53 terry dbus[896]: [system] Successfully activated service 'org.freedesktop.hostname1'
[Thu Jan  1 01:00:00 1970]Jul 24 20:49:53 terry systemd: Started Hostname Service.
[Thu Jan  1 01:00:00 1970]Jul 24 20:49:53 terry cockpit-bridge: rsync: failed to connect to 10.5.4.1 (10.5.4.1): Connection refused (111)
[Thu Jan  1 01:00:00 1970]Jul 24 20:49:53 terry cockpit-bridge: rsync error: error in socket IO (code 10) at clientserver.c(126) [sender=3.1.2]
[Thu Jan  1 01:00:00 1970]Jul 24 20:49:53 terry cockpit-ws: New connection to session from 192.168.9.2
[Thu Jan  1 01:00:00 1970]Jul 24 20:49:54 terry cockpit-bridge: rsync: failed to connect to 10.5.4.1 (10.5.4.1): Connection refused (111)
[Thu Jan  1 01:00:00 1970]Jul 24 20:49:54 terry cockpit-bridge: rsync error: error in socket IO (code 10) at clientserver.c(126) [sender=3.1.2]
[Thu Jan  1 01:00:00 1970]Jul 24 20:49:55 terry cockpit-bridge: rsync: failed to connect to 10.5.4.1 (10.5.4.1): Connection refused (111)
[Thu Jan  1 01:00:00 1970]Jul 24 20:49:55 terry cockpit-bridge: rsync error: error in socket IO (code 10) at clientserver.c(126) [sender=3.1.2]
[Thu Jan  1 01:00:00 1970]Jul 24 20:49:56 terry cockpit-bridge: rsync: failed to connect to 10.5.4.1 (10.5.4.1): Connection refused (111)
[Thu Jan  1 01:00:00 1970]Jul 24 20:49:56 terry cockpit-bridge: rsync error: error in socket IO (code 10) at clientserver.c(126) [sender=3.1.2]
[Thu Jan  1 01:00:00 1970]Jul 24 20:49:57 terry cockpit-bridge: rsync: failed to connect to 10.5.4.1 (10.5.4.1): Connection refused (111)
[Thu Jan  1 01:00:00 1970]Jul 24 20:49:57 terry cockpit-bridge: rsync error: error in socket IO (code 10) at clientserver.c(126) [sender=3.1.2]
[Thu Jan  1 01:00:00 1970]Jul 24 20:49:58 terry cockpit-bridge: rsync: failed to connect to 10.5.4.1 (10.5.4.1): Connection refused (111)
[Thu Jan  1 01:00:00 1970]Jul 24 20:49:58 terry cockpit-bridge: rsync error: error in socket IO (code 10) at clientserver.c(126) [sender=3.1.2]
[Thu Jan  1 01:00:00 1970]Jul 24 20:49:59 terry cockpit-bridge: rsync: failed to connect to 10.5.4.1 (10.5.4.1): Connection refused (111)
[Thu Jan  1 01:00:00 1970]Jul 24 20:49:59 terry cockpit-bridge: rsync error: error in socket IO (code 10) at clientserver.c(126) [sender=3.1.2]
[Thu Jan  1 01:00:00 1970]Jul 24 20:50:00 terry cockpit-bridge: rsync: failed to connect to 10.5.4.1 (10.5.4.1): Connection refused (111)
[Thu Jan  1 01:00:00 1970]Jul 24 20:50:00 terry cockpit-bridge: rsync error: error in socket IO (code 10) at clientserver.c(126) [sender=3.1.2]
[Thu Jan  1 01:00:00 1970]Jul 24 20:50:01 terry systemd: Created slice User Slice of apache.
[Thu Jan  1 01:00:00 1970]Jul 24 20:50:01 terry systemd: Started Session 9586 of user apache.
[Thu Jan  1 01:00:00 1970]Jul 24 20:50:01 terry cockpit-bridge: rsync: failed to connect to 10.5.4.1 (10.5.4.1): Connection refused (111)
[Thu Jan  1 01:00:00 1970]Jul 24 20:50:01 terry cockpit-bridge: rsync error: error in socket IO (code 10) at clientserver.c(126) [sender=3.1.2]

Did you migrate to a fresh installed NS8 cluster?

Are there errors in the logs on the NS8?

Could it be network issues? The connection seems to work for some time and then breaks.

As I mentioned this morning, I installed a new instance of Rocky 9 on Proxmox. The two VMs, NS7 and NS8, are on the same server, and there are no external connections. Could Crowdsec be affecting this?

Is Crowdsec installed on the NS8? The NS8 should be fresh installed without any installed app before migration, except you need an external account provider.
Is a ping to 10.5.4.1 working from the NS7?

No ping from NS7, error. I had recently installed Crowdsec.

So wireguard isn’t working.

Please check wireguard on NS7 and NS8 using the wg command.

It shouldn’t be installed on the Ns8 when you start migrating.

NS7
[root@serry ~]# wg
[root@serry ~]# 
NS8
[root@c1lb ~]# wg
interface: wg0
  public key: *****
  private key: (hidden)
  listening port: 55820

peer: *****
  endpoint: 10.1.1.6:38606
  allowed ips: 192.168.3.31/32, 10.5.4.4/32
  latest handshake: 18 minutes, 43 seconds ago
  transfer: 85.70 GiB received, 1.89 GiB sent
  persistent keepalive: every 25 seconds

It’s not running on NS7. The wireguard connection from NS7 to NS8 is only working during migration.

You could try to restart the service on NS7.

systemctl restart wg-quick@ns8
[root@terry ~]# systemctl restart wg-quick@ns8
Job for wg-quick@ns8.service failed because the control process exited with error code. See "systemctl status wg-quick@ns8.service" and "journalctl -xe" for details.

Hmm, I had to restore NS7 because the server has to be up and running tomorrow. I think I’ll rebuild the new VM for NS8 without installing crowdsec, and see if the problem comes back…

1 Like

That’s a good idea. I recommend a snapshot of the NS8 before joining the NS7 to start the migration so you can step back to a prepared fresh NS8 system anytime.

2 Likes

Hi @mrmarkuz, I have some news for you. I waited a few days to see what would happen. I synced the data several times and it worked every time. Today I decided to do the final migration. Nextcloud migrated correctly, but when I did the “finish migration” for webtop, I noticed this.

The synchronization on node1 shows that all tasks are green and completed, with no errors. However, ns7 does not seem to have understood that everything has been migrated, and the green icon does not appear. In fact, if I try again with “finish migration,” I get an error. This is because everything has actually been migrated to node1. I cannot proceed with the last part of the migration.

{"context":{"action":"import-module","data":{"credentials":["mail1","7473e2942c6f-a0bc-4222-a134-b79829ead258"],"port":20006,"volumes":["dovecot-data","rspamd-redis"]},"extra":{"description":"ns8-action endpoint http://10.5.4.1:9311","isNotificationHidden":false,"title":"module/mail1/import-module"},"id":"e04f8081-075c-4fc2-8b41-5c7be683f806","parent":"","queue":"module/mail1/tasks","timestamp":"2025-07-29T17:59:09.391893837Z","user":"ns7admin3"},"status":"validation-failed","progress":0,"subTasks":[],"validated":false,"result":{"error":"","exit_code":2,"file":"task/module/mail1/e04f8081-075c-4fc2-8b41-5c7be683f806","output":[{"error":"module_already_imported","field":"none","parameter":"none","value":""}]}}

Webtop is usually migrated together with the mail app. Please ensure that mail and webtop are working correctly.

I think the easiest way is to simulate that mail/webtop was skipped so it should be possible to go to the next step.

Set the skip flag for mail on the NS7:

touch /var/lib/nethserver/nethserver-ns8-migration/nethserver-mail/skip

The browser needs to be refreshed to get the changes.

There are several things that don’t work, to be honest. Webtop and Nextcloud via browser work perfectly and all the data is there. However, when I use an email client, I get an error message. It seems to be something related to the certificate or TCP port. I don’t understand. When I go to the “Software Center” section of the node, it tells me that I am still in the migration phase.

To be clear, in the certificates section, I requested certificates for all services used.

Could you please share the error message?
Is port 443 open to the public on the NS8? That’s needed to get certificates. If the NS8 was installed before the NS8.4 traefik update, port 80 needs to be open. To change it to 443, see Release notes — NS8 documentation (New TLS-ALPN-01 default ACME challenge format)

That’s to avoid issues due to software installation/updates on the NS8 during migration.
To remove the banner and enable Software Center again, see Release notes — NS8 documentation (Updates are suspended during NS7 migration)

1 Like