Install/Postinstall Issues VPS firewall failed

My YunoHost server

Hardware: VPS bought online
YunoHost version: 4.3.4.2
I have access to my server : Through SSH | through the webadmin
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no

Description of my issue

I am trying to install a base Yunohost system on a fresh Debian 10 VPS instance, and the “postinstall” process seems to hang on the firewall step and then make the rest of the system almost unusable. I’ve let this run for a full day and nothing changes in the terminal, and when killed it seems to be minimally functional. When running the first diagnosis, it shows the firewall isn’t running and this is the output from “yunohost service log yunohost-firewall”:

name@ipserver:~$ sudo yunohost service log yunohost-firewall
journalctl:
  - -- Logs begin at Thu 2021-12-16 21:43:48 EST, end at Thu 2021-12-16 22:36:04 EST. --
  - Dec 16 21:43:54 systemd[1]: Starting YunoHost Firewall...
  - Dec 16 21:48:55 systemd[1]: yunohost-firewall.service: Main process exited, code=killed, status=15/TERM
  - Dec 16 21:48:55 systemd[1]: yunohost-firewall.service: Failed with result 'signal'.
  - Dec 16 21:48:55 systemd[1]: Failed to start YunoHost Firewall.
  - Dec 16 21:53:28 systemd[1]: Starting YunoHost Firewall...
  - Dec 16 22:34:37 systemd[1]: yunohost-firewall.service: Main process exited, code=killed, status=15/TERM
  - Dec 16 22:34:37 systemd[1]: yunohost-firewall.service: Failed with result 'signal'.
  - Dec 16 22:34:37 systemd[1]: Failed to start YunoHost Firewall.

Here’s the log for postinstall: https://paste.yunohost.org/raw/ucuvekorus

Also, when I try to navigate the webadmin interface, most actions cause a 500 error and are blocked until I do a “sudo killall yunohost” and then can do some work for a little bit before it starts happening again. Here’s the error that happens:

This also is an error that happens in the terminal when attempting to start services or take actions, and can only be fixed by a server restart or killall.

This is the third time I’ve tried installing on this new VPS and had the same issues. The first time I ran it and directly connected to my domain, and ran postinstall with webadmin. I figured I broke things by navigating away from the page or refreshing, so I wiped and started fresh. The second time, I still connected to my domain but ran all commands from ssh terminal, still hung and didn’t complete. I figured maybe the domain was the issue, so I wiped again. The third time I ran it as the IP of the server, no domain and still the same issues. I haven’t found anything specific about why it hangs or how to fix it so I’d appreciate any feedback.

Thanks!

I suppose you could try to investigate what’s happening when yunohost is “blocked” using “ps -ef --forest” and finding yunohost-firewall related processes in there

1 Like

Here’s what I get when trying to start yunohost-firewall

root     23867   617  0 13:41 ?        00:00:00  \_ sshd: user [priv]
user   23882 23867  0 13:42 ?        00:00:00  |   \_ sshd: user@pts/1
user   23885 23882  0 13:42 pts/1    00:00:00  |       \_ -bash
root     23907 23885  0 13:42 pts/1    00:00:00  |           \_ sudo yunohost service status
root     23909 23907  0 13:43 pts/1    00:00:00  |           |   \_ /usr/bin/python3 /usr/bin/yunohost service status
root     23965 23885  0 13:43 pts/1    00:00:00  |           \_ sudo yunohost service start yunohost-firewall
root     23966 23965  2 13:43 pts/1    00:00:00  |               \_ /usr/bin/python3 /usr/bin/yunohost service start yun
root     23967 23966  0 13:43 pts/1    00:00:00  |                   \_ systemctl start yunohost-firewall
root     23970 23967  0 13:43 pts/1    00:00:00  |                       \_ /bin/systemd-tty-ask-password-agent --watch

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