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. ioBroker Allgemein
  4. Problem bei Update js-controller from @3.3.18 to @3.3.22

NEWS

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

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

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    25
    1
    2.1k

Problem bei Update js-controller from @3.3.18 to @3.3.22

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
55 Beiträge 7 Kommentatoren 2.6k Aufrufe 5 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • GlasfaserG Glasfaser

    @uwe72 sagte in Problem bei Update js-controller from @3.3.18 to @3.3.22:

    /opt/iobroker/node_modules/.bin/iobroker

    Wenn du User bist :

    rm /opt/iobroker/node_modules/.bin/iobroker
    sudo -H -u iobroker npm cache clean --force
    
    U Offline
    U Offline
    uwe72
    schrieb am zuletzt editiert von
    #9

    @glasfaser

    Ja, ich laufe im docker, sorry, dass ich es vergessen habe zu erwähnen.

    Habe die 2 Befehle ausgeführt:

    root@iobroker:/opt/iobroker# rm /opt/iobroker/node_modules/.bin/iobroker
    root@iobroker:/opt/iobroker# sudo -H -u iobroker npm cache clean --force
    sudo: unable to resolve host iobroker: Temporary failure in name resolution
    npm WARN using --force I sure hope you know what you are doing.
    root@iobroker:/opt/iobroker# iobroker upgrade self
    Update js-controller from @3.3.18 to @3.3.22
    NPM version: 6.14.15
    npm install iobroker.js-controller@3.3.22 --loglevel error --unsafe-perm --prefix "/opt/iobroker" (System call)
    npm ERR! code EEXIST
    npm ERR! path /opt/iobroker/node_modules/iobroker.js-controller/node_modules/.bin/mime
    npm ERR! Refusing to delete /opt/iobroker/node_modules/iobroker.js-controller/node_modules/.bin/mime: is outside /opt/iobroker/node_modules/iobroker.js-controller/node_modules/mime and not a link
    npm ERR! File exists: /opt/iobroker/node_modules/iobroker.js-controller/node_modules/.bin/mime
    npm ERR! Remove the existing file and try again, or run npm
    npm ERR! with --force to overwrite files recklessly.
    
    npm ERR! A complete log of this run can be found in:
    npm ERR!     /opt/iobroker/.npm/_logs/2022-01-06T11_58_56_450Z-debug.log
    root@iobroker:/opt/iobroker#
    
    GlasfaserG 1 Antwort Letzte Antwort
    0
    • U uwe72

      @glasfaser

      Ja, ich laufe im docker, sorry, dass ich es vergessen habe zu erwähnen.

      Habe die 2 Befehle ausgeführt:

      root@iobroker:/opt/iobroker# rm /opt/iobroker/node_modules/.bin/iobroker
      root@iobroker:/opt/iobroker# sudo -H -u iobroker npm cache clean --force
      sudo: unable to resolve host iobroker: Temporary failure in name resolution
      npm WARN using --force I sure hope you know what you are doing.
      root@iobroker:/opt/iobroker# iobroker upgrade self
      Update js-controller from @3.3.18 to @3.3.22
      NPM version: 6.14.15
      npm install iobroker.js-controller@3.3.22 --loglevel error --unsafe-perm --prefix "/opt/iobroker" (System call)
      npm ERR! code EEXIST
      npm ERR! path /opt/iobroker/node_modules/iobroker.js-controller/node_modules/.bin/mime
      npm ERR! Refusing to delete /opt/iobroker/node_modules/iobroker.js-controller/node_modules/.bin/mime: is outside /opt/iobroker/node_modules/iobroker.js-controller/node_modules/mime and not a link
      npm ERR! File exists: /opt/iobroker/node_modules/iobroker.js-controller/node_modules/.bin/mime
      npm ERR! Remove the existing file and try again, or run npm
      npm ERR! with --force to overwrite files recklessly.
      
      npm ERR! A complete log of this run can be found in:
      npm ERR!     /opt/iobroker/.npm/_logs/2022-01-06T11_58_56_450Z-debug.log
      root@iobroker:/opt/iobroker#
      
      GlasfaserG Offline
      GlasfaserG Offline
      Glasfaser
      schrieb am zuletzt editiert von
      #10

      @uwe72 sagte in Problem bei Update js-controller from @3.3.18 to @3.3.22:

      Ich habe nicht geschrieben , du solltest es jetzt durchführen .

      Sondern :

      @glasfaser sagte in Problem bei Update js-controller from @3.3.18 to @3.3.22:
      Wenn du User bist :

      npm ERR! File exists:

      Steht doch alles im LOG , was du machen sollst !?

      Synology 918+ 16GB - ioBroker in Docker v9 , VISO auf Trekstor Primebook C13 13,3" , Hikvision Domkameras mit Surveillance Station .. CCU RaspberryMatic in Synology VM .. Zigbee CC2538+CC2592 .. Sonoff .. KNX .. Modbus ..

      U Thomas BraunT 2 Antworten Letzte Antwort
      0
      • GlasfaserG Glasfaser

        @uwe72 sagte in Problem bei Update js-controller from @3.3.18 to @3.3.22:

        Ich habe nicht geschrieben , du solltest es jetzt durchführen .

        Sondern :

        @glasfaser sagte in Problem bei Update js-controller from @3.3.18 to @3.3.22:
        Wenn du User bist :

        npm ERR! File exists:

        Steht doch alles im LOG , was du machen sollst !?

        U Offline
        U Offline
        uwe72
        schrieb am zuletzt editiert von
        #11

        @glasfaser

        Danke fürs Hinweisen aufs Log. Hat nun funktioniert.

        1 Antwort Letzte Antwort
        0
        • GlasfaserG Glasfaser

          @uwe72 sagte in Problem bei Update js-controller from @3.3.18 to @3.3.22:

          Ich habe nicht geschrieben , du solltest es jetzt durchführen .

          Sondern :

          @glasfaser sagte in Problem bei Update js-controller from @3.3.18 to @3.3.22:
          Wenn du User bist :

          npm ERR! File exists:

          Steht doch alles im LOG , was du machen sollst !?

          Thomas BraunT Online
          Thomas BraunT Online
          Thomas Braun
          Most Active
          schrieb am zuletzt editiert von
          #12

          @glasfaser
          Wobei nicht uninteressant gewesen wäre was es denn für eine Datei war, wenn es kein Link war.

          Aber bei root shells weiß man halt nie was da schon alles verbogen wurde. Auch im Docker kann man ja ordentlich sein System administrieren.

          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

          GlasfaserG 1 Antwort Letzte Antwort
          0
          • Thomas BraunT Thomas Braun

            @glasfaser
            Wobei nicht uninteressant gewesen wäre was es denn für eine Datei war, wenn es kein Link war.

            Aber bei root shells weiß man halt nie was da schon alles verbogen wurde. Auch im Docker kann man ja ordentlich sein System administrieren.

            GlasfaserG Offline
            GlasfaserG Offline
            Glasfaser
            schrieb am zuletzt editiert von
            #13

            @thomas-braun sagte in Problem bei Update js-controller from @3.3.18 to @3.3.22:

            wenn es kein Link war.

            Ich kann mir nur vorstellen , das er mal..... etwas per npm quer installiert hat .

            Synology 918+ 16GB - ioBroker in Docker v9 , VISO auf Trekstor Primebook C13 13,3" , Hikvision Domkameras mit Surveillance Station .. CCU RaspberryMatic in Synology VM .. Zigbee CC2538+CC2592 .. Sonoff .. KNX .. Modbus ..

            S 1 Antwort Letzte Antwort
            0
            • GlasfaserG Glasfaser

              @thomas-braun sagte in Problem bei Update js-controller from @3.3.18 to @3.3.22:

              wenn es kein Link war.

              Ich kann mir nur vorstellen , das er mal..... etwas per npm quer installiert hat .

              S Offline
              S Offline
              SpeedyBlade
              schrieb am zuletzt editiert von wendy2702
              #14

              pi@All-In-One_RasPi:/opt/iobroker $ sudo su iobroker update
              This account is currently not available.

              pi@All-In-One_RasPi:/opt/iobroker $ sudo iobroker upgrade self
              Update js-controller from @3.3.15 to @3.3.22
              NPM version: 7.20.5
              npm install iobroker.js-controller@3.3.22 --loglevel error --unsafe-perm --prefix "/opt/iobroker" (System call)
              

              kann auch kein Update auf 3.3.22 machen...
              wäre super, wenn mir jemand weiterhelfen kann, bin leider nicht so vertraut mit Linux :(

              MOD EDIT: LOG in Code Tags gesetzt

              GlasfaserG 1 Antwort Letzte Antwort
              0
              • S SpeedyBlade

                pi@All-In-One_RasPi:/opt/iobroker $ sudo su iobroker update
                This account is currently not available.

                pi@All-In-One_RasPi:/opt/iobroker $ sudo iobroker upgrade self
                Update js-controller from @3.3.15 to @3.3.22
                NPM version: 7.20.5
                npm install iobroker.js-controller@3.3.22 --loglevel error --unsafe-perm --prefix "/opt/iobroker" (System call)
                

                kann auch kein Update auf 3.3.22 machen...
                wäre super, wenn mir jemand weiterhelfen kann, bin leider nicht so vertraut mit Linux :(

                MOD EDIT: LOG in Code Tags gesetzt

                GlasfaserG Offline
                GlasfaserG Offline
                Glasfaser
                schrieb am zuletzt editiert von
                #15

                @speedyblade sagte in Problem bei Update js-controller from @3.3.18 to @3.3.22:

                sudo su

                Wo hast du das her , da wird nichts mit sudo gemacht und dann noch mit su !?

                Bei der kurzen meldung kann man nicht viel sagen , weil der Rest von der Meldung fehlt .

                Das einzige was auffällt ist :

                NPM version: 7.20.5

                Synology 918+ 16GB - ioBroker in Docker v9 , VISO auf Trekstor Primebook C13 13,3" , Hikvision Domkameras mit Surveillance Station .. CCU RaspberryMatic in Synology VM .. Zigbee CC2538+CC2592 .. Sonoff .. KNX .. Modbus ..

                S 2 Antworten Letzte Antwort
                0
                • GlasfaserG Glasfaser

                  @speedyblade sagte in Problem bei Update js-controller from @3.3.18 to @3.3.22:

                  sudo su

                  Wo hast du das her , da wird nichts mit sudo gemacht und dann noch mit su !?

                  Bei der kurzen meldung kann man nicht viel sagen , weil der Rest von der Meldung fehlt .

                  Das einzige was auffällt ist :

                  NPM version: 7.20.5

                  S Offline
                  S Offline
                  SpeedyBlade
                  schrieb am zuletzt editiert von
                  #16

                  @glasfaser
                  das steht im ioBroker

                  Linux/macOS (manuell installiert)
                  Eine manuelle Installation erfolgt meist unter root als User und daher ist vor den Befehlen ein "sudo" nötig.

                  Bitte in einer SSH-Shell (Konsole) folgende Befehle ausführen:

                  cd /opt/iobroker
                  sudo iobroker stop
                  sudo iobroker update
                  sudo iobroker upgrade self
                  sudo iobroker start oder Server rebooten, danach sollte ioBroker neu starten und man kann sicher sein das alle alten Prozesse beendet waren.
                  Falls beim Upgrade-Befehl Fehler wegen Zugriffsrechten/Permissions angezeigt werden, müssen diese behoben werden. Teilweise reicht "sudo" nicht aus und man muss die Installation als echter Root (Vorher einfach sudo su - eingeben) ausführen.

                  wie kann ich den npm updaten?

                  Thomas BraunT 1 Antwort Letzte Antwort
                  0
                  • S SpeedyBlade

                    @glasfaser
                    das steht im ioBroker

                    Linux/macOS (manuell installiert)
                    Eine manuelle Installation erfolgt meist unter root als User und daher ist vor den Befehlen ein "sudo" nötig.

                    Bitte in einer SSH-Shell (Konsole) folgende Befehle ausführen:

                    cd /opt/iobroker
                    sudo iobroker stop
                    sudo iobroker update
                    sudo iobroker upgrade self
                    sudo iobroker start oder Server rebooten, danach sollte ioBroker neu starten und man kann sicher sein das alle alten Prozesse beendet waren.
                    Falls beim Upgrade-Befehl Fehler wegen Zugriffsrechten/Permissions angezeigt werden, müssen diese behoben werden. Teilweise reicht "sudo" nicht aus und man muss die Installation als echter Root (Vorher einfach sudo su - eingeben) ausführen.

                    wie kann ich den npm updaten?

                    Thomas BraunT Online
                    Thomas BraunT Online
                    Thomas Braun
                    Most Active
                    schrieb am zuletzt editiert von
                    #17

                    @speedyblade

                    Die Anleitung, wo auch immer die her ist, ist veraltet.

                    npm wird gar nicht separat upgedatet. In meiner Sigantur steht drin, wie man nodejs (und damit auch npm) richtig installiert.

                    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

                    GlasfaserG 1 Antwort Letzte Antwort
                    0
                    • S Offline
                      S Offline
                      SpeedyBlade
                      schrieb am zuletzt editiert von
                      #18

                      das steht im host vom iobroker

                      1 Antwort Letzte Antwort
                      0
                      • GlasfaserG Glasfaser

                        @speedyblade sagte in Problem bei Update js-controller from @3.3.18 to @3.3.22:

                        sudo su

                        Wo hast du das her , da wird nichts mit sudo gemacht und dann noch mit su !?

                        Bei der kurzen meldung kann man nicht viel sagen , weil der Rest von der Meldung fehlt .

                        Das einzige was auffällt ist :

                        NPM version: 7.20.5

                        S Offline
                        S Offline
                        SpeedyBlade
                        schrieb am zuletzt editiert von
                        #19

                        @glasfaser sagte in Problem bei Update js-controller from @3.3.18 to @3.3.22:

                        @speedyblade sagte in Problem bei Update js-controller from @3.3.18 to @3.3.22:

                        sudo su

                        Wo hast du das her , da wird nichts mit sudo gemacht und dann noch mit su !?

                        Bei der kurzen meldung kann man nicht viel sagen , weil der Rest von der Meldung fehlt .

                        Das einzige was auffällt ist :

                        NPM version: 7.20.5

                        was passt mit der npm nicht, muss die auf Version 6 downgegradatet werden?
                        Wenn ja, wie ist das nun noch möglich?

                        S 1 Antwort Letzte Antwort
                        0
                        • S SpeedyBlade

                          @glasfaser sagte in Problem bei Update js-controller from @3.3.18 to @3.3.22:

                          @speedyblade sagte in Problem bei Update js-controller from @3.3.18 to @3.3.22:

                          sudo su

                          Wo hast du das her , da wird nichts mit sudo gemacht und dann noch mit su !?

                          Bei der kurzen meldung kann man nicht viel sagen , weil der Rest von der Meldung fehlt .

                          Das einzige was auffällt ist :

                          NPM version: 7.20.5

                          was passt mit der npm nicht, muss die auf Version 6 downgegradatet werden?
                          Wenn ja, wie ist das nun noch möglich?

                          S Offline
                          S Offline
                          SpeedyBlade
                          schrieb am zuletzt editiert von
                          #20

                          hilft euch das weiter?
                          pi@All-In-One_RasPi:/opt/iobroker $ nodejs -v && node -v && npm -v && which node js && which node && which npm

                          v14.18.2
                          v14.17.4
                          7.20.5
                          /usr/bin/nodejs
                          /usr/local/bin/node
                          /usr/local/bin/npm

                          Thomas BraunT 1 Antwort Letzte Antwort
                          0
                          • Thomas BraunT Thomas Braun

                            @speedyblade

                            Die Anleitung, wo auch immer die her ist, ist veraltet.

                            npm wird gar nicht separat upgedatet. In meiner Sigantur steht drin, wie man nodejs (und damit auch npm) richtig installiert.

                            GlasfaserG Offline
                            GlasfaserG Offline
                            Glasfaser
                            schrieb am zuletzt editiert von
                            #21

                            @SpeedyBlade

                            @thomas-braun sagte in Problem bei Update js-controller from @3.3.18 to @3.3.22:
                            @speedyblade

                            ..........................

                            ....................
                            In meiner Sigantur steht drin, wie man nodejs (und damit auch npm) richtig installiert.

                            Synology 918+ 16GB - ioBroker in Docker v9 , VISO auf Trekstor Primebook C13 13,3" , Hikvision Domkameras mit Surveillance Station .. CCU RaspberryMatic in Synology VM .. Zigbee CC2538+CC2592 .. Sonoff .. KNX .. Modbus ..

                            S 1 Antwort Letzte Antwort
                            0
                            • S SpeedyBlade

                              hilft euch das weiter?
                              pi@All-In-One_RasPi:/opt/iobroker $ nodejs -v && node -v && npm -v && which node js && which node && which npm

                              v14.18.2
                              v14.17.4
                              7.20.5
                              /usr/bin/nodejs
                              /usr/local/bin/node
                              /usr/local/bin/npm

                              Thomas BraunT Online
                              Thomas BraunT Online
                              Thomas Braun
                              Most Active
                              schrieb am zuletzt editiert von
                              #22

                              @speedyblade

                              Wie bereits vermutet: Krumm installiert.
                              Wie man es korrigiert:

                              Im zweiten Posting hier:
                              https://forum.iobroker.net/topic/35090/howto-nodejs-installation-und-upgrades-unter-debian

                              Aber den ersten Part darf man auch lesen.

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

                              1 Antwort Letzte Antwort
                              0
                              • GlasfaserG Glasfaser

                                @SpeedyBlade

                                @thomas-braun sagte in Problem bei Update js-controller from @3.3.18 to @3.3.22:
                                @speedyblade

                                ..........................

                                ....................
                                In meiner Sigantur steht drin, wie man nodejs (und damit auch npm) richtig installiert.

                                S Offline
                                S Offline
                                SpeedyBlade
                                schrieb am zuletzt editiert von SpeedyBlade
                                #23

                                @glasfaser

                                npm und nodejs sind nun auf die stable versionen downgegraded worden

                                Nun wollte ich die Adapter updaten und das geht leider nicht. Als ersten sollte der "admin" adapter auf 5.2.3 upgedated werden, aber das funktioniert nicht in der Weboberfläche noch in der Konsole

                                pi@All-In-One_RasPi:/opt/iobroker $ sudo iobroker stop
                                pi@All-In-One_RasPi:/opt/iobroker $ sudo iobroker update
                                Used repository: Stable (default)
                                hash unchanged, use cached sources
                                update done
                                Adapter    "admin"         : 5.2.3    , installed 4.2.2 [Updateable]
                                Adapter    "backitup"      : 2.2.2    , installed 2.1.15 [Updateable]
                                Adapter    "cloud"         : 4.1.0    , installed 4.1.0
                                Adapter    "discovery"     : 2.7.3    , installed 2.7.0 [Updateable]
                                Adapter    "flot"          : 1.10.7   , installed 1.10.6 [Updateable]
                                Adapter    "history"       : 1.9.14   , installed 1.9.13 [Updateable]
                                Adapter    "hm-rega"       : 3.0.33   , installed 3.0.30 [Updateable]
                                Adapter    "hm-rpc"        : 1.14.50  , installed 1.14.43 [Updateable]
                                Adapter    "info"          : 1.9.8    , installed 1.9.8
                                Adapter    "iogo"          : 0.7.0    , installed 0.7.0
                                Adapter    "javascript"    : 5.2.13   , installed 4.11.0 [Updateable]
                                Controller "js-controller" : 3.3.22   , installed 3.3.15 [Updateable]
                                Adapter    "knx"           : 2.0.5    , installed 1.0.45 [Updateable]
                                Adapter    "mobile"        : 1.0.1    , installed 1.0.1
                                Adapter    "mqtt-client"   : 1.4.0    , installed 1.4.0
                                Adapter    "nina"          : 0.0.25   , installed 0.0.25
                                Adapter    "node-red"      : 2.4.1    , installed 2.4.0 [Updateable]
                                Adapter    "nuki-extended" : 2.3.1    , installed 2.3.1
                                Adapter    "ping"          : 1.5.0    , installed 1.5.0
                                Adapter    "pushover"      : 2.0.5    , installed 2.0.5
                                Adapter    "roomba"        : 1.1.4    , installed 1.1.4
                                Adapter    "rpi2"          : 1.3.1    , installed 1.3.1
                                Adapter    "scenes"        : 2.3.8    , installed 2.3.6 [Updateable]
                                Adapter    "shelly"        : 4.0.7    , installed 4.0.8
                                Adapter    "simple-api"    : 2.6.1    , installed 2.6.1
                                Adapter    "socketio"      : 3.1.4    , installed 3.1.4
                                Adapter    "sonos"         : 2.1.1    , installed 2.1.1
                                Adapter    "vis"           : 1.4.5    , installed 1.4.3 [Updateable]
                                Adapter    "vis-hqwidgets" : 1.1.7    , installed 1.1.7
                                Adapter    "web"           : 3.4.9    , installed 3.4.8 [Updateable]
                                
                                

                                ..und hier macht er einfach nicht mehr weiter
                                update.jpg

                                ...und nach etlichen Minuten nun das

                                pi@All-In-One_RasPi:/opt/iobroker $ sudo iobroker upgrade self
                                Update js-controller from @3.3.15 to @3.3.22
                                NPM version: 6.14.15
                                npm install iobroker.js-controller@3.3.22 --loglevel error --unsafe-perm --prefix "/opt/iobroker" (System call)
                                npm ERR! code EEXIST
                                npm ERR! path /opt/iobroker/node_modules/.bin/uuid
                                npm ERR! Refusing to delete /opt/iobroker/node_modules/.bin/uuid: ../uuid/bin/uuid symlink target is not controlled by npm /opt/iobroker/node_modules/uuid
                                npm ERR! File exists: /opt/iobroker/node_modules/.bin/uuid
                                npm ERR! Remove the existing file and try again, or run npm
                                npm ERR! with --force to overwrite files recklessly.
                                
                                npm ERR! A complete log of this run can be found in:
                                npm ERR!     /home/iobroker/.npm/_logs/2022-01-07T14_03_34_230Z-debug.log
                                
                                
                                BananaJoeB Thomas BraunT 3 Antworten Letzte Antwort
                                0
                                • S SpeedyBlade

                                  @glasfaser

                                  npm und nodejs sind nun auf die stable versionen downgegraded worden

                                  Nun wollte ich die Adapter updaten und das geht leider nicht. Als ersten sollte der "admin" adapter auf 5.2.3 upgedated werden, aber das funktioniert nicht in der Weboberfläche noch in der Konsole

                                  pi@All-In-One_RasPi:/opt/iobroker $ sudo iobroker stop
                                  pi@All-In-One_RasPi:/opt/iobroker $ sudo iobroker update
                                  Used repository: Stable (default)
                                  hash unchanged, use cached sources
                                  update done
                                  Adapter    "admin"         : 5.2.3    , installed 4.2.2 [Updateable]
                                  Adapter    "backitup"      : 2.2.2    , installed 2.1.15 [Updateable]
                                  Adapter    "cloud"         : 4.1.0    , installed 4.1.0
                                  Adapter    "discovery"     : 2.7.3    , installed 2.7.0 [Updateable]
                                  Adapter    "flot"          : 1.10.7   , installed 1.10.6 [Updateable]
                                  Adapter    "history"       : 1.9.14   , installed 1.9.13 [Updateable]
                                  Adapter    "hm-rega"       : 3.0.33   , installed 3.0.30 [Updateable]
                                  Adapter    "hm-rpc"        : 1.14.50  , installed 1.14.43 [Updateable]
                                  Adapter    "info"          : 1.9.8    , installed 1.9.8
                                  Adapter    "iogo"          : 0.7.0    , installed 0.7.0
                                  Adapter    "javascript"    : 5.2.13   , installed 4.11.0 [Updateable]
                                  Controller "js-controller" : 3.3.22   , installed 3.3.15 [Updateable]
                                  Adapter    "knx"           : 2.0.5    , installed 1.0.45 [Updateable]
                                  Adapter    "mobile"        : 1.0.1    , installed 1.0.1
                                  Adapter    "mqtt-client"   : 1.4.0    , installed 1.4.0
                                  Adapter    "nina"          : 0.0.25   , installed 0.0.25
                                  Adapter    "node-red"      : 2.4.1    , installed 2.4.0 [Updateable]
                                  Adapter    "nuki-extended" : 2.3.1    , installed 2.3.1
                                  Adapter    "ping"          : 1.5.0    , installed 1.5.0
                                  Adapter    "pushover"      : 2.0.5    , installed 2.0.5
                                  Adapter    "roomba"        : 1.1.4    , installed 1.1.4
                                  Adapter    "rpi2"          : 1.3.1    , installed 1.3.1
                                  Adapter    "scenes"        : 2.3.8    , installed 2.3.6 [Updateable]
                                  Adapter    "shelly"        : 4.0.7    , installed 4.0.8
                                  Adapter    "simple-api"    : 2.6.1    , installed 2.6.1
                                  Adapter    "socketio"      : 3.1.4    , installed 3.1.4
                                  Adapter    "sonos"         : 2.1.1    , installed 2.1.1
                                  Adapter    "vis"           : 1.4.5    , installed 1.4.3 [Updateable]
                                  Adapter    "vis-hqwidgets" : 1.1.7    , installed 1.1.7
                                  Adapter    "web"           : 3.4.9    , installed 3.4.8 [Updateable]
                                  
                                  

                                  ..und hier macht er einfach nicht mehr weiter
                                  update.jpg

                                  ...und nach etlichen Minuten nun das

                                  pi@All-In-One_RasPi:/opt/iobroker $ sudo iobroker upgrade self
                                  Update js-controller from @3.3.15 to @3.3.22
                                  NPM version: 6.14.15
                                  npm install iobroker.js-controller@3.3.22 --loglevel error --unsafe-perm --prefix "/opt/iobroker" (System call)
                                  npm ERR! code EEXIST
                                  npm ERR! path /opt/iobroker/node_modules/.bin/uuid
                                  npm ERR! Refusing to delete /opt/iobroker/node_modules/.bin/uuid: ../uuid/bin/uuid symlink target is not controlled by npm /opt/iobroker/node_modules/uuid
                                  npm ERR! File exists: /opt/iobroker/node_modules/.bin/uuid
                                  npm ERR! Remove the existing file and try again, or run npm
                                  npm ERR! with --force to overwrite files recklessly.
                                  
                                  npm ERR! A complete log of this run can be found in:
                                  npm ERR!     /home/iobroker/.npm/_logs/2022-01-07T14_03_34_230Z-debug.log
                                  
                                  
                                  BananaJoeB Online
                                  BananaJoeB Online
                                  BananaJoe
                                  Most Active
                                  schrieb am zuletzt editiert von BananaJoe
                                  #24

                                  @speedyblade also wenn du nicht mindestens 5 Minuten gewartet hast ... das dauert manchmal, je nach System und Internet und Sonnenstand

                                  ioBroker@Ubuntu 24.04 LTS (VMware) für: >260 Geräte, 5 Switche, 7 AP, 9 IP-Cam, 1 NAS 42TB, 1 ESXi 15TB, 4 Proxmox 1TB, 1 Hyper-V 48TB, 14 x Echo, 5x FireTV, 5 x Tablett/Handy VIS || >=160 Tasmota/Shelly || >=95 ZigBee || PV 8.1kW / Akku 14kWh || 2x USV 750W kaskadiert || Creality CR-10 SE 3D-Drucker

                                  1 Antwort Letzte Antwort
                                  0
                                  • S SpeedyBlade

                                    @glasfaser

                                    npm und nodejs sind nun auf die stable versionen downgegraded worden

                                    Nun wollte ich die Adapter updaten und das geht leider nicht. Als ersten sollte der "admin" adapter auf 5.2.3 upgedated werden, aber das funktioniert nicht in der Weboberfläche noch in der Konsole

                                    pi@All-In-One_RasPi:/opt/iobroker $ sudo iobroker stop
                                    pi@All-In-One_RasPi:/opt/iobroker $ sudo iobroker update
                                    Used repository: Stable (default)
                                    hash unchanged, use cached sources
                                    update done
                                    Adapter    "admin"         : 5.2.3    , installed 4.2.2 [Updateable]
                                    Adapter    "backitup"      : 2.2.2    , installed 2.1.15 [Updateable]
                                    Adapter    "cloud"         : 4.1.0    , installed 4.1.0
                                    Adapter    "discovery"     : 2.7.3    , installed 2.7.0 [Updateable]
                                    Adapter    "flot"          : 1.10.7   , installed 1.10.6 [Updateable]
                                    Adapter    "history"       : 1.9.14   , installed 1.9.13 [Updateable]
                                    Adapter    "hm-rega"       : 3.0.33   , installed 3.0.30 [Updateable]
                                    Adapter    "hm-rpc"        : 1.14.50  , installed 1.14.43 [Updateable]
                                    Adapter    "info"          : 1.9.8    , installed 1.9.8
                                    Adapter    "iogo"          : 0.7.0    , installed 0.7.0
                                    Adapter    "javascript"    : 5.2.13   , installed 4.11.0 [Updateable]
                                    Controller "js-controller" : 3.3.22   , installed 3.3.15 [Updateable]
                                    Adapter    "knx"           : 2.0.5    , installed 1.0.45 [Updateable]
                                    Adapter    "mobile"        : 1.0.1    , installed 1.0.1
                                    Adapter    "mqtt-client"   : 1.4.0    , installed 1.4.0
                                    Adapter    "nina"          : 0.0.25   , installed 0.0.25
                                    Adapter    "node-red"      : 2.4.1    , installed 2.4.0 [Updateable]
                                    Adapter    "nuki-extended" : 2.3.1    , installed 2.3.1
                                    Adapter    "ping"          : 1.5.0    , installed 1.5.0
                                    Adapter    "pushover"      : 2.0.5    , installed 2.0.5
                                    Adapter    "roomba"        : 1.1.4    , installed 1.1.4
                                    Adapter    "rpi2"          : 1.3.1    , installed 1.3.1
                                    Adapter    "scenes"        : 2.3.8    , installed 2.3.6 [Updateable]
                                    Adapter    "shelly"        : 4.0.7    , installed 4.0.8
                                    Adapter    "simple-api"    : 2.6.1    , installed 2.6.1
                                    Adapter    "socketio"      : 3.1.4    , installed 3.1.4
                                    Adapter    "sonos"         : 2.1.1    , installed 2.1.1
                                    Adapter    "vis"           : 1.4.5    , installed 1.4.3 [Updateable]
                                    Adapter    "vis-hqwidgets" : 1.1.7    , installed 1.1.7
                                    Adapter    "web"           : 3.4.9    , installed 3.4.8 [Updateable]
                                    
                                    

                                    ..und hier macht er einfach nicht mehr weiter
                                    update.jpg

                                    ...und nach etlichen Minuten nun das

                                    pi@All-In-One_RasPi:/opt/iobroker $ sudo iobroker upgrade self
                                    Update js-controller from @3.3.15 to @3.3.22
                                    NPM version: 6.14.15
                                    npm install iobroker.js-controller@3.3.22 --loglevel error --unsafe-perm --prefix "/opt/iobroker" (System call)
                                    npm ERR! code EEXIST
                                    npm ERR! path /opt/iobroker/node_modules/.bin/uuid
                                    npm ERR! Refusing to delete /opt/iobroker/node_modules/.bin/uuid: ../uuid/bin/uuid symlink target is not controlled by npm /opt/iobroker/node_modules/uuid
                                    npm ERR! File exists: /opt/iobroker/node_modules/.bin/uuid
                                    npm ERR! Remove the existing file and try again, or run npm
                                    npm ERR! with --force to overwrite files recklessly.
                                    
                                    npm ERR! A complete log of this run can be found in:
                                    npm ERR!     /home/iobroker/.npm/_logs/2022-01-07T14_03_34_230Z-debug.log
                                    
                                    
                                    Thomas BraunT Online
                                    Thomas BraunT Online
                                    Thomas Braun
                                    Most Active
                                    schrieb am zuletzt editiert von Thomas Braun
                                    #25

                                    @speedyblade

                                    Bitte den iobroker NICHT mit sudo anpacken.

                                    iobroker stop
                                    iobroker fix
                                    iobroker update -i
                                    iobroker upgrade self
                                    iobroker upgrade
                                    iobroker start
                                    

                                    nodeJS ist jetzt sauber?
                                    Mit

                                    which nodejs node npm && nodejs -v && node -v && npm -v && whoami && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
                                    

                                    nachschauen.

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

                                    1 Antwort Letzte Antwort
                                    0
                                    • S SpeedyBlade

                                      @glasfaser

                                      npm und nodejs sind nun auf die stable versionen downgegraded worden

                                      Nun wollte ich die Adapter updaten und das geht leider nicht. Als ersten sollte der "admin" adapter auf 5.2.3 upgedated werden, aber das funktioniert nicht in der Weboberfläche noch in der Konsole

                                      pi@All-In-One_RasPi:/opt/iobroker $ sudo iobroker stop
                                      pi@All-In-One_RasPi:/opt/iobroker $ sudo iobroker update
                                      Used repository: Stable (default)
                                      hash unchanged, use cached sources
                                      update done
                                      Adapter    "admin"         : 5.2.3    , installed 4.2.2 [Updateable]
                                      Adapter    "backitup"      : 2.2.2    , installed 2.1.15 [Updateable]
                                      Adapter    "cloud"         : 4.1.0    , installed 4.1.0
                                      Adapter    "discovery"     : 2.7.3    , installed 2.7.0 [Updateable]
                                      Adapter    "flot"          : 1.10.7   , installed 1.10.6 [Updateable]
                                      Adapter    "history"       : 1.9.14   , installed 1.9.13 [Updateable]
                                      Adapter    "hm-rega"       : 3.0.33   , installed 3.0.30 [Updateable]
                                      Adapter    "hm-rpc"        : 1.14.50  , installed 1.14.43 [Updateable]
                                      Adapter    "info"          : 1.9.8    , installed 1.9.8
                                      Adapter    "iogo"          : 0.7.0    , installed 0.7.0
                                      Adapter    "javascript"    : 5.2.13   , installed 4.11.0 [Updateable]
                                      Controller "js-controller" : 3.3.22   , installed 3.3.15 [Updateable]
                                      Adapter    "knx"           : 2.0.5    , installed 1.0.45 [Updateable]
                                      Adapter    "mobile"        : 1.0.1    , installed 1.0.1
                                      Adapter    "mqtt-client"   : 1.4.0    , installed 1.4.0
                                      Adapter    "nina"          : 0.0.25   , installed 0.0.25
                                      Adapter    "node-red"      : 2.4.1    , installed 2.4.0 [Updateable]
                                      Adapter    "nuki-extended" : 2.3.1    , installed 2.3.1
                                      Adapter    "ping"          : 1.5.0    , installed 1.5.0
                                      Adapter    "pushover"      : 2.0.5    , installed 2.0.5
                                      Adapter    "roomba"        : 1.1.4    , installed 1.1.4
                                      Adapter    "rpi2"          : 1.3.1    , installed 1.3.1
                                      Adapter    "scenes"        : 2.3.8    , installed 2.3.6 [Updateable]
                                      Adapter    "shelly"        : 4.0.7    , installed 4.0.8
                                      Adapter    "simple-api"    : 2.6.1    , installed 2.6.1
                                      Adapter    "socketio"      : 3.1.4    , installed 3.1.4
                                      Adapter    "sonos"         : 2.1.1    , installed 2.1.1
                                      Adapter    "vis"           : 1.4.5    , installed 1.4.3 [Updateable]
                                      Adapter    "vis-hqwidgets" : 1.1.7    , installed 1.1.7
                                      Adapter    "web"           : 3.4.9    , installed 3.4.8 [Updateable]
                                      
                                      

                                      ..und hier macht er einfach nicht mehr weiter
                                      update.jpg

                                      ...und nach etlichen Minuten nun das

                                      pi@All-In-One_RasPi:/opt/iobroker $ sudo iobroker upgrade self
                                      Update js-controller from @3.3.15 to @3.3.22
                                      NPM version: 6.14.15
                                      npm install iobroker.js-controller@3.3.22 --loglevel error --unsafe-perm --prefix "/opt/iobroker" (System call)
                                      npm ERR! code EEXIST
                                      npm ERR! path /opt/iobroker/node_modules/.bin/uuid
                                      npm ERR! Refusing to delete /opt/iobroker/node_modules/.bin/uuid: ../uuid/bin/uuid symlink target is not controlled by npm /opt/iobroker/node_modules/uuid
                                      npm ERR! File exists: /opt/iobroker/node_modules/.bin/uuid
                                      npm ERR! Remove the existing file and try again, or run npm
                                      npm ERR! with --force to overwrite files recklessly.
                                      
                                      npm ERR! A complete log of this run can be found in:
                                      npm ERR!     /home/iobroker/.npm/_logs/2022-01-07T14_03_34_230Z-debug.log
                                      
                                      
                                      Thomas BraunT Online
                                      Thomas BraunT Online
                                      Thomas Braun
                                      Most Active
                                      schrieb am zuletzt editiert von
                                      #26

                                      @speedyblade sagte in Problem bei Update js-controller from @3.3.18 to @3.3.22:

                                      /opt/iobroker/node_modules/.bin/uuid

                                      Bitte mal schauen was das für eine Datei ist:

                                      ls -la /opt/iobroker/node_modules/.bin/uuid
                                      

                                      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

                                      S 1 Antwort Letzte Antwort
                                      0
                                      • Thomas BraunT Thomas Braun

                                        @speedyblade sagte in Problem bei Update js-controller from @3.3.18 to @3.3.22:

                                        /opt/iobroker/node_modules/.bin/uuid

                                        Bitte mal schauen was das für eine Datei ist:

                                        ls -la /opt/iobroker/node_modules/.bin/uuid
                                        
                                        S Offline
                                        S Offline
                                        SpeedyBlade
                                        schrieb am zuletzt editiert von
                                        #27

                                        wenn ich das richtig sehe, ist der pfad falsch
                                        lt. der vorhin angegebenen anleitung sollte da nichts unter local sein

                                        pi@All-In-One_RasPi:/opt/iobroker $ which nodejs node npm && nodejs -v && node -v && npm -v && whoami && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
                                        /usr/bin/nodejs
                                        /usr/local/bin/node
                                        /usr/local/bin/npm
                                        v14.18.2
                                        v14.18.2
                                        6.14.15
                                        
                                        
                                        Thomas BraunT 2 Antworten Letzte Antwort
                                        0
                                        • S SpeedyBlade

                                          wenn ich das richtig sehe, ist der pfad falsch
                                          lt. der vorhin angegebenen anleitung sollte da nichts unter local sein

                                          pi@All-In-One_RasPi:/opt/iobroker $ which nodejs node npm && nodejs -v && node -v && npm -v && whoami && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
                                          /usr/bin/nodejs
                                          /usr/local/bin/node
                                          /usr/local/bin/npm
                                          v14.18.2
                                          v14.18.2
                                          6.14.15
                                          
                                          
                                          Thomas BraunT Online
                                          Thomas BraunT Online
                                          Thomas Braun
                                          Most Active
                                          schrieb am zuletzt editiert von
                                          #28

                                          @speedyblade sagte in Problem bei Update js-controller from @3.3.18 to @3.3.22:

                                          lt. der vorhin angegebenen anleitung sollte da nichts unter local sein

                                          Exakt. Und in der verlinkten Anleitung steht auch drin wie man das korrigiert.

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

                                          1 Antwort Letzte Antwort
                                          0
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen


                                          Support us

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

                                          771

                                          Online

                                          32.6k

                                          Benutzer

                                          82.1k

                                          Themen

                                          1.3m

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

                                          • Du hast noch kein Konto? Registrieren

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