Skip to content
  • 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
Logo
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. [gelöst] iobroker offline nach admin update

NEWS

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

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

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

[gelöst] iobroker offline nach admin update

Scheduled Pinned Locked Moved ioBroker Allgemein
adminadapterupdatejs.controllerfrage
86 Posts 8 Posters 10.5k 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.
  • J JRiddim

    @haselchen

    erhalte diese Meldung dabei.

    npm install iobroker.js-controller
    npm WARN deprecated circular-json@0.3.3: CircularJSON is in maintenance only, flatted is its successor.
    
    > iobroker.js-controller@2.2.8 preinstall /opt/iobroker/node_modules/iobroker.js-controller
    > node lib/preinstallCheck.js
    
    NPM version: 6.13.4
    
    > iobroker.js-controller@2.2.8 install /opt/iobroker/node_modules/iobroker.js-controller
    > node iobroker.js setup first
    
    npm WARN bl@0.7.0 requires a peer of stream-browserify@* but none is installed. You must install peer dependencies yourself.
    npm WARN ajv-keywords@2.1.1 requires a peer of ajv@^5.0.0 but none is installed. You must install peer dependencies yourself.
    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.2 (node_modules/fsevents):
    npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
    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":"arm"})
    
    + iobroker.js-controller@2.2.8
    updated 1 package and audited 4821 packages in 35.829s
    
    12 packages are looking for funding
      run `npm fund` for details
    
    found 57 vulnerabilities (40 low, 3 moderate, 14 high)
      run `npm audit fix` to fix them, or `npm audit` for details
    
    haselchenH Offline
    haselchenH Offline
    haselchen
    Most Active
    wrote on last edited by
    #20

    @JRiddim

    Viele Wege führen hier nach Rom.
    Kommste mit iobroker start oder iobroker start admin.0 jetzt auf die Oberfläche?

    Ansonsten kannst du noch den Fixer laufen lassen oder clever wäre auch beim raspi ein
    sudo apt update und dann ein
    sudo apt full-upgrade
    zu machen.
    dann ist der raspberry erstmal auf dem neuesten stand.

    Synology DS218+ & 2 x Fujitsu Esprimo (VM/Container) + FritzBox7590 + 2 AVM 3000 Repeater & Homematic & HUE & Osram & Xiaomi, NPM 10.9.4, Nodejs 22.21.0 ,JS Controller 7.0.7 ,Admin 7.7.19

    J 1 Reply Last reply
    0
    • haselchenH haselchen

      @JRiddim

      Viele Wege führen hier nach Rom.
      Kommste mit iobroker start oder iobroker start admin.0 jetzt auf die Oberfläche?

      Ansonsten kannst du noch den Fixer laufen lassen oder clever wäre auch beim raspi ein
      sudo apt update und dann ein
      sudo apt full-upgrade
      zu machen.
      dann ist der raspberry erstmal auf dem neuesten stand.

      J Offline
      J Offline
      JRiddim
      wrote on last edited by JRiddim
      #21

      @haselchen

      habe den rpi jetzt aktualisiert. port: 8081 funktioniert immer noch nicht.
      Wie kann ich den Fixer laufen lassen? 🙂

      Langsam aber sicher.

      haselchenH 1 Reply Last reply
      0
      • J JRiddim

        @haselchen

        habe den rpi jetzt aktualisiert. port: 8081 funktioniert immer noch nicht.
        Wie kann ich den Fixer laufen lassen? 🙂

        haselchenH Offline
        haselchenH Offline
        haselchen
        Most Active
        wrote on last edited by
        #22

        @JRiddim

        curl -sL https://iobroker.net/fix.sh | bash -

        Synology DS218+ & 2 x Fujitsu Esprimo (VM/Container) + FritzBox7590 + 2 AVM 3000 Repeater & Homematic & HUE & Osram & Xiaomi, NPM 10.9.4, Nodejs 22.21.0 ,JS Controller 7.0.7 ,Admin 7.7.19

        J 1 Reply Last reply
        0
        • J JRiddim

          Edit also konnte den js.controller nochmal neu installieren.
          iobroker läuft im Hintergrund, aber komme einfach nicht drauf!

          iobroker l i --port
            system.adapter.admin.0                 : admin                 -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
          + system.adapter.hm-rpc.0                : hm-rpc                -  enabled, port: 0
          

          Hi nach dem update des neuen Admin adapters komme ich nicht mehr auf iobroker.
          Nach Neuinstallation bekomme ich folgende Fehlermeldung.

          sudo npm install iobroker.admin@3.7.7 --production
          npm WARN ajv-keywords@2.1.1 requires a peer of ajv@^5.0.0 but none is installed. You must install peer dependencies yourself.
          npm WARN bl@0.7.0 requires a peer of stream-browserify@* but none is installed. You must install peer dependencies yourself.
          npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.2 (node_modules/fsevents):
          npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
          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":"arm"})
          
          + iobroker.admin@3.7.7
          updated 1 package and audited 3971 packages in 18.952s
          
          15 packages are looking for funding
            run `npm fund` for details
          
          found 56 vulnerabilities (39 low, 3 moderate, 14 high)
            run `npm audit fix` to fix them, or `npm audit` for details
          

          iobroker list adapters/instances ergibt:

          iobroker list instances
          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)
          

          kann unter node_modules keinen iobroker.js-controller finden.

          beim versuch diesen zu installieren kommt:

          /opt/iobroker $ npm install iobroker.jscontroller
          npm ERR! code E404
          npm ERR! 404 Not Found - GET https://registry.npmjs.org/iobroker.jscontroller - Not found
          npm ERR! 404 
          npm ERR! 404  'iobroker.jscontroller@latest' 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 
          npm ERR! 404 Note that you can also install from a
          npm ERR! 404 tarball, folder, http url, or git url.
          
          npm ERR! A complete log of this run can be found in:
          npm ERR!     /home/juju/.npm/_logs/2020-01-29T16_03_29_506Z-debug.log
          

          Bin langsam echt am verzweifeln. Ich glaube ich verschlimmbessere nur alles!
          Bin für eure Hilfe sehr dankbar!

          Liebe Grüße
          Jan

          T Offline
          T Offline
          timtig
          wrote on last edited by
          #23

          @JRiddim
          bis jetzt war ich stiller beobachter und leser hier. Aber weil es mir immer wieder geholfen hat, wollte ich es hier auch zurück geben und versuchen zu helfen. Hatte den gleiche Fehler. War auch sehr verzweifelt. Alle adapter waren weg, nichts ging mehr. Verwende aber mein Haupt iobroker unter Sysnology mit portainer, den zweiten als slave auf RPI.
          Hatte auch ohne drauf zu schauen den admin adapter upgedatet und dann war alles weg. Bis in die nacht oder morgen früh war ich am Rechner, aber erst am zweiten Abend hatte ich alles reparieren können. Mein vorgehen war:
          container starten, natürlich startet iobroker nicht. Mit portainer auf die console und schauen ob da noch was von iobroker läuft:

          ps auxww|grep io
          #killen wenn noch was läuft
          

          dann

          npm install iobroker.js-controller@2.2.8
          #und
          iobroker upgrade self
          

          wichtig ist natürlich, dass du den aktuellen node und so hast:
          link text

          dann container neustarten. Dann waren alle adapter erst mal da, aber dann schreck, die sind alle rot und starten nicht. Keine panik, die werden jetzt nach und nach neu installiert. Evtl. muss du ein oder anderen adapter neu starten. Kannst im log beobachten wie die installiert werden. Viel erfolg!
          sonst hier noch ein paar links dazu:
          link text
          link text
          Gruß

          J 1 Reply Last reply
          0
          • haselchenH haselchen

            @JRiddim

            curl -sL https://iobroker.net/fix.sh | bash -

            J Offline
            J Offline
            JRiddim
            wrote on last edited by
            #24

            @haselchen sagte in iobroker nicht mehr erreichbar nach admin update:

            curl -sL https://iobroker.net/fix.sh | bash -

            brachte leider noch keinen Erfolg.
            ist es normal das unter Biobroker list instances der admin mit 0.0.0.0 angegeben wird?

            system.adapter.admin.0 : admin - enabled, port: 8081, bind: 0.0.0.0, run as: admin

            Langsam aber sicher.

            haselchenH 1 Reply Last reply
            0
            • T timtig

              @JRiddim
              bis jetzt war ich stiller beobachter und leser hier. Aber weil es mir immer wieder geholfen hat, wollte ich es hier auch zurück geben und versuchen zu helfen. Hatte den gleiche Fehler. War auch sehr verzweifelt. Alle adapter waren weg, nichts ging mehr. Verwende aber mein Haupt iobroker unter Sysnology mit portainer, den zweiten als slave auf RPI.
              Hatte auch ohne drauf zu schauen den admin adapter upgedatet und dann war alles weg. Bis in die nacht oder morgen früh war ich am Rechner, aber erst am zweiten Abend hatte ich alles reparieren können. Mein vorgehen war:
              container starten, natürlich startet iobroker nicht. Mit portainer auf die console und schauen ob da noch was von iobroker läuft:

              ps auxww|grep io
              #killen wenn noch was läuft
              

              dann

              npm install iobroker.js-controller@2.2.8
              #und
              iobroker upgrade self
              

              wichtig ist natürlich, dass du den aktuellen node und so hast:
              link text

              dann container neustarten. Dann waren alle adapter erst mal da, aber dann schreck, die sind alle rot und starten nicht. Keine panik, die werden jetzt nach und nach neu installiert. Evtl. muss du ein oder anderen adapter neu starten. Kannst im log beobachten wie die installiert werden. Viel erfolg!
              sonst hier noch ein paar links dazu:
              link text
              link text
              Gruß

              J Offline
              J Offline
              JRiddim
              wrote on last edited by JRiddim
              #25

              @timtig

              bei ps auxww|grep io kommt.

              root        12  0.0  0.0      0     0 ?        S    20:08   0:00 [migration/0]
              root        15  0.0  0.0      0     0 ?        S    20:08   0:00 [migration/1]
              root        20  0.0  0.0      0     0 ?        S    20:08   0:00 [migration/2]
              root        25  0.0  0.0      0     0 ?        S    20:08   0:00 [migration/3]
              root        42  0.0  0.0      0     0 ?        I<   20:08   0:00 [rpciod]
              root        44  0.0  0.0      0     0 ?        I<   20:08   0:00 [xprtiod]
              root        48  0.0  0.0      0     0 ?        I<   20:08   0:00 [nfsiod]
              root        64  0.0  0.0      0     0 ?        I<   20:08   0:00 [DWC Notificatio]
              message+   333  0.0  0.0   6644  3548 ?        Ss   20:08   0:00 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
              root      1789  0.3  2.0 269844 82356 ?        Sl   20:08   0:39 java -Xmx128m -Dos.arch=arm -Dlog4j.configuration=file:///etc/config/log4j.xml -Dfile.encoding=ISO-8859-1 -Dgnu.io.rxtx.SerialPorts=/dev/mmd_hmip -jar /opt/HMServer/HMIPServer.jar /etc/crRFD.conf /etc/HMServer.conf
              iobroker 12828 18.0  2.8 199400 114016 ?       Ssl  22:55   0:58 iobroker.js-controller
              iobroker 12881  0.4  1.1 136028 47856 ?        Sl   22:56   0:01 io.discovery.0
              iobroker 12896  3.2  1.3 155804 55184 ?        Sl   22:56   0:10 io.info.0
              iobroker 12917  1.1  1.0 144536 41024 ?        Sl   22:56   0:03 io.mihome-vacuum.0
              iobroker 13344  1.4  1.2 153408 49440 ?        Sl   22:56   0:04 io.telegram.0
              iobroker 13365  1.8  1.1 148252 44392 ?        Sl   22:56   0:05 io.hue.0
              iobroker 13511  1.2  1.0 144764 42460 ?        Sl   22:56   0:03 io.hm-rpc.0
              iobroker 13572  1.3  1.1 148148 46580 ?        Sl   22:56   0:04 io.hm-rega.0
              iobroker 13735  1.3  1.2 149256 48172 ?        Sl   22:56   0:03 io.hm-rpc.1
              iobroker 13797  0.7  1.0 136372 41596 ?        Sl   22:56   0:02 io.ping.0
              iobroker 13999  0.7  1.3 148360 54868 ?        Sl   22:56   0:02 io.web.0
              iobroker 14203  3.3  1.4 163012 59532 ?        Sl   22:56   0:09 io.spotify-premium.0
              iobroker 14635  0.7  1.3 148708 53304 ?        Sl   22:57   0:01 io.terminal.0
              iobroker 14673  1.6  1.1 150376 45628 ?        Sl   22:57   0:04 io.zigbee.0
              iobroker 14820  4.9  2.3 199452 92496 ?        Sl   22:57   0:12 io.javascript.0
              iobroker 14906  0.8  1.1 148136 44420 ?        Sl   22:57   0:02 io.yahka.0
              juju     20733  0.0  0.0   7360   484 pts/1    S+   23:01   0:00 grep --color=auto io
              

              node -v
              v10.18.1

              nodejs -v
              v10.18.1

              npm -v
              6.13.4

              Langsam aber sicher.

              1 Reply Last reply
              0
              • J JRiddim

                @haselchen sagte in iobroker nicht mehr erreichbar nach admin update:

                curl -sL https://iobroker.net/fix.sh | bash -

                brachte leider noch keinen Erfolg.
                ist es normal das unter Biobroker list instances der admin mit 0.0.0.0 angegeben wird?

                system.adapter.admin.0 : admin - enabled, port: 8081, bind: 0.0.0.0, run as: admin

                haselchenH Offline
                haselchenH Offline
                haselchen
                Most Active
                wrote on last edited by
                #26

                @JRiddim

                das ist richtig so.
                und normal sollte alles gehen.
                du kannst mal
                iobroker stop admin.0 eingeben

                und dann wieder starten

                Synology DS218+ & 2 x Fujitsu Esprimo (VM/Container) + FritzBox7590 + 2 AVM 3000 Repeater & Homematic & HUE & Osram & Xiaomi, NPM 10.9.4, Nodejs 22.21.0 ,JS Controller 7.0.7 ,Admin 7.7.19

                J 1 Reply Last reply
                0
                • haselchenH haselchen

                  @JRiddim

                  das ist richtig so.
                  und normal sollte alles gehen.
                  du kannst mal
                  iobroker stop admin.0 eingeben

                  und dann wieder starten

                  J Offline
                  J Offline
                  JRiddim
                  wrote on last edited by
                  #27

                  @haselchen

                  leider auch nicht. ich hatte einen chmod 777 mal auf den iobroker gemacht kann das vllt. damit zusammenhängen?

                  Langsam aber sicher.

                  haselchenH 1 Reply Last reply
                  0
                  • J JRiddim

                    @haselchen

                    leider auch nicht. ich hatte einen chmod 777 mal auf den iobroker gemacht kann das vllt. damit zusammenhängen?

                    haselchenH Offline
                    haselchenH Offline
                    haselchen
                    Most Active
                    wrote on last edited by
                    #28

                    @JRiddim

                    Mit Rechtevergaben kenne ich mich nicht aus.
                    Was passiert denn wenn du die IP:8081 eingibst?

                    Synology DS218+ & 2 x Fujitsu Esprimo (VM/Container) + FritzBox7590 + 2 AVM 3000 Repeater & Homematic & HUE & Osram & Xiaomi, NPM 10.9.4, Nodejs 22.21.0 ,JS Controller 7.0.7 ,Admin 7.7.19

                    J 1 Reply Last reply
                    0
                    • haselchenH haselchen

                      @JRiddim

                      Mit Rechtevergaben kenne ich mich nicht aus.
                      Was passiert denn wenn du die IP:8081 eingibst?

                      J Offline
                      J Offline
                      JRiddim
                      wrote on last edited by
                      #29

                      @haselchen

                      es tut sich nichts. Auf Vis komme ich ohne weiteres.

                      Langsam aber sicher.

                      haselchenH 1 Reply Last reply
                      0
                      • J JRiddim

                        @haselchen

                        es tut sich nichts. Auf Vis komme ich ohne weiteres.

                        haselchenH Offline
                        haselchenH Offline
                        haselchen
                        Most Active
                        wrote on last edited by
                        #30

                        @JRiddim

                        Cache vom Browser geleert?
                        Mal F5 gedrückt nach der IP:8081 Eingabe?

                        Synology DS218+ & 2 x Fujitsu Esprimo (VM/Container) + FritzBox7590 + 2 AVM 3000 Repeater & Homematic & HUE & Osram & Xiaomi, NPM 10.9.4, Nodejs 22.21.0 ,JS Controller 7.0.7 ,Admin 7.7.19

                        J 1 Reply Last reply
                        0
                        • haselchenH haselchen

                          @JRiddim

                          Cache vom Browser geleert?
                          Mal F5 gedrückt nach der IP:8081 Eingabe?

                          J Offline
                          J Offline
                          JRiddim
                          wrote on last edited by
                          #31

                          @haselchen

                          😞 tut sich leider auch nix

                          Langsam aber sicher.

                          haselchenH 1 Reply Last reply
                          0
                          • J JRiddim

                            @haselchen

                            😞 tut sich leider auch nix

                            haselchenH Offline
                            haselchenH Offline
                            haselchen
                            Most Active
                            wrote on last edited by
                            #32

                            @JRiddim

                            Hm. Also das ist heavy.
                            Bleibt noch in dem Pfad /opt/iobroker
                            ein
                            npm rebuild

                            Synology DS218+ & 2 x Fujitsu Esprimo (VM/Container) + FritzBox7590 + 2 AVM 3000 Repeater & Homematic & HUE & Osram & Xiaomi, NPM 10.9.4, Nodejs 22.21.0 ,JS Controller 7.0.7 ,Admin 7.7.19

                            J 1 Reply Last reply
                            0
                            • haselchenH haselchen

                              @JRiddim

                              Hm. Also das ist heavy.
                              Bleibt noch in dem Pfad /opt/iobroker
                              ein
                              npm rebuild

                              J Offline
                              J Offline
                              JRiddim
                              wrote on last edited by
                              #33

                              @haselchen

                              am Ende wird das hier angezeigt.

                              ╭────────────────────────────────────────────────────────────────╮
                              │ │
                              │ New patch version of npm available! 6.13.4 → 6.13.7 │
                              │ Changelog: https://github.com/npm/cli/releases/tag/v6.13.7 │
                              │ Run npm install -g npm to update! │
                              │ │
                              ╰────────────────────────────────────────────────────────────────╯

                              Langsam aber sicher.

                              haselchenH 1 Reply Last reply
                              0
                              • J JRiddim

                                @haselchen

                                am Ende wird das hier angezeigt.

                                ╭────────────────────────────────────────────────────────────────╮
                                │ │
                                │ New patch version of npm available! 6.13.4 → 6.13.7 │
                                │ Changelog: https://github.com/npm/cli/releases/tag/v6.13.7 │
                                │ Run npm install -g npm to update! │
                                │ │
                                ╰────────────────────────────────────────────────────────────────╯

                                haselchenH Offline
                                haselchenH Offline
                                haselchen
                                Most Active
                                wrote on last edited by
                                #34

                                @JRiddim

                                genau das machst du
                                npm install -g npm

                                Synology DS218+ & 2 x Fujitsu Esprimo (VM/Container) + FritzBox7590 + 2 AVM 3000 Repeater & Homematic & HUE & Osram & Xiaomi, NPM 10.9.4, Nodejs 22.21.0 ,JS Controller 7.0.7 ,Admin 7.7.19

                                J 1 Reply Last reply
                                0
                                • haselchenH haselchen

                                  @JRiddim

                                  genau das machst du
                                  npm install -g npm

                                  J Offline
                                  J Offline
                                  JRiddim
                                  wrote on last edited by
                                  #35

                                  @haselchen sagte in iobroker nicht mehr erreichbar nach admin update:

                                  npm install -g npm

                                  npm install -g npm
                                  npm WARN checkPermissions Missing write access to /usr/lib/node_modules/npm/node_modules/bin-links
                                  npm WARN checkPermissions Missing write access to /usr/lib/node_modules/npm/node_modules/env-paths
                                  npm WARN checkPermissions Missing write access to /usr/lib/node_modules/npm/node_modules/get-caller-file
                                  npm WARN checkPermissions Missing write access to /usr/lib/node_modules/npm/node_modules/invert-kv
                                  npm WARN checkPermissions Missing write access to /usr/lib/node_modules/npm/node_modules/lcid
                                  npm WARN checkPermissions Missing write access to /usr/lib/node_modules/npm/node_modules/mimic-fn
                                  npm WARN checkPermissions Missing write access to /usr/lib/node_modules/npm/node_modules/node-gyp/node_modules/nopt
                                  npm WARN checkPermissions Missing write access to /usr/lib/node_modules/npm/node_modules/node-gyp/node_modules/semver
                                  npm WARN checkPermissions Missing write access to /usr/lib/node_modules/npm/node_modules/node-gyp
                                  npm WARN checkPermissions Missing write access to /usr/lib/node_modules/npm/node_modules/mem
                                  npm WARN checkPermissions Missing write access to /usr/lib/node_modules/npm/node_modules/os-locale
                                  npm WARN checkPermissions Missing write access to /usr/lib/node_modules/npm/node_modules/pacote
                                  npm WARN checkPermissions Missing write access to /usr/lib/node_modules/npm/node_modules/yargs
                                  npm WARN checkPermissions Missing write access to /usr/lib/node_modules/npm/node_modules/libnpx
                                  npm WARN checkPermissions Missing write access to /usr/lib/node_modules/npm
                                  npm WARN checkPermissions Missing write access to /usr/lib/node_modules/npm/node_modules
                                  npm WARN checkPermissions Missing write access to /usr/lib/node_modules/npm/node_modules/node-gyp/node_modules
                                  npm WARN checkPermissions Missing write access to /usr/lib/node_modules
                                  npm ERR! code EACCES
                                  npm ERR! syscall access
                                  npm ERR! path /usr/lib/node_modules/npm/node_modules/bin-links
                                  npm ERR! errno -13
                                  npm ERR! Error: EACCES: permission denied, access '/usr/lib/node_modules/npm/node_modules/bin-links'
                                  npm ERR!  { [Error: EACCES: permission denied, access '/usr/lib/node_modules/npm/node_modules/bin-links']
                                  npm ERR!   stack:
                                  npm ERR!    'Error: EACCES: permission denied, access \'/usr/lib/node_modules/npm/node_modules/bin-links\'',
                                  npm ERR!   errno: -13,
                                  npm ERR!   code: 'EACCES',
                                  npm ERR!   syscall: 'access',
                                  npm ERR!   path: '/usr/lib/node_modules/npm/node_modules/bin-links' }
                                  npm ERR! 
                                  npm ERR! The operation was rejected by your operating system.
                                  npm ERR! It is likely you do not have the permissions to access this file as the current user
                                  npm ERR! 
                                  npm ERR! If you believe this might be a permissions issue, please double-check the
                                  npm ERR! permissions of the file and its containing directories, or try running
                                  npm ERR! the command again as root/Administrator.
                                  
                                  npm ERR! A complete log of this run can be found in:
                                  npm ERR!     /home/juju/.npm/_logs/2020-01-29T22_36_52_146Z-debug.log
                                  
                                  

                                  muss ich das mit sudo ausführen?

                                  Langsam aber sicher.

                                  haselchenH 1 Reply Last reply
                                  0
                                  • J JRiddim

                                    @haselchen sagte in iobroker nicht mehr erreichbar nach admin update:

                                    npm install -g npm

                                    npm install -g npm
                                    npm WARN checkPermissions Missing write access to /usr/lib/node_modules/npm/node_modules/bin-links
                                    npm WARN checkPermissions Missing write access to /usr/lib/node_modules/npm/node_modules/env-paths
                                    npm WARN checkPermissions Missing write access to /usr/lib/node_modules/npm/node_modules/get-caller-file
                                    npm WARN checkPermissions Missing write access to /usr/lib/node_modules/npm/node_modules/invert-kv
                                    npm WARN checkPermissions Missing write access to /usr/lib/node_modules/npm/node_modules/lcid
                                    npm WARN checkPermissions Missing write access to /usr/lib/node_modules/npm/node_modules/mimic-fn
                                    npm WARN checkPermissions Missing write access to /usr/lib/node_modules/npm/node_modules/node-gyp/node_modules/nopt
                                    npm WARN checkPermissions Missing write access to /usr/lib/node_modules/npm/node_modules/node-gyp/node_modules/semver
                                    npm WARN checkPermissions Missing write access to /usr/lib/node_modules/npm/node_modules/node-gyp
                                    npm WARN checkPermissions Missing write access to /usr/lib/node_modules/npm/node_modules/mem
                                    npm WARN checkPermissions Missing write access to /usr/lib/node_modules/npm/node_modules/os-locale
                                    npm WARN checkPermissions Missing write access to /usr/lib/node_modules/npm/node_modules/pacote
                                    npm WARN checkPermissions Missing write access to /usr/lib/node_modules/npm/node_modules/yargs
                                    npm WARN checkPermissions Missing write access to /usr/lib/node_modules/npm/node_modules/libnpx
                                    npm WARN checkPermissions Missing write access to /usr/lib/node_modules/npm
                                    npm WARN checkPermissions Missing write access to /usr/lib/node_modules/npm/node_modules
                                    npm WARN checkPermissions Missing write access to /usr/lib/node_modules/npm/node_modules/node-gyp/node_modules
                                    npm WARN checkPermissions Missing write access to /usr/lib/node_modules
                                    npm ERR! code EACCES
                                    npm ERR! syscall access
                                    npm ERR! path /usr/lib/node_modules/npm/node_modules/bin-links
                                    npm ERR! errno -13
                                    npm ERR! Error: EACCES: permission denied, access '/usr/lib/node_modules/npm/node_modules/bin-links'
                                    npm ERR!  { [Error: EACCES: permission denied, access '/usr/lib/node_modules/npm/node_modules/bin-links']
                                    npm ERR!   stack:
                                    npm ERR!    'Error: EACCES: permission denied, access \'/usr/lib/node_modules/npm/node_modules/bin-links\'',
                                    npm ERR!   errno: -13,
                                    npm ERR!   code: 'EACCES',
                                    npm ERR!   syscall: 'access',
                                    npm ERR!   path: '/usr/lib/node_modules/npm/node_modules/bin-links' }
                                    npm ERR! 
                                    npm ERR! The operation was rejected by your operating system.
                                    npm ERR! It is likely you do not have the permissions to access this file as the current user
                                    npm ERR! 
                                    npm ERR! If you believe this might be a permissions issue, please double-check the
                                    npm ERR! permissions of the file and its containing directories, or try running
                                    npm ERR! the command again as root/Administrator.
                                    
                                    npm ERR! A complete log of this run can be found in:
                                    npm ERR!     /home/juju/.npm/_logs/2020-01-29T22_36_52_146Z-debug.log
                                    
                                    

                                    muss ich das mit sudo ausführen?

                                    haselchenH Offline
                                    haselchenH Offline
                                    haselchen
                                    Most Active
                                    wrote on last edited by haselchen
                                    #36

                                    @JRiddim

                                    wäre meine nächste idee gewesen 😉
                                    Den Befehl aber nicht im iobroker verzeichnis eingeben
                                    sondern im hauptverzeichnis vom PI

                                    Synology DS218+ & 2 x Fujitsu Esprimo (VM/Container) + FritzBox7590 + 2 AVM 3000 Repeater & Homematic & HUE & Osram & Xiaomi, NPM 10.9.4, Nodejs 22.21.0 ,JS Controller 7.0.7 ,Admin 7.7.19

                                    J 2 Replies Last reply
                                    0
                                    • haselchenH haselchen

                                      @JRiddim

                                      wäre meine nächste idee gewesen 😉
                                      Den Befehl aber nicht im iobroker verzeichnis eingeben
                                      sondern im hauptverzeichnis vom PI

                                      J Offline
                                      J Offline
                                      JRiddim
                                      wrote on last edited by
                                      #37

                                      @haselchen

                                      🙂 mit sudo

                                      sudo npm install -g npm
                                      [sudo] Passwort für juju: 
                                      /usr/bin/npm -> /usr/lib/node_modules/npm/bin/npm-cli.js
                                      /usr/bin/npx -> /usr/lib/node_modules/npm/bin/npx-cli.js
                                      + npm@6.13.7
                                      added 7 packages from 3 contributors, removed 3 packages and updated 12 packages in 62.708s
                                      

                                      jetzt zeigt er mir admin.0 als alive!

                                      • system.adapter.admin.0 : admin - enabled, port: 8081, bind: 0.0.0.0, run as: admin

                                      Langsam aber sicher.

                                      haselchenH 1 Reply Last reply
                                      0
                                      • haselchenH haselchen

                                        @JRiddim

                                        wäre meine nächste idee gewesen 😉
                                        Den Befehl aber nicht im iobroker verzeichnis eingeben
                                        sondern im hauptverzeichnis vom PI

                                        J Offline
                                        J Offline
                                        JRiddim
                                        wrote on last edited by
                                        #38

                                        @haselchen sagte in iobroker nicht mehr erreichbar nach admin update:

                                        @JRiddim

                                        wäre meine nächste idee gewesen 😉
                                        Den Befehl aber nicht im iobroker verzeichnis eingeben
                                        sondern im hauptverzeichnis vom PI

                                        oh das Mist ich habe es im Biobroker Verzeichnis gemacht! Hab das völlig überlesen!

                                        Langsam aber sicher.

                                        1 Reply Last reply
                                        0
                                        • J JRiddim

                                          @haselchen

                                          🙂 mit sudo

                                          sudo npm install -g npm
                                          [sudo] Passwort für juju: 
                                          /usr/bin/npm -> /usr/lib/node_modules/npm/bin/npm-cli.js
                                          /usr/bin/npx -> /usr/lib/node_modules/npm/bin/npx-cli.js
                                          + npm@6.13.7
                                          added 7 packages from 3 contributors, removed 3 packages and updated 12 packages in 62.708s
                                          

                                          jetzt zeigt er mir admin.0 als alive!

                                          • system.adapter.admin.0 : admin - enabled, port: 8081, bind: 0.0.0.0, run as: admin
                                          haselchenH Offline
                                          haselchenH Offline
                                          haselchen
                                          Most Active
                                          wrote on last edited by haselchen
                                          #39

                                          @JRiddim
                                          Wiederhol es einfach im Hauptverzeichnis nochmal.
                                          Bitte sag das es jetzt funktioniert 🙂

                                          Synology DS218+ & 2 x Fujitsu Esprimo (VM/Container) + FritzBox7590 + 2 AVM 3000 Repeater & Homematic & HUE & Osram & Xiaomi, NPM 10.9.4, Nodejs 22.21.0 ,JS Controller 7.0.7 ,Admin 7.7.19

                                          J 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

                                          631

                                          Online

                                          32.4k

                                          Users

                                          81.4k

                                          Topics

                                          1.3m

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

                                          • Don't have an account? Register

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