Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Einsteigerfragen
    4. JS-Controller update, was jetzt

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    JS-Controller update, was jetzt

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

      @thomas-braun

      pi@raspberrypi:~ $ uname -m && type -P nodejs node npm && nodejs -v && node -v && npm -v && whoami && groups && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
      armv7l
      /usr/bin/nodejs
      /usr/bin/node
      /usr/bin/npm
      v16.18.0
      v16.18.0
      8.19.2
      pi
      pi adm dialout cdrom sudo audio video plugdev games users input netdev gpio i2c spi iobroker
      /home/pi
      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
      All packages are up to date.
      nodejs:
        Installed: 16.18.0-deb-1nodesource1
        Candidate: 16.18.0-deb-1nodesource1
        Version table:
       *** 16.18.0-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~deb10u2 500
              500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
      
      
      Thomas Braun 1 Reply Last reply Reply Quote 0
      • Thomas Braun
        Thomas Braun Most Active @silbroker last edited by

        @silbroker

        iobroker restart
        iobroker status
        
        S 1 Reply Last reply Reply Quote 0
        • S
          silbroker @Thomas Braun last edited by

          @thomas-braun

          pi@raspberrypi:~ $ iobroker restart
          pi@raspberrypi:~ $ iobroker status
          node:internal/modules/cjs/loader:988
            throw err;
            ^
          
          Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
              at Function.Module._resolveFilename (node:internal/modules/cjs/loader:985:15)
              at Function.Module._load (node:internal/modules/cjs/loader:833:27)
              at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
              at node:internal/main/run_main_module:22:47 {
            code: 'MODULE_NOT_FOUND',
            requireStack: []
          }
          pi@raspberrypi:~ $
          
          
          Thomas Braun 1 Reply Last reply Reply Quote 0
          • Thomas Braun
            Thomas Braun Most Active @silbroker last edited by

            @silbroker

            iobroker stop
            cd /opt/iobroker
            sudo -H -u iobroker npm install iobroker.js-controller
            iobroker start
            
            S 1 Reply Last reply Reply Quote 0
            • S
              silbroker @Thomas Braun last edited by

              @thomas-braun sagte in JS-Controller update, was jetzt:

              iobroker start

              pi@raspberrypi:~ $ cd /opt/iobroker
              pi@raspberrypi:/opt/iobroker $
              pi@raspberrypi:/opt/iobroker $ sudo -H -u iobroker npm install iobroker.js-controller
              npm WARN old lockfile
              npm WARN old lockfile The package-lock.json file was created with an old version of npm,
              npm WARN old lockfile so supplemental metadata must be fetched from the registry.
              npm WARN old lockfile
              npm WARN old lockfile This is a one-time fix-up, please be patient...
              npm WARN old lockfile
              npm WARN deprecated @types/keyv@4.2.0: This is a stub types definition. keyv provides its own type definitions, so you do not need this installed.
              
              added 682 packages, removed 21 packages, and changed 29 packages in 2m
              
              101 packages are looking for funding
                run `npm fund` for details
              pi@raspberrypi:/opt/iobroker $ iobroker start
              
              

              jetzt ist sie wieder online. Muss ich sonst noch etwas machen / beachten?

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

                @silbroker

                iobroker update -i
                iobroker status
                
                S 1 Reply Last reply Reply Quote 0
                • S
                  silbroker @Thomas Braun last edited by

                  @thomas-braun

                  
                  pi@raspberrypi:/opt/iobroker $ iobroker update -i
                  Used repository: beta
                  Adapter    "admin"        : 6.2.23   , installed 4.1.12 [Updatable]
                  Adapter    "deconz"       : 1.3.21   , installed 2.0.5
                  Adapter    "discovery"    : 3.1.0    , installed 3.1.0
                  Adapter    "info"         : 1.9.21   , installed 1.9.21
                  Adapter    "jarvis"       : 3.0.15   , installed 2.2.5  [Updatable]
                  Adapter    "javascript"   : 6.0.3    , installed 4.10.8 [Updatable]
                  Controller "js-controller": 4.0.23   , installed 4.0.23
                  Adapter    "loxone"       : 3.0.0    , installed 2.2.3  [Updatable]
                  Adapter    "rpi2"         : 1.3.2    , installed 1.3.1  [Updatable]
                  Adapter    "shelly"       : 6.2.4    , installed 4.1.2  [Updatable]
                  Adapter    "simple-api"   : 2.7.2    , installed 2.7.2
                  Adapter    "socketio"     : 6.1.10   , installed 3.1.5  [Updatable]
                  Adapter    "sonos"        : 2.2.3    , installed 2.1.1  [Updatable]
                  Adapter    "vis"          : 1.4.15   , installed 1.4.15
                  Adapter    "vis-inventwo" : 3.3.3    , installed 3.3.3
                  Adapter    "web"          : 5.2.10   , installed 3.1.0  [Updatable]
                  pi@raspberrypi:/opt/iobroker $ iobroker status
                  iobroker is running on this host.
                  
                  
                  Objects type: jsonl
                  States  type: jsonl
                  pi@raspberrypi:/opt/iobroker $
                  
                  
                  Thomas Braun 2 Replies Last reply Reply Quote 0
                  • Thomas Braun
                    Thomas Braun Most Active @silbroker last edited by

                    @silbroker Was willste denn mit dem alten Kram beta-testen?
                    Stell das Repo auf stable und dann zieh das alles auf den stabilen Stand.

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

                      @silbroker sagte in JS-Controller update, was jetzt:

                      Adapter "deconz" : 1.3.21 , installed 2.0.5

                      Und was ist das für eine Version?

                      deconz
                      github:	1.3.21
                      latest:	1.3.21 for 5 months
                      stable:	1.3.21 for 5 months
                      
                      S 1 Reply Last reply Reply Quote 0
                      • S
                        silbroker @Thomas Braun last edited by

                        @thomas-braun

                        Das konnte ich nicht updaten weil der JS-Controller zu alt war. 🤔

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

                          @silbroker sagte in JS-Controller update, was jetzt:

                          Das konnte ich nicht updaten weil der JS-Controller zu alt war.

                          Und nicht nur der...

                          iob repo list
                          
                          S 1 Reply Last reply Reply Quote 0
                          • S
                            silbroker @Thomas Braun last edited by

                            @thomas-braun

                            wie schalte ich diesen auf stable

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

                              @silbroker sagte in JS-Controller update, was jetzt:

                              wie schalte ich diesen auf stable

                              Da wo du es auch auf Beta umgestellt hast.
                              Oder über die Kommandozeile.

                              iob repo list
                              

                              posten.

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

                                @thomas-braun

                                pi@raspberrypi:/opt/iobroker $ iob repo list
                                stable        : http://download.iobroker.net/sources-dist.json
                                beta          : http://download.iobroker.net/sources-dist-latest.json
                                
                                Active repo(s): beta
                                
                                
                                Thomas Braun 1 Reply Last reply Reply Quote 0
                                • Thomas Braun
                                  Thomas Braun Most Active @silbroker last edited by

                                  @silbroker

                                  iobroker repo unset beta
                                  iobroker repo set stable
                                  iobroker update
                                  
                                  S 1 Reply Last reply Reply Quote 0
                                  • S
                                    silbroker @Thomas Braun last edited by

                                    @thomas-braun

                                    pi@raspberrypi:/opt/iobroker $ iobroker update
                                    Used repository: stable
                                    Adapter    "admin"        : 6.2.23   , installed 6.2.23
                                    Adapter    "deconz"       : 1.3.21   , installed 2.0.5
                                    Adapter    "discovery"    : 3.0.5    , installed 3.1.0
                                    Adapter    "info"         : 1.9.19   , installed 1.9.21
                                    Adapter    "jarvis"       : 3.0.15   , installed 2.2.5  [Updatable]
                                    Adapter    "javascript"   : 6.0.3    , installed 4.10.8 [Updatable]
                                    Controller "js-controller": 4.0.23   , installed 4.0.23
                                    Adapter    "loxone"       : 3.0.0    , installed 2.2.3  [Updatable]
                                    Adapter    "rpi2"         : 1.3.2    , installed 1.3.1  [Updatable]
                                    Adapter    "shelly"       : 6.0.0    , installed 4.1.2  [Updatable]
                                    Adapter    "simple-api"   : 2.7.0    , installed 2.7.2
                                    Adapter    "socketio"     : 4.2.0    , installed 3.1.5  [Updatable]
                                    Adapter    "sonos"        : 2.2.3    , installed 2.1.1  [Updatable]
                                    Adapter    "vis"          : 1.4.15   , installed 1.4.15
                                    Adapter    "vis-inventwo" : 3.3.1    , installed 3.3.3
                                    Adapter    "web"          : 4.3.0    , installed 3.1.0  [Updatable]
                                    

                                    Was ist den die repo beta?

                                    Thomas Braun 2 Replies Last reply Reply Quote 0
                                    • Thomas Braun
                                      Thomas Braun Most Active @silbroker last edited by

                                      @silbroker sagte in JS-Controller update, was jetzt:

                                      Was ist den die repo beta?

                                      Der Beta-Kanal. Aber wozu fährst du Beta, wenn du dein System eh nicht auf Stand hältst?

                                      Bring das jetzt auf Stand.

                                      iobroker upgrade all
                                      
                                      1 Reply Last reply Reply Quote 0
                                      • Thomas Braun
                                        Thomas Braun Most Active @silbroker last edited by

                                        @silbroker

                                        Und den deconz kannste wieder auf V1 bringen, ich glaube die Entwicklung von V2 wurde eingestellt.

                                        iobroker upgrade deconz@1.3.21
                                        
                                        S 1 Reply Last reply Reply Quote 0
                                        • S
                                          silbroker @Thomas Braun last edited by

                                          @thomas-braun

                                          So jetzt bin ich wieder aktuell. Danke viel Mals. wie oft muss ich das updaten?

                                          pi@raspberrypi:/opt/iobroker $ iobroker update
                                          Used repository: stable
                                          Adapter    "admin"        : 6.2.23   , installed 6.2.23
                                          Adapter    "deconz"       : 1.3.21   , installed 1.3.21
                                          Adapter    "discovery"    : 3.0.5    , installed 3.1.0
                                          Adapter    "info"         : 1.9.19   , installed 1.9.21
                                          Adapter    "jarvis"       : 3.0.15   , installed 3.0.15
                                          Adapter    "javascript"   : 6.0.3    , installed 6.0.3
                                          Controller "js-controller": 4.0.23   , installed 4.0.23
                                          Adapter    "loxone"       : 3.0.0    , installed 3.0.0
                                          Adapter    "rpi2"         : 1.3.2    , installed 1.3.2
                                          Adapter    "shelly"       : 6.0.0    , installed 6.0.0
                                          Adapter    "simple-api"   : 2.7.0    , installed 2.7.2
                                          Adapter    "socketio"     : 4.2.0    , installed 4.2.0
                                          Adapter    "sonos"        : 2.2.3    , installed 2.2.3
                                          Adapter    "vis"          : 1.4.15   , installed 1.4.15
                                          Adapter    "vis-inventwo" : 3.3.1    , installed 3.3.3
                                          Adapter    "web"          : 4.3.0    , installed 4.3.0
                                          Adapter    "ws"           : 1.3.0    , installed 1.3.0
                                          
                                          
                                          Thomas Braun 1 Reply Last reply Reply Quote 0
                                          • Thomas Braun
                                            Thomas Braun Most Active @silbroker last edited by

                                            @silbroker sagte in JS-Controller update, was jetzt:

                                            wie oft muss ich das updaten?

                                            Öfter als bisher/ (aka nie...)
                                            Knöpf dir das alle paar Wochen / 1x im Monat vor.
                                            Und zwar das Gesamtsystem aus Betriebssytem und dem ioBroker. Befehle dafür hast du ja jetzt.

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            580
                                            Online

                                            31.7k
                                            Users

                                            79.7k
                                            Topics

                                            1.3m
                                            Posts

                                            2
                                            47
                                            3465
                                            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