Server did work (shortly) but now I get an error "500" (related to domain)

What type of hardware are you using: VPS bought online
What YunoHost version are you running: 12.0.12
How are you able to access your server: The webadmin
Are you in a special context or did you perform specific tweaking on your YunoHost instance ?: No

Describe your issue

I have rented a VPS at Hetzner running Debian. I successfully setup a YunoHost server and installed NextCloud and setup a Collabora server. Nothing more. At my webhosting company I have setup my domain to point to the YunoHost server. In the admin area of the YunoHost server, I have setup a subdomain for the Collabora server and the NextCloud Instance. It all worked, but now it does not anymore. I don’t know if I did something wrong or whatever happened. One way the problem comes to light is when I click the domain (or one of its two subdomains).

I get this message: “Error: “500” Action: “GET” /yunohost/api/domains/lessonstudy.dk?locale=en”" followed by “Error message:
Could not write file /var/cache/yunohost/dns_zones/lessonstudy.dk (reason: [Errno 28] No space left on device)” .

The last part, “No space left on device” seems strange. When I check at Hetzner, it seems like there is still a lot of space on the VPS.

I am new here and have only little technical skills. Please forgive my clumsy request for help and teach me to do better (if necessary).

Share relevant logs or error messages

I cannot get YunoHost to create a log about this issue!

Connect using ssh and run :

# Check disk space 
df -h

# run basic cleanup 
sudo yunohost tools basic-space-cleanup 

# run diagnosis 
sudo yunohost diagnosis run 

# show diagnosis output 
sudo yunohost diagnosis show 

# install ncdu
sudo apt install ncdu 

# scan disk for space usage
sudo ncdu / -x

Thanks:

$ sudo apt install ncdu
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
The following NEW packages will be installed:
ncdu
0 upgraded, 1 newly installed, 0 to remove and 6 not upgraded.
Need to get 51.9 kB of archives.
After this operation, 116 kB of additional disk space will be used.
E: You don’t have enough free space in /var/cache/apt/archives/.

It seems that space is the issue. I will try to expand the server space.
Any other suggestions?

Run sudo yunohost tools basic-space-cleanup then immediately sudo apt install ncdu -y

$ sudo yunohost tools basic-space-cleanup
[sudo] password for jb_admin:
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
0 upgraded, 0 newly installed, 0 to remove and 6 not upgraded.
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
Del collaboraofficebasis-math 24.04.13-2 [688 kB]
Del collaboraofficebasis-ooofonts 24.04.13-2 [101 MB]
Del yunohost-portal 12.0.8 [302 kB]
Del collaboraofficebasis-extension-pdf-import 24.04.13-2 [244 kB]
Del collaboraoffice-ure 24.04.13-2 [11.6 MB]
Del collaboraofficebasis-impress 24.04.13-2 [252 kB]
Del collaboraofficebasis-draw 24.04.13-2 [5,780 B]
Del collaboraofficebasis-images 24.04.13-2 [4,022 kB]
Del collaboraofficebasis-en-us 24.04.13-2 [79.9 kB]
Del collaboraofficebasis-ooolinguistic 24.04.13-2 [2,324 B]
Del collaboraofficebasis-graphicfilter 24.04.13-2 [1,456 kB]
Del collaboraofficebasis-core 24.04.13-2 [87.3 MB]
Del collaboraoffice 24.04.13-2 [282 kB]
Del coolwsd 24.04.13.2-1 [19.1 MB]
Del code-brand 24.04-34 [114 kB]
Del collaboraofficebasis-writer 24.04.13-2 [4,585 kB]
Del yunohost-admin 12.0.6 [6,097 kB]
Del collaboraofficebasis-calc 24.04.13-2 [9,948 kB]
Vacuuming done, freed 0B of archived journals from /var/log/journal/3fdc296d5c234f4cbd76fa108434a59b.
Vacuuming done, freed 0B of archived journals from /run/log/journal/3fdc296d5c234f4cbd76fa108434a59b.
Vacuuming done, freed 0B of archived journals from /run/log/journal.
Vacuuming done, freed 0B of archived journals from /var/log/journal.
rm: cannot remove ‘/var/log/.gz’: No such file or directory
rm: cannot remove '/var/log/
/.gz’: No such file or directory
rm: cannot remove '/var/log/
.?’: No such file or directory
rm: cannot remove ‘/var/log//.?’: No such file or directory

$ sudo apt install ncdu -y

Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
The following NEW packages will be installed:
ncdu
0 upgraded, 1 newly installed, 0 to remove and 6 not upgraded.
Need to get 51.9 kB of archives.
After this operation, 116 kB of additional disk space will be used.
E: You don’t have enough free space in /var/cache/apt/archives/.

And what about df -h

I have deleted my installation and started over. I will make a new post about it.
Thanks for your time.