I am having issues with MiAB. I deployed the package on a fresh Ubuntu 14.04 LTS KVM VPS when it was v0.15a. Everything was working absolutely fine.
Then 0.16 came and I decided to upgrade. The upgrade went well, but soon afterwards, I found that the nightly status checks were generating truncated emails.
Back in 0.15a, I used to get:
mailbox.technofaq.org – Previously:
Your box’s reverse DNS is currently radio.samizdatsounds.org, but
it should be mailbox.technofaq.org. Your ISP or cloud provider
will have instructions on setting up reverse DNS for your box.
mailbox.technofaq.org – Currently:
✓ Reverse DNS is set correctly at ISP. [198.91.88.112 ↦
mailbox.technofaq.org]
✓ Nameservers are set correctly at registrar.
[ns1.mailbox.technofaq.org; ns2.mailbox.technofaq.org]
✓ Domain’s email is directed to this domain. [pranavsuri.com ↦ 10
mailbox.technofaq.org]
{…}
Now I get:
System – Previously:
Any pointers as to how to debug this issue will be helpful.
I have tried re running the v0.16 setup multiple times and rebooting the VPS, but to no avail.
Meanwhile I rolled back to v0.15a with:
cd mailinabox
git checkout v0.15a
setup/start.sh
My status check emails are working fine again. Here’s an output:
mailbox.technofaq.org – Previously:
Your box’s reverse DNS is currently radio.samizdatsounds.org, but
it should be mailbox.technofaq.org. Your ISP or cloud provider
will have instructions on setting up reverse DNS for your box.
mailbox.technofaq.org – Currently:
✓ Reverse DNS is set correctly at ISP. [198.91.88.112 ↦
mailbox.technofaq.org]
Traceback (most recent call last):
File “management/status_checks.py”, line 917, in
run_checks(False, env, ConsoleOutput(), pool)
File “management/status_checks.py”, line 25, in run_checks
if not run_services_checks(env, output, pool):
File “management/status_checks.py”, line 97, in run_services_checks
output.print_ok(“All system services are running.”)
File “management/status_checks.py”, line 859, in print_ok
self.print_block(message, first_line="\u2713 ")
File “management/status_checks.py”, line 868, in print_block
print(first_line, end=’’, file=self.buf)
UnicodeEncodeError: ‘ascii’ codec can’t encode character ‘\u2713’ in position 0: ordinal not in range(128)