NextBox ist nicht erreichbar

Hallo

Meine NextBox ist über die externe IP erneut nicht mehr erreichbar. Powercycle und Soft Reset haben auch nach mehrmaligem Durchführen nichts gebracht. (Manchmal ging es für ganz kurze Zeit wieder.) Im Terminal per SSH ist die Box erreichbar (ob die interne IP auch im Browser ginge, weiss ich nicht, weil dort automatisch auf die externe umgestellt wird.

Auf erneuten Factory Reset habe ich wenig Lust, zumal das jeweils eine ziemliche Operation war. Deshalb: Welche Möglichkeiten habe ich, um erst mal herauszufinden, was überhaupt das Problem ist und dann um auch eine Lösung zu finden?

Merci und Gruss
Klinge

Schau mal ob bei desec noch dein IPv4 Eintrag verfügbar ist.
Das ist aktuell das Problem bei mir und ich habe die Frage auch schon im Desec Forum gestellt.

Powercycle und Soft Reset habe ich auch hinter mir. (vorher)
Weißt du, ob du standardmäßig über v4 oder v6 von außen zugreifst?

Ich meine standardmässig über IPv4. Mein desec Eintrag ist im Anhang. Wenn ich den richtig interpretiere fehlt der IPv4 Eintrag. Wäre das also der Fehler? Und eine Lösung gibt es (noch) nicht?

Hallo.

Ich hänge mich hier mal ran. Ich habe auch ein Bildschirmfoto gemacht. Auch bei mir steht nur IPv6 adress. Wenn das wirklich der Fehler ist, wäre es ja schön, wenn jemand eine Lösung hätte. Ich stehe komplett auf dem Schlauch.

Bei mir sind sowohl IPv4 als auch IPv6-Einträge vorhanden. Trotzdem komme ich nicht auf die NextBox. Vor 2-3 Tagen war alles noch in Ordnung!

Und plötzlich geht es wieder!! Sehr merkwürdig.

Und wieder geht es nicht! Dafür fehlt jetzt auch der IPv4-Eintrag bei dedyn!

I have had similar problems to many with losing external access to my nextbox
I could still connect locally through my browser on the local IP address and also through ssh

My problem was that /etc/ddclient.conf wasn’t set up correctly
This is what finally worked for me (the -4 tells it to use IPv4)
replace mydomain with your domain name and mytoken with your token

daemon=300
protocol=dyndns2
use=cmd, cmd=‘curl -4 https://checkipv4.dedyn.io
ssl=yes
server=update.dedyn.io
login=mydomain.dedyn.io
password=‘mytoken’
mydomain.dedyn.io

because ddclient.conf wasn’t correct it caused deSEC to delete the A record for my domain
I could see this in the Nextbox.log file

In the Nextbox App in the broswer under System Settings I downloaded System Logs and viewed the recent entries in nextbox.log

tail -200 nextbox.log > nextbox-tail.log


2026-03-26 20:55:50,001 [E] remote failed resolving and/or getting external ipv4
2026-03-26 20:57:59,392 [i] jobs updated deSEC IPv4 (None) and IPv6 () address for ‘mydomain.dedyn.io’ (last 2 messages repeated 2.5 times)

Once the NextBox tells deSEC “I have no IPv4 address,” deSEC does exactly what it’s told and wipes the A record.

Fixing /etc/ddclient.conf and putting back my IPv4 address in the A record at deSEC – Free Secure DNS solved my problems

Run this command to see if ddclient can successfully talk to deSEC:
$ sudo ddclient -daemon=0 -debug -verbose -noquiet
Look at the last few lines. It should say “SUCCESS” and give your IPv4 address

I used this command to restart
$ sudo systemctl restart nextbox-daemon

1 Like

Ja, ob die v4 Adresse bei desec enthalten ist oder nicht schwankt. Ursache ist mir unbekannt.

Meinerseits hat es 4 Jahre lang funktioniert mit IPv4.
Das Config File wurde nicht angefasst.

Das ddclient File zeigt auch ein paar Fehlermeldungen, die damit wahrscheinlich nicht zusammen hängen werden. Ggf. kann sich aber jemand dazu äußern.

perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
Language = “en_US:en”,
LC_ALL = (unset),
LANG = “en_US.UTF-8”
are supported and installed on your system.

I run $ sudo ddclient -daemon=0 -debug -verbose -noquiet

Output seems good but isn’t.
SUCCESS: mydomain.dedyn.io: skipped: IP Address was already set to “correct IPv4 Adress”
BUT in the same moment no IPv4 Adress is set in the webinterface of desec.

$ sudo ddclient -daemon=0 -debug -verbose -noquiet -force

Führt dazu, das die aktuelle IPv4 Adresse online eingetragen wird, auch wenn diese lokal noch im Cache ist weil unverändert aber bei desec schon gelöscht wurde weil angeblich keine v4 Adresse vorhanden ist.

You must also manually set A record at deSEC – Free Secure DNS

click + icon
choose “record set type” A and enter the ipv4 address

Thanks, but have done this several times.

I have now disabled the ddclient service and set a A record to have it working.
Downloaded logs from web gui.

Had to hurry because in the meantime the A Record got deleted again.

In the Logs it is often: updated deSEC IPv4 (None)

But every once in a while (no real time difference obvious) it updates with the correct v4 Adress.
Does not help much when 5 Minutes later it will get deleted again.

In the ddclient.conf I have set the intervall to 3000 instead of 300 to prevent a delete every 5 Minutes. Restarted the nextcloud daemon afterwards.
But, it doesn’t care. Still updates every 5 Minutes with the delete. :grimacing:

Yes I was same as you. But after I fixed my ddclient.conf it worked fine.

Oh no. Big screen appears saying Maintenance mode.

Maintenance mode

This Nextcloud instance is currently in maintenance mode, which may take a while. This page will refresh itself when the instance is available again.

Contact your system administrator if this message persists or appeared unexpectedly.

Maybe good news. Are they fixing something?

I did try your solution, and it worked, and I thought, cool, well, for half an hour, then the IPv4 entry in desec was deleted again, and it stopped working.