Fine tuning questions

Hi,

I have set up mailinabox and have it accepting mail and so on.

I have problems in a few areas. And it would be wonderful if someone may have some ideas.
Firstly using the provisioning tool for TLS

Something unexpected went wrong: The HTTP Validation challenge for xxxxxxxx failed: Could not connect to …

Log:
Reading account key from /home/user-data/ssl/lets_encrypt/account.pem.
Validating existing account saved to /home/user-data/ssl/lets_encrypt/registration.json.
Reusing existing challenges for xxxxxxxx
Validation file is not present — a file must be installed on the web server.
Requesting new challenges forxxxxxxxx
Validation file is not present — a file must be installed on the web server.
Reusing existing challenges for xxxxxxx
The HTTP Validation challenge for xxxxxxx failed: Could not connect to xxxxxx

Secondly I get an error when I check the status from the drop down menu.
the only syslog errors;

Oct 17 16:24:36 webmail Exception on /system/status [POST]#012Traceback (most recent call last):#012 File “/usr/lib/python3/dist-packages/flask/app.py”, line 1817, in wsgi_app#012 response = self.full_dispatch_request()#012 File “/u
sr/lib/python3/dist-packages/flask/app.py”, line 1477, in full_dispatch_request#012 rv = self.handle_user_exception(e)#012 File “/usr/lib/python3/dist-packages/flask/app.py”, line 1381, in handle_user_exception#012 reraise(exc_typ
e, exc_value, tb)#012 File "/usr/lib/python3/dist-packages/flask/compat.py", line 33, in reraise#012 raise value#012 File “/usr/lib/python3/dist-packages/flask/app.py”, line 1475, in full_dispatch_request#012 rv = self.dispatch
request()#012 File “/usr/lib/python3/dist-packages/flask/app.py”, line 1461, in dispatch_request#012 return self.view_functionsrule.endpoint#012 File “/usr/local/bin/mailinabox-daemon”, line 55, in newview#012
return viewfunc(*args, **kwargs)#012 File “/usr/local/bin/mailinabox-daemon”, line 442, in system_status#012 run_checks(False, env, output, pool)#012 File “/home/cliff/mailinabox/management/status_checks.py”, line 64, in run_checks#
012 run_network_checks(env, output)#012 File “/home/cliff/mailinabox/management/status_checks.py”, line 262, in run_network_checks#012 check_ufw(env, output)#012 File “/home/cliff/mailinabox/management/status_checks.py”, line 172
, in check_ufw#012 ufw = shell(‘check_output’, [‘ufw’, ‘status’]).splitlines()#012 File “/home/cliff/mailinabox/management/utils.py”, line 193, in shell#012 ret = getattr(subprocess, method)(cmd_args, **kwargs)#012 File “/usr/lib
/python3.4/subprocess.py”, line 607, in check_output#012 with Popen(*popenargs, stdout=PIPE, **kwargs) as process:#012 File “/usr/lib/python3.4/subprocess.py”, line 859, in init#012 restore_signals, start_new_session)#012 Fil
e “/usr/lib/python3.4/subprocess.py”, line 1457, in _execute_child#012 raise child_exception_type(errno_num, err_msg)#012FileNotFoundError: [Errno 2] No such file or directory: ‘ufw’

Should I run the installer again?

Thanks in advance

That could be an option. But are you running the system on Ubuntu 14.04? And dit you manually remove some package, because at least UFW gives an error.

can you manually run “sudo ufw status”

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.