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

      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
                            • J
                              Jupiter1975 last edited by

                              Hallo,

                              Ich habe das selbe Problem wie @horscht12 , und war froh das es eine Lösung für sein Problem gab.
                              Bei mir ist der IOBroker auf einem Mini PC unter Debian 10 installiert.

                              Bei mir allerdings besteht das Problem nach wievor.
                              Denn wenn Ich

                              • sudo curl -sL https://deb.nodesource.com/setup_10.x | bash -
                              • sudo apt-get install -y build-essential lib

                              ausführe kommt bei mir:

                              • E: Paket lib kann nicht gefunden werden.

                              Ich hoffe das es für euch nur eine kleinigkeit ist, denn meine Linux Kenntnisse sind sehr Mau bzw. kaum vorhanden.

                              Voller Hoffnung

                              Gruß
                              Markus

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

                                @Jupiter1975 Les dir mal folgende Anleitung durch:
                                https://forum.iobroker.net/post/266625

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

                                  @AlCalzone Hi, so Ich habe nochmal alles soweit getestet, keine Veränderung.

                                  Hier nochmal das Problem:
                                  Screenshot_2019-11-28 adapters - ioBroker.png

                                  Und hier die Info über meine Iobroker Installation:
                                  Screenshot_2019-11-28 info - ioBroker.png

                                  Wäre echt schön wenn sich jemand meinem Problem annehmen kann.

                                  Ist eventuell auch möglich das Ich die Probleme mit i386 version, habe sowie im folgenden Post

                                  Immer noch voller Hoffnung,

                                  (https://forum.iobroker.net/topic/24944/neuinstall-adapter-lassen-sich-nicht-installieren/11)

                                  Gruß
                                  Markus

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

                                    @Jupiter1975 Alles aktuell am System? Software? Kernel? und so? Ein "Segmentation fault" ist eine Speicherverletzung des Prozesses und im ersten Schritt mal nichts wo wir einen Einfluss darauf haben. Auch hier bitte ggf nodejs updaten auf die 10.17 ...

                                    Also effektiv:
                                    sudo apt-get update && sudo apt-get dist-upgrade

                                    1 Reply Last reply Reply Quote 0
                                    • Stabilostick
                                      Stabilostick @Jupiter1975 last edited by Stabilostick

                                      @Jupiter1975

                                      npm -v erzeugt aber keinen seg-fault?

                                      sudo apt --auto-remove purge npm
                                      sudo apt --auto-remove purge nodejs
                                      

                                      zum Entfernen. Node neu installieren in v10.17.x

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

                                      Support us

                                      ioBroker
                                      Community Adapters
                                      Donate

                                      557
                                      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