Trying to move to a new box.
Ran the backup on the old box, copied the backup and secret key to the new box and restored, everything seemed to be OK, but after restoring and trying to run the setup, nginx wouldn’t start, throwing an error on the SSL certs.
I cleared the SSL directory, re-ran setup, but I still couldn’t get nginx to start.
When I tried to run the ssl_certificates.py script, this is what I am getting back, which is probably the root of the issue. Any thoughts?
box@box:~/mailinabox# sudo management/ssl_certificates.py
Traceback (most recent call last):
File “management/ssl_certificates.py”, line 686, in
File “management/ssl_certificates.py”, line 398, in provision_certificates_cmdline
status = provision_certificates(env, limit_domains=domains)
File “management/ssl_certificates.py”, line 300, in provision_certificates
FileNotFoundError: [Errno 2] No such file or directory: ‘/home/user-data/ssl/lets_encrypt’