Nodvard Deck 0.12.0 – Docker-Stacks aus Git, Fail2ban in Nodvard Shield und engere Grenzen für Module und Anmeldungen #6
nicobenks2006-lgtm
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
English version: below.
Deutsch
Das Wichtigste
Was du tun musst
Server, die root-Rechte nur über die Hilfsskripte bekommen: Einrichtungsbefehl noch einmal ausführen. Nodvard Shield bringt ein neues Hilfsskript mit und lehnt dort bis dahin Aktionen mit root-Rechten ab. Server mit voller sudo-Regel oder Anmeldung als root brauchen keinen Eingriff.
LATTICE_*aufNODVARD_DECK_*umstellen. Die alten Namen gelten in 0.12 noch, eine der nächsten Versionen, spätestens 1.0, liest sie nicht mehr. Welche der Container noch sieht, zeigt die Startseite dem Inhaber. In der.envneben der Compose-Datei von Hand umbenennen:LATTICE_PORT→NODVARD_DECK_PORT,LATTICE_DNS_1→NODVARD_DECK_DNS_1undLATTICE_DNS_2→NODVARD_DECK_DNS_2(die Startseite zeigt diese nicht, weil nur Compose die Datei liest).Alte volle sudo-Regel entfernen (empfohlen). Server, die vor 0.11.1 mit „Root-Rechte ohne Passwort“ eingerichtet wurden, haben oft noch
<benutzer> ALL=(root) NOPASSWD: ALL. Sobald kein Modul die Regel mehr braucht, weist die Übersicht unter „Braucht Aufmerksamkeit“ darauf hin und führt zum fertigen Einrichtungsbefehl mit „Volle sudo-Regel entfernen“.Von Hand entfernen, erst wenn „Verbindung prüfen“ bei jedem Hilfsskript „Eigene sudo-Regel vorhanden“ zeigt (
<benutzer>ist der SSH-Benutzer von Deck):Danach noch einmal „Verbindung prüfen“. Anleitung: docs/11, Abschnitt 6.
Erweiterungen anderer Anbieter und eigene Skripte prüfen. Die alten Namen
latticeundlattice_sdk(Python-Pakete),LatticeExtensionundLatticeError(Klassen) und die Entry-Point-Gruppelattice.extensionsgibt es nicht mehr. Erweiterungen, die sie noch nutzen, lädt Deck nicht. Die Liste der Erweiterungen zeigt, welche betroffen sind, woran es liegt und was hilft. Eigene Skripte mitimport latticeoderpython -m lattice.…aufnodvard_deckumstellen. Die Oberfläche einer Erweiterung brauchtwindow.__nodvardDeckstattwindow.__lattice.Neu
Docker: Stacks aus Git
https://..envnie und löscht eine selbst angelegte nur bei „Zurück zum Stand davor“ wieder.Nodvard Shield
Server und sudo
Einstellungen
Sicherheit
Updates
Anmeldung
Browser
Module
Server und Hilfsskripte
DOCKER_HOSToder Docker-Kontext auf einen anderen Docker-Dienst zeigt.Nodvard Shield
soc.manage), und mit nursoc.readbleiben sie lesbar.Weiteres
Verbessert
LATTICE_*-Einstellungen noch gesetzt sind und wie sie neu heißen.Behoben
setfacl -bund danachchmod g-wals Abhilfe (setfacl -ballein reichte nicht).#abgeschaltet, trägt das erneute Einrichten ihn wieder funktionierend ein.Gut zu wissen
docker compose pull && docker compose up -d. Von Hand geht ein Update weiter ohne Freigabe.916fff4eb943eb5d. Den Update-Helfer richtest du mit der Compose-Datei ein, die an dieser Version hängt.English
The web interface is in German only for now. Names of buttons, pages and settings are given in German as they appear, with a translation in brackets.
The essentials
What you need to do
Servers that get root rights only through helper scripts: run the setup command again. Nodvard Shield ships a new helper script and blocks actions that need root on those servers until then. Servers with a full sudo rule or root login need no action.
Rename
LATTICE_*variables toNODVARD_DECK_*. The old names still work in 0.12 and will stop working in one of the next versions, 1.0 at the latest. The home page shows the owner which ones the container still sees. In the.envfile next to the Compose file, rename by hand:LATTICE_PORT→NODVARD_DECK_PORT,LATTICE_DNS_1→NODVARD_DECK_DNS_1andLATTICE_DNS_2→NODVARD_DECK_DNS_2(the home page cannot show these, because only Compose reads that file).Remove the old full sudo rule (recommended). Servers set up before 0.11.1 with “Root-Rechte ohne Passwort” (root without password) often still have
<user> ALL=(root) NOPASSWD: ALL. Once no module needs the rule any more, the overview points it out under “Braucht Aufmerksamkeit” (needs attention) and links to the ready-made setup command with “Volle sudo-Regel entfernen” (remove full sudo rule).Remove it by hand only once “Verbindung prüfen” (check connection) shows “Eigene sudo-Regel vorhanden” (own sudo rule present) for every helper script (
<user>is the SSH user Deck logs in with):Then run “Verbindung prüfen” again. Details: FIRST-SETUP.md, section 6.
Check third-party extensions and your own scripts. The old names
latticeandlattice_sdk(Python packages),LatticeExtensionandLatticeError(classes) and the entry point grouplattice.extensionsare gone. Deck no longer loads extensions that still use them. The extension list shows which ones are affected, why and what helps. Change your own scripts fromimport latticeorpython -m lattice.…tonodvard_deck. An extension's interface needswindow.__nodvardDeckinstead ofwindow.__lattice.Added
https://only)..env, and only removes one it created itself when you use “Zurück zum Stand davor” (back to previous state).Changed
LATTICE_*settings are still in use and what they are called now.Deprecated
LATTICE_*environment variables still work in 0.12 and will be removed in one of the next versions, 1.0 at the latest.Removed
latticeandlattice_sdk, the classesLatticeExtensionandLatticeErrorand the entry point grouplattice.extensions: extensions that use them are no longer loaded, and the extension list shows which ones, why and what helps.import latticeorpython -m lattice.…must be changed to usenodvard_deck.Fixed
setfacl -bfollowed bychmod g-w(setfacl -balone was not enough).#, running the setup command again puts back a working key.Security
DOCKER_HOSTor a Docker context.soc.manageright, and with onlysoc.readthey stay readable.Good to know
docker compose pull && docker compose up -d. Updating by hand works without an approval, as before.916fff4eb943eb5d. Set up the update helper with the Compose file attached to this release.Update-Helfer / Update helper
ghcr.io/nodvard/deck-updater@sha256:7d2702c5b568f83787d652b49d506f464f409db275ae646c5b7b427d42bb6b98(Version 0.12.0)Die Datei
compose.standalone-mit-helfer.ymlan diesem Release nennt genau diesen Helfer. Vergleichen kannst du den Digest mitdocker buildx imagetools inspect ghcr.io/nodvard/deck-updater:0.12.0(Zeile „Digest“).The file
compose.standalone-mit-helfer.ymlattached to this release pins exactly this helper. Compare the digest withdocker buildx imagetools inspect ghcr.io/nodvard/deck-updater:0.12.0(line “Digest”).This discussion was created from the release Nodvard Deck 0.12.0 – Docker-Stacks aus Git, Fail2ban in Nodvard Shield und engere Grenzen für Module und Anmeldungen.
All reactions