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

    • Neuer Blog: Fotos und Eindrücke aus Solingen

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    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:~ $ 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
                                        • S
                                          silbroker @Thomas Braun last edited by

                                          @thomas-braun

                                          Ok,

                                          die Reihenfolge ist node
                                          danach JS-Controller
                                          danach ioBroker?

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

                                            @silbroker

                                            Du hast das Betriebssystem vergessen...

                                            sudo apt update
                                            sudo apt full-upgrade
                                            

                                            (im Zweifel einen Reboot danach)

                                            sudo reboot
                                            iobroker update
                                            iobroker upgrade
                                            

                                            nodejs fließt (im 16er-Zweig) mit den Updates des Betriebssystems mit.

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            928
                                            Online

                                            31.9k
                                            Users

                                            80.2k
                                            Topics

                                            1.3m
                                            Posts

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