500 error installing apps on fresh ipv6 host

Hardware: VPS debian 10
YunoHost version:
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 ? : maybe
If yes, please explain: ipv6 only host & in postinstall I gave it a fakedomain which i also added to /etc/hosts

Description of my issue

Hi I’m just trying to test yunohost on a fresh vps install. Was cheaper to try on ipv6 host but I can switch to an IPV4 if required. I just wanted to try installing wordpress. I get error:

* [GET] /apps/manifest?app=wordpress 
Error: "500" Internal Server Error
Action: "GET" /yunohost/api/apps/manifest?app=wordpress&locale=en

I’ve checked forums and couldnt find much help. Here’s some of the common requested details and things to try which I tried:

root@yunohost:~# ping ipv6.yunohost.org
PING ipv6.yunohost.org(yunohost.org (2001:910:1410::1)) 56 data bytes
64 bytes from yunohost.org (2001:910:1410::1): icmp_seq=1 ttl=52 time=78.2 ms
root@yunohost:~# ping -c 1 google.com
PING google.com(par21s19-in-x0e.1e100.net (2a00:1450:4007:813::200e)) 56 data bytes
64 bytes from par21s19-in-x0e.1e100.net (2a00:1450:4007:813::200e): icmp_seq=1 ttl=114 time=76.3 ms

Here’s the log from diagnosis window:

Base system (basesystem)

[INFO] Server hardware architecture is kvm amd64
  - Server model is Vultr VC2

[INFO] Server is running Linux kernel 4.19.0-20-amd64

[INFO] Server is running Debian 10.12

[INFO] Server is running YunoHost (stable)
  - yunohost version: (stable)
  - yunohost-admin version: (stable)
  - moulinette version: (stable)
  - ssowat version: (stable)

[WARNING] It looks like apt (the package manager) is configured to use the backports repository. Unless you really know what you are doing, we strongly discourage from installing packages from backports, because it's likely to create unstabilities or conflicts on your system.

Internet connectivity (ip)

[SUCCESS] Domain name resolution is working!

[ERROR] The server does not have working IPv4.

[SUCCESS] The server is connected to the Internet through IPv6!
  - Global IP: xx:xx:xx:xx:xx:xx
  - Local IP: fe------c3

DNS records (dnsrecords)

Ports exposure (ports)

Web (web)

Email (mail)

Services status check (services)

[SUCCESS] Service dnsmasq is running!

[SUCCESS] Service dovecot is running!

[SUCCESS] Service fail2ban is running!

[SUCCESS] Service metronome is running!

[SUCCESS] Service mysql is running!

[SUCCESS] Service nginx is running!

[SUCCESS] Service php7.3-fpm is running!

[SUCCESS] Service postfix is running!

[SUCCESS] Service redis-server is running!

[SUCCESS] Service rspamd is running!

[SUCCESS] Service slapd is running!

[SUCCESS] Service ssh is running!

[SUCCESS] Service yunohost-api is running!

[SUCCESS] Service yunohost-firewall is running!

[SUCCESS] Service yunomdns is running!

System resources (systemresources)

[SUCCESS] The system still has 224 MiB (46%) RAM available out of 483 MiB.

[SUCCESS] The system has 1000 MiB of swap!
  - Please be careful and aware that if the server is hosting swap on an SD card or SSD storage, it may drastically reduce the life expectancy of the device`.

[SUCCESS] Storage / (on device /dev/vda1) still has 5.0 GiB (57%) space left (out of 8.8 GiB)!

[ERROR] The root filesystem only has a total of 9.3 GiB which is quite worrisome! You will likely run out of disk space very quickly! It's recommended to have at least 16 GB for the root filesystem.

System configurations (regenconf)

[SUCCESS] All configurations files are in line with the recommended configuration!

Applications (apps)

[SUCCESS] All installed apps respect basic packaging practices

I’m not sure that’s where the error comes from. To look further into this you would need the api logs. YunoHost relies partly on GitHub for hosting all the applications and scripts where IPV6 integration doesn’t seem to be the priority.

You can try ping github.com, if that doesn’t work, you can use a DNS 64 to get around the problem, like https://nat64.net/ for example. You can change the DNS server in dnsmasq.

As far as I know, yunohost is not full-ipv6-only compliant yet. And github repositories are not accessible in IPv6. So if your server has IPv6 only, it will not be able to install apps from github.

Thanks. This helped. For any onlookers, I needed to comment out all existing entries in /etc/resolv.dnsmask.conf and then add the servers linked to by rungeard, then restart dnsmasq. Now I can install software.

I would probably recommend to others to stick with ipv4 though, due to issues with github pointed to. Though I can confirm so far this workaround is doing fine for my tests

1 Like

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