Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. js-controller 5.0.x jetzt für alle User im STABLE!

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    js-controller 5.0.x jetzt für alle User im STABLE!

    This topic has been deleted. Only users with topic management privileges can see it.
    • apollon77
      apollon77 @daniel.schmitz87 last edited by

      @daniel-schmitz87 Welche Version hat der Slave denn drauf?

      Im Notfall auf dem Slave in /opt/iobroker ein "npm install iobroker.js-controller" ausführen

      D 1 Reply Last reply Reply Quote 0
      • D
        Diamand2k22 @apollon77 last edited by Diamand2k22

        @Thomas-Braun

        evtl. kannst du mir helfen, hab den neuen JS-Controller 6.0.2 aufgespielt und wollte dann wieder zurück auf die 5.0.19 stable.
        Ich glaub ich hab den npm Befehl im falschen Pfad ausgeführt.
        Wie bekomm ich das wieder gerade gebogen? Iobroker läuft soweit aber auf der 6.0.2.

        a6eef455-d191-400d-bc8b-cb7c7643702b-image.png ![0_1718224209234_8faed249-b48e-484e-b125-a7a377ae14e8-image.png](Uploading 100%)

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

          @diamand2k22

          Mit Screenshots kann ich nix anfangen.
          Text immer in Textform in CodeTags eingebettet hier rein.

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

            @thomas-braun

            ok sorry, hab das mal rein gepastet was ich verbrochen habe

            pi4b@pi4b:~$ iob start
            pi4b@pi4b:~$ iob stop
            pi4b@pi4b:~$ npm install iobroker.js-controller@5.0.19
            npm warn deprecated har-validator@5.1.5: this library is no longer supported
            npm warn deprecated uuid@3.4.0: Please upgrade  to version 7 or higher.  Older v                                                                                                                                                             ersions may use Math.random() in certain circumstances, which is known to be pro                                                                                                                                                             blematic.  See https://v8.dev/blog/math-random for details.
            npm warn deprecated request@2.88.2: request has been deprecated, see https://git                                                                                                                                                             hub.com/request/request/issues/3142
            
            added 301 packages, and audited 302 packages in 1m
            
            15 packages are looking for funding
              run `npm fund` for details
            
            19 vulnerabilities (1 low, 17 moderate, 1 high)
            
            To address issues that do not require attention, run:
              npm audit fix
            
            To address all issues (including breaking changes), run:
              npm audit fix --force
            
            Run `npm audit` for details.
            npm notice
            npm notice New minor version of npm available! 10.7.0 -> 10.8.1
            npm notice Changelog: https://github.com/npm/cli/releases/tag/v10.8.1
            npm notice To update run: npm install -g npm@10.8.1
            npm notice
            pi4b@pi4b:~$ iob fix
            library: loaded
            Library version=2024-05-24
            
            ==========================================================================
            
                Welcome to the ioBroker installation fixer!
                Script version: 2024-01-04
            
                You might need to enter your password a couple of times.
            
            ==========================================================================
            
            
            ==========================================================================
                Installing prerequisites (1/5)
            ==========================================================================
            
            OK:1 http://deb.debian.org/debian bookworm InRelease
            OK:2 http://deb.debian.org/debian bookworm-updates InRelease
            OK:3 http://security.debian.org/debian-security bookworm-security InRelease
            OK:4 http://archive.raspberrypi.org/debian bookworm InRelease
            OK:5 https://apt.grafana.com stable InRelease
            OK:6 https://repos.influxdata.com/debian stable InRelease
            OK:7 https://deb.nodesource.com/node_20.x nodistro InRelease
            Paketlisten werden gelesen… Fertig
            
            ==========================================================================
                Checking ioBroker user and directory permissions (2/5)
            ==========================================================================
            
            Created /etc/sudoers.d/iobroker
            Fixing directory permissions...
            
            ==========================================================================
                Check and cleanup npm temporary directories (3/5)
            ==========================================================================
            
            Done.
            
            ==========================================================================
                Database maintenance (4/5)
            ==========================================================================
            
            Checking for uncompressed JSONL databases... This might take a while!
            
            Compressing /opt/iobroker/iobroker-data/states.jsonl
            Compressing /opt/iobroker/iobroker-data/objects.jsonl
            Compressed 2 JSONL files. Done
            
            ==========================================================================
                Checking autostart (5/5)
            ==========================================================================
            
            Enabling autostart...
            Autostart enabled!
            
            ==========================================================================
            
                Your installation was fixed successfully
                Run iobroker start to start ioBroker again!
            
            ==========================================================================
            
            pi4b@pi4b:~$ iob start
            
            
            Thomas Braun 1 Reply Last reply Reply Quote 0
            • Thomas Braun
              Thomas Braun Most Active @Diamand2k22 last edited by

              @diamand2k22

              npm ls
              ls -la
              
              D 1 Reply Last reply Reply Quote 0
              • D
                Diamand2k22 @Thomas Braun last edited by Diamand2k22

                @thomas-braun

                pi4b@pi4b:~$ npm ls
                pi4b@ /home/pi4b
                └── iobroker.js-controller@5.0.19
                
                pi4b@pi4b:~$ ls -la
                insgesamt 312
                drwxr-xr-x  11 pi4b pi4b   4096 12. Jun 22:20  .
                drwxr-xr-x   4 root root   4096 28. Okt 2022   ..
                -rw-------   1 pi4b pi4b  11547  6. Jun 22:41  .bash_history
                -rw-------   1 pi4b pi4b      0 12. Jun 2023   .bash_history-02453.tmp
                -rw-------   1 pi4b pi4b      0 24. Jun 2023   .bash_history-21134.tmp
                -rw-------   1 pi4b pi4b      0  3. Jul 2023   .bash_history-23774.tmp
                -rw-------   1 pi4b pi4b      0 18. Jun 2023   .bash_history-64434.tmp
                -rw-r--r--   1 pi4b pi4b    193 12. Jun 22:20  .bashrc
                drwxr-xr-x   5 pi4b pi4b   4096  6. Dez 2023   .cache
                drwxr-xr-x   4 pi4b pi4b   4096 25. Jun 2023   cc2538-bsl
                drwx------   3 pi4b pi4b   4096  5. Dez 2023   .config
                -rw-r--r--   1 pi4b pi4b   1684 26. Jan 2023   influxdata-archive_compat.key
                drwx------   3 pi4b pi4b   4096  4. Nov 2022   .influxdbv2
                -rwxr-xr--   1 pi4b pi4b    109 12. Jun 22:19  iob
                drwxr-xr-x   2 pi4b pi4b   4096  4. Nov 2022   .iobroker
                -rwxr-xr--   1 pi4b pi4b    109 12. Jun 22:19  iobroker
                drwxr-xr-x   3 pi4b pi4b   4096 12. Jun 22:19  iobroker-data
                -rw-------   1 pi4b pi4b     20  6. Jun 22:41  .lesshst
                drwxr-xr-x   3 pi4b pi4b   4096 15. Nov 2022   .local
                drwxr-xr-x 254 pi4b pi4b  12288 12. Jun 22:19  node_modules
                drwxr-xr-x   5 pi4b pi4b   4096  6. Dez 2023   .npm
                -rw-r--r--   1 pi4b pi4b     68 12. Jun 22:19  package.json
                -rw-r--r--   1 pi4b pi4b 218922 12. Jun 22:19  package-lock.json
                -rw-r--r--   1 pi4b pi4b      0 12. Jun 2023   .sudo_as_admin_successful
                -rw-r--r--   1 pi4b pi4b    215 25. Jun 2023   .wget-hsts
                -rw-r--r--   1 pi4b pi4b    477 16. Sep 2023  'ystemctl status zigbee2mqtt.service'
                pi4b@pi4b:~$
                
                

                6b545bf1-c162-49e2-b4b4-b7d72c0a2ca1-image.png

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

                  @diamand2k22 sagte in js-controller 5.0.x jetzt für alle User im STABLE!:

                  iobroker.js-controller

                  npm uninstall iobroker.js-controller
                  rm -rf node_modules
                  rm package* 
                  rm -rf iob*
                  
                  D 1 Reply Last reply Reply Quote 0
                  • D
                    Diamand2k22 @Thomas Braun last edited by Diamand2k22

                    @thomas-braun

                    okay hab ich soweit gemacht
                    ich denke jetzt passt es wieder oder?

                    pi4b@pi4b:~$ iob stop
                    pi4b@pi4b:~$ npm uninstall iobroker.js-controller
                    
                    removed 301 packages, and audited 1 package in 3s
                    
                    found 0 vulnerabilities
                    pi4b@pi4b:~$ rm -rf node_modules
                    pi4b@pi4b:~$ rm package*
                    pi4b@pi4b:~$ rm -rf iob*
                    pi4b@pi4b:~$ npm ls
                    /home/pi4b
                    └── (empty)
                    
                    pi4b@pi4b:~$ ls -la
                    insgesamt 68
                    drwxr-xr-x 9 pi4b pi4b  4096 12. Jun 22:42  .
                    drwxr-xr-x 4 root root  4096 28. Okt 2022   ..
                    -rw------- 1 pi4b pi4b 11547  6. Jun 22:41  .bash_history
                    -rw------- 1 pi4b pi4b     0 12. Jun 2023   .bash_history-02453.tmp
                    -rw------- 1 pi4b pi4b     0 24. Jun 2023   .bash_history-21134.tmp
                    -rw------- 1 pi4b pi4b     0  3. Jul 2023   .bash_history-23774.tmp
                    -rw------- 1 pi4b pi4b     0 18. Jun 2023   .bash_history-64434.tmp
                    -rw-r--r-- 1 pi4b pi4b   193 12. Jun 22:20  .bashrc
                    drwxr-xr-x 5 pi4b pi4b  4096  6. Dez 2023   .cache
                    drwxr-xr-x 4 pi4b pi4b  4096 25. Jun 2023   cc2538-bsl
                    drwx------ 3 pi4b pi4b  4096  5. Dez 2023   .config
                    -rw-r--r-- 1 pi4b pi4b  1684 26. Jan 2023   influxdata-archive_compat.key
                    drwx------ 3 pi4b pi4b  4096  4. Nov 2022   .influxdbv2
                    drwxr-xr-x 2 pi4b pi4b  4096  4. Nov 2022   .iobroker
                    -rw------- 1 pi4b pi4b    20  6. Jun 22:41  .lesshst
                    drwxr-xr-x 3 pi4b pi4b  4096 15. Nov 2022   .local
                    drwxr-xr-x 5 pi4b pi4b  4096  6. Dez 2023   .npm
                    -rw-r--r-- 1 pi4b pi4b     0 12. Jun 2023   .sudo_as_admin_successful
                    -rw-r--r-- 1 pi4b pi4b   215 25. Jun 2023   .wget-hsts
                    -rw-r--r-- 1 pi4b pi4b   477 16. Sep 2023  'ystemctl status zigbee2mqtt.service'
                    pi4b@pi4b:~$
                    
                    

                    in welchem Verzeichnis führe ich den Befehl

                    npm install iobroker.js-controller@5.0.19
                    

                    aus? sry für die blöde Frage, aber ist schon wieder zu lange her

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

                      @diamand2k22

                      Steht im allerersten Post in diesem Thread...

                      cd /opt/iobroker
                      sudo -H -u iobroker npm install iobroker.js-controller@5.0.19
                      
                      D 1 Reply Last reply Reply Quote 0
                      • D
                        Diamand2k22 @Thomas Braun last edited by

                        @thomas-braun

                        danke dir, hab das aus dem JS Controller 6.0 Thread, da Stand es leider nicht drin.

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

                          @diamand2k22

                          Doch... 😉

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

                            @thomas-braun

                            ok...jetzt habe ich es gesehen, wer lesen kann ist klar im Vorteil 😁 tja wenn man immer alles schnell schnell macht 😲

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

                              @diamand2k22 sagte in js-controller 5.0.x jetzt für alle User im STABLE!:

                              tja wenn man immer alles schnell schnell macht

                              Kannste machen, wenn du sattelfest bist.

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

                              Support us

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

                              754
                              Online

                              31.7k
                              Users

                              79.6k
                              Topics

                              1.3m
                              Posts

                              js-controller stable upgrade
                              82
                              509
                              100551
                              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