Firewall doesn't start

Hi !
I don’t know why but my firewall doesn"t start when i restart my server.
YH is on 2.7 but i can’t load firewall.I can’t do anything on the administration panel : it’s loading…
When i use command line

 yunohost firewall reload 

Traceback (most recent call last): File "/usr/bin/yunohost", line 219, in <module> timeout=opts.timeout, 
File "/usr/lib/python2.7/dist-packages/moulinette/ init .py", line 136, in cli, output_as=output_as, password=password, timeout=timeout) 
File "/usr/lib/python2.7/dist-packages/moulinette/interfaces/", line 390, in run ret = self.actionsmap.process(args, timeout=timeout)
File "/usr/lib/python2.7/dist-packages/moulinette/, line 495, in process return func(**arguments) 
File "/usr/lib/moulinette/yunohost/, line 205, in firewall_reload if ssh_port not in firewall list()['opened_ports']: File "/usr/lib/moulinette/yunaost/firewall.ple, line 173, in firewall_list f = firewall(i) ypeError: 'NOneType' object has no attribute ' getitem ' 

Do you have any ideas ?

Hi there,

tested it on my machine an it works :confused:

Do you have a file /etc/yunohost/firewall.yml filled with ports stuff ?

1 Like

Thank !
firewal.yml was empty…
I copied firewall.yml.old to firewall.yml
It works.
Solved !