Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. Kein Update mehr möglich mit Node.js 16

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    Kein Update mehr möglich mit Node.js 16

    This topic has been deleted. Only users with topic management privileges can see it.
    • tobasium
      tobasium last edited by Negalein

      @Glasfaser @thomas-braun

      so also npm prune läuft jetzt durch, keine Fehler mehr:

      changed 8 packages in 2m

      129 packages are looking for funding
      run npm fund for details

      root@iobroker:/opt/iobroker# npm ls | grep -E 'github.com|ERR'
      sudo: unable to resolve host iobroker: Name or service not known
      npm ERR! code ELSPROBLEMS
      npm ERR! invalid: iobroker.js-controller@4.0.23 /opt/iobroker/node_modules/iobroker.js-controller
      
      npm ERR! A complete log of this run can be found in:
      npm ERR!     /opt/iobroker/.npm/_logs/2022-07-11T09_12_05_196Z-debug-0.log
      

      Updates / Downgrades laufen noch nicht:

      $ iobroker upgrade milight-smart-light@1.2.1 --debug
      
      Update milight-smart-light from @1.2.2 to @1.2.1
      
      NPM version: 8.11.0
      
      Installing iobroker.milight-smart-light@1.2.1... (System call)
      
      npm ERR! code ENOTEMPTYnpm ERR! syscall renamenpm ERR! path /opt/iobroker/node_modules/iobroker.milight-smart-lightnpm ERR! dest /opt/iobroker/node_modules/.iobroker.milight-smart-light-RTE0VXzonpm ERR! errno -39npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/iobroker.milight-smart-light' -> '/opt/iobroker/node_modules/.iobroker.milight-smart-light-RTE0VXzo'npm ERR! A complete log of this run can be found in:npm ERR! /opt/iobroker/.npm/_logs/2022-07-11T09_09_18_542Z-debug-0.log
      
      host.iobroker Cannot install iobroker.milight-smart-light@1.2.1: 217
      
      ERROR: Process exited with code 25
      
      Thomas Braun 1 Reply Last reply Reply Quote 0
      • Thomas Braun
        Thomas Braun Most Active @tobasium last edited by

        @tobasium sagte in Kein Update mehr möglich mit Node.js 16:

        ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/iobroker.milight-smart-light' -> '/opt/iobroker/node_modules/.iobroker.milight-smart-light-RTE0VXzo

        Weiter die Verzeichnisse mit den kryptischen Endungen löschen...

        1 Reply Last reply Reply Quote 0
        • Glasfaser
          Glasfaser last edited by

          @tobasium sagte in Kein Update mehr möglich mit Node.js 16:

          Deinstalliere den js-controller mal und dann neu installieren .

          inkl.

          Lösch die Datei /opt/iobroler/package-lock.json

          tobasium 1 Reply Last reply Reply Quote 0
          • tobasium
            tobasium @Glasfaser last edited by

            @glasfaser wie deinstalliere ich den? da steh ich auf dem schlauch

            Glasfaser Thomas Braun 2 Replies Last reply Reply Quote 0
            • Glasfaser
              Glasfaser @tobasium last edited by

              @tobasium

              iob del js-controller
              
              1 Reply Last reply Reply Quote 0
              • Thomas Braun
                Thomas Braun Most Active @tobasium last edited by

                @tobasium

                Ich würde den erstmal drüber klatschen.
                iobroker stoppen.

                cd /opt/iobroker
                npm install iobroker.js-controller
                
                tobasium 1 Reply Last reply Reply Quote 0
                • tobasium
                  tobasium @Thomas Braun last edited by Negalein

                  @thomas-braun hab ich gemacht

                  root@iobroker:/opt/iobroker# npm ls | grep -E 'github.com|ERR'
                  sudo: unable to resolve host iobroker: Name or service not known
                  

                  downgrade geht aber immer noch nicht:

                  $ iobroker upgrade milight-smart-light@1.2.1 --debug
                  
                  Update milight-smart-light from @1.2.2 to @1.2.1
                  
                  NPM version: 8.11.0Installing iobroker.milight-smart-light@1.2.1... (System call)
                  
                  npm ERR! code ENOTEMPTYnpm ERR! syscall renamenpm ERR! path /opt/iobroker/node_modules/iobroker.milight-smart-lightnpm ERR! dest /opt/iobroker/node_modules/.iobroker.milight-smart-light-RTE0VXzonpm ERR! errno -39npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/iobroker.milight-smart-light' -> '/opt/iobroker/node_modules/.iobroker.milight-smart-light-RTE0VXzo'npm ERR! A complete log of this run can be found in:npm ERR! /opt/iobroker/.npm/_logs/2022-07-11T09_26_39_068Z-debug-0.log
                  
                  host.iobroker Cannot install iobroker.milight-smart-light@1.2.1: 217
                  
                  ERROR: Process exited with code 25
                  

                  Mod-Edit: Code in </> Code-Tag gepackt!

                  Glasfaser 1 Reply Last reply Reply Quote 0
                  • Glasfaser
                    Glasfaser @tobasium last edited by Glasfaser

                    @tobasium

                    immer weiter Löschen ,

                    hat er auch schon oben geschrieben

                    @thomas-braun sagte in Kein Update mehr möglich mit Node.js 16:

                    @tobasium sagte in Kein Update mehr möglich mit Node.js 16:

                    ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/iobroker.milight-smart-light' -> '/opt/iobroker/node_modules/.iobroker.milight-smart-light-RTE0VXzo

                    Weiter die Verzeichnisse mit den kryptischen Endungen löschen...

                    tobasium 1 Reply Last reply Reply Quote 0
                    • tobasium
                      tobasium @Glasfaser last edited by

                      @glasfaser kann hier nichts schief gehen? ich kann ja nicht auf gut glück ordner löschen oder?

                      Glasfaser Thomas Braun 2 Replies Last reply Reply Quote 0
                      • Glasfaser
                        Glasfaser @tobasium last edited by

                        @tobasium sagte in Kein Update mehr möglich mit Node.js 16:

                        @glasfaser kann hier nichts schief gehen? ich kann ja nicht auf gut glück ordner löschen oder?

                        Da geht nichts schief .

                        1 Reply Last reply Reply Quote 0
                        • Thomas Braun
                          Thomas Braun Most Active @tobasium last edited by

                          @tobasium sagte in Kein Update mehr möglich mit Node.js 16:

                          ich kann ja nicht auf gut glück ordner löschen oder?

                          Nicht auf gut Glück, sondern die benannten Verzeichnisse löschen.

                          tobasium 1 Reply Last reply Reply Quote 0
                          • tobasium
                            tobasium @Thomas Braun last edited by

                            @thomas-braun also mein Test mit down und upgrade funktioniert jetzt. Ich muss schauen ob es das war vielen Dank fürs erste.

                            1 Reply Last reply Reply Quote 0
                            • Negalein
                              Negalein Global Moderator @Thomas Braun last edited by

                              @thomas-braun sagte in Kein Update mehr möglich mit Node.js 16:

                              Dann lösch auch das Verzeichnis.

                              Danke, jetzt laufen wieder alle Updates!

                              Hi Thomas!

                              Es lief einige Zeit gut mit den Updates und von heute auf morgen wieder der Error 25.

                              Warum jetzt wieder ohne irgendwelche Änderungen?
                              Wäre Admin 6 besser?

                              $ iobroker upgrade alexa2@3.15.2
                              Update alexa2 from @3.12.0 to @3.15.2
                              NPM version: 8.11.0
                              Installing iobroker.alexa2@3.15.2... (System call)
                              host.ioBroker Cannot install iobroker.alexa2@3.15.2: 217
                              ERROR: Process exited with code 25
                              
                              Thomas Braun 1 Reply Last reply Reply Quote 0
                              • Thomas Braun
                                Thomas Braun Most Active @Negalein last edited by

                                @negalein

                                iobroker update
                                iobroker upgrade alexa2 --debug
                                
                                Negalein 1 Reply Last reply Reply Quote 0
                                • Negalein
                                  Negalein Global Moderator @Thomas Braun last edited by

                                  @thomas-braun sagte in Kein Update mehr möglich mit Node.js 16:

                                  iobroker update

                                  nega@ioBroker:/opt/iobroker$ iobroker update
                                  Used repository: Beta (latest)
                                  Adapter    "admin"        : 6.1.11   , installed 5.4.9  [Updatable]
                                  Adapter    "alexa-timer-vis": 0.1.13 , installed 0.1.13
                                  Adapter    "alexa2"       : 3.16.1   , installed 3.12.0 [Updatable]
                                  Adapter    "alias-manager": 1.2.6    , installed 1.2.6
                                  Adapter    "backitup"     : 2.4.10   , installed 2.4.9  [Updatable]
                                  Adapter    "birthdays"    : 2.1.0    , installed 2.1.0
                                  Adapter    "bring"        : 1.8.1    , installed 1.8.1
                                  Adapter    "cloud"        : 4.2.0    , installed 4.1.2  [Updatable]
                                  Adapter    "daswetter"    : 3.1.3    , installed 3.1.3
                                  Adapter    "denon"        : 1.13.4   , installed 1.13.4
                                  Adapter    "devices"      : 1.0.12   , installed 1.0.12
                                  Adapter    "discovery"    : 3.0.5    , installed 3.0.5
                                  Adapter    "doorbird"     : 0.1.5    , installed 0.1.5
                                  Adapter    "dwd"          : 2.8.3    , installed 2.8.3
                                  Adapter    "email"        : 1.1.3    , installed 1.1.3
                                  Adapter    "eventlist"    : 1.0.1    , installed 1.0.1
                                  Adapter    "feiertage"    : 1.1.0    , installed 1.1.0
                                  Adapter    "flot"         : 1.11.0   , installed 1.11.0
                                  Adapter    "fronius"      : 1.1.3    , installed 1.1.6
                                  Adapter    "harmony"      : 1.2.2    , installed 1.2.2
                                  Adapter    "history"      : 2.1.7    , installed 2.1.7
                                  Adapter    "hm-rega"      : 3.0.40   , installed 3.0.40
                                  Adapter    "hm-rpc"       : 1.15.12  , installed 1.15.12
                                  Adapter    "hs100"        : 2.0.7    , installed 2.1.2
                                  Adapter    "hue"          : 3.7.0    , installed 3.7.0
                                  Adapter    "ical"         : 1.13.1   , installed 1.13.1
                                  Adapter    "icons-addictive-flavour-png": 0.1.0, installed 0.1.0
                                  Adapter    "icons-fatcow-hosting": 0.1.0, installed 0.1.0
                                  Adapter    "icons-icons8" : 0.0.1    , installed 0.0.1
                                  Adapter    "icons-material-png": 0.1.0, installed 0.1.0
                                  Adapter    "icons-material-svg": 0.1.0, installed 0.1.0
                                  Adapter    "icons-mfd-png": 1.1.0    , installed 1.1.0
                                  Adapter    "icons-mfd-svg": 1.1.0    , installed 1.1.0
                                  Adapter    "icons-open-icon-library-png": 0.1.2, installed 0.1.2
                                  Adapter    "icons-ultimate-png": 1.0.1, installed 1.0.1
                                  Adapter    "influxdb"     : 3.1.7    , installed 3.1.7
                                  Adapter    "info"         : 1.9.19   , installed 1.9.19
                                  Adapter    "iot"          : 1.11.8   , installed 1.11.8
                                  Adapter    "iqontrol"     : 2.0.1    , installed 2.0.1
                                  Adapter    "jarvis"       : 3.0.11   , installed 3.1.0-alpha.23
                                  Adapter    "javascript"   : 5.8.5    , installed 5.7.0  [Updatable]
                                  Controller "js-controller": 4.0.23   , installed 4.0.23
                                  Adapter    "linkeddevices": 1.5.5    , installed 1.5.5
                                  Adapter    "linux-control": 1.1.5    , installed 1.1.5
                                  Adapter    "logparser"    : 1.1.0    , installed 1.1.0
                                  Adapter    "meteoalarm"   : 2.2.0    , installed 2.1.5  [Updatable]
                                  Adapter    "mihome"       : 1.4.0    , installed 1.4.0
                                  Adapter    "mytime"       : 0.7.12   , installed 0.7.12
                                  Adapter    "nina"         : 0.0.25   , installed 0.0.25
                                  Adapter    "node-red"     : 3.3.1    , installed 3.3.1
                                  Adapter    "nut"          : 1.5.1    , installed 1.5.1
                                  Adapter    "octoprint"    : 4.0.0    , installed 4.0.0
                                  Adapter    "parser"       : 1.1.8    , installed 1.1.8
                                  Adapter    "pegelalarm"   : 1.2.8    , installed 1.2.8
                                  Adapter    "pi-hole"      : 1.3.4    , installed 1.3.4
                                  Adapter    "ping"         : 1.5.3    , installed 1.5.3
                                  Adapter    "plex"         : 0.9.1    , installed 0.9.1
                                  Adapter    "pollenflug"   : 1.0.6    , installed 1.0.6
                                  Adapter    "proxmox"      : 1.3.4    , installed 1.3.4
                                  Adapter    "proxy"        : 1.3.1    , installed 1.3.1
                                  Adapter    "puppeteer"    : 0.2.1    , installed 0.2.1
                                  Adapter    "seq"          : 0.2.10   , installed 0.2.10
                                  Adapter    "shelly"       : 6.0.0    , installed 5.3.2  [Updatable]
                                  Adapter    "shuttercontrol": 1.4.14  , installed 1.4.14
                                  Adapter    "simple-api"   : 2.7.0    , installed 2.7.0
                                  Adapter    "snmp"         : 1.0.0    , installed 1.0.0
                                  Adapter    "socketio"     : 6.1.8    , installed 6.1.7  [Updatable]
                                  Adapter    "sourceanalytix": 0.4.14  , installed 0.4.14
                                  Adapter    "synology"     : 2.1.9    , installed 2.1.8  [Updatable]
                                  Adapter    "telegram"     : 1.14.1   , installed 1.13.0 [Updatable]
                                  Adapter    "trashschedule": 2.0.3    , installed 2.0.3
                                  Adapter    "unifi"        : 0.6.1    , installed 0.6.1
                                  Adapter    "vis"          : 1.4.15   , installed 1.4.15
                                  Adapter    "vis-bars"     : 0.1.4    , installed 0.1.4
                                  Adapter    "vis-canvas-gauges": 0.1.5, installed 0.1.5
                                  Adapter    "vis-colorpicker": 1.2.0  , installed 1.2.0
                                  Adapter    "vis-fancyswitch": 1.1.0  , installed 1.1.0
                                  Adapter    "vis-google-fonts": 1.0.3 , installed 1.0.3
                                  Adapter    "vis-history"  : 1.0.0    , installed 1.0.0
                                  Adapter    "vis-hqwidgets": 1.2.0    , installed 1.2.0
                                  Adapter    "vis-icontwo"  : 0.87.0   , installed 0.87.0
                                  Adapter    "vis-inventwo" : 3.3.3    , installed 3.3.3
                                  Adapter    "vis-jqui-mfd" : 1.0.12   , installed 1.0.12
                                  Adapter    "vis-justgage" : 1.0.2    , installed 1.0.2
                                  Adapter    "vis-map"      : 1.0.4    , installed 1.0.4
                                  Adapter    "vis-material" : 0.1.3    , installed 0.1.3
                                  Adapter    "vis-materialdesign": 0.5.9, installed 0.5.5 [Updatable]
                                  Adapter    "vis-metro"    : 1.2.0    , installed 1.2.0
                                  Adapter    "vis-players"  : 0.1.6    , installed 0.1.6
                                  Adapter    "vis-rgraph"   : 0.0.2    , installed 0.0.2
                                  Adapter    "vis-timeandweather": 1.2.2, installed 1.1.7 [Updatable]
                                  Adapter    "vis-weather"  : 2.5.5    , installed 2.5.5
                                  Adapter    "weatherunderground": 3.4.2, installed 3.4.2
                                  Adapter    "web"          : 5.2.4    , installed 5.2.3  [Updatable]
                                  Adapter    "web-speedy"   : 0.2.0    , installed 0.2.0
                                  Adapter    "wireguard"    : 1.3.1    , installed 1.3.1
                                  Adapter    "ws"           : 2.1.3    , installed 2.1.2  [Updatable]
                                  nega@ioBroker:/opt/iobroker$
                                  

                                  iobroker upgrade alexa2 --debug

                                  nega@ioBroker:/opt/iobroker$ iobroker upgrade alexa2 --debug
                                  
                                  This upgrade of "alexa2" will at least introduce the following changes:
                                  ==========================================================================
                                  -> 3.16.1:
                                  Fix deletion and cancellation of Alarms and Reminders
                                  
                                  -> 3.16.0:
                                  Add (official) support for Music-Alarms - they are now listed under "Alarms" together with the other Alarms! The "sound" list will contain teh device specific music targets - so you can basically zse the ones that you created at least once via voice commands.
                                  For a Music Alarm the "customVolume" on the aram is used to set the normal device volume 2s before the alarm but do not (!) reset it afterwards
                                  Prevent crashes on one time Alarms that just triggered
                                  
                                  -> 3.15.2:
                                  Fix case where initialization of the adapter was never finished and so nothing was controllable
                                  
                                  -> 3.15.1:
                                  Convert Smarthome device values if wrong datatype is delivered by device
                                  Add handling for two more battery health states for smart home devices
                                  Fix crash case when initializing notifications
                                  
                                  -> 3.15.0:
                                  IMPORTANT: Format to specify multiple Details on "New" for Alarms and Reminders changed, see documentation!
                                  Huge enhancements for Alarms, Reminders and Fixes
                                  Add new Commands skill and skillYours to start Skills
                                  Add several more Device Preferences
                                  Fix doNotDisturb command broken in 3.14.0
                                  Slow down the initialization of all data a bit, so startup could take longer
                                  
                                  -> 3.14.0:
                                  many feature enhancements for Player and Smart Home Devices states and more, see Changelog in GitHub for all details!
                                  Allow to define if Lists and Smart home devices are synced by the adapter with the Amazon Cloud at all
                                  
                                  -> 3.13.0:
                                  IMPORTANT List Names are now checked for invalid characters and replaced. Might change the name of objects in ioBroker. Old ones need to be deleted manually!
                                  see Changelog for the full list of changes
                                  ==========================================================================
                                  
                                  Would you like to upgrade alexa2 from @3.12.0 to @3.16.1 now? [(y)es, (n)o]: y
                                  Update alexa2 from @3.12.0 to @3.16.1
                                  NPM version: 8.11.0
                                  Installing iobroker.alexa2@3.16.1... (System call)
                                  npm ERR! code ENOTEMPTY
                                  npm ERR! syscall rename
                                  npm ERR! path /opt/iobroker/node_modules/iobroker.javascript/node_modules/inherits
                                  npm ERR! dest /opt/iobroker/node_modules/iobroker.javascript/node_modules/.inherits-n3Ch46Yn
                                  npm ERR! errno -39
                                  npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/iobroker.javascript/node_modules/inherits' -> '/opt/iobroker/node_modules/iobroker.javascript/node_modules/.inherits-n3Ch46Yn'
                                  
                                  npm ERR! A complete log of this run can be found in:
                                  npm ERR!     /home/iobroker/.npm/_logs/2022-07-11T12_39_41_464Z-debug-0.log
                                  host.ioBroker Cannot install iobroker.alexa2@3.16.1: 217
                                  nega@ioBroker:/opt/iobroker$
                                  
                                  Thomas Braun 1 Reply Last reply Reply Quote 0
                                  • Thomas Braun
                                    Thomas Braun Most Active @Negalein last edited by

                                    @negalein sagte in Kein Update mehr möglich mit Node.js 16:

                                    rm -rf /opt/iobroker/node_modules/iobroker.javascript/node_modules/.inherits-n3Ch46Yn
                                    
                                    Negalein 1 Reply Last reply Reply Quote 0
                                    • Negalein
                                      Negalein Global Moderator @Thomas Braun last edited by

                                      @thomas-braun sagte in Kein Update mehr möglich mit Node.js 16:

                                      rm -rf /opt/iobroker/node_modules/iobroker.javascript/node_modules/.inherits-n3Ch46Yn

                                      und das wiederholen, bis keine so komischen -xxxxx mehr kommen?

                                      Thomas Braun 1 Reply Last reply Reply Quote 0
                                      • Thomas Braun
                                        Thomas Braun Most Active @Negalein last edited by

                                        @negalein

                                        Richtig.
                                        Und dann die Adapter alle auf Stand halten (oder auf das Stable-Repo gehen).

                                        Negalein 1 Reply Last reply Reply Quote 0
                                        • Negalein
                                          Negalein Global Moderator @Thomas Braun last edited by

                                          @thomas-braun sagte in Kein Update mehr möglich mit Node.js 16:

                                          Und dann die Adapter alle auf Stand halten (oder auf das Stable-Repo gehen).

                                          nach einer Löschorgie läuft wieder alles.

                                          liegt das daran, dass ich den Admin noch nicht auf 6.x habe (in Kombi mit Beta-Adaptern)?

                                          Thomas Braun 1 Reply Last reply Reply Quote 0
                                          • Thomas Braun
                                            Thomas Braun Most Active @Negalein last edited by

                                            @negalein sagte in Kein Update mehr möglich mit Node.js 16:

                                            liegt das daran, dass ich den Admin noch nicht auf 6.x habe (in Kombi mit Beta-Adaptern)?

                                            Nein, aber es macht total Sinn alle Adapter auf einem aktuellen Stand zu halten. Wenn du das nicht für Beta-Versionen kannst oder willst: Das Stable-Repo ist für dich das richtige.

                                            Negalein 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            845
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            node js
                                            16
                                            335
                                            35346
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo