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.
    • 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
                          • Thomas Braun
                            Thomas Braun Most Active @gifftstaub last edited by

                            @gifftstaub Und dann bitte die komplette Konsole inkl. login prompt.

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

                              @gifftstaub

                              nodejs -v && node -v && npm -v
                              which nodejs
                              which node
                              which npm
                              

                              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.

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

                                @Thomas-Braun

                                which nodejs
                                /usr/bin/nodejs
                                
                                which node
                                /usr/bin/node
                                
                                which npm
                                /usr/bin/npm
                                
                                nodejs -v && node -v && npm -v
                                v12.16.3
                                v12.16.3
                                6.14.4
                                
                                Thomas Braun 1 Reply Last reply Reply Quote 0
                                • Thomas Braun
                                  Thomas Braun Most Active @gifftstaub last edited by

                                  @gifftstaub Und die drei anderen Punkte?

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

                                    @Thomas-Braun said in Fehlermeldung im Log:

                                    @gifftstaub Und die drei anderen Punkte?

                                    welche drei?

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

                                      @gifftstaub
                                      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.

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

                                        @Thomas-Braun said in Fehlermeldung im Log:

                                        /opt/iobroker/package.json

                                        pi@raspberrypi4:~ $ cat /opt/iobroker/package.json
                                        {
                                          "name": "iobroker.inst",
                                          "version": "2.0.3",
                                          "private": true,
                                          "description": "Automation platform in node.js",
                                          "scripts": {
                                            "install": "node lib/checkVersions.js",
                                            "postinstall": "node lib/install.js",
                                            "test": "node node_modules/mocha/bin/mocha --exit"
                                          },
                                          "dependencies": {
                                            "colors": "^1.3.3",
                                            "fs-extra": "^7.0.1",
                                            "iobroker": "^2.0.3",
                                            "iobroker.admin": "^4.1.1",
                                            "iobroker.alexa2": "^3.1.2",
                                            "iobroker.backitup": "^1.5.7",
                                            "iobroker.coronavirus-statistics": "^0.5.9",
                                            "iobroker.discovery": "^2.3.5",
                                            "iobroker.email": "^1.0.6",
                                            "iobroker.ical": "^1.7.0",
                                            "iobroker.info": "^1.7.2",
                                            "iobroker.iot": "^1.4.18",
                                            "iobroker.javascript": "^4.6.4",
                                            "iobroker.js-controller": "^3.1.4",
                                            "iobroker.material": "^0.13.8",
                                            "iobroker.nuki-extended": "^2.2.5",
                                            "iobroker.rpi2": "^1.2.0",
                                            "iobroker.samsung": "^0.2.9",
                                            "iobroker.scenes": "^1.1.0",
                                            "iobroker.simple-api": "^2.4.5",
                                            "iobroker.socketio": "^3.0.7",
                                            "iobroker.sonoff": "^2.3.3",
                                            "iobroker.sonos": "^2.0.1",
                                            "iobroker.telegram": "^1.5.9",
                                            "iobroker.text2command": "^1.3.0",
                                            "iobroker.trashschedule": "0.0.8",
                                            "iobroker.web": "^3.0.8",
                                            "iobroker.zigbee": "^1.1.1",
                                            "semver": "^5.6.0",
                                            "yargs": "^7.0.2"
                                          }
                                        }
                                        

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

                                        ist alles vorhanden

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

                                          @gifftstaub sagte in Fehlermeldung im Log:

                                          Lösch mal die Zeile 15 raus:

                                          "iobroker": "^2.0.3",
                                          

                                          dann abspeichern.

                                          Dann

                                          iobroker stop
                                          iobroker rebuild self
                                          iobroker start
                                          

                                          Final würde ich vielleicht auch mal

                                          iobroker update
                                          iobroker upgrade
                                          

                                          machen.

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

                                            @Thomas-Braun

                                            hab alles so gemacht.

                                            pi@raspberrypi4:~ $ npm install
                                            npm WARN saveError ENOENT: no such file or directory, open '/home/pi/package.jso                                                                                                                     n'
                                            npm WARN enoent ENOENT: no such file or directory, open '/home/pi/package.json'
                                            npm WARN pi No description
                                            npm WARN pi No repository field.
                                            npm WARN pi No README data
                                            npm WARN pi No license field.
                                            
                                            up to date in 0.535s
                                            found 0 vulnerabilities
                                            
                                            pi@raspberrypi4:~ $
                                            
                                            
                                            Thomas Braun 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            800
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

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