Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. js-controller 3.0/3.1 jetzt im Latest!

    NEWS

    • Monatsrückblick - April 2025

    • Minor js-controller 7.0.7 Update in latest repo

    • Save The Date: ioBroker@Smart Living Forum Solingen, 14.06.

    js-controller 3.0/3.1 jetzt im Latest!

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

      @Thomas-Braun

      kann sein... wüsste aber nicht wie und woher..

      müsste nun das iobroker update und iobroker upgrade gehen?

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

        Und was ist nach der Aktion der Pfad von npm?
        Bei mir ist es auch unter "/usr/local/bin/npm" und alles läuft seit über 12 Monaten perfekt.

        F Thomas Braun 3 Replies Last reply Reply Quote 0
        • F
          freak1051 @Diginix last edited by freak1051

          @Diginix

          iobroker@iobroker:~$ which nodejs && which node && which npm
          /usr/bin/nodejs
          /usr/bin/node
          /usr/bin/npm
          
          
          1 Reply Last reply Reply Quote 0
          • Thomas Braun
            Thomas Braun Most Active @Diginix last edited by Thomas Braun

            @Diginix

            Dann hast du das auch mal irgendwann quer installiert.

            pi@raspberrypi:/opt/iobroker $ which npm
            /usr/bin/npm
            
            1 Reply Last reply Reply Quote 0
            • F
              freak1051 @Diginix last edited by

              @Diginix bei mir läuft eig auch alles,... bius auf das Update ^^

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

                @freak1051

                iobroker update
                iobroker upgrade
                
                F 1 Reply Last reply Reply Quote 0
                • Diginix
                  Diginix last edited by Diginix

                  Ok, auch das funktioniert bei mir immer egal ob Controller oder Adapter mit npm in /usr/local.

                  @Thomas-Braun Nicht das ich wüsste, aber ok. Geht bei den o.s. Befehlen irgendwas verloren?
                  Oder ist danach alles wie zuvor nur npm unter /usr/bin?

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

                    @Diginix 'Richtig' ist das aber nicht auf einem Debian mit nodesource-Paket.

                    Diginix 1 Reply Last reply Reply Quote 0
                    • F
                      freak1051 @Thomas Braun last edited by freak1051

                      @Thomas-Braun

                      iobroker@iobroker:~$ iobroker update
                      Used repository: latest
                      hash changed or no sources cached => force download of new sources
                      Cannot download json from http://download.iobroker.net/sources-dist-latest.json. Error                                    : Error: ESOCKETTIMEDOUT
                      update done
                      
                      
                      iobroker@iobroker:~$ iobroker upgrade
                      /opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupUpgrade.js:155
                              if (adapter.indexOf('@') !== -1) {
                                          ^
                      
                      TypeError: Cannot read property 'indexOf' of undefined
                          at Upgrade.upgradeAdapter (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupUpgrade.js:155:21)
                          at Upgrade.upgradeAdapterHelper (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupUpgrade.js:41:14)
                          at /opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js:647:37
                          at /opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js:2205:45
                          at Immediate.<anonymous> (/opt/iobroker/node_modules/iobroker.js-controller/lib/objects/objectsInMemFileDB.js:1487:62)
                          at processImmediate (internal/timers.js:456:21)
                      
                      

                      schaut ziemlich gleich aus wie davor...:(

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

                        @Thomas-Braun Bei mir läuft Ubuntu.

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

                          @Diginix sagte in js-controller 3.0/3.1 jetzt im Latest!:

                          Nicht das ich wüsste, aber ok. Geht bei den o.s. Befehlen irgendwas verloren?

                          Deine Katze explodiert...
                          Backup ist nie verkehrt. Aber eigentlich ist dpkg / apt recht robust.

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

                            @freak1051

                            cd /opt/iobroker
                            npm i iobroker.js-controller
                            
                            F 1 Reply Last reply Reply Quote 0
                            • F
                              freak1051 @Thomas Braun last edited by freak1051

                              @Thomas-Braun said in js-controller 3.0/3.1 jetzt im Latest!:

                              cd /opt/iobroker

                              iobroker@iobroker:~$ cd /opt/iobroker/
                              iobroker@iobroker:/opt/iobroker$ npm i iobroker.js-controller
                              
                              > iobroker.js-controller@2.2.10 preinstall /opt/iobroker/node_modules/iobroker.js-controller
                              > node lib/preinstallCheck.js
                              
                              NPM version: 6.14.4
                              
                              > node-aead-crypto@2.1.4 install /opt/iobroker/node_modules/node-aead-crypto
                              > node lib/install.js
                              
                              node-aead-crypto is no longer needed on NodeJS 10+
                              
                              > iobroker.js-controller@2.2.10 install /opt/iobroker/node_modules/iobroker.js-controller
                              > node iobroker.js setup first
                              
                              
                              The following notifications happened during sync:
                              - Ignoring Directory "tr-064-community.admin" because officially not created as meta object. Please remove directory!
                              - Ignoring Directory "tr-064.admin" because officially not created as meta object. Please remove directory!
                              
                              npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.1.2 (node_modules/chokidar/node_modules/fsevents):
                              npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
                              npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@1.0.4 (node_modules/osx-temperature-sensor):
                              npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
                              npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.2 (node_modules/zigbee-herdsman-converters/node_modules/fsevents):
                              npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
                              npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.2 (node_modules/zigbee-herdsman/node_modules/jest-haste-map/node_modules/fsevents):
                              npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
                              npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.11 (node_modules/zigbee-herdsman/node_modules/fsevents):
                              npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.11: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
                              npm WARN optional SKIPPING OPTIONAL DEPENDENCY: node-aead-crypto@2.1.4 (node_modules/node-aead-crypto):
                              npm WARN optional SKIPPING OPTIONAL DEPENDENCY: node-aead-crypto@2.1.4 install: `node lib/install.js`
                              npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
                              
                              + iobroker.js-controller@2.2.10
                              removed 10 packages and updated 1 package in 18.73s
                              
                              27 packages are looking for funding
                                run `npm fund` for details
                              
                              

                              Was mich etwas wundert, hab die tr-064-dinger eig gelöscht (Brauch den adapter nichmehr)

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

                                @freak1051
                                Der tr-064 Kram spielt auch keine Rolle.

                                iobroker version
                                iobroker start
                                
                                F 1 Reply Last reply Reply Quote 0
                                • F
                                  freak1051 @Thomas Braun last edited by freak1051

                                  @Thomas-Braun said in js-controller 3.0/3.1 jetzt im Latest!:

                                  iobroker version

                                  iobroker@iobroker:/opt/iobroker$ iobroker version
                                  2.2.10
                                  
                                  

                                  Auch die Katze, oder hier der Hund?

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

                                    @freak1051 Der ioBroker startet aber ansonsten sauber durch?

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

                                      @Thomas-Braun

                                      Er startet und bringt auch keine Errors im log

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

                                        @freak1051

                                        iobroker stop
                                        iobroker update
                                        iobroker upgrade self
                                        
                                        F 1 Reply Last reply Reply Quote 0
                                        • F
                                          freak1051 @Thomas Braun last edited by

                                          @Thomas-Braun

                                          iobroker@iobroker:/opt/iobroker$ iobroker stop
                                          iobroker@iobroker:/opt/iobroker$ iobroker update
                                          Used repository: latest
                                          hash changed or no sources cached => force download of new sources
                                          Cannot download json from http://download.iobroker.net/sources-dist-latest.json. Error: Error: ESOCKETTIMEDOUT
                                          update done
                                          iobroker iobroker@iobroker:/opt/iobroker$ iobroker upgrade self
                                          Cannot find this controller "js-controller" in repository.
                                          
                                          
                                          Thomas Braun 1 Reply Last reply Reply Quote 0
                                          • Thomas Braun
                                            Thomas Braun Most Active @freak1051 last edited by Thomas Braun

                                            @freak1051 Stell mal im Admin eine weitere Downloadquelle rein:
                                            http://iobroker.live/repo/sources-dist-latest.json

                                            48f09ff7-a7e7-4764-a79d-52af9d70449a-image.png

                                            fa6d1957-5e44-4d92-9dcc-836b719d14ee-image.png

                                            F 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

                                            1.0k
                                            Online

                                            31.6k
                                            Users

                                            79.4k
                                            Topics

                                            1.3m
                                            Posts

                                            js-controller
                                            127
                                            1340
                                            345953
                                            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