Hello,
we run nethserver mostly as email-server with only one user using nextcloud.
I made a testenvironment with a copy of the NS7 VM and a freshly installed NS8 on Debian 12. Everything running on Hyper-V 2019 with Snapshots of the starting points to be able to restart.
I copied the ns7 VM into the LAN and changed the IP-address to 192.168.11.151 and the DNS-Server to one extra installed for this migration.
Connecting the NS7 server to the NS8 cluster was successful,
when I start Email Migration it copies about 7 GB and then fails.
NS7 can ping NS8 by its name (ns8.hinz.de) and its original IP Address 192.168.11.152
NS7 can ping the NS8 cluster by IP 10.5.4.1 (no DNS-Entry for this IP set)
NS8 can ping NS7 by name (cloud.hinz.de) and IP 192.168.11.151
roundcube Version is nethserver-roundcubemail-1.5.2-1.ns7.noarch
There is SOGO (nethserver-sogo-1.7.7-1.ns7.noarch) in the list of installed rpms but we do not use it and it does not appear in software center.
ns8-migration.log seems to point at sogo just before the error.
At NS8 Debian there is no firewall installed.
What can I do?
I did not yet find out how to upload a journalctl dump from the ns8 machine.
Failing command:
echo '{"app":"nethserver-mail","action":"start","migrationConfig":{"emailNode":1,"roundcubeNode":1}}' | /usr/bin/setsid /usr/bin/sudo /usr/libexec/nethserver/api/nethserver-ns8-migration/migration/update | jq
On NS7 installed Modules:
nethserver-subscription-ui-3.6.10-1.ns7.noarch
nethserver-sogo-1.7.7-1.ns7.noarch
nethserver-lsm-1.2.4-1.ns7.noarch
nethserver-unbound-1.1.1-1.ns7.noarch
nethserver-mail-server-2.32.2-1.ns7.noarch
nethserver-base-3.9.1-1.ns7.noarch
nethserver-backup-config-2.5.3-1.ns7.noarch
nethserver-firewall-base-3.19.3-1.ns7.noarch
nethserver-httpd-admin-service-2.7.1-1.ns7.noarch
nethserver-collectd-3.1.1-1.ns7.noarch
nethserver-cockpit-lib-1.10.12-1.ns7.noarch
nethserver-mail-imapsync-2.32.2-1.ns7.noarch
nethserver-smartd-1.1.0-1.ns7.noarch
nethserver-subscription-inventory-3.6.10-1.ns7.x86_64
nethserver-memcached-1.2.0-1.ns7.noarch
nethserver-diagtools-1.0.4-1.ns7.noarch
nethserver-lang-en-1.4.6-27.ns7.noarch
nethserver-netdata-2.0.4-1.ns7.noarch
nethserver-fail2ban-1.7.3-1.ns7.noarch
nethserver-dnsmasq-1.7.2-1.ns7.noarch
nethserver-mysql-1.1.5-1.ns7.noarch
nethserver-sssd-1.7.1-1.ns7.noarch
nethserver-mail-smarthost-2.32.2-1.ns7.noarch
nethserver-duc-1.7.0-1.ns7.noarch
nethserver-openssh-1.8.0-1.ns7.noarch
nethserver-mail-filter-2.32.2-1.ns7.noarch
nethserver-antivirus-1.6.1-1.ns7.noarch
nethserver-lib-2.2.11-1.ns7.noarch
nethserver-ntp-1.1.3-1.ns7.noarch
nethserver-nextcloud-1.22.4-1.ns7.noarch
nethserver-phonehome-1.4.0-1.ns7.noarch
nethserver-ns8-migration-1.0.13-1.ns7.x86_64
nethserver-httpd-3.12.3-1.ns7.noarch
nethserver-lang-cockpit-1.4.6-27.ns7.noarch
nethserver-remi-php80-php-fpm-1.0.0-1.ns7.noarch
nethserver-directory-3.4.3-1.ns7.noarch
nethserver-yum-1.4.1-1.ns7.noarch
nethserver-roundcubemail-1.5.2-1.ns7.noarch
nethserver-mail-common-2.32.2-1.ns7.noarch
nethserver-nethforge-release-7-3.ns7.noarch
nethserver-php-1.3.0-1.ns7.noarch
nethserver-release-7-19.ns7.noarch
nethserver-cockpit-1.10.12-1.ns7.noarch
nethserver-httpd-admin-2.7.1-1.ns7.noarch
nethserver-mail-ipaccess-2.32.2-1.ns7.noarch
nethserver-backup-data-1.7.6-1.ns7.noarch
nethserver-subscription-3.6.10-1.ns7.noarch
nethserver-restore-data-2.0.7-1.ns7.noarch
nethserver-rh-mariadb105-1.0.0-1.ns7.noarch
nethserver-hosts-1.2.2-1.ns7.noarch
rpm -qa | grep sogo
sogo-ealarms-notify-4.0.2-1.ns7.x86_64
nethserver-sogo-1.7.7-1.ns7.noarch
sogo-activesync-4.0.2-1.ns7.x86_64
sogo-4.0.2-1.ns7.x86_64
sogo-tool-4.0.2-1.ns7.x86_64
ns8-migration.log:
=========== Join cluster Wed, 03 Jul 2024 09:45:48 +0200
Joined to cluster leader ns8.hinz.de
----------- start nethserver-mail Wed, 03 Jul 2024 09:47:11 +0200
mkdir: created directory ‘/var/lib/nethserver/nethserver-ns8-migration/nethserver-mail’
mkdir: created directory ‘/var/lib/nethserver/nethserver-ns8-migration/nethserver-roundcubemail’
mkdir: created directory ‘/var/lib/nethserver/nethserver-ns8-migration/nethserver-sogo’
/usr/sbin/ns8-bind-app: line 43: printf: null: invalid number
Validation errors: [node: Must be greater than or equal to 1]
[INFO] Created remote module instance mail1
[INFO] App nethserver-mail is bound to rsync://mail1@10.5.4.1:20012, waiting for task module/mail1/task/7f3c3810-7c3a-4ce7-ba06-233ba43ed99d
Assertion failed
File "/var/lib/nethserver/cluster/actions/import-module/50import", line 50, in <module>
agent.assert_exp(add_module_result['exit_code'] == 0) # add-module is successful
edit1: rpm sogo output added
Regards
Uwe