I’m struggling with moving to the new machine. First, I installed a fresh MIAB and then I rsynced /home/user_data the the new server, but when I run
mailinabox/management/status_checks.py
then I get the following errors:
✓ IP address is not blacklisted by zen.spamhaus.org.
multiprocessing.pool.RemoteTraceback:
"""
Traceback (most recent call last):
File "/usr/lib/python3.10/multiprocessing/pool.py", line 125, in worker
result = (True, func(*args, **kwds))
File "/usr/lib/python3.10/multiprocessing/pool.py", line 51, in starmapstar
return list(itertools.starmap(args[0], args[1]))
File "/root/mailinabox/management/status_checks.py", line 398, in run_domain_checks_on_domain
check_dns_zone_suggestions(domain, env, output, dns_zonefiles, domains_with_a_records)
File "/root/mailinabox/management/status_checks.py", line 579, in check_dns_zone_suggestions
check_dnssec(domain, env, output, dns_zonefiles)
File "/root/mailinabox/management/status_checks.py", line 603, in check_dnssec
dnssec_keys = load_env_vars_from_file(os.path.join(env['STORAGE_ROOT'], 'dns/dnssec/%s.conf' % alg_name_map[ds_alg]))
File "/root/mailinabox/management/utils.py", line 17, in load_env_vars_from_file
with open(fn, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/user-data/dns/dnssec/ECDSAP256SHA256.conf'
"""
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/root/mailinabox/management/status_checks.py", line 1114, in <module>
run_checks(False, env, ConsoleOutput(), pool)
File "/root/mailinabox/management/status_checks.py", line 67, in run_checks
run_domain_checks(rounded_values, env, output, pool, domains_to_check=domains_to_check)
File "/root/mailinabox/management/status_checks.py", line 360, in run_domain_checks
ret = pool.starmap(run_domain_checks_on_domain, args, chunksize=1)
File "/usr/lib/python3.10/multiprocessing/pool.py", line 375, in starmap
return self._map_async(func, iterable, starmapstar, chunksize).get()
File "/usr/lib/python3.10/multiprocessing/pool.py", line 774, in get
raise self._value
FileNotFoundError: [Errno 2] No such file or directory: '/home/user-data/dns/dnssec/ECDSAP256SHA256.conf'
My next approach was a local backup. It took almost 5 hours (backup size 25 GB). Now I rsync the backup files to the new server (will take also time because I only have 100 MBit bandwith to my old VPS). Then I will restore the backup and hope the errors are gone. I will post my results here.