I tried to install yunohost in a LXC container.
Debian
Buster
armv7l
The installation script worked without errors.
The script was started as root
Then during the initial setup in the browser, the error below came up.
Traceback (most recent call last):
File "/usr/lib/moulinette/yunohost/firewall.py", line 239, in firewall_reload
process.check_output("iptables -w -L")
File "/usr/lib/python3/dist-packages/moulinette/utils/process.py", line 29, in check_output
subprocess.check_output(args, stderr=stderr, shell=shell, **kwargs)
File "/usr/lib/python3.7/subprocess.py", line 395, in check_output
**kwargs).stdout
File "/usr/lib/python3.7/subprocess.py", line 487, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command 'iptables -w -L' returned non-zero exit status 1.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/moulinette/interfaces/api.py", line 484, in process
ret = self.actionsmap.process(arguments, timeout=30, route=_route)
File "/usr/lib/python3/dist-packages/moulinette/actionsmap.py", line 600, in process
return func(**arguments)
File "/usr/lib/moulinette/yunohost/log.py", line 380, in func_wrapper
result = func(*args, **kwargs)
File "/usr/lib/moulinette/yunohost/tools.py", line 282, in tools_postinstall
firewall_upnp("enable", no_refresh=True)
File "/usr/lib/moulinette/yunohost/firewall.py", line 364, in firewall_upnp
firewall_reload(skip_upnp=True)
File "/usr/lib/moulinette/yunohost/firewall.py", line 243, in firewall_reload
prependlines(e.output.rstrip(), "> "),
File "/usr/lib/python3/dist-packages/moulinette/utils/text.py", line 62, in prependlines
return "%s%s" % (prepend, prepend.join(lines))
TypeError: sequence item 0: expected str instance, bytes found
If I run diagnostics after setup, I get errors on
redis-server
https://paste.yunohost.org/azivoledat
yunohost-firewall
https://paste.yunohost.org/evigozatut