Navigation

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

    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

    UNSOLVED host.iobroker Fehlermeldung

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

      Von jetzt auf gleich bekomme ich folgende fehlermeldung im Log. Davor habe ich eigentlich nur versucht den Synology Adapter in betrieb zu nehmen.

      host.iobroker	2020-05-18 11:44:34.748	error	instance system.adapter.history.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
      host.iobroker	2020-05-18 11:44:34.747	error	Caught by controller[0]: at bootstrap_node.js:625:3
      host.iobroker	2020-05-18 11:44:34.747	error	Caught by controller[0]: at startup (bootstrap_node.js:204:16)
      host.iobroker	2020-05-18 11:44:34.747	error	Caught by controller[0]: at Function.Module.runMain (module.js:694:10)
      host.iobroker	2020-05-18 11:44:34.747	error	Caught by controller[0]: at Function.Module._load (module.js:498:3)
      host.iobroker	2020-05-18 11:44:34.746	error	Caught by controller[0]: at tryModuleLoad (module.js:506:12)
      host.iobroker	2020-05-18 11:44:34.746	error	Caught by controller[0]: at Module.load (module.js:566:32)
      host.iobroker	2020-05-18 11:44:34.746	error	Caught by controller[0]: at Object.Module._extensions..js (module.js:664:10)
      host.iobroker	2020-05-18 11:44:34.745	error	Caught by controller[0]: at Module._compile (module.js:617:28)
      host.iobroker	2020-05-18 11:44:34.745	error	Caught by controller[0]: at Object.runInThisContext (vm.js:139:10)
      host.iobroker	2020-05-18 11:44:34.745	error	Caught by controller[0]: at createScript (vm.js:80:10)
      host.iobroker	2020-05-18 11:44:34.744	error	Caught by controller[0]: SyntaxError: Unexpected token {
      host.iobroker	2020-05-18 11:44:34.744	error	Caught by controller[0]: ^
      host.iobroker	2020-05-18 11:44:34.743	error	Caught by controller[0]: } catch {
      host.iobroker	2020-05-18 11:44:34.742	error	Caught by controller[0]: /opt/iobroker/node_modules/iobroker.history/main.js:1020
      

      Was ist den da schief gelaufen?

      Typ: js-controller
      Titel: JS controller
      OS: linux
      Verfügbar: 3.1.4
      Installiert: 2.2.8
      Ereignisse: ↦31 / ↦13

      Thomas Braun 1 Reply Last reply Reply Quote 0
      • K
        karstent last edited by karstent

        zu früh gefreut.

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

          @karstent

          nodejs -v && node -v && npm -v
          which nodejs && which node && which npm
          
          1 Reply Last reply Reply Quote 0
          • K
            karstent last edited by

            ich schau nach.

            1 Reply Last reply Reply Quote 0
            • K
              karstent last edited by

              node -v v8.16.0
              npm -v 6.4.1
              nodejs -v v8.16.0

              Nach dem ich versucht habe ein Update der ioBroker Installation zu machen kommt folgende Fehlermeldung:

              iobroker upgrade self
              Update js-controller from @2.2.8 to @3.1.4
              NPM version: 6.4.1
              npm install iobroker.js-controller@3.1.4 --unsafe-perm --loglevel error --prefix "/opt/iobroker" (System call)
              /opt/iobroker/node_modules/iobroker.js-controller/lib/cli/cliPlugin.js:253
                                  } catch {
                                          ^
              
              SyntaxError: Unexpected token {
                  at createScript (vm.js:80:10)
                  at Object.runInThisContext (vm.js:139:10)
                  at Module._compile (module.js:617:28)
                  at Object.Module._extensions..js (module.js:664:10)
                  at Module.load (module.js:566:32)
                  at tryModuleLoad (module.js:506:12)
                  at Function.Module._load (module.js:498:3)
                  at Module.require (module.js:597:17)
                  at require (internal/module.js:11:18)
                  at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.js-controller/lib/cli/index.js:19:17)
              npm ERR! code ELIFECYCLE
              npm ERR! errno 1
              npm ERR! iobroker.js-controller@3.1.4 install: `node iobroker.js setup first`
              npm ERR! Exit status 1
              npm ERR! 
              npm ERR! Failed at the iobroker.js-controller@3.1.4 install script.
              npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
              
              

              😞

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

                @karstent node zu alt. node12 installieren.

                1 Reply Last reply Reply Quote 0
                • K
                  karstent last edited by

                  node -v v10.20.1
                  nodejs -v v10.20.1
                  npm -v6.14.4

                  schlägt fehl mein Update:

                  iobroker upgrade self
                  internal/modules/cjs/loader.js:638
                      throw err;
                      ^
                  
                  Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
                      at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
                      at Function.Module._load (internal/modules/cjs/loader.js:562:25)
                      at Function.Module.runMain (internal/modules/cjs/loader.js:831:12)
                      at startup (internal/bootstrap/node.js:283:19)
                      at bootstrapNodeJSCore (internal/bootstrap/node.js:623:3)
                  

                  weiß nich weiter 😞

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

                    @karstent node 12 installieren...

                    Wo hängst du denn da nun mit node genau?

                    nodejs -v && node -v && npm -v
                    which nodejs && which node && which npm
                    apt policy nodejs
                    
                    K 1 Reply Last reply Reply Quote 0
                    • K
                      karstent @Thomas Braun last edited by

                      @Thomas-Braun ```
                      nodejs:
                      Installiert: 10.20.1-1nodesource1
                      Installationskandidat: 10.20.1-1nodesource1
                      Versionstabelle:
                      *** 10.20.1-1nodesource1 500
                      500 https://deb.nodesource.com/node_10.x stretch/main amd64 Packages
                      100 /var/lib/dpkg/status
                      4.8.2~dfsg-1 500
                      500 http://ftp.de.debian.org/debian stretch/main amd64 Packages

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

                        @karstent
                        Die anderen Ausgaben waren geheim?

                        1 Reply Last reply Reply Quote 0
                        • K
                          karstent last edited by

                          mehr kommt da nicht

                          iobroker:~$ which nodejs && which node && which npm
                          /usr/bin/nodejs
                          /usr/bin/node
                          /usr/bin/npm
                          ktrepte@iobroker:~$ apt policy nodejs
                          nodejs:
                            Installiert:           10.20.1-1nodesource1
                            Installationskandidat: 10.20.1-1nodesource1
                            Versionstabelle:
                           *** 10.20.1-1nodesource1 500
                                  500 https://deb.nodesource.com/node_10.x stretch/main amd64 Packages
                                  100 /var/lib/dpkg/status
                               4.8.2~dfsg-1 500
                                  500 http://ftp.de.debian.org/debian stretch/main amd64 Packages
                          
                          Thomas Braun 1 Reply Last reply Reply Quote 0
                          • Thomas Braun
                            Thomas Braun Most Active @karstent last edited by

                            @karstent

                            iobroker update
                            iobroker upgrade
                            
                            1 Reply Last reply Reply Quote 0
                            • K
                              karstent last edited by

                              das ist alles:

                              ktrepte@iobroker:~$ iobroker update
                              internal/modules/cjs/loader.js:638
                                  throw err;
                                  ^
                              
                              Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
                                  at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
                                  at Function.Module._load (internal/modules/cjs/loader.js:562:25)
                                  at Function.Module.runMain (internal/modules/cjs/loader.js:831:12)
                                  at startup (internal/bootstrap/node.js:283:19)
                                  at bootstrapNodeJSCore (internal/bootstrap/node.js:623:3)
                              ktrepte@iobroker:~$ iobroker upgrade
                              internal/modules/cjs/loader.js:638
                                  throw err;
                                  ^
                              
                              Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
                                  at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
                                  at Function.Module._load (internal/modules/cjs/loader.js:562:25)
                                  at Function.Module.runMain (internal/modules/cjs/loader.js:831:12)
                                  at startup (internal/bootstrap/node.js:283:19)
                                  at bootstrapNodeJSCore (internal/bootstrap/node.js:623:3)
                              
                              Thomas Braun 1 Reply Last reply Reply Quote 0
                              • Thomas Braun
                                Thomas Braun Most Active @karstent last edited by

                                @karstent

                                cd /opt/iobroker
                                sudo -H -u iobroker npm install iobroker.js-controller
                                
                                1 Reply Last reply Reply Quote 0
                                • K
                                  karstent last edited by

                                  wieder so eine Ellenlange Ausgabe:

                                  ktrepte@iobroker:~$ cd /opt/iobroker
                                  ktrepte@iobroker:/opt/iobroker$ sudo -H -u iobroker npm install iobroker.js-controller
                                  
                                  > iobroker.js-controller@2.2.10 preinstall /opt/iobroker/node_modules/iobroker.js-controller
                                  > node lib/preinstallCheck.js
                                  
                                  NPM version: 6.14.4
                                  
                                  > iobroker.js-controller@2.2.10 install /opt/iobroker/node_modules/iobroker.js-controller
                                  > node iobroker.js setup first
                                  
                                  110 file(s) successfully synchronized with ioBroker storage.
                                  Please DO NOT copy files manually into ioBroker storage directories!
                                  
                                  The following notifications happened during sync: 
                                  - Added 94 Files in Directory "iqontrol.meta"
                                  - Added 16 Files in Directory "javascript.admin"
                                  
                                  npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.1.2 (node_modules/chokidar/node_modules/fsevents):
                                  npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
                                  npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@1.0.5 (node_modules/osx-temperature-sensor):
                                  npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.5: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
                                  
                                  + iobroker.js-controller@2.2.10
                                  added 59 packages from 83 contributors and audited 1498 packages in 48.098s
                                  
                                  7 packages are looking for funding
                                    run `npm fund` for details
                                  
                                  found 76 vulnerabilities (56 low, 20 high)
                                    run `npm audit fix` to fix them, or `npm audit` for details
                                  ktrepte@iobroker:/opt/iobroker$ npm audit fix
                                  npm ERR! code ELOCKVERIFY
                                  npm ERR! Errors were found in your package-lock.json, run  npm install  to fix them.
                                  npm ERR!     Invalid: lock file's iobroker.admin@3.6.0 does not satisfy iobroker.admin@^4.1.1
                                  npm ERR!     Missing: iobroker.alexa2@^3.1.2
                                  npm ERR!     Missing: iobroker.backitup@^1.5.7
                                  npm ERR!     Missing: iobroker.cloud@^2.6.2
                                  npm ERR!     Missing: iobroker.devices@^0.3.6
                                  npm ERR!     Invalid: lock file's iobroker.discovery@1.2.4 does not satisfy iobroker.discovery@^2.3.3
                                  npm ERR!     Missing: iobroker.flot@^1.9.2
                                  npm ERR!     Missing: iobroker.fritzdect@^0.3.2
                                  npm ERR!     Missing: iobroker.history@^1.9.6
                                  npm ERR!     Missing: iobroker.hm-rega@^2.6.7
                                  npm ERR!     Missing: iobroker.hm-rpc@^1.14.2
                                  npm ERR!     Missing: iobroker.ical@^1.7.0
                                  npm ERR!     Missing: iobroker.influxdb@^1.8.6
                                  npm ERR!     Invalid: lock file's iobroker.info@1.3.7 does not satisfy iobroker.info@^1.7.2
                                  npm ERR!     Missing: iobroker.iot@^1.2.0
                                  npm ERR!     Missing: iobroker.iqontrol@https://github.com/sbormann/ioBroker.iqontrol/tarball/master
                                  npm ERR!     Missing: iobroker.javascript@^4.6.4
                                  npm ERR!     Invalid: lock file's iobroker.js-controller@1.4.2 does not satisfy iobroker.js-controller@^2.2.10
                                  npm ERR!     Missing: iobroker.meross@^1.3.13
                                  npm ERR!     Missing: iobroker.mihome@^1.3.0
                                  npm ERR!     Missing: iobroker.mobile@^0.5.0
                                  npm ERR!     Missing: iobroker.mqtt@^2.1.3
                                  npm ERR!     Missing: iobroker.mqtt-client@^1.3.1
                                  npm ERR!     Missing: iobroker.node-red@^1.16.5
                                  npm ERR!     Missing: iobroker.nut@^1.1.3
                                  npm ERR!     Missing: iobroker.parser@^1.0.7
                                  npm ERR!     Missing: iobroker.proxmox@^1.0.2
                                  npm ERR!     Missing: iobroker.rickshaw@^1.0.0
                                  npm ERR!     Missing: iobroker.scenes@^1.1.0
                                  npm ERR!     Missing: iobroker.simple-api@^2.4.1
                                  npm ERR!     Missing: iobroker.snmp@^0.5.0
                                  npm ERR!     Missing: iobroker.socketio@^3.0.7
                                  npm ERR!     Missing: iobroker.sonoff@^2.3.3
                                  npm ERR!     Missing: iobroker.sql@^1.9.5
                                  npm ERR!     Missing: iobroker.squeezebox@^1.0.0
                                  npm ERR!     Missing: iobroker.statistics@^0.2.2
                                  npm ERR!     Missing: iobroker.synology@^0.1.10
                                  npm ERR!     Missing: iobroker.systeminfo@^0.3.1
                                  npm ERR!     Missing: iobroker.terminal@^0.1.2
                                  npm ERR!     Missing: iobroker.tr-064@^0.4.18
                                  npm ERR!     Missing: iobroker.tr-064-community@https://github.com/iobroker-community-adapters/ioBroker.tr-064-community/tarball/master
                                  npm ERR!     Missing: iobroker.upnp@^1.0.14
                                  npm ERR!     Missing: iobroker.viessmannapi@^1.3.2
                                  npm ERR!     Missing: iobroker.virtualpowermeter@^1.0.1
                                  npm ERR!     Missing: iobroker.vis@^1.2.3
                                  npm ERR!     Missing: iobroker.vis-hqwidgets@^1.1.2
                                  npm ERR!     Missing: iobroker.vis-jqui-mfd@^1.0.12
                                  npm ERR!     Missing: iobroker.web@^3.0.5
                                  
                                  npm ERR! A complete log of this run can be found in:
                                  npm ERR!     /home/ktrepte/.npm/_logs/2020-05-18T20_42_42_679Z-debug.log
                                  
                                  1 Reply Last reply Reply Quote 0
                                  • K
                                    karstent last edited by

                                    Nach dem ich die ioBroker Instanz wieder starten konnte ergibt sich folgendes im log:

                                    host.iobroker	2020-05-18 22:49:03.812	error	instance system.adapter.sql.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
                                    host.iobroker	2020-05-18 22:49:03.812	error	Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:653:32)
                                    host.iobroker	2020-05-18 22:49:03.811	error	Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
                                    host.iobroker	2020-05-18 22:49:03.807	error	Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:778:30)
                                    host.iobroker	2020-05-18 22:49:03.807	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/mmmagic/lib/index.js:1:13)
                                    host.iobroker	2020-05-18 22:49:03.806	error	Caught by controller[0]: at require (internal/modules/cjs/helpers.js:25:18)
                                    host.iobroker	2020-05-18 22:49:03.806	error	Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:692:17)
                                    host.iobroker	2020-05-18 22:49:03.806	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:585:3)
                                    host.iobroker	2020-05-18 22:49:03.805	error	Caught by controller[0]: at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
                                    host.iobroker	2020-05-18 22:49:03.805	error	Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:653:32)
                                    host.iobroker	2020-05-18 22:49:03.805	error	Caught by controller[0]: at Object.Module._extensions..node (internal/modules/cjs/loader.js:807:18)
                                    host.iobroker	2020-05-18 22:49:03.804	error	Caught by controller[0]: the module (for instance, using `npm rebuild` or `npm install`).
                                    host.iobroker	2020-05-18 22:49:03.804	error	Caught by controller[0]: NODE_MODULE_VERSION 64. Please try re-compiling or re-installing
                                    host.iobroker	2020-05-18 22:49:03.804	error	Caught by controller[0]: NODE_MODULE_VERSION 57. This version of Node.js requires
                                    host.iobroker	2020-05-18 22:49:03.803	error	Caught by controller[0]: was compiled against a different Node.js version using
                                    host.iobroker	2020-05-18 22:49:03.803	error	Caught by controller[0]: Error: The module '/opt/iobroker/node_modules/mmmagic/build/Release/magic.node'
                                    host.iobroker	2020-05-18 22:49:03.802	error	Caught by controller[0]: ^
                                    host.iobroker	2020-05-18 22:49:03.802	error	Caught by controller[0]: return process.dlopen(module, path.toNamespacedPath(filename));
                                    host.iobroker	2020-05-18 22:49:03.801	error	Caught by controller[0]: internal/modules/cjs/loader.js:807
                                    
                                    Thomas Braun 1 Reply Last reply Reply Quote 0
                                    • Thomas Braun
                                      Thomas Braun Most Active @karstent last edited by

                                      @karstent

                                      iobroker rebuild
                                      
                                      K 1 Reply Last reply Reply Quote 0
                                      • K
                                        karstent @Thomas Braun last edited by

                                        Hallo,
                                        Vielen Dank für deine Hilfe. Nach dem ich aus Verzweiflung noch einmal die befehle
                                        cd /opt/iobroker
                                        npm cache clean
                                        sudo iobroker stop
                                        sudo iobroker update
                                        sudo iobroker upgrade self
                                        sudo iobroker start
                                        in die Console getippt habe hat sich, oh Wunder, die Instanz wieder selber zum leben erweckt. Im Moment habe ich keinerlei Fehlermeldungen mehr und der Controller ist jetzt dort wo er sein soll:
                                        Typ: js-controller
                                        Titel: JS controller

                                        Verfügbar: 3.1.4
                                        Installiert: 3.1.4
                                        Also, vielen Dank noch mal 🙂

                                        1 Reply Last reply Reply Quote 0
                                        • S
                                          Stejin last edited by

                                          sry fürs raus kramen, aber ich hatte das gleiche Problem, mir hat das update auf node12 geholfen!

                                          sudo apt-get install curl software-properties-common
                                          curl -sL https://deb.nodesource.com/setup_12.x | sudo bash -
                                          apt-get install nodejs
                                          
                                          npm install iobroker.js-controller@3.1.4 --unsafe-perm --loglevel error --prefix "/opt/iobroker"
                                          
                                          
                                          1 Reply Last reply Reply Quote 0
                                          • First post
                                            Last post

                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          633
                                          Online

                                          31.9k
                                          Users

                                          80.1k
                                          Topics

                                          1.3m
                                          Posts

                                          host.iobroker
                                          3
                                          19
                                          2443
                                          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