Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Off Topic
    4. Proxmox
    5. Proxmox Update 6.x --> 7.x

    NEWS

    • Monatsrückblick - April 2025

    • Minor js-controller 7.0.7 Update in latest repo

    • Save The Date: ioBroker@Smart Living Forum Solingen, 14.06.

    Proxmox Update 6.x --> 7.x

    This topic has been deleted. Only users with topic management privileges can see it.
    • CrunkFX
      CrunkFX Forum Testing @liv-in-sky last edited by

      @liv-in-sky Verstanden, schau mal in meinen edit^^

      liv-in-sky 1 Reply Last reply Reply Quote 0
      • liv-in-sky
        liv-in-sky @CrunkFX last edited by

        @crunkfx

        ne - so einfach ist es nicht

        Image 1.png

        CrunkFX 2 Replies Last reply Reply Quote 0
        • CrunkFX
          CrunkFX Forum Testing @liv-in-sky last edited by

          @liv-in-sky Ok problem erkannt. Ich nehme an der container ist unprivillegiert?

          liv-in-sky 1 Reply Last reply Reply Quote 0
          • liv-in-sky
            liv-in-sky @CrunkFX last edited by

            @crunkfx

            ja - mußte ich umstellen, weil sonst der zigbee adapter nicht mehr läuft - da wird ttyUSB0 umgeleitet, dass funktionierte nur mit unprivilegiert

            habe das gefunden - habe es aber noch nichtkapiert
            https://www.reddit.com/r/Proxmox/comments/og80pk/solution_for_those_upgrading_to_ve_70_and_pass/

            1 Reply Last reply Reply Quote 0
            • crunchip
              crunchip Forum Testing Most Active @Wal last edited by

              @wal sagte in Proxmox Update 6.x --> 7.x:

              wieso sollte ich iobroker neu aufsetzen

              weil über die Zeit sich ggf soviel ansammelt was man mal installiert hatte, es auch nach einer Deinstallation zu "Restbeständen" kommt, die nicht entfernt wurden, oder oder oder
              dafür hat man ein "blankes" Iobroker Backup, der sich seine Adapter bei einer Neuinstallation wieder neu zieht und somit einen "sauberen" iobroker vorfindet.
              Hatte selbst vor langer Zeit, trotz Proxmox backups meinen iobroker neu installiert, nachdem so viel gebastelt wurde, weil Probleme erst Tage später aufgetaucht sind und sich das wie ein Rattenschwanz durchgezogen hatte.

              1 Reply Last reply Reply Quote 0
              • CrunkFX
                CrunkFX Forum Testing @liv-in-sky last edited by

                @liv-in-sky
                folgendes, damit host und client auf denselben datensatz zugreifen können müssen beide dieselben berechtigungen uber diesen ordner haben.

                Auf dem Host:

                addgroup --gid 101000 iobroker-backups
                
                chgrp -R iobroker-backups /DatenNAS/BACKUP-IOBROKER
                
                chmod -R 2775 /DatenNAS/IOBROKER-BACKUP
                
                setfacl -Rm g:101000:rwx,d:g:101000:rwx /DatenNAS/IOBROKER-BACKUP
                

                Im Container:

                addgroup --gid 1000 iobroker-backups
                
                usermod -aG iobroker-backups iobroker
                
                chown -R iobroker:iobroker /opt/iobroker/backups
                

                Ich bin leider gerade nur am Handy, so sollte es zumindest in der Theorie klappen.

                liv-in-sky 1 Reply Last reply Reply Quote 0
                • liv-in-sky
                  liv-in-sky @CrunkFX last edited by

                  @crunkfx ich werde das thema morgen weiter bearbeiten

                  ich danke dir für deinen "handy support" und werde das mal studierenund mich dann wieder melden

                  CrunkFX 1 Reply Last reply Reply Quote 0
                  • CrunkFX
                    CrunkFX Forum Testing @liv-in-sky last edited by

                    @liv-in-sky Kein Problem, es könnte sein dass du vor dem letzten step auch noch dem root User ,als der du ja im Container angemeldet bist dieselben rechte geben musst:

                    usermod -aG iobroker-backups root
                    
                    liv-in-sky 1 Reply Last reply Reply Quote 0
                    • liv-in-sky
                      liv-in-sky @CrunkFX last edited by

                      @crunkfx nur noch kurz - das wird wilder - und heute geht nix mehr

                      es gibt dafür ein id_map im config file des containers - das genau das machen soll, was du vorschlägst - die id wird gemapped bzw durchgereicht

                      https://pve.proxmox.com/wiki/Unprivileged_LXC_containers

                      https://forum.proxmox.com/threads/verständnisfragen-zu-unprivileged-lxc-und-lxc-idmap-für-schreibzugriff-auf-mp.79237/

                      CrunkFX 1 Reply Last reply Reply Quote 0
                      • CrunkFX
                        CrunkFX Forum Testing @liv-in-sky last edited by

                        @liv-in-sky Ich finde id mapping völlig unübersichtlich, deshalb hab ich das direkt mit Gruppen gemacht. Vielleicht ist es ja einen Versuch wert.

                        liv-in-sky 2 Replies Last reply Reply Quote 0
                        • liv-in-sky
                          liv-in-sky @CrunkFX last edited by

                          @crunkfx stimme dir voll zu - ich muss das erstmal genauer lesen - ist voll verwirrend

                          wenn ich es nicht checke, werde ich mal deine lösung probieren

                          1 Reply Last reply Reply Quote 1
                          • liv-in-sky
                            liv-in-sky @CrunkFX last edited by liv-in-sky

                            @crunkfx

                            bis jetzt habe ich es nur geschafft, dass alle ordner unter /opt/iobroker nobody/nogroup haben - beim anwenden eines idmap's 😞

                            CrunkFX 1 Reply Last reply Reply Quote 0
                            • CrunkFX
                              CrunkFX Forum Testing @liv-in-sky last edited by

                              @liv-in-sky Hast du es nach meiner Anleitung versucht? Ich bin jetzt wieder am PC

                              liv-in-sky 2 Replies Last reply Reply Quote 0
                              • liv-in-sky
                                liv-in-sky @CrunkFX last edited by

                                @crunkfx war reifenwechseln - werde erst jetz weiter testen

                                1 Reply Last reply Reply Quote 0
                                • liv-in-sky
                                  liv-in-sky @CrunkFX last edited by

                                  @crunkfx

                                  wollte mich nochmal bei dir für deine hilfe bedanken und nochmal daran erinnern, dass du die lösung posten wolltest

                                  es geht um : rechte in einem unpriviligierten container auf einen mountpoint

                                  ich versuche mal das nochmal zusammenzufinden - falls falsch bitte mitteilen

                                  HOST

                                  addgroup --gid 101001 iobroker-backups1
                                  
                                  chgrp -R iobroker-backups1 /DatenNAS/BACKUP-IOBROKER
                                  
                                  chmod -R 2775 /DatenNAS/BACKUP-IOBROKER
                                  
                                  setfacl -Rm g:101001:rwx,d:g:101001:rwx /DatenNAS/BACKUP-IOBROKER
                                  

                                  war das hier der wichtige teil?

                                  chown 101001:101001 /DatenNAS/BACKUP-IOBROKER
                                  
                                  

                                  LXC

                                  und weißt du noch den link dafür - wollte ich auch gerne aufheben

                                  was muss dann noch auf dem lxc gemacht werden ? eigentlich nix - ode übersehe ich da was

                                  CrunkFX 1 Reply Last reply Reply Quote 0
                                  • CrunkFX
                                    CrunkFX Forum Testing @liv-in-sky last edited by

                                    @liv-in-sky Hi, ich hatte etwas Stress 🤠

                                    So wie bei dir beschrieben ist es korrekt.
                                    Auf dem Client musste nichts geändert werden.

                                    Die beiden verwendeten Quellen sind: https://gist.github.com/ajmassi/e6862294d114467b46f9b7f073921352
                                    und: https://pve.proxmox.com/wiki/Unprivileged_LXC_containers#Using_local_directory_bind_mount_points

                                    LG

                                    liv-in-sky 1 Reply Last reply Reply Quote 0
                                    • liv-in-sky
                                      liv-in-sky @CrunkFX last edited by

                                      @crunkfx

                                      und nochmal ein dankeschön 🙂

                                      CrunkFX 1 Reply Last reply Reply Quote 0
                                      • CrunkFX
                                        CrunkFX Forum Testing @liv-in-sky last edited by

                                        @liv-in-sky Kein Thema 😉

                                        1 Reply Last reply Reply Quote 0
                                        • lobomau
                                          lobomau @CrunkFX last edited by lobomau

                                          Edit: Update ist durchgelaufen. Scheint ohne Probleme zu laufen.

                                          @crunkfx zum Thema "cgroup". Ich habe mal mit

                                          pve6to7 --full
                                          

                                          geschaut und es gibt nur eine Warnung zu meinem ioBroker CT100:

                                          WARN: The following CTs have 'lxc.cgroup' keys configured, which will be ignored in the new default unified cgroupv2:
                                              CT 100
                                              Often it can be enough to change to the new 'lxc.cgroup2' prefix after the upgrade to Proxmox VE 7.x
                                          

                                          Ist das einfach einzustellen nach dem Update auf 7?

                                          1 Reply Last reply Reply Quote 0
                                          • crunchip
                                            crunchip Forum Testing Most Active last edited by

                                            @lobomau siehe https://forum.iobroker.net/post/700735

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            706
                                            Online

                                            31.6k
                                            Users

                                            79.4k
                                            Topics

                                            1.3m
                                            Posts

                                            14
                                            104
                                            7588
                                            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