Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. [How-to] Node.js für ioBroker richtig updaten

    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

    [How-to] Node.js für ioBroker richtig updaten

    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      Stefan_1969 @Thomas Braun last edited by

      @Thomas-Braun 😖
      ... wir haben ja ein verregnetes Wochenende ...

      J Homoran 2 Replies Last reply Reply Quote 0
      • J
        Jan1 @Stefan_1969 last edited by

        @Stefan_1969
        Ne neue Linux Installation ist in ner guten Stunde erledigt, so lange solls nicht regnen 😉

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

          @Stefan_1969
          Backup machen
          VM mit debian Netinstall AMD64 image (parallel) neu ausetzen
          Backup zurückspielen
          nach einer halben Stunde könntest du fertig sein

          Thomas Braun 1 Reply Last reply Reply Quote 0
          • S
            Stefan_1969 @Jan1 last edited by

            @Jan1
            Das nicht 😊
            aber bis wieder alles läuft ...

            1 Reply Last reply Reply Quote 1
            • Thomas Braun
              Thomas Braun Most Active @Homoran last edited by

              @Homoran @Jan1
              Wenn das alles auf der selben Maschinen läuft:
              ioBroker, grafana, influx, mariaDB, pihole, MotionEye auf proxmox

              ist das schon etwas mehr Aufwand.

              Homoran S 2 Replies Last reply Reply Quote 0
              • Homoran
                Homoran Global Moderator Administrators @Thomas Braun last edited by

                @Thomas-Braun Stimmt - ich war nur von ioBroker ausgegangen.
                Das kann man aber trotzden sukzessive in eine parallele VM umziehen - wenn man keine Probleme mit den IPs bekommt

                Thomas Braun 1 Reply Last reply Reply Quote 0
                • Thomas Braun
                  Thomas Braun Most Active @Homoran last edited by

                  @Homoran
                  Ich glaube, das würde ich machen. Eine zweite VM mit einem 64bit-OS aufsetzen und dann die einzelnen Dienste rüberschubsen...

                  1 Reply Last reply Reply Quote 0
                  • S
                    Stefan_1969 @Thomas Braun last edited by

                    @Thomas-Braun
                    Sind zum Glück verschiedene VMs, teils Container.

                    Wollte eben anfangen und habe diese noch vorhandenen ISOs bei mir gefunden:
                    3239ca1d-ec2a-4348-a2d1-69fd3d56fb85-image.png

                    Das sind doch 64-Bit-Versionen

                    Homoran Thomas Braun 2 Replies Last reply Reply Quote 0
                    • Homoran
                      Homoran Global Moderator Administrators @Stefan_1969 last edited by

                      @Stefan_1969 sagte in [How-to] Node.js für ioBroker richtig updaten:

                      Das sind doch 64-Bit-Versionen

                      Jepp

                      @Homoran sagte in [How-to] Node.js für ioBroker richtig updaten:

                      debian Netinstall AMD64 image

                      1 Reply Last reply Reply Quote 0
                      • Thomas Braun
                        Thomas Braun Most Active @Stefan_1969 last edited by Thomas Braun

                        @Stefan_1969 Das ist 64bit.
                        Wobei ich die VM/Proxmox in meinem Fall eh nicht als 'kvm64' sondern als 'host' aufsetzen würde:

                        If you want an exact match, you can set the CPU type to host in which case the VM will have exactly the same CPU flags as your host system.
                        This has a downside though. If you want to do a live migration of VMs between different hosts, your VM might end up on a new system with a different CPU type. If the CPU flags passed to the guest are missing, the qemu process will stop. To remedy this Qemu has also its own CPU type kvm64, that Proxmox VE uses by defaults. kvm64 is a Pentium 4 look a like CPU type, which has a reduced CPU flags set, but is guaranteed to work everywhere.

                        Kommt halt drauf an, ob du die VMs auch auf andere Hardware (einen anderen Prozessortyp) verschieben willst.

                        S 2 Replies Last reply Reply Quote 0
                        • S
                          Stefan_1969 @Thomas Braun last edited by

                          @Thomas-Braun
                          Im Falle eines Totalausfalls ja. Nachts werden von den VMs ein Backup auf ein externes NAS gemacht. Ein zweiter identischer Rechner steht cold-standby parat. Hat sich auch schon bewähren müssen nach dem ein Rechner einen Hitzschlag bekommen hat.

                          Leider ist mein Wissen und Können mit der ganzen von mir eingesetzten Technik nicht so tief und mehr Try-and-Error. Und jetzt bin ich nicht mehr weiter gekommen.

                          Ich werde jetzt eine neue VM mit dem 10er Image aufsetzen mit Prozessorarchitektur host
                          iobroker neu installieren und auf node 12.x hoffen
                          Die neue Instanz bekommt dann die gleiche IP, die aktuelle VM wird gestoppt.
                          Das ioBroker-Backup einspielen, warten und freuen.

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

                            @Stefan_1969 sagte in [How-to] Node.js für ioBroker richtig updaten:

                            Die neue Instanz bekommt dann die gleiche IP, die aktuelle VM wird gestoppt.
                            Das ioBroker-Backup einspielen, warten und freuen.

                            klingt gut!

                            1 Reply Last reply Reply Quote 0
                            • Diginix
                              Diginix last edited by Diginix

                              Hab nun auch das Update auf node 12 gewagt, leider mit einigen Problemen.

                              radar2 findet bisher keine BT Geräte. Bis node 10 ging es mit noble was er auch findet:

                              radar2.0	2020-05-23 20:21:30.788	warn	(11795) node-bluetooth not found!
                              radar2.0	2020-05-23 20:21:37.606	info	(11795) found and will use '@abandonware/noble'
                              radar2.0	2020-05-23 20:21:37.738	info	(11795) Will try to scan BT devices: false
                              

                              Aber node-bluetooth wird wahrs. auch benötigt. Habe im iobroker.radar2 Ordner schon das probiert:

                              npm install node-pre-gyp 
                              npm install @abandonware/bluetooth-hci-socket 
                              npm install node-bluetooth
                              

                              Aber node-bluetooth wird nicht installiert.
                              npm Log:
                              2020-05-23T18_35_44_502Z-debug.log

                              apollon77 2 Replies Last reply Reply Quote 0
                              • apollon77
                                apollon77 @Diginix last edited by

                                @Diginix du musst nach dem node Update diese ganzen setcap Befehle aus der Radar2 Doku neu ausführen!!

                                Diginix 1 Reply Last reply Reply Quote 0
                                • apollon77
                                  apollon77 @Diginix last edited by

                                  @Diginix node-Bluetooth gibts nicht. Wo hast du er das das gebraucht wird?

                                  1 Reply Last reply Reply Quote 0
                                  • Diginix
                                    Diginix @apollon77 last edited by Diginix

                                    @apollon77 Die habe ich schon mehrfach ausgeführt:

                                    sudo apt-get -y install libcap2-bin arp-scan bluetooth bluez libbluetooth-dev libudev-dev net-tools
                                    sudo setcap cap_net_admin,cap_net_raw,cap_net_bind_service=+eip $(eval readlink -f `which arp-scan`)
                                    sudo setcap cap_net_admin,cap_net_raw,cap_net_bind_service=+eip $(eval readlink -f `which node`)
                                    sudo setcap cap_net_admin,cap_net_raw,cap_net_bind_service=+eip $(eval readlink -f `which arp`)
                                    sudo setcap cap_net_admin,cap_net_raw,cap_net_bind_service=+eip $(eval readlink -f `which hcitool`)
                                    sudo setcap cap_net_admin,cap_net_raw,cap_net_bind_service=+eip $(eval readlink -f `which hciconfig`)
                                    sudo setcap cap_net_admin,cap_net_raw,cap_net_bind_service=+eip $(eval readlink -f `which l2ping`)
                                    
                                    

                                    Na im Log steht dass er node-bluetooth nicht findet. Daher dachte ich es wird benötigt. Zumindest findet radar2 mit nodejs 12 bei mir keine BT Geräte mehr. Weder BLE noch normale.
                                    In der Kommandozeile klappt es mit hcitool scan und hcitool lescan.
                                    Aber bei radar2 musste ich schon unter node 8 und 10 immer noble nehmen statt hci.

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

                                      @Diginix wurde doch im neuen Update entfernt
                                      https://forum.iobroker.net/post/435884

                                      Diginix 1 Reply Last reply Reply Quote 0
                                      • Diginix
                                        Diginix @crunchip last edited by Diginix

                                        @crunchip Oh, ok das Update ging an mir vorbei!
                                        Aber nach einem weiteren Reboot findet radar2 1.2.5 nun auch wieder meine Geräte.
                                        Werde aber mal das Update auf v2 testen.

                                        Edit: radar2 1.9.9 funktioniert.

                                        1 Reply Last reply Reply Quote 0
                                        • MathiasJ
                                          MathiasJ last edited by

                                          habe heute den Slave auf Node 12.17.0 upgedatet.
                                          gibt#s was neus zum Fixer oder ist der immer noch der gleiche?

                                          Als ich den ausgeführt habe:

                                          curl -sL https://raw.githubusercontent.com/ioBroker/ioBroker/stable-installer/fix_installation.sh | bash -
                                          

                                          bekam ich folgende Meldung:

                                          Unbenannt2.JPG

                                          Gruß,
                                          Mathias

                                          J 1 Reply Last reply Reply Quote 0
                                          • J
                                            Jan1 @MathiasJ last edited by

                                            @MathiasJ
                                            Also Dein Aufruf ist sehr alt, der neuere sieht so aus:

                                            curl -sL https://iobroker.net/fix.sh | bash -
                                            

                                            wobei das mittlerweile schon vollkommen reicht:

                                            iobroker fix
                                            
                                            MathiasJ 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate
                                            FAQ Cloud / IOT
                                            HowTo: Node.js-Update
                                            HowTo: Backup/Restore
                                            Downloads
                                            BLOG

                                            812
                                            Online

                                            31.8k
                                            Users

                                            80.0k
                                            Topics

                                            1.3m
                                            Posts

                                            installation linux node node.js nodejs windows
                                            106
                                            1105
                                            677760
                                            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