Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. Proxmox-Updater (Host/LXC/VM) auch ioBroker,piHole,etc

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    Proxmox-Updater (Host/LXC/VM) auch ioBroker,piHole,etc

    This topic has been deleted. Only users with topic management privileges can see it.
    • Negalein
      Negalein Global Moderator @Bass-T last edited by

      @bass-t sagte in Proxmox-Updater (Host/LXC/VM) auch ioBroker,piHole,etc:

      update des Host

      also auch zB von Proxmox 7 auf 8?

      1 Reply Last reply Reply Quote 0
      • Bass-T
        Bass-T last edited by

        @negalein nein, davon lasse ich die finger, genauso macht das script kein update der distribution zb von bullseye auf bookworm.
        Diese Updates sind zu gefährlich, um sie "einfach" mal so anzustoßen - der ärger wäre vorprogrammiert.

        Mein script macht lediglich "normale" updates (apt update && apt dist-upgrade -y && apt autoclean)
        danach sucht es noch nach zusätzlichen installationen (iobroker / pihole/ ... ) und updatet diese auch.

        Zudem, hat das Script einen vollwertigen exit code der besagt: "im zweifel Abbruch" - somit wird im Fehlerfall nicht gleich alles zerschossen. Der Fehler kann in der Logfile nachvollzogen werden und muss dann vom User selbstständig behoben werden.

        1 Reply Last reply Reply Quote 0
        • Bass-T
          Bass-T last edited by Bass-T

          v4.1 released

          Screenshot_20240407_095611.png

          !! Because of name and directory changing, you need an restart of the node, after update !!

          Extras:

          • name changing ("Proxmox Updater" is now "The Ultimate Updater for Proxmox VE")
          • disable/enable Snapshots and Backups in config file
          • set, how many snapshots will be keep, in config file
          • delete old (Update_) snapshots
          • move program to correct folder system
          • edit config file, for better usage
          • update-check can now be better set (in config file)
          • support Docker Compose v1 and v2

          Fixed:

          • bug fixing
          1 Reply Last reply Reply Quote 0
          • Bass-T
            Bass-T last edited by

            v4.2 released

            Extras:

            • rebuild waiting for VM start (could now be set in config file)

            Fixed:

            • VM Template error
            • Unifi-Controller Container
            • FreeBSD VM error
            • docker compose
            • node hopping without welcome screen installed
            1 Reply Last reply Reply Quote 0
            • Bass-T
              Bass-T last edited by

              v4.3 released

              https://github.com/BassT23/Proxmox

              • add freebsd VM (QEMU and SSH Connection)
              • add non root user update in VMs
              • add autoclean for debian based systems
              • add filesystem trim for ext4 systems
              • add curl for internet check
              • add env settings for arch in config file
              • add kernel kleaning (disabled by default in config file)
              • fix run for only one LXC/VM with update <ID>
              • fix ioBroker Upgrade
              • fix arch upgrade
              • fix START/STOP/WAITING for stopped VMs
              • fix compatibility with "old" ssh connection
              • fix IP output by nodes
              • fix fedora autoremove
              • fix missing kernel infos
              • fix template detection
              • fix internet check
              • modify config file - checker settings now on the buttom
              • modify version check - check now all branches
              • code cleaning
              1 Reply Last reply Reply Quote 0
              • ?
                A Former User @Bass-T last edited by

                @bass-t sagte in Proxmox-Updater (Host/LXC/VM) auch ioBroker,piHole,etc:

                @da_woody wir hatten es ja nur von der Proxmox Umgebung 😜
                Das hier wäre dann mein gesamtes Netz:
                Screenshot_20231222_114040.pngScreenshot_20231222_114943.png
                und über 30 Zigbee Geräte 🤔

                Mit welcher Software hast du diese Grafik gemacht?

                Bass-T 1 Reply Last reply Reply Quote 0
                • Bass-T
                  Bass-T @Guest last edited by Bass-T

                  @neuschwansteini zabbix

                  Hilft mir bei der Visualisierung und host Überwachung.

                  EDIT:
                  läuft in einer extra "monitoring" LXC.
                  Ich war es leid fehlerhafte Rechner zu "suchen".
                  Zabbix ist gratis und sendet per (ua.) telegram bot Nachrichten, falls Probleme auflaufen.

                  1 Reply Last reply Reply Quote 0
                  • Bass-T
                    Bass-T last edited by Bass-T

                    WindowsTerminal_s5IWT6UdUj.png

                    Extras:

                    • add symbolic
                    • add user scripts folder
                    • add "error hopping option" in config file
                    • add LXC start delay option in config file
                    • add "update" command for "Proxmox VE Helper-Scripts" in extra section
                    • FreeBSD is disabled by default in config file
                    • modify "update <ID>" - disable skip output
                    • code cleaning

                    Fixed:

                    • fix docker-compose v2 skipping
                    • fix YUM Update - used now only for centos
                    • fix VM shutdown errors
                    Master67 1 Reply Last reply Reply Quote 0
                    • Master67
                      Master67 @Bass-T last edited by Master67

                      @bass-t Danke für deine Arbeit, das Script nimmt mir wirklich was an Arbeit ab 🙂
                      2025-05-11_10-11.png

                      Bass-T 1 Reply Last reply Reply Quote 1
                      • Bass-T
                        Bass-T @Master67 last edited by

                        @master67 sehr gerne.

                        Mit dem neuen Update ist jetzt auch ein "Error-Hopping" drin.
                        Das Script bricht nun bei error nicht mehr ab, sondern bricht nur die LXC/VM ab und macht beim nächsten weiter.

                        Am Ende bekommst du ein log mit Fehlern.
                        Diese fehlerhaften dann am besten mit "update <ID>" nochmal separat updaten. Immer nur einen. Somit kommen auch interactive abfragen 😉

                        Viel spass beim Updaten 🙂

                        1 Reply Last reply Reply Quote 0
                        • Bass-T
                          Bass-T last edited by

                          💪 👍 !!! Vielen Dank für 10k downloads !!! 👍💪

                          1 Reply Last reply Reply Quote 0
                          • Bass-T
                            Bass-T last edited by Bass-T

                            Hi @ll

                            ich habe ein neues update für alle (beta stage)
                            Bitte Testen und feedback da lassen 😉

                            update beta -up
                            

                            Es gibt massig grafische Upgrades und coole Features 🙂

                            • "only" or "exclude" LXC/VM by ID/TAG/range #thx to @AdamSutch
                            • add debug mode (can be enabled in config file)
                            • add check-updates command update -check
                            • add email notification after update
                            • add better email notification for update-check
                            • add more symbolic
                            • add LXC template detection
                            • check "paused" VMs during update-check and bring them back in pause
                            • fix #203 Error on apt clean
                            • fix unsupported neofetch under trixie - change to screenfetch
                            • fix #201 (abbort after template detection)
                            • fix VM ID in error-log-file
                            • fix shell check
                            • fix typo
                            • code cleaning
                            T 1 Reply Last reply Reply Quote 3
                            • T
                              TT-Tom @Bass-T last edited by

                              @bass-t

                              hallo, kann ich irgendwo das format der Email beeinflussen, aktuell sieht es bei mir so aus. Ich nutze hier Apple (iMac)

                              Host : proxmox1
                              S: 2 / N: 2
                              LXC 103 : mosquitto
                              N: 2
                              LXC 104 : nodered
                              N: 2
                              Host : proxmox2
                              S: 2 / N: 2

                              Bass-T 1 Reply Last reply Reply Quote 0
                              • Bass-T
                                Bass-T @TT-Tom last edited by

                                @tt-tom ja, mit v4.5 ist das geändert 😉

                                1 Reply Last reply Reply Quote 1
                                • Bass-T
                                  Bass-T last edited by

                                  WindowsTerminal_Xy0t429zPt.png

                                  v4.5 released

                                  NEU:

                                  • add LXC debian trixie upgrade (update -dist-upgrade)
                                  • "only" or "exclude" LXC/VM by ID/TAG/range #thx to @AdamSutch
                                  • add debug mode (can be enabled in config file)
                                  • add check-updates command update -check
                                  • add email notification after update
                                  • add better email notification for update-check
                                  • add more symbolic
                                  • add LXC template detection
                                  • check "paused" VMs during update-check and bring them back in pause

                                  FIX:

                                  • fix #203 Error on apt clean
                                  • fix unsupported neofetch under trixie - change to screenfetch
                                  • fix #201 (abbort after template detection)
                                  • fix VM ID in error-log-file
                                  • fix shell check
                                  • fix typo
                                  • code cleaning
                                  da_Woody 1 Reply Last reply Reply Quote 2
                                  • da_Woody
                                    da_Woody @Bass-T last edited by

                                    @bass-t ich weis nicht, ob ich zu dumm bin. ich bekomm jetzt 2x täglich (07:01 und 19:01) eine mail mit "No updates found during search"
                                    früher kam nur ne mail, wenn updates zur verfügung standen.
                                    wenn keine updates anstehn nervt das.

                                    Bass-T 1 Reply Last reply Reply Quote 0
                                    • Bass-T
                                      Bass-T @da_Woody last edited by Bass-T

                                      @da_woody früher kam die meldung auch immer, aber mit doofen text. Auslöser ist/war cron.
                                      Cron ist nun still gelegt, und die Nachricht wird jetzt bereinigt und geschickt.

                                      Wenn jetzt mit der letzten beta und dem neuen 4.5 von heute keine updates gefunden werden sollte:

                                      No updates found during search
                                      

                                      per email kommen.

                                      Ich könnte das mit einer Variablen in der config file ändern. Soll ich 😉

                                      Alternativ passe die cron zeiten in /etc/crontab an, dann machst du den check vielleicht nur noch 1x am Tag /Woche 😉
                                      Zeile ist hier:

                                      00 07,19 * * *  root    update -check >/dev/null 2>&1
                                      

                                      EDIT:

                                      send email if no updates available
                                      EMAIL_NO_UPDATES="true"

                                      ist im neusten develop jetzt drin - wird mit dem nächsten release kommen 😉

                                      da_Woody 1 Reply Last reply Reply Quote 0
                                      • Bass-T
                                        Bass-T last edited by

                                        v4.5.2 released

                                        • add Backup when Snapshot is not available #204
                                        • fix fs-trim
                                        • fix "error code 1" on start
                                        • fix #188 error during helper-script update
                                        • fix ssh connection during check
                                        • code cleaning
                                        vowill 1 Reply Last reply Reply Quote 1
                                        • vowill
                                          vowill @Bass-T last edited by vowill

                                          @bass-t Danke für das Script - echt eine super Sache.
                                          Bei mir lief das Programm wenige Minuten durch und blieb dann "stehen" mit den Zeilen:

                                          Setting up openssh-server (1:9.2p1-2+deb12u7) ...
                                          locale: Cannot set LC_CTYPE to default locale: No such file or directory
                                          locale: Cannot set LC_MESSAGES to default locale: No such file or directory
                                          locale: Cannot set LC_ALL to default locale: No such file or directory
                                          rescue-ssh.target is a disabled or a static unit not running, not starting it.
                                          

                                          Danach für ca. 2min kein Prompt mehr und auch sonst keine Aktion. Das macht doch etwas nervös ... Aber dann lief es durch bis zum Ende.

                                          ✅ Finished, all updates done.
                                          
                                          🎉 All fine, have a nice day```
                                          Bass-T 1 Reply Last reply Reply Quote 1
                                          • Bass-T
                                            Bass-T @vowill last edited by

                                            @vowill sagte in Proxmox-Updater (Host/LXC/VM) auch ioBroker,piHole,etc:

                                            @bass-t Danke für das Script - echt eine super Sache.
                                            Bei mir lief das Programm wenige Minuten durch und blieb dann "stehen" mit den Zeilen:

                                            Setting up openssh-server (1:9.2p1-2+deb12u7) ...
                                            locale: Cannot set LC_CTYPE to default locale: No such file or directory
                                            locale: Cannot set LC_MESSAGES to default locale: No such file or directory
                                            locale: Cannot set LC_ALL to default locale: No such file or directory
                                            rescue-ssh.target is a disabled or a static unit not running, not starting it.
                                            

                                            Danach für ca. 2min kein Prompt mehr und auch sonst keine Aktion. Das macht doch etwas nervös ... Aber dann lief es durch bis zum Ende.

                                            ✅ Finished, all updates done.
                                            
                                            🎉 All fine, have a nice day```
                                            

                                            Hi @vowill, leider kann ich aus deinem code nicht viel raus lesen. Was ich sehe ist, ein "normaler" Fehlercode, wenn locale nicht gesetzt wurde - was ziemlich oft der Fall ist - ist auch kein Problem, mehr ein Hinweis.

                                            rescue-ssh.target hat dann wohl etwas länger gedauert zu installieren, ... auch nichts auffälliges, ...

                                            Am Ende hast du ein Finish - ohne Fehler bekommen, was bedeutet, dass an keiner stelle des Skript etwas "schief" gelaufen ist - es gab keinen ExitCode - nur 0 - so soll es sein.

                                            Alles in allem würde ich behaupten alles safe 😉

                                            Grüße

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            929
                                            Online

                                            32.0k
                                            Users

                                            80.5k
                                            Topics

                                            1.3m
                                            Posts

                                            14
                                            52
                                            6662
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo