Woke up this morning to no email, and no web status available. After connecting in to the server via ssh, and running ‘sudo mailinabox’ gives the following errors:
Creating initial SSL certificate and perfect forward secrecy Diffie-Hellman parameters...
ln: failed to access ‘/home/user-data/ssl/ssl_certificate.pem’: Too many levels of symbolic links
and at the end:
Your Mail-in-a-Box is running.
Please log in to the control panel for further instructions at:
Traceback (most recent call last):
File "management/status_checks.py", line 986, in <module>
tls_cert = get_domain_ssl_files(domain, ssl_certificates, env)
File "/home/dabre/mailinabox/management/ssl_certificates.py", line 153, in get_domain_ssl_files
"certificate_object": load_pem(load_cert_chain(ssl_certificate)[0]),
File "/home/dabre/mailinabox/management/ssl_certificates.py", line 600, in load_cert_chain
with open(pemfile, "rb") as f:
OSError: [Errno 40] Too many levels of symbolic links: '/home/user-data/ssl/ssl_certificate.pem'
Looking at /home/user-data-ssl/ssl_certificate.pem, it’s a symlink to itself:
lrwxrwxrwx 1 root root 39 Aug 8 03:00 ssl_certificate.pem -> /home/user-data/ssl/ssl_certificate.pem
I had updated to v0.28 earlier this week, but hadn’t noticed any issues before this. What would ssl_certificate.pem be symlinked to in this case? I have made no modifications to the system other than running multiple domains.
Thank you for any assistance.