Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Tester
    4. Test Adapter Linux Control v1.x.x

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    Test Adapter Linux Control v1.x.x

    This topic has been deleted. Only users with topic management privileges can see it.
    • wendy2702
      wendy2702 @Negalein last edited by

      Das hakt ja schon hier:

      Proxmox (10.0.1.201:22): error: Cannot find view "system", stack: Error: Cannot find view "system" at ObjectsInRedisClient._getObjectView (/opt/iobroker/node_modules/@iobroker/db-objects-redis/src/lib/objects/objectsInRedisClient.ts:4317:19) at Immediate.<anonymous> (/opt/iobroker/node_modules/@iobroker/db-objects-redis/src/lib/objects/objectsInRedisClient.ts:4392:37)

      Gibt es den View noch?

      Dann welche Version von Proxmox und ist der fsck ein selbst definierter Befehl ?

      Wie sieht der aus?

      Gibt es das Device/laufwerk noch?

      io.linux-control.0.Proxmox.services.systemd-fsck@dev-disk-by\x2duuid-9C29\x2d4D7D.stop
      
      Negalein 1 Reply Last reply Reply Quote 0
      • Negalein
        Negalein Global Moderator @wendy2702 last edited by Negalein

        @wendy2702 sagte in Test Adapter Linux Control v1.x.x:

        Gibt es den View noch?

        Nein, hat es auch nie gegeben.
        10.0.1.201 = Proxmox
        10.0.1.202:8082/vis/index.html#080_System = ioB und die View heißt 080_System

        fab14619-5090-4f8a-9a5f-8fc18a359ede-image.png
        984056ae-eedb-4238-b6fa-126c10aed636-image.png

        Gibt es das Device/laufwerk noch?>
        io.linux-control.0.Proxmox.services.systemd-fsck@dev-disk-by\x2duuid-9C29\x2d4D7D.stop

        root@proxmox:~# ls -l /dev/disk/by-id/
        total 0
        lrwxrwxrwx 1 root root  9 Sep  7 13:58 ata-SanDisk_SDSSDH3_1T00_221348800390 -> ../../sda
        lrwxrwxrwx 1 root root 10 Sep  7 13:58 ata-SanDisk_SDSSDH3_1T00_221348800390-part1 -> ../../sda1
        lrwxrwxrwx 1 root root 10 Sep  7 13:58 ata-SanDisk_SDSSDH3_1T00_221348800390-part2 -> ../../sda2
        lrwxrwxrwx 1 root root 10 Nov  6 05:06 ata-SanDisk_SDSSDH3_1T00_221348800390-part3 -> ../../sda3
        lrwxrwxrwx 1 root root 10 Sep  7 13:58 dm-name-pve-root -> ../../dm-1
        lrwxrwxrwx 1 root root 10 Sep  7 13:58 dm-name-pve-swap -> ../../dm-0
        lrwxrwxrwx 1 root root 10 Nov  6 05:00 dm-name-pve-vm--100--disk--0 -> ../../dm-6
        lrwxrwxrwx 1 root root 10 Nov  6 05:05 dm-name-pve-vm--101--disk--0 -> ../../dm-7
        lrwxrwxrwx 1 root root 10 Nov  6 04:04 dm-name-pve-vm--102--disk--0 -> ../../dm-8
        lrwxrwxrwx 1 root root 10 Nov  6 04:05 dm-name-pve-vm--103--disk--0 -> ../../dm-9
        lrwxrwxrwx 1 root root 11 Nov  6 04:07 dm-name-pve-vm--104--disk--0 -> ../../dm-10
        lrwxrwxrwx 1 root root 11 Nov  6 05:05 dm-name-pve-vm--105--disk--1 -> ../../dm-12
        lrwxrwxrwx 1 root root 11 Nov  6 05:06 dm-name-pve-vm--106--disk--0 -> ../../dm-11
        lrwxrwxrwx 1 root root 11 Nov  6 05:06 dm-name-pve-vm--107--disk--0 -> ../../dm-13
        lrwxrwxrwx 1 root root 10 Nov  6 04:04 dm-uuid-LVM-Um7uCQ5plpg4GO0G1hTw2LTdLSxAhLxM3dxrDM3dBYhNgI8mpPV3YmfHk75VT2CZ -> ../../dm-8
        lrwxrwxrwx 1 root root 10 Nov  6 05:00 dm-uuid-LVM-Um7uCQ5plpg4GO0G1hTw2LTdLSxAhLxMEohxnWLY2pMegm2B06LWZhhOb4JtDLdQ -> ../../dm-6
        lrwxrwxrwx 1 root root 11 Nov  6 05:05 dm-uuid-LVM-Um7uCQ5plpg4GO0G1hTw2LTdLSxAhLxMOiAaJ18km9GOxKBboaWrAGtoGCssq5sm -> ../../dm-12
        lrwxrwxrwx 1 root root 10 Sep  7 13:58 dm-uuid-LVM-Um7uCQ5plpg4GO0G1hTw2LTdLSxAhLxMUldB8S2CZaYIN2ywWiLNCdTYvUJEz4ot -> ../../dm-0
        lrwxrwxrwx 1 root root 10 Sep  7 13:58 dm-uuid-LVM-Um7uCQ5plpg4GO0G1hTw2LTdLSxAhLxMdti3rBZdxZYTN3oDHliWCdLGGomqi2xj -> ../../dm-1
        lrwxrwxrwx 1 root root 10 Nov  6 04:05 dm-uuid-LVM-Um7uCQ5plpg4GO0G1hTw2LTdLSxAhLxMfdz28y3obse8csoHkDgVo2rTfBy8uJfJ -> ../../dm-9
        lrwxrwxrwx 1 root root 11 Nov  6 05:06 dm-uuid-LVM-Um7uCQ5plpg4GO0G1hTw2LTdLSxAhLxMiOEhJ1hibDoUrRctAkyzN2exdG1ZcgxU -> ../../dm-13
        lrwxrwxrwx 1 root root 10 Nov  6 05:05 dm-uuid-LVM-Um7uCQ5plpg4GO0G1hTw2LTdLSxAhLxMljq2p7vA13bd3yyKg19GNtsJ0RmMBuBi -> ../../dm-7
        lrwxrwxrwx 1 root root 11 Nov  6 05:06 dm-uuid-LVM-Um7uCQ5plpg4GO0G1hTw2LTdLSxAhLxMqu8b9ffqSwzJpJJH3V1dSl2uQhw8p3UP -> ../../dm-11
        lrwxrwxrwx 1 root root 11 Nov  6 04:07 dm-uuid-LVM-Um7uCQ5plpg4GO0G1hTw2LTdLSxAhLxMzv1OgYTuzbVrrzPLozpFivIdBr4F5xQv -> ../../dm-10
        lrwxrwxrwx 1 root root 10 Nov  6 05:06 lvm-pv-uuid-gELFXe-CNIv-TyOf-EVPI-b8LY-bEn2-Pct9zA -> ../../sda3
        lrwxrwxrwx 1 root root  9 Sep  7 13:58 wwn-0x5001b448b72fa263 -> ../../sda
        lrwxrwxrwx 1 root root 10 Sep  7 13:58 wwn-0x5001b448b72fa263-part1 -> ../../sda1
        lrwxrwxrwx 1 root root 10 Sep  7 13:58 wwn-0x5001b448b72fa263-part2 -> ../../sda2
        lrwxrwxrwx 1 root root 10 Nov  6 05:06 wwn-0x5001b448b72fa263-part3 -> ../../sda3
        

        Dann welche Version von Proxmox

        7.2-7

        Meister Mopper crunchip wendy2702 3 Replies Last reply Reply Quote 0
        • Meister Mopper
          Meister Mopper @Negalein last edited by

          @negalein sagte in Test Adapter Linux Control v1.x.x:

          7.2-7

          Ich fahre die 8.x und habe mit dem Adapter keine Pobleme. Aber vielleicht gibt es ja jemanden, der mit 7.2-7 auch keine Probleme hat, dann könnte man das Problem mglw. eingrenzen.

          Negalein 1 Reply Last reply Reply Quote 0
          • Negalein
            Negalein Global Moderator @Meister Mopper last edited by

            @meister-mopper sagte in Test Adapter Linux Control v1.x.x:

            Ich fahre die 8.x und habe mit dem Adapter keine Pobleme. Aber vielleicht gibt es ja jemanden, der mit 7.2-7 auch keine Probleme hat

            komisch ist, dass vor JS-Controller 5 keine Probleme waren.

            Muss mir mal das Tut für das Update auf 8.x anschaun.
            Auf den ersten Blick sieht es sehr umfangreich aus. 😞

            Meister Mopper 1 Reply Last reply Reply Quote 0
            • Meister Mopper
              Meister Mopper @Negalein last edited by Meister Mopper

              @negalein sagte in Test Adapter Linux Control v1.x.x:

              Auf den ersten Blick sieht es sehr umfangreich aus.

              Es war nicht kompliziert und ich habe meine komplette HA-Umgebung binnen ca. einer Stunde auf 8.x gehoben. Läuft hier auch sehr stabil, keinerlei Ausfälle oder Störungen.

              ffe3f127-f8ff-463c-a19d-f6ffd5ad2197-grafik.png

              Wenn du ein Backup des node hast, kannst du das ja zurückpfeifen.

              Negalein 1 Reply Last reply Reply Quote 0
              • Negalein
                Negalein Global Moderator @Meister Mopper last edited by

                @meister-mopper sagte in Test Adapter Linux Control v1.x.x:

                Es war nicht kompliziert und ich habe meine komplette HA-Umgebung binnen ca. einer Stunde auf 8.x gehoben

                ich werde da zeitnah einen eigenen Thread erstellen (darf dich dann verlinken 😉 ). Ein paar Fragen/Problemchen stehen schon auf der Liste.
                Wird hier sonst zu OT.

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

                  @negalein proxmox root und sudo? 🤔

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

                    @crunchip sagte in Test Adapter Linux Control v1.x.x:

                    proxmox root und sudo?

                    habs gerade gesehn.
                    aber auch ohne sudo spinnt er rum.

                    1 Reply Last reply Reply Quote 0
                    • wendy2702
                      wendy2702 @Negalein last edited by

                      @negalein sagte in Test Adapter Linux Control v1.x.x:

                      Gibt es dieses Object?

                      io.linux-control.0.Proxmox.services.systemd-fsck
                      

                      Eventuell auch ohne das „io“ am Anfang.

                      Du hast nach „by-Id“ abgefragt. Gibt es bei dir eventuell „x2….“ ?

                      Negalein 2 Replies Last reply Reply Quote 0
                      • Negalein
                        Negalein Global Moderator @wendy2702 last edited by

                        @wendy2702 sagte in Test Adapter Linux Control v1.x.x:

                        Du hast nach „by-Id“ abgefragt. Gibt es bei dir eventuell „x2….“ ?

                        nein

                        root@proxmox:~# ls -l /dev/disk/by-id/
                        total 0
                        lrwxrwxrwx 1 root root  9 Sep  7 13:58 ata-SanDisk_SDSSDH3_1T00_221348800390 -> ../../sda
                        lrwxrwxrwx 1 root root 10 Sep  7 13:58 ata-SanDisk_SDSSDH3_1T00_221348800390-part1 -> ../../sda1
                        lrwxrwxrwx 1 root root 10 Sep  7 13:58 ata-SanDisk_SDSSDH3_1T00_221348800390-part2 -> ../../sda2
                        lrwxrwxrwx 1 root root 10 Nov  6 05:06 ata-SanDisk_SDSSDH3_1T00_221348800390-part3 -> ../../sda3
                        lrwxrwxrwx 1 root root 10 Sep  7 13:58 dm-name-pve-root -> ../../dm-1
                        lrwxrwxrwx 1 root root 10 Sep  7 13:58 dm-name-pve-swap -> ../../dm-0
                        lrwxrwxrwx 1 root root 10 Nov  6 05:00 dm-name-pve-vm--100--disk--0 -> ../../dm-6
                        lrwxrwxrwx 1 root root 10 Nov  6 05:05 dm-name-pve-vm--101--disk--0 -> ../../dm-7
                        lrwxrwxrwx 1 root root 10 Nov  6 04:04 dm-name-pve-vm--102--disk--0 -> ../../dm-8
                        lrwxrwxrwx 1 root root 10 Nov  6 04:05 dm-name-pve-vm--103--disk--0 -> ../../dm-9
                        lrwxrwxrwx 1 root root 11 Nov  6 04:07 dm-name-pve-vm--104--disk--0 -> ../../dm-10
                        lrwxrwxrwx 1 root root 11 Nov  6 05:05 dm-name-pve-vm--105--disk--1 -> ../../dm-12
                        lrwxrwxrwx 1 root root 11 Nov  6 05:06 dm-name-pve-vm--106--disk--0 -> ../../dm-11
                        lrwxrwxrwx 1 root root 11 Nov  6 05:06 dm-name-pve-vm--107--disk--0 -> ../../dm-13
                        lrwxrwxrwx 1 root root 10 Nov  6 04:04 dm-uuid-LVM-Um7uCQ5plpg4GO0G1hTw2LTdLSxAhLxM3dxrDM3dBYhNgI8mpPV3YmfHk75VT2CZ -> ../../dm-8
                        lrwxrwxrwx 1 root root 10 Nov  6 05:00 dm-uuid-LVM-Um7uCQ5plpg4GO0G1hTw2LTdLSxAhLxMEohxnWLY2pMegm2B06LWZhhOb4JtDLdQ -> ../../dm-6
                        lrwxrwxrwx 1 root root 11 Nov  6 05:05 dm-uuid-LVM-Um7uCQ5plpg4GO0G1hTw2LTdLSxAhLxMOiAaJ18km9GOxKBboaWrAGtoGCssq5sm -> ../../dm-12
                        lrwxrwxrwx 1 root root 10 Sep  7 13:58 dm-uuid-LVM-Um7uCQ5plpg4GO0G1hTw2LTdLSxAhLxMUldB8S2CZaYIN2ywWiLNCdTYvUJEz4ot -> ../../dm-0
                        lrwxrwxrwx 1 root root 10 Sep  7 13:58 dm-uuid-LVM-Um7uCQ5plpg4GO0G1hTw2LTdLSxAhLxMdti3rBZdxZYTN3oDHliWCdLGGomqi2xj -> ../../dm-1
                        lrwxrwxrwx 1 root root 10 Nov  6 04:05 dm-uuid-LVM-Um7uCQ5plpg4GO0G1hTw2LTdLSxAhLxMfdz28y3obse8csoHkDgVo2rTfBy8uJfJ -> ../../dm-9
                        lrwxrwxrwx 1 root root 11 Nov  6 05:06 dm-uuid-LVM-Um7uCQ5plpg4GO0G1hTw2LTdLSxAhLxMiOEhJ1hibDoUrRctAkyzN2exdG1ZcgxU -> ../../dm-13
                        lrwxrwxrwx 1 root root 10 Nov  6 05:05 dm-uuid-LVM-Um7uCQ5plpg4GO0G1hTw2LTdLSxAhLxMljq2p7vA13bd3yyKg19GNtsJ0RmMBuBi -> ../../dm-7
                        lrwxrwxrwx 1 root root 11 Nov  6 05:06 dm-uuid-LVM-Um7uCQ5plpg4GO0G1hTw2LTdLSxAhLxMqu8b9ffqSwzJpJJH3V1dSl2uQhw8p3UP -> ../../dm-11
                        lrwxrwxrwx 1 root root 11 Nov  6 04:07 dm-uuid-LVM-Um7uCQ5plpg4GO0G1hTw2LTdLSxAhLxMzv1OgYTuzbVrrzPLozpFivIdBr4F5xQv -> ../../dm-10
                        lrwxrwxrwx 1 root root 10 Nov  6 05:06 lvm-pv-uuid-gELFXe-CNIv-TyOf-EVPI-b8LY-bEn2-Pct9zA -> ../../sda3
                        lrwxrwxrwx 1 root root  9 Sep  7 13:58 wwn-0x5001b448b72fa263 -> ../../sda
                        lrwxrwxrwx 1 root root 10 Sep  7 13:58 wwn-0x5001b448b72fa263-part1 -> ../../sda1
                        lrwxrwxrwx 1 root root 10 Sep  7 13:58 wwn-0x5001b448b72fa263-part2 -> ../../sda2
                        lrwxrwxrwx 1 root root 10 Nov  6 05:06 wwn-0x5001b448b72fa263-part3 -> ../../sda3
                        

                        Gibt es dieses Object?
                        io.linux-control.0.Proxmox.services.systemd-fsck

                        532add1d-eb90-47ef-9dc9-2759215b6c1a-image.png

                        1 Reply Last reply Reply Quote 0
                        • David G.
                          David G. last edited by David G.

                          Hallo,

                          Evtl stehe ich grad voll am Schlauch.

                          Gibt's einen Menüpunkt im Adapter wo ich eigene globale Befehle hinterlegen kann die für jeden Host ausgeführt werden?

                          Irgendwie doof, ein und den selben Befehl x mal unter "Meine Befehle" für jeden Rechner anzulegen.

                          Meister Mopper 1 Reply Last reply Reply Quote 0
                          • Negalein
                            Negalein Global Moderator @wendy2702 last edited by Negalein

                            @wendy2702 sagte in Test Adapter Linux Control v1.x.x:

                            Du hast nach „by-Id“ abgefragt. Gibt es bei dir eventuell „x2….“ ?

                            kannst du dir denken, was ich noch machen könnte?

                            läuft jetzt, nachdem ich ihn in den letzten Wochen bestimmt 20x neu installiert habe.

                            wendy2702 1 Reply Last reply Reply Quote 0
                            • Meister Mopper
                              Meister Mopper @David G. last edited by

                              @david-g

                              Ist das nicht geradezu ein Thema für github?

                              David G. 1 Reply Last reply Reply Quote 0
                              • David G.
                                David G. @Meister Mopper last edited by

                                @meister-mopper

                                Falls deine Antwort in etwa:

                                Nein, das geht aktuell nicht.
                                

                                ist, dann ja.
                                Frage aber erstmal, bevor ich da was auf mache.

                                Meister Mopper 1 Reply Last reply Reply Quote 0
                                • Meister Mopper
                                  Meister Mopper @David G. last edited by

                                  @david-g sagte in Test Adapter Linux Control v1.x.x:

                                  Frage aber erstmal, bevor ich da was auf mache.

                                  Ist das jetzt Aggression, oder solte ich reagiern?

                                  David G. 1 Reply Last reply Reply Quote 0
                                  • David G.
                                    David G. @Meister Mopper last edited by David G.

                                    @meister-mopper

                                    Ne, garnicht. Kein Funken Aggression.
                                    Wollte wirklich einfach vorher fragen.
                                    Hatte schon einige Adapter wo mir mobil nicht alles angezeigt wird (arbeite ausschließlich mobil(Auch wenn es in letzter Zeit nicht mehr vorgekommen ist.)).

                                    Auf git schreibe ich, wenn ich ein Issue hab oder ein Feature Request. Nicht bei einer Frage zum Adapter.

                                    https://github.com/Scrounger/ioBroker.linux-control/issues/59

                                    ipod86 created this issue in Scrounger/ioBroker.linux-control

                                    open [Feature Request] Eigene globale Befehle #59

                                    1 Reply Last reply Reply Quote 0
                                    • David G.
                                      David G. last edited by David G.

                                      Habe jetzt mal ein paar Rechner im Adapter konfiguriert.

                                      2 Problemchsn habe ich.

                                      Auf einem Rechner kann ich kein Upgrade über

                                      linux-control.0.localhost.control.aptUpgrade
                                      

                                      anstoßen. Apt-update klappt.
                                      Es kommt als response:

                                      sudo: Leider dürfen die folgenden Umgebungsvariablen nicht gesetzt werden: DEBIAN_FRONTEND
                                      

                                      Ich versuche mittels

                                      awk '{u=$2+$4; t=$2+$4+$5; if (NR==1){u1=u; t1=t;} else printf "%.2f\n", ($2+$4-u1) * 100 / (t-t1); }' \
                                      <(grep 'cpu ' /proc/stat) <(sleep 1;grep 'cpu ' /proc/stat)
                                      

                                      die aktuelle CPU-Auslastung auszulesen. In der Konsole klappt es auch. Der DP der von Linux control wird immer mit einer 0 befüllt.

                                      Im Log kommt:

                                      	[userCommandExecute] localhost (192.168.99.33:22, id: Cpu_Auslastung, description: ): response error: awk: cannot open /dev/fd/63 (No such file or directory), stack: ResponseError: [userCommandExecute] localhost (192.168.99.33:22, id: Cpu_Auslastung, description: ): awk: cannot open /dev/fd/63 (No such file or directory) at LinuxControl.sendCommand (/opt/iobroker/node_modules/iobroker.linux-control/main.js:886:26) at processTicksAndRejections (node:internal/process/task_queues:95:5) at LinuxControl.userCommandExecute (/opt/iobroker/node_modules/iobroker.linux-control/main.js:249:21)
                                      
                                      da_Woody 1 Reply Last reply Reply Quote 0
                                      • da_Woody
                                        da_Woody @David G. last edited by

                                        @david-g Upgrade groß geschrieben?

                                        David G. 1 Reply Last reply Reply Quote 0
                                        • David G.
                                          David G. @da_Woody last edited by

                                          @da_woody

                                          Läuft ja über den DP vom Adapter.
                                          Was der da im Hintergrund sendet weiß ich nicht.

                                          Screenshot_20231211_095603_Chrome.jpg

                                          Grizzelbee 1 Reply Last reply Reply Quote 0
                                          • Grizzelbee
                                            Grizzelbee Developer @David G. last edited by Grizzelbee

                                            @david-g

                                            sudo: Leider dürfen die folgenden Umgebungsvariablen nicht gesetzt werden: DEBIAN_FRONTEND

                                            Das klingt für mich auch eher nach einem Rechte-Problem.
                                            Der User, den Du dafür nutzt, braucht hohe Rechte.
                                            Ich würde die gezielt per sudoers-Regeln vergeben.

                                            EDIT:
                                            Bei mir sieht das so aus:
                                            Unter dem verpixelten steht der Name des Linux-Users, den Du in der Adapter-Konfig eingetragen hast.

                                            198279ea-ee3f-46b3-8895-5c59160f4826-image.png

                                            EDIT-2:

                                            Ich versuche [...] die aktuelle CPU-Auslastung auszulesen. In der Konsole klappt es auch. Der DP der von Linux control wird immer mit einer 0 befüllt.

                                            Der MoMa-Adapter macht das ohne weiteres Zutun, ist vielleicht einfacher.

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            602
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

                                            adapter control hardware linux steuern
                                            64
                                            656
                                            128283
                                            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