Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Error/Bug
  4. host.iobroker Fehlermeldung

NEWS

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    16
    1
    1.5k

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    13
    1
    828

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    25
    1
    2.1k

host.iobroker Fehlermeldung

Geplant Angeheftet Gesperrt Verschoben Ungelöst Error/Bug
host.iobroker
19 Beiträge 3 Kommentatoren 2.8k Aufrufe 3 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • Thomas BraunT Thomas Braun

    @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 Offline
    K Offline
    karstent
    schrieb am zuletzt editiert von
    #9

    @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 BraunT 1 Antwort Letzte Antwort
    0
    • K karstent

      @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 BraunT Online
      Thomas BraunT Online
      Thomas Braun
      Most Active
      schrieb am zuletzt editiert von
      #10

      @karstent
      Die anderen Ausgaben waren geheim?

      Linux-Werkzeugkasten:
      https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
      NodeJS Fixer Skript:
      https://forum.iobroker.net/topic/68035/iob-node-fix-skript
      iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

      1 Antwort Letzte Antwort
      0
      • K Offline
        K Offline
        karstent
        schrieb am zuletzt editiert von
        #11

        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 BraunT 1 Antwort Letzte Antwort
        0
        • K karstent

          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 BraunT Online
          Thomas BraunT Online
          Thomas Braun
          Most Active
          schrieb am zuletzt editiert von
          #12

          @karstent

          iobroker update
          iobroker upgrade
          

          Linux-Werkzeugkasten:
          https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
          NodeJS Fixer Skript:
          https://forum.iobroker.net/topic/68035/iob-node-fix-skript
          iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

          1 Antwort Letzte Antwort
          0
          • K Offline
            K Offline
            karstent
            schrieb am zuletzt editiert von
            #13

            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 BraunT 1 Antwort Letzte Antwort
            0
            • K karstent

              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 BraunT Online
              Thomas BraunT Online
              Thomas Braun
              Most Active
              schrieb am zuletzt editiert von
              #14

              @karstent

              cd /opt/iobroker
              sudo -H -u iobroker npm install iobroker.js-controller
              

              Linux-Werkzeugkasten:
              https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
              NodeJS Fixer Skript:
              https://forum.iobroker.net/topic/68035/iob-node-fix-skript
              iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

              1 Antwort Letzte Antwort
              0
              • K Offline
                K Offline
                karstent
                schrieb am zuletzt editiert von
                #15

                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 Antwort Letzte Antwort
                0
                • K Offline
                  K Offline
                  karstent
                  schrieb am zuletzt editiert von
                  #16

                  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 BraunT 1 Antwort Letzte Antwort
                  0
                  • K karstent

                    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 BraunT Online
                    Thomas BraunT Online
                    Thomas Braun
                    Most Active
                    schrieb am zuletzt editiert von
                    #17

                    @karstent

                    iobroker rebuild
                    

                    Linux-Werkzeugkasten:
                    https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                    NodeJS Fixer Skript:
                    https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                    iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                    K 1 Antwort Letzte Antwort
                    0
                    • Thomas BraunT Thomas Braun

                      @karstent

                      iobroker rebuild
                      
                      K Offline
                      K Offline
                      karstent
                      schrieb am zuletzt editiert von
                      #18

                      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 Antwort Letzte Antwort
                      0
                      • S Offline
                        S Offline
                        Stejin
                        schrieb am zuletzt editiert von
                        #19

                        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 Antwort Letzte Antwort
                        0
                        Antworten
                        • In einem neuen Thema antworten
                        Anmelden zum Antworten
                        • Älteste zuerst
                        • Neuste zuerst
                        • Meiste Stimmen


                        Support us

                        ioBroker
                        Community Adapters
                        Donate

                        583

                        Online

                        32.6k

                        Benutzer

                        82.1k

                        Themen

                        1.3m

                        Beiträge
                        Community
                        Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                        ioBroker Community 2014-2025
                        logo
                        • Anmelden

                        • Du hast noch kein Konto? Registrieren

                        • Anmelden oder registrieren, um zu suchen
                        • Erster Beitrag
                          Letzter Beitrag
                        0
                        • Home
                        • Aktuell
                        • Tags
                        • Ungelesen 0
                        • Kategorien
                        • Unreplied
                        • Beliebt
                        • GitHub
                        • Docu
                        • Hilfe