Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. Fehlermeldung im Log

    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

    Fehlermeldung im Log

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

      das kommt wenn ich das von die eingabe:

      pi@raspberrypi:~ $ cd /opt/iobroker
      pi@raspberrypi:/opt/iobroker $ sudo -H npm rebuild
      
      > iobroker@2.0.2 install /opt/iobroker/node_modules/iobroker
      > node lib/checkVersions.js
      
      NPM version: 6.4.1
      
      > iobroker@2.0.2 postinstall /opt/iobroker/node_modules/iobroker
      > node lib/install.js
      
      lib/install.js is not being run as part of an installation - skipping...
      
      > serialport@6.2.2 install /opt/iobroker/node_modules/iobroker.discovery/node_modules/serialport
      > prebuild-install || node-gyp rebuild
      
      prebuild-install WARN install EACCES: permission denied, access '/root/.npm'
      gyp ERR! clean error
      gyp ERR! stack Error: EACCES: permission denied, rmdir 'build'
      gyp ERR! System Linux 4.14.79-v7+
      gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
      gyp ERR! cwd /opt/iobroker/node_modules/iobroker.discovery/node_modules/serialport
      gyp ERR! node -v v8.15.0
      gyp ERR! node-gyp -v v3.8.0
      gyp ERR! not ok
      npm ERR! code ELIFECYCLE
      npm ERR! errno 1
      npm ERR! serialport@6.2.2 install: `prebuild-install || node-gyp rebuild`
      npm ERR! Exit status 1
      npm ERR!
      npm ERR! Failed at the serialport@6.2.2 install script.
      npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
      
      npm ERR! A complete log of this run can be found in:
      npm ERR!     /root/.npm/_logs/2019-01-27T12_54_47_265Z-debug.log
      
      
      1 Reply Last reply Reply Quote 0
      • Homoran
        Homoran Global Moderator Administrators last edited by

        Ähm???

        wie hast du ioBroker (und nodejs) installiert?

        Gruß

        Rainer

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

          Vllt eine alte Installation?

          Mach mal ohne das -H

          Gesendet vom Handy …

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

            @Homoran:

            Ähm???

            wie hast du ioBroker (und nodejs) installiert?

            Gruß

            Rainer `

            so wie hier angegeben:

            Installation Node.js
            
                System-Update: sudo apt-get update && sudo apt-get upgrade
                Je nach verwendetem OS kann das Update auch mittels: sudo apt update && sudo apt upgrade ausgeführt werden
                Auf bereits vorhandene Versionen von nodejs und npm testen.
                    node -v
                    nodejs -v
                    npm -v
                nur wenn ALLE diese Befehle kein Ergebnis bringen (also keine Versionsnummer mehr anzeigen) mit Schritt 4\. dieses Abschnittes weitermachen, sonst
                    Die alten node & node.js Versionen deinstallieren
                        sudo apt-get --purge remove node
                        sudo apt-get --purge remove nodejs
                        sudo apt-get autoremove
                        sudo reboot
                Node.js neu installieren für Linux und Raspberry 2/3
                    curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
                    sudo apt-get install -y build-essential libavahi-compat-libdnssd-dev libudev-dev libpam0g-dev nodejs
                    sudo reboot
                Nach der Installation müssen das Kommandos “node -v” und “nodejs -v” die gleiche Versionsnummer zurückgeben.
                    Falls “node -v” eine Fehlermeldung wie “nicht gefunden” erzeugt, dann bitte ein sudo ln -s /usr/local/bin/nodejs /usr/bin/node an der Konsole ausführen.
                    Sind die Versionen unterschiedlich, bitte nochmals den Abschnitt “Installation Node.js” abarbeiten
                Als letzte Überprüfung bitte noch die Version von npm mittels npm -v überprüfen.
                Ergibt dies eine Version < 6, bitte noch mit sudo npm install -g npm@6 ein npm-Update durchführen
            
            Installation ioBroker
            
                ioBroker installieren. Die Installation kann mit dem User pi aber auch mit dem User root erfolgen
                    An der Konsole dann
                    curl -sL https://raw.githubusercontent.com/ioBroker/ioBroker/stable-installer/installer.sh | bash -
                    ausführen
                    Die Installation erfolgt in 4 Schritten:
                        Creating ioBroker directory (1/4)
                        Downloading installation files (2/4)
                        Installing ioBroker (3/4)
                        Finalizing installation (4/4)
                    Zum Abschluss kommt dann noch die Meldung
                    ioBroker was installed successfully
                    Open http://localhost:8081 in a browser and start configuring!
                    ioBroker nun über IP im Webbrowser aufrufen: http://IP-Adresse:8081
            
            
            1 Reply Last reply Reply Quote 0
            • Homoran
              Homoran Global Moderator Administrators last edited by

              Danke!

              Dann müsste der Befehl passen - jetzt bin ich ratlos.

              Vielleicht weiss @Apollon77 weiter

              Gruß

              Rainer

              1 Reply Last reply Reply Quote 0
              • M
                megaron @Kusselin last edited by

                @Kusselin

                Hallo, ich habe einen Pi4 neu installiert. Alle Programmteile sind aktuell. Leider bekomme die selben Fehlermeldungen wie du im Minutentakt. Wie hast du dein Problem gelöst bekommen?

                523E5F09-D967-4BEE-95C7-090FD174E6EB.jpeg

                Viele Grüße megaron

                1 Reply Last reply Reply Quote 0
                • M
                  maxpd last edited by maxpd

                  Same here nach update von Nodejs 10 auf 12.

                  host.iobroker	2020-05-07 20:53:15.856	info	Restart adapter system.adapter.zigbee.0 because enabled
                  host.iobroker	2020-05-07 20:53:15.855	error	instance system.adapter.zigbee.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
                  host.iobroker	2020-05-07 20:53:15.855	error	Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:977:32)
                  host.iobroker	2020-05-07 20:53:15.855	error	Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1153:10)
                  host.iobroker	2020-05-07 20:53:15.855	error	Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:1133:30)
                  host.iobroker	2020-05-07 20:53:15.854	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/@serialport/bindings/lib/linux.js:2:36)
                  host.iobroker	2020-05-07 20:53:15.854	error	Caught by controller[0]: at bindings (/opt/iobroker/node_modules/bindings/bindings.js:112:48)
                  host.iobroker	2020-05-07 20:53:15.854	error	Caught by controller[0]: at require (internal/modules/cjs/helpers.js:77:18)
                  host.iobroker	2020-05-07 20:53:15.854	error	Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:1019:19)
                  host.iobroker	2020-05-07 20:53:15.854	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:877:14)
                  host.iobroker	2020-05-07 20:53:15.854	error	Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:977:32)
                  host.iobroker	2020-05-07 20:53:15.853	error	Caught by controller[0]: at Object.Module._extensions..node (internal/modules/cjs/loader.js:1183:18)
                  host.iobroker	2020-05-07 20:53:15.853	error	Caught by controller[0]: the module (for instance, using `npm rebuild` or `npm install`).
                  host.iobroker	2020-05-07 20:53:15.853	error	Caught by controller[0]: NODE_MODULE_VERSION 72. Please try re-compiling or re-installing
                  host.iobroker	2020-05-07 20:53:15.853	error	Caught by controller[0]: NODE_MODULE_VERSION 64. This version of Node.js requires
                  host.iobroker	2020-05-07 20:53:15.853	error	Caught by controller[0]: was compiled against a different Node.js version using
                  host.iobroker	2020-05-07 20:53:15.852	error	Caught by controller[0]: Error: The module '/opt/iobroker/node_modules/@serialport/bindings/build/Release/bindings.node'
                  host.iobroker	2020-05-07 20:53:15.852	error	Caught by controller[0]: ^
                  host.iobroker	2020-05-07 20:53:15.852	error	Caught by controller[0]: throw e;
                  host.iobroker	2020-05-07 20:53:15.851	error	Caught by controller[0]: /opt/iobroker/node_modules/bindings/bindings.js:121
                  host.iobroker	2020-05-07 20:53:15.459	info	instance system.adapter.zigbee.0 started with pid 3641
                  
                  
                  Glasfaser 1 Reply Last reply Reply Quote 0
                  • Glasfaser
                    Glasfaser @maxpd last edited by

                    @maxpd sagte in Fehlermeldung im Log:

                    cd /opt/iobroker
                    
                    iobroker stop
                    
                    npm rebuild
                    
                    iobroker start
                    
                    M 1 Reply Last reply Reply Quote 0
                    • M
                      maxpd @Glasfaser last edited by

                      @Glasfaser LEider klappt das nicht

                      
                      pi@iobroker:/opt/iobroker $ iobroker stop
                      pi@iobroker:/opt/iobroker $ npm rebuild
                      
                      > iobroker@2.0.3 install /opt/iobroker/node_modules/iobroker
                      > node lib/checkVersions.js
                      
                      NPM version: 6.14.4
                      
                      > iobroker@2.0.3 postinstall /opt/iobroker/node_modules/iobroker
                      > node lib/install.js
                      
                      lib/install.js is not being run as part of an installation - skipping...
                      
                      > protobufjs@6.8.9 postinstall /opt/iobroker/node_modules/protobufjs
                      > node scripts/postinstall
                      
                      
                      > @serialport/bindings@2.0.8 install /opt/iobroker/node_modules/iobroker.discovery/node_modules/@serialport/bindings
                      > prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild
                      
                      prebuild-install WARN install No prebuilt binaries found (target=12.16.3 runtime=node arch=arm libc= platform=linux)
                      gyp ERR! clean error
                      gyp ERR! stack Error: EACCES: permission denied, rmdir 'build'
                      gyp ERR! System Linux 4.19.97-v7l+
                      gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
                      gyp ERR! cwd /opt/iobroker/node_modules/iobroker.discovery/node_modules/@serialport/bindings
                      gyp ERR! node -v v12.16.3
                      gyp ERR! node-gyp -v v5.1.0
                      gyp ERR! not ok
                      npm ERR! code ELIFECYCLE
                      npm ERR! errno 1
                      npm ERR! @serialport/bindings@2.0.8 install: `prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild`
                      npm ERR! Exit status 1
                      npm ERR!
                      npm ERR! Failed at the @serialport/bindings@2.0.8 install script.
                      npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
                      
                      npm ERR! A complete log of this run can be found in:
                      npm ERR!     /home/pi/.npm/_logs/2020-05-07T20_24_32_194Z-debug.log
                      
                      
                      Glasfaser 1 Reply Last reply Reply Quote 0
                      • Glasfaser
                        Glasfaser @maxpd last edited by Glasfaser

                        @maxpd sagte in Fehlermeldung im Log:

                        iobroker@2.0.3 install

                        Link Text

                        Wie hast du denn von 10 auf 12 hochgezogen ... mit welchen Befehlen !??

                        EACCES: permission denied,

                        und lass mal den Fixer drüberlaufen

                        Thomas Braun M 2 Replies Last reply Reply Quote 0
                        • Thomas Braun
                          Thomas Braun Most Active @Glasfaser last edited by Thomas Braun

                          @maxpd

                          iobroker@2.0.3 postinstall /opt/iobroker/node_modules/iobroker
                          

                          Da hast du vermutlich tiefer im System was verfummelt. Das hatten wir gestern schon mal. Ich such den Thread nochmal raus.
                          Da musste in den jason files irgendwas gelöscht werden. War aber nicht ganz risikofrei, wenn ich mich recht entsinne.

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

                            @Glasfaser

                            curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -
                            sudo apt update
                            sudo apt dist-upgrade
                            
                            Glasfaser 1 Reply Last reply Reply Quote 0
                            • Glasfaser
                              Glasfaser @maxpd last edited by

                              @maxpd

                              Warum schreibst du nicht im anderen Thread weiter ... das ist murks .

                              @Thomas-Braun hilft dir doch schon hier Link Text

                              Thomas Braun M 2 Replies Last reply Reply Quote 0
                              • Thomas Braun
                                Thomas Braun Most Active @Glasfaser last edited by

                                @AlCalzone schrieb:

                                iobroker@2.0.3 ist das Kern-Paket, dass beim Installieren benötigt wird. Deine Installation denkt wohl, dass das fehlt und bricht daraufhin alle npm-Installationen ab. Eigentlich sollte es auch gar nicht installiert sein, sondern enthält nur die Dateien, die zur Installation benötigt werden. Aus deiner Post-Historie vermute ich, dass du es ausversehen installiert hast, weil du Befehle nicht richtig abgetippt hast.

                                Bitte genau lesen, nicht wie oben immer mal wieder Teile übersehen! Und bitte meine Antwort abwarten, nicht draus irgendwelchen Handlungsbedarf ableiten.

                                Ist im Ordner /opt/iobroker eine Datei package-lock.json?
                                Ist im Ordner /opt/iobroker/node_modules ein Ordner iobroker ohne führendes @?
                                Zeige bitte den Inhalt der Datei /opt/iobroker/package.json.

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

                                  @Thomas-Braun

                                  habe es schon verlinkt !

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

                                    @Glasfaser sorry, weil das Topic hier zugeschnittener war auf das Problem. Meins hatte ja nicht mehr so viel mit dem Eingangsthema zu tun.

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

                                      @maxpd

                                      Komisch !!??

                                      im anderen Thread

                                      @maxpd
                                      auch der rebuild lässt Zigbee nicht starten. Fehler bleibt der gleiche.

                                      Aber Egal....

                                      1 Reply Last reply Reply Quote 0
                                      • G
                                        gifftstaub last edited by gifftstaub

                                        Hallo Zusammen,

                                        Ich hänge mich mal hier mit rein.

                                        Ich habe auch diese Meldungen im log.

                                        iot.0	2020-05-16 10:46:49.889	warn	the module (for instance, using `npm rebuild` or `npm install`).
                                        iot.0	2020-05-16 10:46:49.889	warn	NODE_MODULE_VERSION 72. Please try re-compiling or re-installing
                                        iot.0	2020-05-16 10:46:49.889	warn	NODE_MODULE_VERSION 64. This version of Node.js requires
                                        iot.0	2020-05-16 10:46:49.889	warn	was compiled against a different Node.js version using
                                        iot.0	2020-05-16 10:46:49.889	warn	(6249) Cannot initialize getImage: Error: The module '/opt/iobroker/node_modules/canvas/build/Release/canvas.node'
                                        

                                        ich habe die Node so ein Update verpasst.

                                        Die existierenden node & node.js Versionen deinstallieren
                                        
                                        sudo apt-get --purge remove node
                                        sudo apt-get --purge remove nodejs
                                        sudo apt-get autoremove
                                        sudo reboot
                                        
                                        Node.js neu installieren für Linux und Raspberry 2/3
                                        
                                        curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -
                                        sudo apt install -y nodejs
                                        sudo reboot
                                        

                                        wegen dem Fehler oben im Log habe ich unter /opt/iobroker npm rebuild ausgeführt das lief auch ohne meckern durch.

                                        nachdem aber noch weiterhin das Problem besteht habe ich nun noch ein npm install ausgeführt dabei kommt die Fehlermeldung.

                                        > iobroker.inst@2.0.3 install /opt/iobroker
                                        > node lib/checkVersions.js
                                        
                                        NPM version: 6.14.4
                                        
                                        > iobroker.inst@2.0.3 postinstall /opt/iobroker
                                        > node lib/install.js
                                        
                                        
                                        
                                        ╭─────────────────────────────────────────────────────────╮
                                        │                                                         │
                                        │ Manual installation of ioBroker is no longer supported  │
                                        │ on Linux, OSX and FreeBSD!                              │
                                        │ Please refer to the documentation on how to install it! │
                                        │ https://github.com/ioBroker/ioBroker/wiki/Installation  │
                                        │                                                         │
                                        ╰─────────────────────────────────────────────────────────╯
                                        
                                        
                                        npm ERR! code ELIFECYCLE
                                        npm ERR! errno 100
                                        npm ERR! iobroker.inst@2.0.3 postinstall: `node lib/install.js`
                                        npm ERR! Exit status 100
                                        npm ERR!
                                        npm ERR! Failed at the iobroker.inst@2.0.3 postinstall script.
                                        npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
                                        
                                        npm ERR! A complete log of this run can be found in:
                                        npm ERR!     /home/iobroker/.npm/_logs/2020-05-16T09_24_21_156Z-debug.log
                                        
                                        

                                        wie gehe ich den nun weiter vor?

                                        LG

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

                                          @gifftstaub Kannst du das bitte als Text (in </> Code-Tags) hier posten und nicht als screenshot? Danke.

                                          G 1 Reply Last reply Reply Quote 0
                                          • G
                                            gifftstaub @Thomas Braun last edited by

                                            @Thomas-Braun

                                            Sorry ist Erledigt

                                            Thomas Braun 2 Replies Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            879
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            10
                                            47
                                            3329
                                            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