Error after upgrading to v0.21b

After upgrade, the web GUI throws a generic error on the System Checks page. Ran the script manually and received the following. Any ideas to fix this?


`root@bx:~# /root/mailinabox/management/


✓ 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.
:heavy_multiplication_x: System memory is 10% free.


✓ Firewall is active.
✓ Outbound mail (SMTP port 25) is not blocked.
✓ IP address is not blacklisted by
Traceback (most recent call last):
File “/usr/lib/python3.4/multiprocessing/”, line 119, in worker
result = (True, func(*args, **kwds))
File “/usr/lib/python3.4/multiprocessing/”, line 47, in starmapstar
return list(itertools.starmap(args[0], args[1]))
File “/root/mailinabox/management/”, line 332, in run_domain_checks_on_domain
ssl_certificates = get_ssl_certificates(env)
File “/root/mailinabox/management/”, line 47, in get_ssl_certificates
pem = load_pem(load_cert_chain(fn)[0])
File “/root/mailinabox/management/”, line 767, in load_pem
return load_pem_x509_certificate(pem, default_backend())
File “/usr/local/lib/python3.4/dist-packages/cryptography/hazmat/backends/”, line 71, in default_backend
_default_backend = MultiBackend(_available_backends())
File “/usr/local/lib/python3.4/dist-packages/cryptography/hazmat/backends/”, line 28, in _available_backends
File “/usr/local/lib/python3.4/dist-packages/cryptography/hazmat/backends/”, line 27, in
for ep in pkg_resources.iter_entry_points(
File “/usr/local/lib/python3.4/dist-packages/pkg_resources/”, 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/”, line 7, in
from cryptography.hazmat.backends.openssl.backend import backend
File “/usr/local/lib/python3.4/dist-packages/cryptography/hazmat/backends/openssl/”, line 48, in
from cryptography.hazmat.bindings.openssl import binding
File “/usr/local/lib/python3.4/dist-packages/cryptography/hazmat/bindings/openssl/”, line 207, in
File “/usr/local/lib/python3.4/dist-packages/cryptography/hazmat/bindings/openssl/”, line 178, in init_static_locks
File “/usr/local/lib/python3.4/dist-packages/cryptography/hazmat/bindings/openssl/”, 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/”, 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/”, line 967, in
run_checks(False, env, ConsoleOutput(), pool)
File “/root/mailinabox/management/”, line 65, in run_checks
run_domain_checks(rounded_values, env, output, pool)
File “/root/mailinabox/management/”, line 323, in run_domain_checks
ret = pool.starmap(run_domain_checks_on_domain, args, chunksize=1)
File “/usr/lib/python3.4/multiprocessing/”, line 268, in starmap
return self._map_async(func, iterable, starmapstar, chunksize).get()
File “/usr/lib/python3.4/multiprocessing/”, line 599, in get
raise self._value
AttributeError: cffi library ‘_openssl’ has no function, constant or global variable named ‘Cryptography_HAS_SCRYPT’`

Guess I should’ve read this first.