Skip to content
  • Home
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • 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

  • Default (No Skin)
  • No Skin
Collapse
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. Neuinstallation nicht möglich

NEWS

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    8.9k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    2.3k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    16
    1
    3.4k

Neuinstallation nicht möglich

Scheduled Pinned Locked Moved ioBroker Allgemein
33 Posts 6 Posters 2.2k Views 5 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Nr5lebt

    @homoran der ganze ordner iobroker.js-controller fehlt

    Thomas BraunT Online
    Thomas BraunT Online
    Thomas Braun
    Most Active
    wrote on last edited by
    #24

    @nr5lebt

    Ich glaube @wendy2702 hatte das mal auf OMV laufen. Vielleicht hat er einen heißen Tipp.

    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

    N wendy2702W 2 Replies Last reply
    0
    • Thomas BraunT Thomas Braun

      @nr5lebt

      Ich glaube @wendy2702 hatte das mal auf OMV laufen. Vielleicht hat er einen heißen Tipp.

      N Offline
      N Offline
      Nr5lebt
      wrote on last edited by
      #25

      @thomas-braun danke für die info

      1 Reply Last reply
      0
      • N Nr5lebt

        Hallo
        dann werd ich meinen leidensweg mal ganz von vorne beschreiben.
        bisher hatte ich iobroker unter docker laufen (buanet). nach vielen schwierigkeiten lief es am ende. jetzt hab ich eine photovoltaikanlage bekommen und hab mir zum auslesen der stromzähler einen raspi zugelegt. jetzt wollte ich umstellen auf host und slave. dabei hab ich mir mein iobroker-master unter docker so zerlegt das ich es nicht mehr zum laufen bringe. auch neuer container mit zurückspielen des backups ging nicht. also container still gelegt und iobroker auf meinem nas (openmediavault, debian) auf der konsole neu angelegt. aber neues problem.
        ![Screenshot_20210822_161612.png](/assets/uploads/files
        /1629641843202-screenshot_20210822_161612.png)
        also nach der meldung kann er nicht die datei iobroker.js finden.
        das letzte was ich gefunden habe ist

        root@nas:~# npm install ioBroker/ioBroker.js-controller
        und das ergebnis:

        npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
        npm WARN deprecated har-validator@5.1.5: this library is no longer supported
        npm WARN deprecated uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
        
        > iobroker.js-controller@4.0.0 preinstall /root/node_modules/iobroker.js-controller
        > node lib/preinstallCheck.js
        
        NPM version: 6.14.14
        
        > unix-dgram@2.0.3 install /root/node_modules/unix-dgram
        > node-gyp rebuild
        
        make: Verzeichnis „/root/node_modules/unix-dgram/build“ wird betreten
          CXX(target) Release/obj.target/unix_dgram/src/unix_dgram.o
        In file included from ../../nan/nan.h:58,
                         from ../src/unix_dgram.cc:5:
        /root/.cache/node-gyp/12.22.5/include/node/node.h:736:43: warning: cast between incompatible function types from ‘void (*)(v8::Local<v8::Object>)’ to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type]
               (node::addon_register_func) (regfunc),                          \
                                                   ^
        /root/.cache/node-gyp/12.22.5/include/node/node.h:770:3: note: in expansion of macro ‘NODE_MODULE_X’
           NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
           ^~~~~~~~~~~~~
        ../src/unix_dgram.cc:404:1: note: in expansion of macro ‘NODE_MODULE’
         NODE_MODULE(unix_dgram, Initialize)
         ^~~~~~~~~~~
          SOLINK_MODULE(target) Release/obj.target/unix_dgram.node
          COPY Release/unix_dgram.node
        make: Verzeichnis „/root/node_modules/unix-dgram/build“ wird verlassen
        
        > ursa-optional@0.9.10 install /root/node_modules/ursa-optional
        > node rebuild.js
        
        ursaNative bindings compilation fail. This is not an issue. Modules that depend on it will use fallbacks.
        
        > diskusage@1.1.3 install /root/node_modules/diskusage
        > node-gyp rebuild
        
        make: Verzeichnis „/root/node_modules/diskusage/build“ wird betreten
          CXX(target) Release/obj.target/diskusage/src/main.o
        In file included from ../../nan/nan.h:58,
                         from ../src/main.cpp:3:
        /root/.cache/node-gyp/12.22.5/include/node/node.h:736:43: warning: cast between incompatible function types from ‘void (*)(v8::Local<v8::Object>)’ to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type]
               (node::addon_register_func) (regfunc),                          \
                                                   ^
        /root/.cache/node-gyp/12.22.5/include/node/node.h:770:3: note: in expansion of macro ‘NODE_MODULE_X’
           NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
           ^~~~~~~~~~~~~
        ../src/main.cpp:42:1: note: in expansion of macro ‘NODE_MODULE’
         NODE_MODULE(diskusage, Init)
         ^~~~~~~~~~~
          CXX(target) Release/obj.target/diskusage/src/diskusage_posix.o
          SOLINK_MODULE(target) Release/obj.target/diskusage.node
          COPY Release/diskusage.node
        make: Verzeichnis „/root/node_modules/diskusage/build“ wird verlassen
        
        > iobroker.js-controller@4.0.0 install /root/node_modules/iobroker.js-controller
        > node iobroker.js setup first
        
        creating conf/iobroker.json
         Could not connect to states database at 127.0.0.1:9000 (invalid protocol). Please make sure the configured IP and port points to a host running JS-Controller >= 2.0. and that the port is not occupied by other software!
         Could not connect to states database at 127.0.0.1:9000 (invalid protocol). Please make sure the configured IP and port points to a host running JS-Controller >= 2.0. and that the port is not occupied by other software!
        Server Cannot load /root/iobroker-data/objects.json: Database file /root/iobroker-data/objects.json does not exists.. We try last Backup!
        Server Cannot load /root/iobroker-data/states.json: Database file /root/iobroker-data/states.json does not exists.. We try last Backup!
        Server Cannot load /root/iobroker-data/objects.json.bak: Database file /root/iobroker-data/objects.json.bak does not exists.. Continue with empty dataset!
        Server If this is no Migration or initial start please restore the last backup from /root/iobroker-data/backup-objects
        Server Cannot load /root/iobroker-data/states.json.bak: Database file /root/iobroker-data/states.json.bak does not exists.. Continue with empty dataset!
        Server If this is no Migration or initial start please restore the last backup from /root/iobroker-data/backup-objects
         Cannot read system.config: null (OK when migrating or restoring)
        No connection to databases possible ...
        npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.3.2 (node_modules/chokidar/node_modules/fsevents):
        npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
        npm WARN enoent ENOENT: no such file or directory, open '/root/package.json'
        npm WARN root No description
        npm WARN root No repository field.
        npm WARN root No README data
        npm WARN root No license field.
        
        npm ERR! code ELIFECYCLE
        npm ERR! errno 22
        npm ERR! iobroker.js-controller@4.0.0 install: `node iobroker.js setup first`
        npm ERR! Exit status 22
        npm ERR! 
        npm ERR! Failed at the iobroker.js-controller@4.0.0 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/2021-08-22T13_44_28_332Z-debug.log
        

        MOD-Edit: Code in code-tags gesetzt!

        sorry, anders weis ich nicht wie ich das alles hier reinbringen kann.
        Screenshot_20210822_162256.png
        ich hoffe mir kann jemand helfen, was braucht ihr noch an infos?

        apollon77A Offline
        apollon77A Offline
        apollon77
        wrote on last edited by
        #26

        @nr5lebt also ich starte mal hier. … es steht da Port 9000 ist falsches Protokoll. Daher mal die erste Frage: was läuft da auf Port 9000??? Mach das weg. IoBroker neu Installation braucht Port 9000 und 9001. kannst du danach ändern aber erstmal braucht man es. Das ist ggf schon der Grund das es nicht installiert wird weil die setup Routine nicht ausgeführt werden kann. Und würde erklären das es nicht da ist

        Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

        • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
        • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
        N 1 Reply Last reply
        0
        • apollon77A apollon77

          @nr5lebt also ich starte mal hier. … es steht da Port 9000 ist falsches Protokoll. Daher mal die erste Frage: was läuft da auf Port 9000??? Mach das weg. IoBroker neu Installation braucht Port 9000 und 9001. kannst du danach ändern aber erstmal braucht man es. Das ist ggf schon der Grund das es nicht installiert wird weil die setup Routine nicht ausgeführt werden kann. Und würde erklären das es nicht da ist

          N Offline
          N Offline
          Nr5lebt
          wrote on last edited by
          #27

          @apollon77 danke
          da läuft portainer drauf
          werd mich jetzt mal drum kümmern

          apollon77A 1 Reply Last reply
          0
          • N Nr5lebt

            @apollon77 danke
            da läuft portainer drauf
            werd mich jetzt mal drum kümmern

            apollon77A Offline
            apollon77A Offline
            apollon77
            wrote on last edited by
            #28

            @nr5lebt Sowas hatte ich vermutet

            Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

            • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
            • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
            1 Reply Last reply
            0
            • Thomas BraunT Thomas Braun

              @nr5lebt

              Ich glaube @wendy2702 hatte das mal auf OMV laufen. Vielleicht hat er einen heißen Tipp.

              wendy2702W Offline
              wendy2702W Offline
              wendy2702
              wrote on last edited by
              #29

              @thomas-braun sagte in Neuinstallation nicht möglich:

              @nr5lebt

              Ich glaube @wendy2702 hatte das mal auf OMV laufen. Vielleicht hat er einen heißen Tipp.

              Du hast recht.... hatte ich mal... ganz zu Anfang und meine Erinnerung ist leider zu Schwach.

              Kann mich erinnern das ich Probleme hatte... aber nicht mehr im Detail und auch nicht mehr an die Lösungen.

              Könnte aber noch irgendwo in den untiefen des Forums stehen :-)

              Bitte keine Fragen per PN, die gehören ins Forum!

              Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

              1 Reply Last reply
              0
              • N Nr5lebt

                @homoran und das kommt bei iobroker status

                root@nas:~# iobroker status
                internal/modules/cjs/loader.js:818
                  throw err;
                  ^
                
                Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
                    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:815:15)                                                                           
                    at Function.Module._load (internal/modules/cjs/loader.js:667:27)
                    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12)                                                                   
                    at internal/main/run_main_module.js:17:47 {
                  code: 'MODULE_NOT_FOUND',
                  requireStack: []
                }
                

                MOD-Edit: Code in code-tags gesetzt!

                R Offline
                R Offline
                Renesen
                wrote on last edited by
                #30

                @nr5lebt, ich habe wohl das gleiche Problem, weiß aber auch nicht mehr weiter. IoBrober auf Raspi neu aufgesetzt, komme aber absolut nicht weiter. Hast Du es bereits lösen können?
                c9ba20f1-1022-439b-af32-0bbbab3f44c4-image.png

                apollon77A 1 Reply Last reply
                0
                • R Renesen

                  @nr5lebt, ich habe wohl das gleiche Problem, weiß aber auch nicht mehr weiter. IoBrober auf Raspi neu aufgesetzt, komme aber absolut nicht weiter. Hast Du es bereits lösen können?
                  c9ba20f1-1022-439b-af32-0bbbab3f44c4-image.png

                  apollon77A Offline
                  apollon77A Offline
                  apollon77
                  wrote on last edited by
                  #31

                  @renesen Aaaaaalso ....

                  ioBroker ist normalerweise in /opt/iobroekr und nicht in /home/pi installiert.

                  Weiterhin ... Wer hat Dir diesen Befehl gegeben?

                  Also wechsle mal ins richtige verzeichnis und rufe "iobroker setup first" auf

                  Am besten danach "iobroker fix"

                  Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

                  • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
                  • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
                  R 1 Reply Last reply
                  0
                  • apollon77A apollon77

                    @renesen Aaaaaalso ....

                    ioBroker ist normalerweise in /opt/iobroekr und nicht in /home/pi installiert.

                    Weiterhin ... Wer hat Dir diesen Befehl gegeben?

                    Also wechsle mal ins richtige verzeichnis und rufe "iobroker setup first" auf

                    Am besten danach "iobroker fix"

                    R Offline
                    R Offline
                    Renesen
                    wrote on last edited by
                    #32

                    @apollon77 vielen Dank für den Hinweis. Ich werde mich weiter "durchhangeln" und mache erstmal hier weiter, da die gleiche Meldung kommt...
                    https://forum.iobroker.net/topic/22867/how-to-node-js-für-iobroker-richtig-updaten

                    HomoranH 1 Reply Last reply
                    0
                    • R Renesen

                      @apollon77 vielen Dank für den Hinweis. Ich werde mich weiter "durchhangeln" und mache erstmal hier weiter, da die gleiche Meldung kommt...
                      https://forum.iobroker.net/topic/22867/how-to-node-js-für-iobroker-richtig-updaten

                      HomoranH Offline
                      HomoranH Offline
                      Homoran
                      Global Moderator Administrators
                      wrote on last edited by
                      #33

                      @renesen sagte in Neuinstallation nicht möglich:

                      mache erstmal hier weiter

                      das mag eine Baustelle sein, aber die Frage von @apollon77 ist durchaus berechtigt:

                      @apollon77 sagte in Neuinstallation nicht möglich:

                      Wer hat Dir diesen Befehl gegeben?

                      dein Befehl in der ersten Zeile des Screenshots (demnächst bitte als Text in-Code-tags, dann kann man den auch kopieren!) ist mehr als ungewöhnlich.

                      Da besteht leider die Gefahr, dass du irgendwo eine sehr fragliche Anleitung her hast, in der noch mehr Blödsinn gemacht wird

                      kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

                      Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                      der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                      1 Reply Last reply
                      0
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      Support us

                      ioBroker
                      Community Adapters
                      Donate
                      FAQ Cloud / IOT
                      HowTo: Node.js-Update
                      HowTo: Backup/Restore
                      Downloads
                      BLOG

                      397

                      Online

                      32.5k

                      Users

                      81.6k

                      Topics

                      1.3m

                      Posts
                      Community
                      Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                      ioBroker Community 2014-2025
                      logo
                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Home
                      • Recent
                      • Tags
                      • Unread 0
                      • Categories
                      • Unreplied
                      • Popular
                      • GitHub
                      • Docu
                      • Hilfe