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. Error/Bug
  4. JS-Controller Update, danach Admin und Web nicht erreichbar

NEWS

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

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

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    25
    1
    2.2k

JS-Controller Update, danach Admin und Web nicht erreichbar

Scheduled Pinned Locked Moved Solved Error/Bug
js-controlleradminwebfehler
96 Posts 21 Posters 11.3k Views 20 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.
  • MichMeinM Offline
    MichMeinM Offline
    MichMein
    wrote on last edited by
    #42

    @Homoran @ErRi
    Sehr komisch, jetzt hat es bei mir mit dem downgrade auf 3.1.6 funktioniert.

    Gruß Michael
    Sofern Beiträge hilfreich für Dich sind, nutze das Voting unten rechts.

    1 Reply Last reply
    0
    • MichMeinM MichMein

      @Homoran sagte in JS-Controller Update, danach Admin und Web nicht erreichbar:

      @MichMein sagte in JS-Controller Update, danach Admin und Web nicht erreichbar:

      Das funktioniert bei mir leider nicht

      wo bist du denn da?

      Wenn du vorher nicht ins Installationsvereichnis (üblicherweise /opt/iobroker) wechselst kann es nicht helfen, eher noch weiteren Schaden anrichten

      Hi,
      ich bin hier

      pi@raspberrypi:/opt/iobroker $ npm i iobroker.js-controller@3.1.6 --production
      npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
      
      > iobroker.js-controller@3.1.6 preinstall /opt/iobroker/node_modules/iobroker.js-controller
      > node lib/preinstallCheck.js
      
      NPM version: 6.14.10
      
      > canvas@2.6.1 install /opt/iobroker/node_modules/canvas
      > node-pre-gyp install --fallback-to-build
      
      node-pre-gyp WARN Using request for node-pre-gyp https download
      node-pre-gyp WARN Tried to download(404): https://github.com/node-gfx/node-canvas-prebuilt/releases/download/v2.6.1/canvas-v2.6.1-node-v72-linux-glibc-arm.tar.gz
      node-pre-gyp WARN Pre-built binaries not found for canvas@2.6.1 and node@12.20.0 (node-v72 ABI, glibc) (falling back to source compile with node-gyp)
      Package pixman-1 was not found in the pkg-config search path.
      Perhaps you should add the directory containing `pixman-1.pc'
      to the PKG_CONFIG_PATH environment variable
      No package 'pixman-1' found
      gyp: Call to 'pkg-config pixman-1 --libs' returned exit status 1 while in binding.gyp. while trying to load binding.gyp
      gyp ERR! configure error
      gyp ERR! stack Error: `gyp` failed with exit code: 1
      gyp ERR! stack     at ChildProcess.onCpExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:351:16)
      gyp ERR! stack     at ChildProcess.emit (events.js:314:20)
      gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:276:12)
      gyp ERR! System Linux 5.4.79-v7l+
      gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "--fallback-to-build" "--module=/opt/iobroker/node_modules/canvas/build/Release/canvas.node" "--module_name=canvas" "--module_path=/opt/iobroker/node_modules/canvas/build/Release" "--napi_version=7" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v72"
      gyp ERR! cwd /opt/iobroker/node_modules/canvas
      gyp ERR! node -v v12.20.0
      gyp ERR! node-gyp -v v5.1.0
      gyp ERR! not ok
      node-pre-gyp ERR! build error
      node-pre-gyp ERR! stack Error: Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/opt/iobroker/node_modules/canvas/build/Release/canvas.node --module_name=canvas --module_path=/opt/iobroker/node_modules/canvas/build/Release --napi_version=7 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v72' (1)
      node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (/opt/iobroker/node_modules/canvas/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
      node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:314:20)
      node-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:1022:16)
      node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:287:5)
      node-pre-gyp ERR! System Linux 5.4.79-v7l+
      node-pre-gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/canvas/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
      node-pre-gyp ERR! cwd /opt/iobroker/node_modules/canvas
      node-pre-gyp ERR! node -v v12.20.0
      node-pre-gyp ERR! node-pre-gyp -v v0.11.0
      node-pre-gyp ERR! not ok
      Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/opt/iobroker/node_modules/canvas/build/Release/canvas.node --module_name=canvas --module_path=/opt/iobroker/node_modules/canvas/build/Release --napi_version=7 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v72' (1)
      
      > iobroker.js-controller@3.1.6 install /opt/iobroker/node_modules/iobroker.js-controller
      > node iobroker.js setup first
      
      Existing earlier generated certificate is invalid (too old, validity longer then 345 days or keylength too short). Generating new Certificate!
      object system.certificates updated
      
      The following notifications happened during sync:
      - Ignoring Directory "admin" because officially not created as meta object. Please remove directory!
      - Ignoring Directory "cloud.admin" because officially not created as meta object. Please remove directory!
      - Ignoring Directory "coronavirus-statistics.admin" because officially not created as meta object. Please remove directory!
      - Ignoring Directory "energymanager.admin" because officially not created as meta object. Please remove directory!
      - Ignoring Directory "lovelace.admin" because officially not created as meta object. Please remove directory!
      - Ignoring Directory "mobile" because officially not created as meta object. Please remove directory!
      - Ignoring Directory "mobile.admin" because officially not created as meta object. Please remove directory!
      - Ignoring Directory "terminal" because officially not created as meta object. Please remove directory!
      - Ignoring Directory "terminal.admin" because officially not created as meta object. Please remove directory!
      - Ignoring Directory "tr-064.admin" because officially not created as meta object. Please remove directory!
      - Ignoring Directory "weishaupt-wem.admin" because officially not created as meta object. Please remove directory!
      
      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":"arm"})
      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@^1.0.7 (node_modules/iobroker.info/node_modules/osx-temperature-sensor):
      npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.7: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
      npm WARN svg-inline-react@1.0.3 requires a peer of react@^0.14.0 || ^15.0.0 but none is installed. You must install peer dependencies yourself.
      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: canvas@2.6.1 (node_modules/canvas):
      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: canvas@2.6.1 install: `node-pre-gyp install --fallback-to-build`
      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
      
      + iobroker.js-controller@3.1.6
      updated 2 packages in 45.689s
      
      12 packages are looking for funding
        run `npm fund` for details
      
      pi@raspberrypi:/opt/iobroker $
      
      

      Danach bleibt alles beim anderen, leider.

      Wie komme ich zurück auf 3.1.6?

      J Offline
      J Offline
      Jan1
      wrote on last edited by
      #43

      @MichMein
      nein bleibt es nicht, es wird schlimmer ;)
      falsches Verzeichnis, da NPM nix im IOBroker Verzeichnis zu suchen hat.

      MichMeinM 1 Reply Last reply
      0
      • J Jan1

        @MichMein
        nein bleibt es nicht, es wird schlimmer ;)
        falsches Verzeichnis, da NPM nix im IOBroker Verzeichnis zu suchen hat.

        MichMeinM Offline
        MichMeinM Offline
        MichMein
        wrote on last edited by
        #44

        @Jan1 wie geschriebn es läuft aber jetzt

        Gruß Michael
        Sofern Beiträge hilfreich für Dich sind, nutze das Voting unten rechts.

        J 1 Reply Last reply
        0
        • MichMeinM MichMein

          @Jan1 wie geschriebn es läuft aber jetzt

          J Offline
          J Offline
          Jan1
          wrote on last edited by
          #45

          @MichMein
          Man weiß auch nicht was da jetzt noch alles versaut wurde und wann sich das dann negativ auswirkt ;)

          NPM ist Bestandteil von Node und Node eben kein Bestandteil von IOBroker. Somit ist alles was Du dann im IOBroker Verzeichnis macht falsch.

          HomoranH 1 Reply Last reply
          0
          • J Jan1

            @MichMein
            Man weiß auch nicht was da jetzt noch alles versaut wurde und wann sich das dann negativ auswirkt ;)

            NPM ist Bestandteil von Node und Node eben kein Bestandteil von IOBroker. Somit ist alles was Du dann im IOBroker Verzeichnis macht falsch.

            HomoranH Do not disturb
            HomoranH Do not disturb
            Homoran
            Global Moderator Administrators
            wrote on last edited by
            #46

            @Jan1 Sorry - mein Fehler!

            Bin von einer iob Installation über npm ausgegangen :confused:

            Aber bitte auch kein sudo bei npm nutzen, wie von @barney_b vorgeschlagen!


            zuviele Baustellen heute morgen :-/

            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 -

            J 1 Reply Last reply
            0
            • HomoranH Homoran

              @Jan1 Sorry - mein Fehler!

              Bin von einer iob Installation über npm ausgegangen :confused:

              Aber bitte auch kein sudo bei npm nutzen, wie von @barney_b vorgeschlagen!


              zuviele Baustellen heute morgen :-/

              J Offline
              J Offline
              Jan1
              wrote on last edited by Jan1
              #47

              @Homoran
              deshalb schrieb ich ja auch "unter root oder besser mit su" ;)

              E 1 Reply Last reply
              0
              • J Jan1

                @Homoran
                deshalb schrieb ich ja auch "unter root oder besser mit su" ;)

                E Offline
                E Offline
                ErRi
                wrote on last edited by
                #48

                @Jan1 Was muss man tun damit es wieder läuft?

                MfG Erhard

                Win11 Notebook, Lenovo MiniPC mit Proxmox, iobroker, Raspberrymatic, Maria DB, OMV

                Fritzbox 7490, 1 Jeelink, 12 HM Rolladenschalter, 1 HM Energiezähler, VU UNO SE :)

                MichMeinM 1 Reply Last reply
                0
                • E ErRi

                  @Jan1 Was muss man tun damit es wieder läuft?

                  MichMeinM Offline
                  MichMeinM Offline
                  MichMein
                  wrote on last edited by
                  #49

                  @ErRi sagte in JS-Controller Update, danach Admin und Web nicht erreichbar:

                  @Jan1 Was muss man tun damit es wieder läuft?

                  Bei mir hat es damit geklappt

                  npm i iobroker.js-controller@3.1.6 --production
                  

                  allerdings irgendwie nicht beim ersten mal und dann auch noch fälscherweise im /opt/iobroker Verzeichnis. Dies soll man nach Aussage von @Jan1 aber NICHT machen.

                  Gruß Michael
                  Sofern Beiträge hilfreich für Dich sind, nutze das Voting unten rechts.

                  HomoranH 1 Reply Last reply
                  0
                  • MichMeinM MichMein

                    @ErRi sagte in JS-Controller Update, danach Admin und Web nicht erreichbar:

                    @Jan1 Was muss man tun damit es wieder läuft?

                    Bei mir hat es damit geklappt

                    npm i iobroker.js-controller@3.1.6 --production
                    

                    allerdings irgendwie nicht beim ersten mal und dann auch noch fälscherweise im /opt/iobroker Verzeichnis. Dies soll man nach Aussage von @Jan1 aber NICHT machen.

                    HomoranH Do not disturb
                    HomoranH Do not disturb
                    Homoran
                    Global Moderator Administrators
                    wrote on last edited by Homoran
                    #50

                    @MichMein sagte in JS-Controller Update, danach Admin und Web nicht erreichbar:

                    fälscherweise im /opt/iobroker Verzeichnis. Dies soll man nach Aussage von @Jan1 aber NICHT machen.

                    nein, das ist genau das, was ich falsch gelesen hatte!
                    Befehle um über npm etwas bei iobroker zu installieren müssen im ioBroker-Verzeichnis ausgeführt werden

                    Befehle um npm zu installieren jedoch nicht

                    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 -

                    E MichMeinM 2 Replies Last reply
                    0
                    • HomoranH Homoran

                      @MichMein sagte in JS-Controller Update, danach Admin und Web nicht erreichbar:

                      fälscherweise im /opt/iobroker Verzeichnis. Dies soll man nach Aussage von @Jan1 aber NICHT machen.

                      nein, das ist genau das, was ich falsch gelesen hatte!
                      Befehle um über npm etwas bei iobroker zu installieren müssen im ioBroker-Verzeichnis ausgeführt werden

                      Befehle um npm zu installieren jedoch nicht

                      E Offline
                      E Offline
                      ErRi
                      wrote on last edited by
                      #51

                      @Homoran Vielen Dank, läuft wieder:blush:

                      MfG Erhard

                      Win11 Notebook, Lenovo MiniPC mit Proxmox, iobroker, Raspberrymatic, Maria DB, OMV

                      Fritzbox 7490, 1 Jeelink, 12 HM Rolladenschalter, 1 HM Energiezähler, VU UNO SE :)

                      1 Reply Last reply
                      0
                      • HomoranH Homoran

                        @MichMein sagte in JS-Controller Update, danach Admin und Web nicht erreichbar:

                        fälscherweise im /opt/iobroker Verzeichnis. Dies soll man nach Aussage von @Jan1 aber NICHT machen.

                        nein, das ist genau das, was ich falsch gelesen hatte!
                        Befehle um über npm etwas bei iobroker zu installieren müssen im ioBroker-Verzeichnis ausgeführt werden

                        Befehle um npm zu installieren jedoch nicht

                        MichMeinM Offline
                        MichMeinM Offline
                        MichMein
                        wrote on last edited by
                        #52

                        @Homoran ah,ok dann habe ich ja Glück gehabt.

                        Gruß Michael
                        Sofern Beiträge hilfreich für Dich sind, nutze das Voting unten rechts.

                        1 Reply Last reply
                        0
                        • R Offline
                          R Offline
                          Rushmed
                          Most Active
                          wrote on last edited by
                          #53

                          Ich bin jetzt ganz durcheinander von wegen was in opt/iobroker gehört und was nicht.
                          Bei mir sieht der Ordnerinhalt so aus, ist das ok?
                          7e43b5da-f09b-4e23-915c-ac903fdc7d90-grafik.png

                          F J 2 Replies Last reply
                          0
                          • F Offline
                            F Offline
                            Flopsi
                            wrote on last edited by
                            #54

                            Wie kann ich den prüfen wo was ist installiert ist und ob alles an seinem richtigen Ort ist ? Bei mir geht aktuell gar nix mehr ich weis auch leider nicht was ich weiter machen muss.

                            Da aus irgendewelchen günden meine Backups bis auf das was heute morgen gemacht worden ist weg sind.

                            Und das an Weihnachten.

                            Wer kann mir weiter helfen ??

                            1 Reply Last reply
                            0
                            • R Rushmed

                              Ich bin jetzt ganz durcheinander von wegen was in opt/iobroker gehört und was nicht.
                              Bei mir sieht der Ordnerinhalt so aus, ist das ok?
                              7e43b5da-f09b-4e23-915c-ac903fdc7d90-grafik.png

                              F Offline
                              F Offline
                              Flopsi
                              wrote on last edited by
                              #55

                              @Rushmed

                              Ich weis auch nix mehr wo was sein soll :(

                              J 1 Reply Last reply
                              0
                              • F Flopsi

                                @Rushmed

                                Ich weis auch nix mehr wo was sein soll :(

                                J Offline
                                J Offline
                                Jan1
                                wrote on last edited by
                                #56

                                @Flopsi
                                Na das Backup von heute morgen ist doch auch genau das richtige. Warum machst nicht damit einfach ein Restor.

                                F 1 Reply Last reply
                                0
                                • J Jan1

                                  @Flopsi
                                  Na das Backup von heute morgen ist doch auch genau das richtige. Warum machst nicht damit einfach ein Restor.

                                  F Offline
                                  F Offline
                                  Flopsi
                                  wrote on last edited by Flopsi
                                  #57

                                  @Jan1

                                  habe das durchlaufen lassen selben problem wie vorher deswegen wunder ich mich ja
                                  oder ich mache was falsch
                                  oder meinst du alles neu machen !

                                  J 1 Reply Last reply
                                  0
                                  • R Rushmed

                                    Ich bin jetzt ganz durcheinander von wegen was in opt/iobroker gehört und was nicht.
                                    Bei mir sieht der Ordnerinhalt so aus, ist das ok?
                                    7e43b5da-f09b-4e23-915c-ac903fdc7d90-grafik.png

                                    J Offline
                                    J Offline
                                    Jan1
                                    wrote on last edited by
                                    #58

                                    @Rushmed
                                    Es ist relevant von wo man was aufruft und hat mit den Ordnern erstb mal nichts zu tun ;)

                                    1 Reply Last reply
                                    0
                                    • F Flopsi

                                      @Jan1

                                      habe das durchlaufen lassen selben problem wie vorher deswegen wunder ich mich ja
                                      oder ich mache was falsch
                                      oder meinst du alles neu machen !

                                      J Offline
                                      J Offline
                                      Jan1
                                      wrote on last edited by
                                      #59

                                      @Flopsi
                                      Die Frage ist wie hast das durch laufen lassen?

                                      F 1 Reply Last reply
                                      0
                                      • J Jan1

                                        @Flopsi
                                        Die Frage ist wie hast das durch laufen lassen?

                                        F Offline
                                        F Offline
                                        Flopsi
                                        wrote on last edited by
                                        #60

                                        @Jan1

                                        So.....

                                        sudo iobroker stop
                                        
                                        sudo iobroker restore 0
                                        
                                        sudo iobroker start all
                                        
                                        sudo iobroker start
                                        
                                        sudo iobroker upload all 
                                        
                                        J 1 Reply Last reply
                                        0
                                        • MichMeinM Offline
                                          MichMeinM Offline
                                          MichMein
                                          wrote on last edited by MichMein
                                          #61

                                          Folgendes hat bei mir letztlich zum Erfolg geführt,

                                          cd /opt/iobroker
                                          iobroker stop
                                          npm i iobroker.js-controller@3.1.6 --production
                                          iobroker start
                                          

                                          Eventuell muss noch ein

                                          npm update
                                          npm upgrade
                                          

                                          und ein

                                          sudo npm install -g npm
                                          

                                          durchgeführt werden.

                                          Eventuell müssen noch weitere Fehler im npm beseitigt werden.

                                          Gruß Michael
                                          Sofern Beiträge hilfreich für Dich sind, nutze das Voting unten rechts.

                                          HomoranH F 2 Replies 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

                                          819

                                          Online

                                          32.6k

                                          Users

                                          82.2k

                                          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