My yunohost installation seems to work, however I can not install new apps. Upon digging for the root of the problem, I found out that ping is not working (time out, 100% loss), I can not update (or install) packages from Debian-repos.
My server is perfectly well reachable from outside. However, a few days ago ping stopped working at all and I could not download any files with wget. Turned out there was a problem with dns names resolutions. I allowed port 53 in my security group (vps on OpenStack), which solved the problem with dns names resolutions, I can download files with wget, but fetching packages does not work (time out). As far as I understand, the problem may be with the /etc/resolv.conf file, but this is constantly overwritten by yunohost. That is where I’ve got stuck.
My machine is a vps on OpenStack. There was a major disruption on the whole cluster recently, so may well be related, but I’m not 100% sure.
Output of less /etc/resolv.conf:
nameserver 127.0.0.1
search openstacklocal
Output of ifconfig -a
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet XXX.XX.XX.XXX netmask 255.255.240.0 broadcast XXXXXXXXXXXXXXXX
inet6 YYYYYYYYY prefixlen 64 scopeid 0x20<link>
ether ZZZZZZZZ txqueuelen 1000 (Ethernet)
RX packets 194669057 bytes 11708725664 (10.9 GiB)
RX errors 0 dropped 2 overruns 0 frame 0
TX packets 412705 bytes 123125411 (117.4 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1 (Local Loopback)
RX packets 150233 bytes 31116860 (29.6 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 150233 bytes 31116860 (29.6 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
Update: I’ve got ping to work by opening ICMP for engres (is this secure?), however fetching packages still does not work.
Here is the output of apt update:
Hit:1 https://packages.sury.org/php stretch InRelease
Err:2 http://forge.yunohost.org/debian stretch InRelease
Cannot initiate the connection to forge.yunohost.org:80 (2001:910:1410::1). - connect (101: Network is unreachable) [IP: 2001:910:1410::1 80]
Hardware: VPS bought online
YunoHost version: 3.7.1
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