Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Off Topic
    4. Proxmox
    5. ioBroker in Proxmox nach Doku installiert, aber Fragen!

    NEWS

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    ioBroker in Proxmox nach Doku installiert, aber Fragen!

    This topic has been deleted. Only users with topic management privileges can see it.
    • crunchip
      crunchip Forum Testing Most Active @Homoran last edited by

      @homoran ok, aber wo is der Ordner

      Homoran 1 Reply Last reply Reply Quote 0
      • Homoran
        Homoran Global Moderator Administrators @crunchip last edited by

        das existiert auch noch.

        @crunchip sagte in ioBroker in Proxmox nach Doku installiert, aber Fragen!:

        anschließend

        qm set 100 -scsi1 /dev/disk/by-id/Deine-Bezeichnung-DesSticks
        update VM 100: -scsi1 /dev/disk/by-id/Deine-BezeichnungDes-Sticks
        

        spuckt uns das in die Suppe.

        Die Rechte sehen gerade so aus

        i@VM03:~$ sudo ls -la /media/usbstick
        insgesamt 8
        drwxrw-rw- 2 root root 4096 29. Sep 13:39 .
        drwxr-xr-x 4 root root 4096 29. Sep 13:39 ..
        pi@VM03:~$
        
        crunchip 1 Reply Last reply Reply Quote 0
        • Homoran
          Homoran Global Moderator Administrators @crunchip last edited by Homoran

          @crunchip sagte in ioBroker in Proxmox nach Doku installiert, aber Fragen!:

          @homoran ok, aber wo is der Ordner

          den leg ich jetzt nochmal an

          und schwupps hat er wieder die falschen Rechte

          pi@VM03:~$ sudo mkdir /media/usbstick/backups
          pi@VM03:~$ sudo ls -la /media/usbstick
          insgesamt 12
          drwxrw-rw- 3 root root 4096 30. Sep 21:02 .
          drwxr-xr-x 4 root root 4096 29. Sep 13:39 ..
          drwxr-xr-x 2 root root 4096 30. Sep 21:02 backups
          pi@VM03:~$
          

          geändert! dann klappt's auch mit dem mount

          pi@VM03:~$ sudo chmod 766 -c -R /media/usbstick/backups
          der Modus von '/media/usbstick/backups' wurde von 0755 (rwxr-xr-x) in 0766 (rwxrw-rw-) geändert
          pi@VM03:~$ sudo ls -la /media/usbstick
          insgesamt 12
          drwxrw-rw- 3 root root 4096 30. Sep 21:02 .
          drwxr-xr-x 4 root root 4096 29. Sep 13:39 ..
          drwxrw-rw- 2 root root 4096 30. Sep 21:02 backups
          pi@VM03:~$ sudo mount /dev/sdc1 /media/usbstick/backups
          pi@VM03:~$
          
          crunchip 1 Reply Last reply Reply Quote 0
          • crunchip
            crunchip Forum Testing Most Active @Homoran last edited by

            @homoran sagte in ioBroker in Proxmox nach Doku installiert, aber Fragen!:

            spuckt uns das in die Suppe.

            dachte das hast du rausgenommen

            scsi1
            aaf1cd64-e2e3-47bf-8728-e24493a3ac06-image.png

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

              @homoran sagte in ioBroker in Proxmox nach Doku installiert, aber Fragen!:

              und schwupps hat er wieder die falschen Rechte

              ja, weil nachträglich

              @homoran sagte in ioBroker in Proxmox nach Doku installiert, aber Fragen!:

              geändert! dann klappt's auch mit dem mount

              dann sollte backitup nun durchlaufen

              Homoran 1 Reply Last reply Reply Quote 0
              • Homoran
                Homoran Global Moderator Administrators @crunchip last edited by

                @crunchip sagte in ioBroker in Proxmox nach Doku installiert, aber Fragen!:

                dachte das hast du rausgenommen

                hab ich jetzt. überlebt das einen Neustart?

                crunchip 1 Reply Last reply Reply Quote 0
                • Homoran
                  Homoran Global Moderator Administrators @crunchip last edited by Homoran

                  @crunchip sagte in ioBroker in Proxmox nach Doku installiert, aber Fragen!:

                  dann sollte backitup nun durchlaufen

                  nope

                  Started iobroker ...
                  [DEBUG] [iobroker] start with {"type":"creator","workDir":"/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js","time":"02:40","debugging":true,"slaveBackup":"Single","everyXDays":"1","deleteBackupAfter":0,"cifs":{"enabled":true,"mountType":"Copy","type":"storage","source":"local","mount":"","debugging":true,"fileDir":"/opt/iobroker/iobroker-data/backitup","wakeOnLAN":false,"macAd":"20:DE:20:DE:20:DE","wolTime":"25","wolPort":"9","smb":"vers=3.1.1","sudo":true,"cifsDomain":"","clientInodes":false,"deleteOldBackup":false,"ownDir":false,"dir":"/media/usbstick/backups","dirMinimal":"sharename/backupDir","user":"","pass":"****","ignoreErrors":false},"ignoreErrors":false,"dir":"/opt/iobroker","historyHTML":{"enabled":true,"type":"message","entriesNumber":"25","ignoreErrors":false,"systemLang":"de"},"historyJSON":{"enabled":true,"type":"message","entriesNumber":"25","ignoreErrors":false,"systemLang":"de"},"signal":{"enabled":false,"notificationsType":"Telegram","type":"message","instance":"","NoticeType":"longSignalNotice","onlyError":false,"signalWaiting":0,"hostName":"","ignoreErrors":false,"systemLang":"de"},"matrix":{"enabled":false,"notificationsType":"Telegram","type":"message","instance":"","NoticeType":"longMatrixNotice","onlyError":false,"matrixWaiting":0,"hostName":"","ignoreErrors":false,"systemLang":"de"},"backupDir":"/opt/iobroker/backups"}
                  [DEBUG] [iobroker] - host.VM03 105 states saved
                  
                  [DEBUG] [iobroker] - host.VM03 144 objects saved
                  
                  [DEBUG] [iobroker] - Backup created: /opt/iobroker/backups/iobroker_2023_09_30-21_09_11_backupiobroker.tar.gz
                  
                  [DEBUG] [iobroker] - This backup can only be restored with js-controller version up from 4.1
                  
                  [DEBUG] [iobroker] - done
                  [DEBUG] [cifs] - used copy path: /media/usbstick/backups
                  [ERROR] [cifs] - Path "/media/usbstick/backups" not found
                  [DEBUG] [cifs] start with {"mountType":"Copy","type":"storage","source":"local","mount":"","debugging":true,"fileDir":"/opt/iobroker/iobroker-data/backitup","wakeOnLAN":false,"macAd":"20:DE:20:DE:20:DE","wolTime":"25","wolPort":"9","smb":"vers=3.1.1","sudo":true,"cifsDomain":"","clientInodes":false,"deleteOldBackup":false,"ownDir":false,"dir":"/media/usbstick/backups","dirMinimal":"sharename/backupDir","user":"","pass":"****","ignoreErrors":false,"deleteBackupAfter":0}
                  

                  unter den mounts ist es drin /dev/sdc1 on /media/usbstick/backups type ext4 (rw,relatime)

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

                    @homoran sagte in ioBroker in Proxmox nach Doku installiert, aber Fragen!:

                    überlebt das einen Neustart?

                    eigentlich nicht, soweit ich weiß

                    @homoran sagte in ioBroker in Proxmox nach Doku installiert, aber Fragen!:

                    Path "/media/usbstick/backups" not found

                    gibts doch nicht🤔

                    Homoran 1 Reply Last reply Reply Quote 0
                    • Homoran
                      Homoran Global Moderator Administrators @crunchip last edited by

                      @crunchip sagte in ioBroker in Proxmox nach Doku installiert, aber Fragen!:

                      gibts doch nicht

                      hab schon alles durch was mir einfällt.

                      /media/... oder ohne slash media/...

                      cifs-utils sind installiert

                      pi@VM03:~$ apt policy cifs-utils
                      cifs-utils:
                        Installiert:           2:7.0-2
                        Installationskandidat: 2:7.0-2
                        Versionstabelle:
                       *** 2:7.0-2 500
                              500 http://debian.netcologne.de/debian bookworm/main amd64 Packages
                              100 /var/lib/dpkg/status
                      pi@VM03:~$
                      
                      crunchip 1 Reply Last reply Reply Quote 0
                      • crunchip
                        crunchip Forum Testing Most Active @Homoran last edited by crunchip

                        @homoran komisch
                        einzige was bei mir anders ist, ich hab nicht zusätzlich noch einen Unterordner angelegt

                        ich hab

                        mkdir /media/ext_usb
                        mount /dev/sdb1 /media/ext_usb
                        

                        und meine Backups liegen in ext_usb

                        Pfadangabe in der Instanz
                        /media/ext_usb

                        allerdings grad noch mal nach den Rechten gesehen, ich hab 777 vergeben
                        hatte das ja heute mittag getestet und soeben nochmal gegengeprüft

                        mario@IoBroker:~$ sudo ls -la /media/ext_usb
                        insgesamt 219888
                        drwxrwxrwx 3 root     root          4096 30. Sep 21:25 .
                        drwxr-xr-x 4 root     root          4096 30. Sep 14:14 ..
                        -rwxrwxrwx 1 root     root       2502737 30. Sep 14:23 historyDB_2023_09_30-14_23_06_backupiobroker.tar.gz
                        -rw-r--r-- 1 iobroker iobroker   2518880 30. Sep 21:25 historyDB_2023_09_30-21_24_57_backupiobroker.tar.gz
                        -rwxrwxrwx 1 root     root     108928731 30. Sep 14:23 iobroker_2023_09_30-14_22_27_backupiobroker.tar.gz
                        -rw-r--r-- 1 iobroker iobroker 108932088 30. Sep 21:25 iobroker_2023_09_30-21_24_21_backupiobroker.tar.gz
                        -rwxrwxrwx 1 root     root        121703 30. Sep 14:23 jarvis.0_2023_09_30-14_23_13_backupiobroker.tar.gz
                        -rw-r--r-- 1 iobroker iobroker    121703 30. Sep 21:25 jarvis.0_2023_09_30-21_25_01_backupiobroker.tar.gz
                        -rwxrwxrwx 1 root     root        988421 30. Sep 14:23 javascripts_2023_09_30-14_23_13_backupiobroker.tar.gz
                        -rw-r--r-- 1 iobroker iobroker    988418 30. Sep 21:25 javascripts_2023_09_30-21_25_02_backupiobroker.tar.gz
                        drwxrwxrwx 2 root     root         16384 30. Sep 14:05 lost+found
                        -rwxrwxrwx 1 root     root          9152 30. Sep 14:23 zigbee.0_2023_09_30-14_23_12_backupiobroker.tar.gz
                        -rw-r--r-- 1 iobroker iobroker      9152 30. Sep 21:25 zigbee.0_2023_09_30-21_25_01_backupiobroker.tar.gz
                        
                        

                        heut mittag als root(warum auch immer) und jetzt als User iobroker

                        Homoran 1 Reply Last reply Reply Quote 0
                        • Homoran
                          Homoran Global Moderator Administrators @crunchip last edited by Homoran

                          @crunchip mir ist gerade etwas aufgefallen

                          Screenshot_20230930-213514_Firefox.jpg

                          das laufwerk existiert noch, hat allerdings jetzt 100GB

                          wo immer das jetzt her kommt

                          es ist der in der pve gemountete erste Versuch gewesen.

                          Screenshot_20230930-213833_Firefox.jpg

                          der mount ist in der pve fstab auskommentiert und ich hab mehrfach rebootet

                          mit 777 hab ich auch schon spielen wollen, jetzt wollte ich es umsetzen

                          pi@VM03:~$ sudo chmod 777 -c -R /media/usbstick/backups
                          [sudo] Passwort für pi:
                          der Modus von '/media/usbstick/backups' wurde von 0766 (rwxrw-rw-) in 0777 (rwxrwxrwx) geändert
                          der Modus von '/media/usbstick/backups/backups' wurde von 0755 (rwxr-xr-x) in 0777 (rwxrwxrwx) geändert
                          der Modus von '/media/usbstick/backups/lost+found' wurde von 0766 (rwxrw-rw-) in 0777 (rwxrwxrwx) geändert
                          pi@VM03:~$ sudo ls -la /media/usbstick
                          insgesamt 12
                          drwxrw-rw- 3 root root 4096 30. Sep 21:02 .
                          drwxr-xr-x 4 root root 4096 29. Sep 13:39 ..
                          drwxrwxrwx 4 root root 4096 30. Sep 20:19 backups
                          pi@VM03:~$
                          

                          Obwohl er sagt, dass er es ändert ist es nicht so

                          crunchip ? 5 Replies Last reply Reply Quote 0
                          • crunchip
                            crunchip Forum Testing Most Active @Homoran last edited by

                            @homoran sagte in ioBroker in Proxmox nach Doku installiert, aber Fragen!:

                            hat allerdings jetzt 100GB

                            du hast schon nen sehr seltsamen Stick, halb eingesteckt 32GB, drin 64 und jetzt hast ihn wohl zu weit rein geschoben???😂 😂

                            @homoran sagte in ioBroker in Proxmox nach Doku installiert, aber Fragen!:

                            der mount ist in der pve fstab auskommentiert und ich hab mehrfach rebootet

                            aber als storage zugefügt, das musst du auch löschen

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

                              @homoran sagte in ioBroker in Proxmox nach Doku installiert, aber Fragen!:

                              Obwohl er sagt, dass er es ändert ist es nicht so

                              ist es doch

                              @homoran sagte in ioBroker in Proxmox nach Doku installiert, aber Fragen!:

                              drwxrwxrwx

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

                                @homoran sagte in ioBroker in Proxmox nach Doku installiert, aber Fragen!:

                                media/usbstick/backups/backups

                                ??

                                Homoran 1 Reply Last reply Reply Quote 1
                                • Homoran
                                  Homoran Global Moderator Administrators @crunchip last edited by

                                  @crunchip sagte in ioBroker in Proxmox nach Doku installiert, aber Fragen!:

                                  @homoran sagte in ioBroker in Proxmox nach Doku installiert, aber Fragen!:

                                  media/usbstick/backups/backups

                                  ??

                                  wott??

                                  pi@VM03:~$ sudo ls -la /media/usbstick/backups
                                  insgesamt 1264
                                  drwxrwxrwx 4 root     root        4096 30. Sep 21:47 .
                                  drwxrwxrwx 3 root     root        4096 30. Sep 21:02 ..
                                  drwxrwxrwx 2 root     root        4096 30. Sep 20:19 backups
                                  -rw-r--r-- 1 iobroker iobroker 1265480 30. Sep 21:47 iobroker_2023_09_30-21_47_13_backupiobroker.tar.gz
                                  drwxrwxrwx 2 root     root       16384 30. Sep 17:20 lost+found
                                  pi@VM03:~$
                                  
                                  2023-09-30 21:47:17.343	debug	[iobroker/cifs] Copy iobroker_2023_09_30-21_47_13_backupiobroker.tar.gz...
                                  backitup.0
                                  	2023-09-30 21:47:17.343	debug	[iobroker/cifs] used copy path: /media/usbstick/backups
                                  

                                  das biege ich auch noch hin

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

                                    @homoran sagte in ioBroker in Proxmox nach Doku installiert, aber Fragen!:

                                    sudo chmod 777 -c -R /media/usbstick/backups

                                    du hast noch einen unterordner angelegt aber chmod direkt auf /media/usbstick/backups gelegt

                                    korrekt wäre doch

                                    sudo chmod 777 -c -R /media/usbstick/
                                    

                                    -R steht doch für rekursiv ... alle folgenden Unterordner

                                    Homoran 1 Reply Last reply Reply Quote 0
                                    • Homoran
                                      Homoran Global Moderator Administrators @crunchip last edited by

                                      @crunchip danke, mach ich

                                      aufgeräumt ist

                                      pi@VM03:~$ rm /media/usbstick/backups/backups
                                      rm: das Entfernen von '/media/usbstick/backups/backups' ist nicht möglich: Ist ein Verzeichnis
                                      pi@VM03:~$ rm -r /media/usbstick/backups/backups
                                      pi@VM03:~$
                                      pi@VM03:~$
                                      pi@VM03:~$
                                      pi@VM03:~$
                                      pi@VM03:~$
                                      pi@VM03:~$ sudo ls -la /media/usbstick/backups
                                      insgesamt 1260
                                      drwxrwxrwx 3 root     root        4096 30. Sep 21:53 .
                                      drwxrwxrwx 3 root     root        4096 30. Sep 21:02 ..
                                      -rw-r--r-- 1 iobroker iobroker 1265480 30. Sep 21:47 iobroker_2023_09_30-21_47_13_backupiobroker.tar.gz
                                      drwxrwxrwx 2 root     root       16384 30. Sep 17:20 lost+found
                                      pi@VM03:~$
                                      

                                      was muss jetzt in die fstab der VM?

                                      dann reboote ich mal

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

                                        @homoran sagte in ioBroker in Proxmox nach Doku installiert, aber Fragen!:

                                        drwxrwxrwx 4 root root 4096 30. Sep 21:47 . drwxrwxrwx 3 root root 4096 30. Sep 21:02 .. drwxrwxrwx 2 root root 4096 30. Sep 20:19 backups -rw-r--r-- 1 iobroker iobroker 1265480 30. Sep 21:47 iobroker_2023_09_30-21_47_13_backupiobroker.tar.gz drwxrwxrwx 2 root root 16384 30. Sep 17:20 lost+found

                                        das passt doch jetzt, auch die Rechte, musst nur den einen Unterordner backup löschen

                                        Homoran 1 Reply Last reply Reply Quote 0
                                        • Homoran
                                          Homoran Global Moderator Administrators @crunchip last edited by

                                          @crunchip sagte in ioBroker in Proxmox nach Doku installiert, aber Fragen!:

                                          musst nur den einen Unterordner backup löschen

                                          hab ich schon

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

                                            @homoran sagte in ioBroker in Proxmox nach Doku installiert, aber Fragen!:

                                            was muss jetzt in die fstab der VM?

                                            die uuid deines Sticks auslesen
                                            und dann so wie auch in der Doku, in deinem Fall aber in der VM, nicht vom Host aus

                                            UUID=BEZEI-CHNUNG /media/usbstick/backups ext4 defaults 0 0
                                            

                                            du kannst vorher den Stick aushängen, dann den Eintrag tätigen, anschließend mit mount -a wieder einhängen und prüfen ob alles ok

                                            sollte alles passen, kannst du rebooten

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            850
                                            Online

                                            31.7k
                                            Users

                                            79.7k
                                            Topics

                                            1.3m
                                            Posts

                                            8
                                            145
                                            10610
                                            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