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. [erledigt] js.controller update

NEWS

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    10
    1
    125

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    24
    1
    1.4k

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

[erledigt] js.controller update

Geplant Angeheftet Gesperrt Verschoben Error/Bug
11 Beiträge 6 Kommentatoren 1.9k Aufrufe
  • Ä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.
  • N Offline
    N Offline
    nathan1312
    schrieb am zuletzt editiert von
    #1

    Jetzt hats mich auch erwischt. nach dem controller update von 1.1.2 auf 1.2 (glaub ich) kann ich iobroker nicht mehr starten

    Hab im Forum gesucht und folgende Lösung gefunden

    cd /opt/iobroker
    sudo chmod 777 * -R
    sudo npm install iobroker.js-controller --production
    

    Hat aber leider nicht funktioniert.

    ! ````
    Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
    at Function.Module._resolveFilename (module.js:325:15)
    at Function.Module._load (module.js:276:25)
    at Function.Module.runMain (module.js:441:10)
    at startup (node.js:139:18)
    at node.js:974:3
    root@raspberrypi:/opt/iobroker# sudo chmod 777 * -R
    chmod: cannot access ‘iobroker-data/files/scenes.admin’: No such file or directory
    chmod: cannot access ‘iobroker-data/files/text2command.admin’: No such file or directory
    root@raspberrypi:/opt/iobroker# cd /
    root@raspberrypi:/# sudo npm cache clean
    npm ERR! Linux 4.4.26-v7+
    npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "cache" "clean"
    npm ERR! node v4.6.1
    npm ERR! npm v2.15.9
    npm ERR! path /root/.npm/registry.npmjs.org/base64id/.cache.json
    npm ERR! code Unknown system error -117
    npm ERR! errno -117
    npm ERR! syscall unlink
    ! npm ERR! Unknown system error -117: Unknown system error -117, unlink '/root/.npm/registry.npmjs.org/base64id/.cache.json'
    npm ERR!
    npm ERR! If you need help, you may report this error at:
    npm ERR! <https: github.com/npm/issues="">
    ! npm ERR! Please include the following file with any support request:
    npm ERR! /npm-debug.log
    root@raspberrypi:/# sudo chmod -r 777 /opt/iobroker
    chmod: cannot access ‘777’: No such file or directory
    root@raspberrypi:/# cd /opt/iobroker
    root@raspberrypi:/opt/iobroker# sudo npm install iobroker.js.controller
    npm ERR! Linux 4.4.26-v7+
    npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "iobroker.js.controller"
    npm ERR! node v4.6.1
    npm ERR! npm v2.15.9
    npm ERR! code E404
    ! npm ERR! 404 Registry returned 404 for GET on https://registry.npmjs.org/iobroker.js.controller
    npm ERR! 404
    npm ERR! 404 'iobroker.js.controller' is not in the npm registry.
    npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
    npm ERR! 404 It was specified as a dependency of 'iobroker.core'
    npm ERR! 404
    npm ERR! 404 Note that you can also install from a
    npm ERR! 404 tarball, folder, http url, or git url.
    ! npm ERR! Please include the following file with any support request:
    npm ERR! /opt/iobroker/npm-debug.log
    root@raspberrypi:/opt/iobroker# sudo chmod -R 777 /opt/iobroker
    chmod: cannot access ‘/opt/iobroker/node_modules/iobroker.sayit/node_modules/jsftp/.vscode’: Structure needs cleaning
    chmod: cannot access ‘/opt/iobroker/node_modules/iobroker.sayit/node_modules/jsftp/lib’: Structure needs cleaning
    chmod: cannot access ‘/opt/iobroker/node_modules/iobroker.sayit/node_modules/aws-sdk/lib/s3/managed_upload.js’: Structure needs cleaning
    chmod: cannot access ‘/opt/iobroker/iobroker-data/files/scenes.admin’: No such file or directory
    chmod: cannot access ‘/opt/iobroker/iobroker-data/files/text2command.admin’: No such file or directory
    root@raspberrypi:/opt/iobroker# sudo chmod 777 * -R
    chmod: cannot access ‘iobroker-data/files/scenes.admin’: No such file or directory
    chmod: cannot access ‘iobroker-data/files/text2command.admin’: No such file or directory
    chmod: cannot access ‘node_modules/iobroker.sayit/node_modules/jsftp/.vscode’: Structure needs cleaning
    chmod: cannot access ‘node_modules/iobroker.sayit/node_modules/jsftp/lib’: Structure needs cleaning
    chmod: cannot access ‘node_modules/iobroker.sayit/node_modules/aws-sdk/lib/s3/managed_upload.js’: Structure needs cleaning
    root@raspberrypi:/opt/iobroker# sudo npm install iobroker.js.controller --production
    npm ERR! Linux 4.4.26-v7+
    npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "iobroker.js.controller" "--production"
    npm ERR! node v4.6.1
    npm ERR! npm v2.15.9
    npm ERR! code E404
    ! npm ERR! 404 Registry returned 404 for GET on https://registry.npmjs.org/iobroker.js.controller
    npm ERR! 404
    npm ERR! 404 'iobroker.js.controller' is not in the npm registry.
    npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
    npm ERR! 404 It was specified as a dependency of 'iobroker.core'
    npm ERR! 404
    npm ERR! 404 Note that you can also install from a
    npm ERR! 404 tarball, folder, http url, or git url.
    ! npm ERR! Please include the following file with any support request:
    npm ERR! /opt/iobroker/npm-debug.log
    root@raspberrypi:/opt/iobroker#</https:>

    
    Vor dem Update hatte ich bereits Probleme den say.it und den web-adapter zu aktualisieren.
    
    Kann jemand helfen?
    
    ****ModEdit: Log bitte in code blöcken****
    1 Antwort Letzte Antwort
    0
    • eric2905E Offline
      eric2905E Offline
      eric2905
      schrieb am zuletzt editiert von
      #2

      Moin,

      eine Frage:

      Du bist als root angemeldet (mehr/höher geht nicht) und verwendest trotzdem noch „sudo“?

      Warum?

      Nicht das Du Dir mit sudo, der einem normalen User ja quasi-root einräumen soll, wieder Rechte entziehst ….

      Gruß,

      Eric

      Von unterwegs getippert

      Roses are red, violets are blue,

      if I listen to metal, my neighbours do too

      1 Antwort Letzte Antwort
      0
      • R Offline
        R Offline
        RappiRN
        Most Active
        schrieb am zuletzt editiert von
        #3

        Du schreibst:

        sudo npm install iobroker.js.controller
        ````(lt.log)
        
        muss es nicht heißen:
        
        

        sudo npm install iobroker.js-controller

        
        ?? So, wie in deiner gefundenen Lösung?
        
        Die Sache mit dem "sudo", da würde ich als totaler Linux-Laie behaupten, dass das trotz root-Anmeldung nicht stört, hab ich manchmal, wenn ich Installationen mit copy&paste durchführe, auch mit drin zu stehen und hat glaub ich noch nie gestört.
        
        Und das hier:
        
        

        sudo chmod -r 777 /opt/iobroker

        
        enstspricht doch auch nicht dem, was du als Lösung im Forum gefunden hast. In deiner Lösung sind "-r" und "777" andersrum. :?:
        
        Enrico
        1 Antwort Letzte Antwort
        0
        • arteckA Offline
          arteckA Offline
          arteck
          Developer Most Active
          schrieb am zuletzt editiert von
          #4

          man sollte sich auch die Meldungen anschauen was das system rausgibt nicht nur stupide copypaste enter

          ` > ````

          root@raspberrypi:/# sudo chmod -r 777 /opt/iobroker
          chmod: cannot access ‘777’: No such file or directory
          ```` `

          FALSCH

          ` > ````

          root@raspberrypi:/# cd /opt/iobroker
          root@raspberrypi:/opt/iobroker# sudo npm install iobroker.js.controller

          npm ERR! 404 Registry returned 404 for GET on https://registry.npmjs.org/iobroker.js.controller
          ```` `

          GENAUSO FALSCH

          du hast im Eingang

          cd /opt/iobroker
          sudo chmod 777 * -R
          sudo npm install iobroker.js-controller --production
          

          warum macht du es auch nicht so

          und wenn du schon dabei bist mach ein update auf node 6

          zigbee hab ich, zwave auch, nuc's genauso und HA auch

          1 Antwort Letzte Antwort
          0
          • R Offline
            R Offline
            RappiRN
            Most Active
            schrieb am zuletzt editiert von
            #5

            … sag ich doch!

            @arteck:

            und wenn du schon dabei bist mach ein update auf node 6 `

            Erstmal eins abschließen, dann das nächste Problem lösen! :D

            Enrico

            1 Antwort Letzte Antwort
            0
            • N Offline
              N Offline
              nathan1312
              schrieb am zuletzt editiert von
              #6

              Sorry, war spät gestern und ich war ein wenig in Panik. Hatte vorher ein wenig rumprobiert und dann zuviel als log gepostet. Den Tippfehler hatte ich auch nicht gesehen. Wenn ich nachher zuhause bin versuche ich es nochnmal.

              Aber danke für die schnellen Antworten!

              1 Antwort Letzte Antwort
              0
              • N Offline
                N Offline
                nathan1312
                schrieb am zuletzt editiert von
                #7

                OK, habs nochmal probiert. Leider immer noch ohne Erfolg :-( ( Das "sudo" brauche ich ja nicht vor den Befehlen wenn ich als "root" angemeldet bin, soweit ich das verstanden habe)

                So wie ich das verstehe ist wohl irgendeine Komponente veraltet. Weiß aber nicht ob das den Fehler auslöst…

                Hier nochmal die Meldungen über die Konsole...

                ! ````
                root@raspberrypi:~# cd /opt/iobroker
                root@raspberrypi:/opt/iobroker# chmod 777 * -R
                chmod: cannot access ‘iobroker-data/files/scenes.admin’: No such file or directory
                chmod: cannot access ‘iobroker-data/files/text2command.admin’: No such file or directory
                chmod: cannot access ‘node_modules/iobroker.sayit/node_modules/jsftp/.vscode’: Structure needs cleaning
                chmod: cannot access ‘node_modules/iobroker.sayit/node_modules/jsftp/lib’: Structure needs cleaning
                chmod: cannot access ‘node_modules/iobroker.sayit/node_modules/aws-sdk/lib/s3/managed_upload.js’: Structure needs cleaning
                root@raspberrypi:/opt/iobroker# npm install iobroker.js-controller --production
                npm WARN deprecated tar.gz@1.0.7: ⚠️ WARNING ⚠️ tar.gz module has been deprecated and your application is vulnerable. Please use tar module instead: https://npmjs.com/tar
                npm WARN deprecated localhost.daplie.me-certificates@1.3.5: this package has been deprecated
                npm ERR! unpack Could not read data for debug@2.3.3
                npm ERR! unpack Could not read data for ajv@5.3.0
                |
                unix-dgram@0.2.3 install /opt/iobroker/node_modules/iobroker.js-controller/node_modules/winston-syslog/node_modules/unix-dgram
                node-gyp rebuild
                ! make: Entering directory '/opt/iobroker/node_modules/iobroker.js-controller/node_modules/winston-syslog/node_modules/unix-dgram/build'
                CXX(target) Release/obj.target/unix_dgram/src/unix_dgram.o
                SOLINK_MODULE(target) Release/obj.target/unix_dgram.node
                COPY Release/unix_dgram.node
                make: Leaving directory '/opt/iobroker/node_modules/iobroker.js-controller/node_modules/winston-syslog/node_modules/unix-dgram/build'
                npm ERR! unpack Could not read data for bcrypt-pbkdf@1.0.1
                npm WARN optional dep failed, continuing bcrypt-pbkdf@1.0.1
                ! > ursa@0.9.4 install /opt/iobroker/node_modules/iobroker.js-controller/node_modules/greenlock/node_modules/rsa-compat/node_modules/ursa
                node-gyp rebuild
                ! make: Entering directory '/opt/iobroker/node_modules/iobroker.js-controller/node_modules/greenlock/node_modules/rsa-compat/node_modules/ursa/build'
                CXX(target) Release/obj.target/ursaNative/src/ursaNative.o
                SOLINK_MODULE(target) Release/obj.target/ursaNative.node
                COPY Release/ursaNative.node
                make: Leaving directory '/opt/iobroker/node_modules/iobroker.js-controller/node_modules/greenlock/node_modules/rsa-compat/node_modules/ursa/build'
                npm ERR! Linux 4.4.26-v7+
                npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "iobroker.js-controller" "--production"
                npm ERR! node v4.6.1
                npm ERR! npm v2.15.9
                npm ERR! path /root/.npm/debug/2.3.3/package/package.json
                npm ERR! code Unknown system error -117
                npm ERR! errno -117
                npm ERR! syscall open
                ! npm ERR! Unknown system error -117: Unknown system error -117, open '/root/.npm/debug/2.3.3/package/package.json'
                npm ERR!
                npm ERR! If you need help, you may report this error at:
                npm ERR! <https: github.com/npm/issues="">npm ERR! Please include the following file with any support request:
                npm ERR! /opt/iobroker/npm-debug.log
                root@raspberrypi:/opt/iobroker#</https:>

                
                Ich hoffe Ihr könnt mir nochmal helfen.
                
                …beim Startversuch kommt dann übrigens folgende Fehlermeldung
                
                >! ````
                root@raspberrypi:/opt/iobroker# iobroker start
                module.js:327
                    throw err;
                    ^
                >! Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iob       roker.js'
                    at Function.Module._resolveFilename (module.js:325:15)
                    at Function.Module._load (module.js:276:25)
                    at Function.Module.runMain (module.js:441:10)
                    at startup (node.js:139:18)
                    at node.js:974:3
                >! ````
                1 Antwort Letzte Antwort
                0
                • DutchmanD Offline
                  DutchmanD Offline
                  Dutchman
                  Developer Most Active Administrators
                  schrieb am zuletzt editiert von
                  #8

                  Probier Mal mit

                   sudo npm install iobroker --unsafe-perm
                  

                  –-----------------------

                  Send from mobile device

                  1 Antwort Letzte Antwort
                  0
                  • N Offline
                    N Offline
                    nathan1312
                    schrieb am zuletzt editiert von
                    #9

                    Der raspi hat einen kalten Reboot durchgemacht - Stromausfall.

                    Jetzt läuft iobroker wieder…. nur sind nun einige Adapter, die ich schon upgedatet hatte wieder auf einem früheren Stand...

                    Ich kapiers nicht... aber egal - bin froh, dass ich nicht neu aufsetzen muss!

                    Danke für eure Hilfe!

                    Gesendet von meinem SM-T820 mit Tapatalk

                    1 Antwort Letzte Antwort
                    0
                    • HomoranH Offline
                      HomoranH Offline
                      Homoran
                      Global Moderator Administrators
                      schrieb am zuletzt editiert von
                      #10

                      @nathan1312:

                      nur sind nun einige Adapter, die ich schon upgedatet hatte wieder auf einem früheren Stand… `
                      hattest du diese über github upgedatet?

                      Gruß

                      Rainer

                      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 Antwort Letzte Antwort
                      0
                      • N Offline
                        N Offline
                        nathan1312
                        schrieb am zuletzt editiert von
                        #11

                        Nein, ganz normal über den button auf der adapter-oberfläche

                        Gesendet von meinem SM-T820 mit Tapatalk

                        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

                        365

                        Online

                        32.5k

                        Benutzer

                        81.7k

                        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