Hello Josh,
Lets say I am a bit of a lamer
But I am very happy using the previous versions of MIAB - Installed it last year (August) and it just keeps working.
Now I need to move the machine and that’s why I have to install it again.
After 8 installs lot of issues are still an obstacle while trying to
install the latest release on VPS (OpenVZ). I am not sure what is
relevant, but obvious errors can be easily experienced with the current
install methods:)
-
“curl -s https://mailinabox.email/setup.sh | sudo bash” is not
capable of making the complete install anymore - apparently well known
problem is “sha1sum: WARNING: 1 computed checksum did NOT match” -
Using “git clone https://github.com/mail-in-a-box/mailinabox.git and
bash setup/start.sh” seem to go quite further and actually finalizing
the installation, but with lots of consecutive errors ( in order of
appearance) :
- swapon: /swapfile: swapon failed: Operation not permitted
ERROR: Swap allocation failed
- Installing Munin (system monitoring)…
No module named ‘_cffi_backend’
500 Internal Server ErrorInternal Server Error
The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.
Traceback (most recent call last):
File “management/ssl_certificates.py”, line 803, in
provision_certificates_cmdline()
File “management/ssl_certificates.py”, line 446, in provision_certificates_cmdline
status = provision_certificates(env,
agree_to_tos_url=agree_to_tos_url, logger=my_logger,
force_domains=force_domains,
show_extended_problems=show_extended_problems)
File “management/ssl_certificates.py”, line 266, in provision_certificates
import acme.messages
File “/usr/local/lib/python3.4/dist-packages/acme/messages.py”, line 5, in
from acme import challenges
File “/usr/local/lib/python3.4/dist-packages/acme/challenges.py”, line 9, in
import OpenSSL
File “/usr/local/lib/python3.4/dist-packages/OpenSSL/init.py”, line 8, in
from OpenSSL import crypto, SSL
File “/usr/local/lib/python3.4/dist-packages/OpenSSL/crypto.py”, line 12, in
from cryptography import x509
File “/usr/local/lib/python3.4/dist-packages/cryptography/x509/init.py”, line 7, in
from cryptography.x509 import certificate_transparency
ImportError: cannot import name ‘certificate_transparency’
…
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 993, in
ssl_certificates = get_ssl_certificates(env)
File “/root/mailinabox/management/ssl_certificates.py”, line 17, in get_ssl_certificates
from cryptography.x509 import Certificate
File “/usr/local/lib/python3.4/dist-packages/cryptography/x509/init.py”, line 8, in
from cryptography.x509.base import (
File “/usr/local/lib/python3.4/dist-packages/cryptography/x509/base.py”, line 16, in
from cryptography.x509.extensions import Extension, ExtensionType
File “/usr/local/lib/python3.4/dist-packages/cryptography/x509/extensions.py”, line 18, in
from cryptography.hazmat.primitives import constant_time, serialization
File “/usr/local/lib/python3.4/dist-packages/cryptography/hazmat/primitives/constant_time.py”, line 9, in
from cryptography.hazmat.bindings._constant_time import lib
ImportError: No module named ‘_cffi_backend’
You will be alerted that the website has an invalid certificate. …"
- In the mail log can be found:
Couldn’t unlink “var/run/postgrey.pid” [Permission denied]
Couldn’t unlink “var/run/spamd.pid” [Permission denied]
-
… and lots of other errors
-
The machine can not resolve domains after the installation so it needs manual edits.
With that being said - I think it is much easier if there is a simple way how to install lets say version 0.19A or 0.21.
Can you help, please?