Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. Javascript Error - Segmentation Failure

    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

    Javascript Error - Segmentation Failure

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

      @horscht12

      Versuche mal über die Katze .

      1.JPG

      https://github.com/ioBroker/ioBroker.javascript
      

      2.JPG

      Upload durchführen
      3.JPG

      1 Reply Last reply Reply Quote 0
      • H
        horscht12 last edited by

        @Glasfaser sagte in Javascript Error - Coffescript - Anfängerfehler:

        https://github.com/ioBroker/ioBroker.javascript

        Klappt leider auch nicht.

        snipe1.PNG

        Glasfaser 1 Reply Last reply Reply Quote 0
        • Glasfaser
          Glasfaser @horscht12 last edited by Glasfaser

          @horscht12 sagte in Javascript Error - Coffescript - Anfängerfehler:

          Systeminfo:
          NPM: 6.13.0
          node: 10.15.2
          nodejs: 10.15.2

          Kann das sein das du Update´s durchgeführt hast !!
          Hast du Fehlermeldungen gehabt ?

          Mache nochmal :

          iobroker stop
          npm rebuild
          curl -sL https://iobroker.net/fix.sh | bash -
          iobroker start
          

          Link Text

          Nachtrag:
          Sehe gerade , da ist eine andere Fehlermeldung , kann die aber nicht zuordnen .

          segmentation fault 
          
          Error host-iobrocker-SSD Cannot install
          Error process exited with code 25
          
          AlCalzone 1 Reply Last reply Reply Quote 0
          • AlCalzone
            AlCalzone Developer @Glasfaser last edited by

            @Glasfaser sagte in Javascript Error - Coffescript - Anfängerfehler:

            segmentation fault

            Das ist das Problem. npm stürzt mit einem Segfault ab. Daher klappt die Installation auch nicht - egal welche Quelle.

            Glasfaser 1 Reply Last reply Reply Quote 0
            • Glasfaser
              Glasfaser @AlCalzone last edited by

              @AlCalzone

              Und was soll er dann machen um den Fehler zu beheben !?

              AlCalzone 1 Reply Last reply Reply Quote 0
              • AlCalzone
                AlCalzone Developer @Glasfaser last edited by

                @Glasfaser Da muss ich auch raten. Schätze es wäre einen Versuch wert, Node.js und npm neu zu installieren.

                Glasfaser 1 Reply Last reply Reply Quote 0
                • Glasfaser
                  Glasfaser @AlCalzone last edited by

                  @horscht12

                  Mache aber vorher ein minmal Backup mit BackitUp.

                  Node.js für ioBroker richtig updaten

                  1 Reply Last reply Reply Quote 0
                  • H
                    horscht12 last edited by

                    Hallo,
                    danke erst Mal für die ersten Tips, leider hat nichts davon funktioniert. Mittlerweile habe ich zum testen ein komplett neues Linux und dann ioBroker neu aufgesetzt. Zusätzlich ein weiteres System in einer VB. Bei allen tritt das gleiche Problem auf. Ist der Installationsablauf so richtig oder kann man das was falsch machen.

                    1. Zuerst installiere ich debian Linux Konsole. Danach führe ich alles weitere unter root aus.
                    2. apt-get install sudo
                    3. apt-get install curl
                    4. sudo apt-get update && sudo apt-get upgrade
                    5. sudo apt-get install -y nodejs
                    6. sudo apt-get install npm
                    7. sudo -H npm install -g npm@6
                    8. sudo reboot

                    Dann ändere ich in der /etc/network/interfaces folgendes für statische IP

                    auto eno1
                    iface eno1 inet loopback

                    auto eno1
                    inface eno1 inet static

                    address 192.168.0.70
                    netmask 255.255.255.0
                    gateway 192.168.0.1

                    dann aktiviere ich SSH indem ich den Eintarg in der /etc/ssh/sshd_config

                    PermitRootLogin yes

                    Danach installiere ich ioBroker mit
                    curl -sL https://iobroker.net/install.sh | bash -

                    am Ende führe ich noch ein reboot durch

                    Glasfaser 1 Reply Last reply Reply Quote 0
                    • Glasfaser
                      Glasfaser @horscht12 last edited by

                      @horscht12

                      Zu der Installation kann ich dir nicht weiterhelfen , da ich eine Synology habe .

                      Aber warum gehts du nicht danach :

                      Hinweis / oder Image download

                      und dieses kann ich dir Empfehlen :

                      ioBroker Dokumentation

                      H 1 Reply Last reply Reply Quote 0
                      • H
                        horscht12 @Glasfaser last edited by

                        @Glasfaser

                        Ich denke soviel kann ich nicht falsch machen, weil der ioBroker samt VIS mit Adaptern für Homematic, Sonos, iCal, Node-Red, .... problemlos läuft.
                        Es geht hier nur um den Javascript/ Blockly Adapter. Dieser scheint der einzigste Adapter zu sein welchen ich nicht installieren kann. Hardware defekt ist mittlerweile auch ausgeschlossen, da ich das Problem auf allen ioBroker Installationen hab.

                        AlCalzone 1 Reply Last reply Reply Quote 0
                        • AlCalzone
                          AlCalzone Developer @horscht12 last edited by AlCalzone

                          @horscht12 Du bist der erste, von dem ich bisher gehört habe, dass der JS-Adapter einen segfault beim Installieren erzeugt. Ich habe vor kurzem auch mehrfach installiert und keine Probleme.

                          Hardware defekt ist mittlerweile auch ausgeschlossen, da ich das Problem auf allen ioBroker Installationen hab.

                          Nein, das ist eher ein Software-Problem.

                          H 1 Reply Last reply Reply Quote 0
                          • H
                            horscht12 @AlCalzone last edited by

                            @AlCalzone

                            Gibt es ja einen Unterschied bzgl. Image (z. B. Raspi, ..) und einer manuellen Installation? Benutzt du ein Image oder installierst du manuell.

                            Ist natürlich Toll, wenn der Fehler so noch nicht bekannt ist.

                            Ich werde demnächst den Raspi 4 für den ioBroker bestellen. Vielleicht kann ich ja dann auf dem Raspi mit Image den Skriptadapter installieren.

                            AlCalzone 1 Reply Last reply Reply Quote 0
                            • AlCalzone
                              AlCalzone Developer @horscht12 last edited by

                              @horscht12 Ich habe selbst ein uraltes Raspbian-Image, auf dem ich Node.js und ioBroker (damals manuell installiert) immer wieder aktualisiert habe.

                              H 1 Reply Last reply Reply Quote 0
                              • H
                                horscht12 @AlCalzone last edited by horscht12

                                @AlCalzone

                                Evt. geht´s ja dann mit Image.
                                Beschäftige mich erst seit 2 Monaten mit Linux und ioBroker. Hab praktisch keine Ahnung, wie oder wo ich den Fehler suchen sollte

                                1 Reply Last reply Reply Quote 0
                                • H
                                  horscht12 last edited by

                                  Hab jetzt node und npm deinstalliert und neu installiert. Das Problem ist immer noch das gleiche.

                                  1 Reply Last reply Reply Quote 0
                                  • H
                                    horscht12 last edited by

                                    Hallo,
                                    wollte mich hier nochmals melden.
                                    Hab gestern meinen Raspi 4 bekommen und siehe da, Auf dem Raspi keine Probleme mit dem Scriptadapter.
                                    Habe bei der Installation nur den nodejs anders installiert.

                                    AlCalzone 1 Reply Last reply Reply Quote 0
                                    • AlCalzone
                                      AlCalzone Developer @horscht12 last edited by

                                      @horscht12 sagte in Javascript Error - Segmentation Failure:

                                      Habe bei der Installation nur den nodejs anders installiert.

                                      Wie genau? Das könnte entscheidend sein, falls das Problem mal wieder aufkommt

                                      1 Reply Last reply Reply Quote 0
                                      • H
                                        horscht12 last edited by

                                        Hab folgenden Befehl verwendet:

                                        • sudo curl -sL https://deb.nodesource.com/setup_10.x | bash -
                                        • sudo apt-get install -y build-essential lib
                                        AlCalzone 1 Reply Last reply Reply Quote 0
                                        • AlCalzone
                                          AlCalzone Developer @horscht12 last edited by

                                          @horscht12 sagte in Javascript Error - Segmentation Failure:

                                          sudo curl -sL https://deb.nodesource.com/setup_10.x | bash -

                                          Also nach Anleitung 😉

                                          H 1 Reply Last reply Reply Quote 0
                                          • H
                                            horscht12 @AlCalzone last edited by

                                            @AlCalzone

                                            Genau. Funktioniert Perfekt.

                                            Danke.

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            657
                                            Online

                                            31.8k
                                            Users

                                            80.0k
                                            Topics

                                            1.3m
                                            Posts

                                            blockly javascript
                                            6
                                            26
                                            1447
                                            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