After upgrade, the web GUI throws a generic error on the System Checks page. Ran the status_checks.py script manually and received the following. Any ideas to fix this?
Thanks.
`root@bx:~# /root/mailinabox/management/status_checks.py
System
✓ All system services are running.
✓ SSH disallows password-based login.
✓ System software is up to date.
✓ Mail-in-a-Box is up to date. You are running version v0.21b.
✓ System administrator address exists as a mail alias.
✓ The disk has 24.19 GB space remaining.
System memory is 10% free.
Network
✓ Firewall is active.
✓ Outbound mail (SMTP port 25) is not blocked.
✓ IP address is not blacklisted by zen.spamhaus.org.
multiprocessing.pool.RemoteTraceback:
""“
Traceback (most recent call last):
File “/usr/lib/python3.4/multiprocessing/pool.py”, line 119, in worker
result = (True, func(*args, **kwds))
File “/usr/lib/python3.4/multiprocessing/pool.py”, line 47, in starmapstar
return list(itertools.starmap(args[0], args[1]))
File “/root/mailinabox/management/status_checks.py”, line 332, in run_domain_checks_on_domain
ssl_certificates = get_ssl_certificates(env)
File “/root/mailinabox/management/ssl_certificates.py”, line 47, in get_ssl_certificates
pem = load_pem(load_cert_chain(fn)[0])
File “/root/mailinabox/management/ssl_certificates.py”, line 767, in load_pem
return load_pem_x509_certificate(pem, default_backend())
File “/usr/local/lib/python3.4/dist-packages/cryptography/hazmat/backends/init.py”, line 71, in default_backend
_default_backend = MultiBackend(_available_backends())
File “/usr/local/lib/python3.4/dist-packages/cryptography/hazmat/backends/init.py”, line 28, in _available_backends
"cryptography.backends"
File “/usr/local/lib/python3.4/dist-packages/cryptography/hazmat/backends/init.py”, line 27, in
for ep in pkg_resources.iter_entry_points(
File “/usr/local/lib/python3.4/dist-packages/pkg_resources/init.py”, line 2293, in resolve
module = import(self.module_name, fromlist=[‘name’], level=0)
File “/usr/local/lib/python3.4/dist-packages/cryptography/hazmat/backends/openssl/init.py”, line 7, in
from cryptography.hazmat.backends.openssl.backend import backend
File “/usr/local/lib/python3.4/dist-packages/cryptography/hazmat/backends/openssl/backend.py”, line 48, in
from cryptography.hazmat.bindings.openssl import binding
File “/usr/local/lib/python3.4/dist-packages/cryptography/hazmat/bindings/openssl/binding.py”, line 207, in
Binding.init_static_locks()
File “/usr/local/lib/python3.4/dist-packages/cryptography/hazmat/bindings/openssl/binding.py”, line 178, in init_static_locks
cls._ensure_ffi_initialized()
File “/usr/local/lib/python3.4/dist-packages/cryptography/hazmat/bindings/openssl/binding.py”, line 165, in _ensure_ffi_initialized
cls.lib = build_conditional_library(lib, CONDITIONAL_NAMES)
File “/usr/local/lib/python3.4/dist-packages/cryptography/hazmat/bindings/openssl/binding.py”, line 104, in build_conditional_library
if not getattr(lib, condition):
AttributeError: cffi library ‘_openssl’ has no function, constant or global variable named ‘Cryptography_HAS_SCRYPT’
”""
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File “/root/mailinabox/management/status_checks.py”, line 967, in
run_checks(False, env, ConsoleOutput(), pool)
File “/root/mailinabox/management/status_checks.py”, line 65, in run_checks
run_domain_checks(rounded_values, env, output, pool)
File “/root/mailinabox/management/status_checks.py”, line 323, in run_domain_checks
ret = pool.starmap(run_domain_checks_on_domain, args, chunksize=1)
File “/usr/lib/python3.4/multiprocessing/pool.py”, line 268, in starmap
return self._map_async(func, iterable, starmapstar, chunksize).get()
File “/usr/lib/python3.4/multiprocessing/pool.py”, line 599, in get
raise self._value
AttributeError: cffi library ‘_openssl’ has no function, constant or global variable named ‘Cryptography_HAS_SCRYPT’`