Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. [gelöst] RFLink - Serialport: "nicht möglich"

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    [gelöst] RFLink - Serialport: "nicht möglich"

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

      Was war denn die node Version vorher? Auch ne 4.xer oder was anderes?

      1 Reply Last reply Reply Quote 0
      • I
        IBO last edited by

        Ich bin der Meinung, das es vorher die node-Version 0.12 war.

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

          Dann musst Du die node-Module neu installieren - vor allem Dinge wie mit Serialport.

          Als Trick: Installier die aktuellste Version vom Github … sollte identisch sein.

          Oder nimm das Skript hier

          https://github.com/ioBroker/ioBroker.js ... install.sh

          (ist eine neuere Version als bei Dir denke ich!!) ... dann ausführen im /opt/opbroker Verzeichnis als root ... dann werden alle neu installiert

          1 Reply Last reply Reply Quote 0
          • I
            IBO last edited by

            Super, hat geklappt.

            Es wurden zwar eine ganze Menge Warn- und Fehlermeldungen während der Abarbeitung angezeigt, aber das Ergebnis zählt.

            Was ich bisher getestet habe, läuft alles tadellos, wie vorher.

            Vielen Dank für die schnelle und kompetente Hilfe @ apollon77

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

              Ja das Kompiliren von Serialport wirft manchmal ellenlange Warnings … aber ist halt so 🙂

              Wenns Tut dann super

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

                @apollon77:

                Dann musst Du die node-Module neu installieren - vor allem Dinge wie mit Serialport.

                Als Trick: Installier die aktuellste Version vom Github … sollte identisch sein.

                Oder nimm das Skript hier

                https://github.com/ioBroker/ioBroker.js ... install.sh

                (ist eine neuere Version als bei Dir denke ich!!) ... dann ausführen im /opt/opbroker Verzeichnis als root ... dann werden alle neu installiert `
                Ah. Das Problem habe ich wohl auch. Update von node 4.x -> 6.X.

                Ist das jetzt ein normales Skript, dass ich unter Skripte benutze (da wo es auch die Blockly Option gibt)?

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

                  Das reinstall.sh liegt im Installationsverzeichnis von iobroker, also meistens /opt/iobroker/. Aufruf also per Shell

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

                    @apollon77:

                    Das reinstall.sh liegt im Installationsverzeichnis von iobroker, also meistens /opt/iobroker/. Aufruf also per Shell `
                    Also erstelle ich diese Datei z.B. mit nano, lege diese in das Verzeichnis und zum Starten einfach "reinstall.sh" eingeben?

                    EDIT: achso.. die Datei ist schon da….

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

                      @lobomau:

                      @apollon77:

                      Das reinstall.sh liegt im Installationsverzeichnis von iobroker, also meistens /opt/iobroker/. Aufruf also per Shell `
                      Also erstelle ich diese Datei z.B. mit nano, lege diese in das Verzeichnis und zum Starten einfach "reinstall.sh" eingeben?

                      EDIT: achso.. die Datei ist schon da…. `
                      Ok. reinstall.sh hab ich gefunden. Und wie führe ich es in der shell aus? "sudo reinstall.sh" ist es ja nicht.

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

                        Kann sein, dass du die Datei erst ausführbar machen musst.

                        Ich glaube ich hatte da mal Probleme mit.

                        Oder eben als echter root einloggen.

                        Gruß

                        Rainer

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

                          also ggf ein

                          sudo chmod gu+x reinstall.sh

                          und dann ja

                          cd /opt/iobroker

                          sudo reinstall.sh

                          (und vorher Backup gemacht haben):-)

                          nd die js-controller mind 0.17.x/1.0.0 haben da das reinstall.sh von vorher kaputt war!!!

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

                            @apollon77:

                            also ggf ein

                            sudo chmod gu+x reinstall.sh

                            und dann ja

                            cd /opt/iobroker

                            sudo reinstall.sh

                            (und vorher Backup gemacht haben):-)

                            nd die js-controller mind 0.17.x/1.0.0 haben da das reinstall.sh von vorher kaputt war!!! `
                            Nein, geht nicht. Kommt "Befehl nicht gefunden". Habe auch mal unter root getestet. Kein Unterschied.

                            P.S. habe weiteres Problem gefunden. Gleiche Ursache? noble habe ich im javascript-Adapter unter npm-Module eingetragen.

                            javascript.0	2017-05-18 11:08:02.076	error	script.js.common.BT-scanner2: node.js Module "noble" steht nicht zur Verfügung
                            
                            1 Reply Last reply Reply Quote 0
                            • apollon77
                              apollon77 last edited by

                              @lobomau:

                              Nein, geht nicht. Kommt "Befehl nicht gefunden". Habe auch mal unter root getestet. Kein Unterschied. `
                              Wo kommt bei was "Befehl nicht gefunden"??

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

                                @apollon77:

                                @lobomau:

                                Nein, geht nicht. Kommt "Befehl nicht gefunden". Habe auch mal unter root getestet. Kein Unterschied. Wo kommt bei was "Befehl nicht gefunden"??
                                In der Konsole, worüber ich auch ioBroker installiert habe. Ist das nicht die "shell"?

                                EDIT: ich nutze die bash shell

                                root@brix-3150:/opt/iobroker# ls
                                backups       install.sh     log            reinstall.sh
                                cache         iobroker       node_modules
                                contacts.vcf  iobroker-data  npm-debug.log
                                etc           killall.sh     package.json
                                root@brix-3150:/opt/iobroker# reinstall.sh
                                reinstall.sh: Befehl nicht gefunden.
                                root@brix-3150:/opt/iobroker# sudo reinstall.sh
                                sudo: reinstall.sh: Befehl nicht gefunden
                                root@brix-3150:/opt/iobroker#
                                
                                1 Reply Last reply Reply Quote 0
                                • Homoran
                                  Homoran Global Moderator Administrators last edited by

                                  @lobomau:

                                  root@brix-3150:/opt/iobroker# reinstall.sh `

                                  mach mal

                                   ./reinstall.sh
                                  

                                  Gruß

                                  Rainer

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

                                    @Homoran:

                                    @lobomau:

                                    root@brix-3150:/opt/iobroker# reinstall.sh `

                                    mach mal

                                     ./reinstall.sh
                                    

                                    Gruß

                                    Rainer `
                                    Macht einen Unterschied. Aber nicht den erhofften:

                                    root@brix-3150:/opt/iobroker# ./reinstall.sh
                                    bash: ./reinstall.sh: /bin/bash^M: Defekter Interpreter: Datei oder Verzeichnis nicht gefunden
                                    

                                    BTW.: ich mach es per VPN mit JuiceSSH (android)

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

                                      Gibt es /bin/bash bei dir?

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

                                        @lobomau:

                                        ./reinstall.sh: /bin/bash****^M****: `
                                        mit windows editor bearbeitet?

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

                                          Dass ich das ganze über JuiceSSH mache ist nicht das Problem?
                                          @Homoran:

                                          @lobomau:

                                          ./reinstall.sh: /bin/bash****^M****: mit windows editor bearbeitet?
                                          Das ist mir auch aufgefallen. Nein, alles Ubuntu.
                                          @apollon77:

                                          Gibt es /bin/bash bei dir? `
                                          Ja.

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

                                            Dann lad doch die richtige Datei nochmal aus Github:

                                            https://github.com/ioBroker/ioBroker.js … install.sh

                                            und überschreib die Version Di du da hast. Klappts dann?

                                            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

                                            571
                                            Online

                                            32.0k
                                            Users

                                            80.5k
                                            Topics

                                            1.3m
                                            Posts

                                            6
                                            33
                                            4768
                                            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