Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. Fehler beim js-controller update

    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

    Fehler beim js-controller update

    This topic has been deleted. Only users with topic management privileges can see it.
    • H
      headder9999 @Thomas Braun last edited by

      @thomas-braun

      zu nodeJS:

      user@iobroker-pi:/opt/iobroker $ which nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
      /usr/bin/nodejs
      /usr/bin/node
      /usr/bin/npm
      v16.14.2
      v16.14.2
      8.5.0
      pi
      /opt/iobroker
      Hit:1 http://phoscon.de/apt/deconz buster InRelease
      Hit:2 http://raspbian.raspberrypi.org/raspbian buster InRelease
      Hit:3 http://archive.raspberrypi.org/debian buster InRelease
      Hit:4 https://deb.nodesource.com/node_16.x buster InRelease
      Reading package lists... Done
      Building dependency tree
      Reading state information... Done
      97 packages can be upgraded. Run 'apt list --upgradable' to see them.
      nodejs:
        Installed: 16.14.2-deb-1nodesource1
        Candidate: 16.14.2-deb-1nodesource1
        Version table:
       *** 16.14.2-deb-1nodesource1 500
              500 https://deb.nodesource.com/node_16.x buster/main armhf Packages
              100 /var/lib/dpkg/status
           10.24.0~dfsg-1~deb10u1 500
              500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
      
      
      H 1 Reply Last reply Reply Quote 0
      • H
        headder9999 @headder9999 last edited by

        @headder9999
        sry, ich tue mich schwer es umzubenennen... 😞

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

          @headder9999

          97 packages can be upgraded

          Das würde ich als erstes in Ordnung bringen...

          iobroker stop
          sudo apt update
          sudo apt full-upgrade
          sudo reboot
          

          Dann sehen wir weiter. Mach das regelmäßig! Bislang ist das System wohl so gut wie nie aktualisiert worden.

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

            @thomas-braun sagte in Fehler beim js-controller update:

            sudo reboot

            habe ich gemacht. danach noch einmal "iobroker upgrade self" probiert. gleiche fehlermeldung wie oben 😞

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

              @headder9999
              Das war auch nicht anders zu erwarten.

              System auf Stand?

              sudo apt update
              
              H 1 Reply Last reply Reply Quote 0
              • H
                headder9999 @Thomas Braun last edited by

                @thomas-braun sagte in Fehler beim js-controller update:

                sudo apt update

                yes

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

                  @headder9999 Zeigen.
                  Komplette Ein- und Ausgaben.

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

                    @thomas-braun
                    jawoll 🙂

                    
                    Hit:1 http://archive.raspberrypi.org/debian buster InRelease
                    Hit:2 http://raspbian.raspberrypi.org/raspbian buster InRelease
                    Hit:3 http://phoscon.de/apt/deconz buster InRelease
                    Hit:4 https://deb.nodesource.com/node_16.x buster InRelease
                    Reading package lists... Done
                    Building dependency tree
                    Reading state information... Done
                    All packages are up to date.
                    
                    
                    Thomas Braun 1 Reply Last reply Reply Quote 0
                    • Thomas Braun
                      Thomas Braun Most Active @headder9999 last edited by Thomas Braun

                      @headder9999

                      iobroker update -i
                      

                      Komplette Ein- und Ausgabe bedeutet inkl. Eingabezeile / prompt.

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

                        @thomas-braun
                        so?

                        user@iobroker-pi:~ $ iobroker update -i
                        
                        Used repository: stable
                        hash changed or no sources cached => force download of new sources
                        update done
                        Adapter    "admin"         : 5.3.1    , installed 5.1.23 [Updateable]
                        Adapter    "alarm"         : 3.0.5    , installed 2.0.2 [Updateable]
                        Adapter    "backitup"      : 2.3.3    , installed 2.1.13 [Updateable]
                        Adapter    "discovery"     : 2.7.5    , installed 2.7.0 [Updateable]
                        Adapter    "history"       : 1.10.5   , installed 1.9.13 [Updateable]
                        Adapter    "info"          : 1.9.8    , installed 1.9.8
                        Adapter    "iot"           : 1.8.24   , installed 1.8.22 [Updateable]
                        Adapter    "javascript"    : 5.2.21   , installed 5.2.21
                        Controller "js-controller" : 4.0.21   , installed 3.2.16 [Updateable]
                        Adapter    "net-tools"     : 0.1.7    , installed 0.1.5 [Updateable]
                        Adapter    "ping"          : 1.5.0    , installed 1.5.0
                        Adapter    "plenticore"    : 2.2.0    , installed 2.2.0
                        Adapter    "simple-api"    : 2.6.2    , installed 2.6.1 [Updateable]
                        Adapter    "socketio"      : 4.1.4    , installed 3.1.4 [Updateable]
                        Adapter    "tr-064"        : 4.2.15   , installed 4.2.14 [Updateable]
                        Adapter    "web"           : 4.2.0    , installed 3.4.7 [Updateable]
                        
                        
                        Thomas Braun 1 Reply Last reply Reply Quote 0
                        • Thomas Braun
                          Thomas Braun Most Active @headder9999 last edited by Thomas Braun

                          @headder9999
                          Ja, so.

                          Bist aber eher ein Update-Muffel...

                          iobroker upgrade
                          
                          H 1 Reply Last reply Reply Quote 0
                          • H
                            headder9999 @Thomas Braun last edited by headder9999

                            @thomas-braun

                            beim ersten update kommt gleich wieder ne npm fehlermeldung:

                            user@iobroker-pi:~ $ iobroker upgrade
                            Adapter "accuweather"    is not installed.
                            Adapter "adb"            is not installed.
                            Adapter "adguard"        is not installed.
                            Invalid version of "js-controller". Installed "3.2.16", required ">=3.3.22
                            Adapter "aio"            is not installed.
                            Adapter "airconwithme"   is not installed.
                            Adapter "airzone"        is not installed.
                            
                            This upgrade of "alarm" will at least introduce the following changes:
                            ==========================================================================
                            -> 3.0.5:
                            fixed pushover issue
                            
                            -> 3.0.4:
                            changed burgle concept, added silent alarm at sharp inside, fixed little issues
                            
                            -> 2.2.1:
                            added notification when warnings at beginning night rest
                            
                            -> 2.2.0:
                            added telegram special parameters
                            
                            -> 2.1.2:
                            fixed "colors" vulnerabilities
                            
                            -> 2.1.1:
                            added countdown state for silent alarm
                            
                            -> 2.1.0:
                            extend list states and speech output, added leave option
                            ==========================================================================
                            
                            BE CAREFUL: THIS IS A MAJOR UPGRADE, WHICH WILL MOST LIKELY INTRODUCE BREAKING CHANGES!
                            Would you like to upgrade alarm from @2.0.2 to @3.0.5 now? [(y)es, (n)o]: y
                            Update alarm from @2.0.2 to @3.0.5
                            NPM version: 8.5.0
                            npm install iobroker.alarm@3.0.5 --loglevel error --prefix "/opt/iobroker" (System call)
                            npm ERR! code ENOTEMPTY
                            npm ERR! syscall rename
                            npm ERR! path /opt/iobroker/node_modules/iobroker.javascript
                            npm ERR! dest /opt/iobroker/node_modules/.iobroker.javascript-5NZ432mn
                            npm ERR! errno -39
                            npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/iobroker.javascript' -> '/opt/iobroker/node_modules/.iobroker.javascript-5NZ432mn'
                            
                            npm ERR! A complete log of this run can be found in:
                            npm ERR!     /home/iobroker/.npm/_logs/2022-03-29T20_31_11_681Z-debug-0.log
                            host.iobroker-pi Cannot install iobroker.alarm@3.0.5: 217
                            
                            
                            Thomas Braun 2 Replies Last reply Reply Quote 0
                            • Thomas Braun
                              Thomas Braun Most Active @headder9999 last edited by

                              @headder9999 Alles?

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

                                @headder9999

                                sudo -u iobroker mv /opt/iobroker/node_modules/iobroker.javascript /opt/iobroker/node_modules/.iobroker.javascript-5NZ432mn
                                
                                H 1 Reply Last reply Reply Quote 0
                                • H
                                  headder9999 @Thomas Braun last edited by

                                  @thomas-braun sagte in Fehler beim js-controller update:

                                  sudo -u iobroker mv /opt/iobroker/node_modules/iobroker.javascript /opt/iobroker/node_modules/.iobroker.javascript-5NZ432mn

                                  done

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

                                    @headder9999 Dann nochmal...

                                    iobroker upgrade
                                    
                                    H 1 Reply Last reply Reply Quote 0
                                    • H
                                      headder9999 @Thomas Braun last edited by

                                      @thomas-braun
                                      Hi, da bin ich wieder...

                                      der letzte Befehl brachte nicht den gewünschten Erfolg:

                                      
                                      user@iobroker-pi:~ $ iobroker upgrade
                                      Adapter "accuweather"    is not installed.
                                      Adapter "adb"            is not installed.
                                      Adapter "adguard"        is not installed.
                                      Invalid version of "js-controller". Installed "3.2.16", required ">=3.3.22
                                      Adapter "aio"            is not installed.
                                      Adapter "airconwithme"   is not installed.
                                      Adapter "airzone"        is not installed.
                                      
                                      This upgrade of "alarm" will at least introduce the following changes:
                                      ==========================================================================
                                      -> 3.0.5:
                                      fixed pushover issue
                                      
                                      -> 3.0.4:
                                      changed burgle concept, added silent alarm at sharp inside, fixed little issues
                                      
                                      -> 2.2.1:
                                      added notification when warnings at beginning night rest
                                      
                                      -> 2.2.0:
                                      added telegram special parameters
                                      
                                      -> 2.1.2:
                                      fixed "colors" vulnerabilities
                                      
                                      -> 2.1.1:
                                      added countdown state for silent alarm
                                      
                                      -> 2.1.0:
                                      extend list states and speech output, added leave option
                                      ==========================================================================
                                      
                                      BE CAREFUL: THIS IS A MAJOR UPGRADE, WHICH WILL MOST LIKELY INTRODUCE BREAKING CHANGES!
                                      Would you like to upgrade alarm from @2.0.2 to @3.0.5 now? [(y)es, (n)o]: y
                                      Update alarm from @2.0.2 to @3.0.5
                                      NPM version: 8.5.0
                                      npm install iobroker.alarm@3.0.5 --loglevel error --prefix "/opt/iobroker" (Syst
                                      npm ERR! code ENOTEMPTY
                                      npm ERR! syscall rename
                                      npm ERR! path /opt/iobroker/node_modules/typescript
                                      npm ERR! dest /opt/iobroker/node_modules/.typescript-rKKYB1QG
                                      npm ERR! errno -39
                                      npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/typescript' -> '/opt/iobroker/node_modules/.typescript-rKKYB1QG'
                                      
                                      npm ERR! A complete log of this run can be found in:
                                      npm ERR!     /home/iobroker/.npm/_logs/2022-03-31T16_51_56_784Z-debug-0.log
                                      host.iobroker-pi Cannot install iobroker.alarm@3.0.5: 217
                                      
                                      
                                      Thomas Braun 1 Reply Last reply Reply Quote 0
                                      • Thomas Braun
                                        Thomas Braun Most Active @headder9999 last edited by Thomas Braun

                                        @headder9999

                                        Gleiche Nummer, anderes Modul...
                                        Verzeichnis umbenennen.

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

                                          @thomas-braun

                                          so`?

                                          sudo -u iobroker mv /opt/iobroker/node_modules/iobroker.javascript /opt/iobroker/node_modules/.typescript-rKKYB1QG
                                          
                                          Thomas Braun 1 Reply Last reply Reply Quote 0
                                          • Thomas Braun
                                            Thomas Braun Most Active @headder9999 last edited by

                                            @headder9999
                                            Nein, der Quell-Ordner ist

                                            /opt/iobroker/node_modules/typescript

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            940
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            3
                                            39
                                            4579
                                            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