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

    • 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 5.0.x jetzt für alle User im STABLE!

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

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

      E: The repository 'cdrom://[Debian GNU/Linux 12.2.0 Bookworm - Official amd64 DVD Binary-1 with firmware 20231007-10:29] bookworm Release' does not have a Release file.

      Lösch den entsprechenden Eintrag in der /etc/apt/sources.list

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

        @thomas-braun
        Hallo,
        ja ich weis, das Sol noch weg kommen .
        angepasst aber das hat nicht geholfen.
        Was mach ich noch falsch?
        Danke

        foxriver76 1 Reply Last reply Reply Quote 0
        • mcm1957
          mcm1957 @ingenii last edited by

          @ingenii
          Also die Fehler kommen mal aus dem web Adapter. Da ist der js-controller unschuldig. Das einzige was der js-controller ab 5.x.x macht ist genauer auf ungültige Parameter zu prüfen. Das ist aber kein Fehler.

          Ok, da nutzt dir mal so nichts.

          Eigentliche Ursache ist, dass "irgendwer" im bzw. via web Adapter versucht einen State mit einer 'undefined'id anzusprechen. Das kann nicht funktionieren. Wahrscheinlich ist igrndwo in deiner vis ein (alter) "Unsinn" eingetragen. Im Moment weiß ich nicht wie das am besten einzugrenzen wäre.

          Deine Logs sind (auf Grund des Datums) aktuell und Versionen sind im diag enthalten. DANKE
          Ich werd mal versuchen jemadn zu kontaktieren der sich bei vis/web besser auskennt.

          mcm1957 1 Reply Last reply Reply Quote 0
          • mcm1957
            mcm1957 @mcm1957 last edited by mcm1957

            @ingenii

            Ich hab mal erste Rückmeldung.
            Leider wurde die Fehlerkonstellation noch nie beobachtet. ABer natürlcih soll sie gelöst / behoben werden.

            Bitte daher noch ein paar Auskünfte:

            • Kannst du sagen bei welcher Aktion / Eingabe / ... das Problem auftritt. Je genauer das bekannt ist desto eher läßt sich was eingrenzen.
            • Tritt das Problem reprodizierbar immer auf oder "nur" sporadisch und nicht wirklich vrohersagbar ?
            • Und zu SIcherheit: Hast du den Compact Mode ein- oder ausgeschaltet?
            I 1 Reply Last reply Reply Quote 1
            • foxriver76
              foxriver76 Developer @ingenii last edited by

              @ingenii zeig mal bitte die Einstellungen vom Web Adapter über den du die vis nutzt

              I 1 Reply Last reply Reply Quote 0
              • I
                ingenii @mcm1957 last edited by

                @mcm57

                Hallo,

                Problem auftaucht jedes mal wen ich im VIS von eine Seite springe in andere.
                Dieser Compact Mode kännte ich nicht bist jetzt und sicher ist er AUS.

                1 Reply Last reply Reply Quote 1
                • I
                  ingenii @foxriver76 last edited by

                  @foxriver76
                  Hallo, hier hab ich nie was umgestellt.
                  Reicht die Erste Seite ?

                  web.JPG

                  sigi234 1 Reply Last reply Reply Quote 0
                  • sigi234
                    sigi234 Forum Testing Most Active @ingenii last edited by

                    @ingenii

                    Haken rein bei Reine-WEB Sockets

                    I 1 Reply Last reply Reply Quote 0
                    • mcm1957
                      mcm1957 last edited by

                      @ingenii

                      Danke mal für die Infos.
                      Falls das aus irgeneinem Grund hier untergehen sollte undkeine Lösung auftritt, mach bitte ein Issue auf. Das ereeicht dann development direct (obwohl @foxriver hier eh schon aktiv ist)

                      1 Reply Last reply Reply Quote 0
                      • I
                        ingenii @sigi234 last edited by

                        @sigi234
                        Danke für dein Typ aber es hat nicht geholfen.

                        1 Reply Last reply Reply Quote 0
                        • P
                          peppino last edited by

                          Hallo,

                          Ich habe mit js-controller 5.0.x ähnliche/selbe Probleme.
                          Nach einem reload der vis1 habe ich bei Datenpunkte die nicht von einem "alias.0 Datenpunkt" kommen "NaN" oder "null". Die Werte werden erst angezeigt wenn diese aktualisiert werden (z.B.: Temperaturwert ändert sich) nach einem View wechsel steht dann wieder "NaN" oder "null" bis zur nächsten Wertänderung.
                          Die selbe Vis konvertiert auf vis2 macht hingegen keine Probleme.

                          BG
                          Joe

                          1 Reply Last reply Reply Quote 0
                          • S
                            sonnenfreund @foxriver76 last edited by sonnenfreund

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

                            Wer sich unsicher ist, ob ein Fehler vorliegt, sollte am besten hier im Thread das Problem beschreiben. So können wir alle versuchen, das Problem nachzuvollziehen und ggf. einzugrenzen.

                            Hallo zusammen,
                            wollte nun endlich mal meinen uralten js controller aktualisieren.

                            Habe die Schritte

                            • iobroker stop
                            • cd /opt/iobroker

                            abgearbeitet.

                            Leider läuft aber iob upgrade self nicht durch.
                            Es kommen folgende Fehlermeldungen. Woran kann das liegen / wie kann ich das lösen?

                            pi@raspberrypi4-iob:/ $ iobroker upgrade self
                            Update js-controller from @3.1.6 to @5.0.16
                            NPM version: 10.2.3
                            npm install iobroker.js-controller@5.0.16 --loglevel error --unsafe-perm --prefix "/opt/iobroker" (System call)
                             Objects 127.0.0.1:58398 Error from InMemDB: Error: CONFIG-UNSUPPORTED for ["SET","lua-time-limit","10000"]
                             States 127.0.0.1:35658 Error from InMemDB: Error: CONFIG-UNSUPPORTED for ["SET","notify-keyspace-events","Exe"]
                             Objects 127.0.0.1:58398 Error from InMemDB: Error: GET-UNSUPPORTED for namespace cfg.: Data=["meta.objects.features.useSets"]
                             States 127.0.0.1:35658 Error from InMemDB: Error: GET-UNSUPPORTED for namespace meta.: Data=["meta.states.protocolVersion"]
                             Objects 127.0.0.1:58398 Error from InMemDB: Error: GET-UNSUPPORTED for namespace cfg.: Data=["meta.objects.protocolVersion"]
                             Objects 127.0.0.1:58398 Error from InMemDB: Error: scan NOT SUPPORTED
                            npm ERR! code 1
                            npm ERR! path /opt/iobroker/node_modules/iobroker.js-controller
                            npm ERR! command failed
                            npm ERR! command sh -c node iobroker.js setup first
                            npm ERR! Unable to increase LUA script timeout: Error CONFIG-UNSUPPORTED for ["SET","lua-time-limit","10000"]
                            npm ERR!  Unable to enable Expiry Keyspace events from Redis Server: Error CONFIG-UNSUPPORTED for ["SET","notify-keyspace-events","Exe"]
                            npm ERR! /opt/iobroker/node_modules/standard-as-callback/built/index.js:6
                            npm ERR!         throw e;
                            npm ERR!         ^
                            npm ERR!
                            npm ERR! ReplyError: Error scan NOT SUPPORTED
                            npm ERR!     at parseError (/opt/iobroker/node_modules/redis-parser/lib/parser.js:179:12)
                            npm ERR!     at parseType (/opt/iobroker/node_modules/redis-parser/lib/parser.js:302:14)
                            npm ERR! Emitted 'error' event on ScanStream instance at:
                            npm ERR!     at /opt/iobroker/node_modules/ioredis/built/ScanStream.js:38:22
                            npm ERR!     at tryCatcher (/opt/iobroker/node_modules/standard-as-callback/built/utils.js:12:23)
                            npm ERR!     at /opt/iobroker/node_modules/standard-as-callback/built/index.js:33:51
                            npm ERR!     at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
                            npm ERR!   command: {
                            npm ERR!     name: 'scan',
                            npm ERR!     args: [ '0', 'MATCH', 'cfg.o.system.host.*', 'COUNT', '250' ]
                            npm ERR!   }
                            npm ERR! }
                            npm ERR!
                            npm ERR! Node.js v18.19.0
                            
                            npm ERR! A complete log of this run can be found in: /home/iobroker/.npm/_logs/2023-12-07T19_37_56_146Z-debug-0.log
                            Starting node restart.js
                            pi@raspberrypi4-iob:/ $
                            Thomas Braun foxriver76 2 Replies Last reply Reply Quote 0
                            • Thomas Braun
                              Thomas Braun Most Active @sonnenfreund last edited by Thomas Braun

                              @sonnenfreund

                              iob diag
                              

                              sagt zur Gesamtlage?
                              Die lange Version...

                              Und stell dich in dein /home
                              In / hast du nix verloren...

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

                                @thomas-braun

                                Copy text starting here:

                                ======================= SUMMARY =======================
                                                        v.2023-10-10
                                
                                
                                   Static hostname: raspberrypi4-iob
                                         Icon name: computer
                                  Operating System: Raspbian GNU/Linux 11 (bullseye)
                                            Kernel: Linux 5.10.103-v7l+
                                      Architecture: arm
                                
                                Installation:           native
                                Kernel:                 armv7l
                                Userland:               armhf
                                Timezone:               Europe/Berlin (CET, +0100)
                                User-ID:                1000
                                X-Server:               false
                                Boot Target:            graphical.target
                                
                                Pending OS-Updates:     0
                                Pending iob updates:    21
                                
                                Nodejs-Installation:    /usr/bin/nodejs         v18.19.0
                                                        /usr/bin/node           v18.19.0
                                                        /usr/bin/npm            10.2.3
                                                        /usr/bin/npx            10.2.3
                                                        /usr/bin/corepack       0.22.0
                                
                                Recommended versions are nodejs  and npm
                                Your nodejs installation is correct
                                
                                MEMORY:
                                               total        used        free      shared  buff/cache   available
                                Mem:            1.9G        446M        645M        0.0K        780M        1.3G
                                Swap:            99M          0B         99M
                                Total:          2.0G        446M        745M
                                
                                Active iob-Instances:   8
                                Active repo: default
                                
                                ioBroker Core:          js-controller           3.1.6
                                                        admin                   4.2.1
                                
                                ioBroker Status:        iobroker is running on this host.
                                
                                At least one iobroker host is running.
                                
                                Objects type: file
                                States  type: file
                                
                                Status admin and web instance:
                                  system.adapter.admin.0                 : admin                 - disabled, port: 8081, bind: 0.0.0.0, run as: admin
                                + system.adapter.admin.1                 : admin                 -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
                                  system.adapter.web.0                   : web                   - disabled, port: 8082, bind: 0.0.0.0, run as: admin
                                
                                Objects:                1968
                                States:                 2764
                                
                                Size of iob-Database:
                                
                                5.5M    /opt/iobroker/iobroker-data/objects.json.bak
                                5.5M    /opt/iobroker/iobroker-data/objects.json
                                700K    /opt/iobroker/iobroker-data/states.json.bak
                                700K    /opt/iobroker/iobroker-data/states.json
                                
                                
                                
                                =================== END OF SUMMARY ====================
                                

                                === Mark text until here for copying ===

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

                                  @sonnenfreund

                                  Generell hast du es nicht so mit Updates, oder?

                                  Pending iob updates:    21
                                  

                                  Ist da überhaupt noch irgendwas auf einem aktuellen Stand?

                                  cd /opt/iobroker
                                  sudo -H -u iobroker npm install iobroker.js-controller
                                  iob update
                                  iob upgrade
                                  
                                  S 1 Reply Last reply Reply Quote 0
                                  • foxriver76
                                    foxriver76 Developer @sonnenfreund last edited by foxriver76

                                    @sonnenfreund hui ich würde erst mal versuchen auf eine 4.0.24 zu gehen zb bzw war da glaube noch ein Release dazwischen

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

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

                                      @sonnenfreund

                                      Generell hast du es nicht so mit Updates, oder?

                                      sei doch nicht so streng 👮

                                      cd /opt/iobroker
                                      sudo -H -u iobroker npm install iobroker.js-controller
                                      

                                      hab ich grad gemacht und komme folgende Meldungen:

                                      pi@raspberrypi4-iob:/opt/iobroker $ sudo -H -u iobroker npm install iobroker.js-controller
                                      npm ERR! code 1
                                      npm ERR! path /opt/iobroker/node_modules/iobroker.js-controller
                                      npm ERR! command failed
                                      npm ERR! command sh -c node iobroker.js setup first
                                      npm ERR! Unable to increase LUA script timeout: Error CONFIG-UNSUPPORTED for ["SET","lua-time-limit","10000"]
                                      npm ERR!  Unable to enable Expiry Keyspace events from Redis Server: Error CONFIG-UNSUPPORTED for ["SET","notify-keyspace-events","Exe"]
                                      npm ERR! /opt/iobroker/node_modules/standard-as-callback/built/index.js:6
                                      npm ERR!         throw e;
                                      npm ERR!         ^
                                      npm ERR!
                                      npm ERR! ReplyError: Error scan NOT SUPPORTED
                                      npm ERR!     at parseError (/opt/iobroker/node_modules/redis-parser/lib/parser.js:179:12)
                                      npm ERR!     at parseType (/opt/iobroker/node_modules/redis-parser/lib/parser.js:302:14)
                                      npm ERR! Emitted 'error' event on ScanStream instance at:
                                      npm ERR!     at /opt/iobroker/node_modules/ioredis/built/ScanStream.js:38:22
                                      npm ERR!     at tryCatcher (/opt/iobroker/node_modules/standard-as-callback/built/utils.js:12:23)
                                      npm ERR!     at /opt/iobroker/node_modules/standard-as-callback/built/index.js:33:51
                                      npm ERR!     at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
                                      npm ERR!   command: {
                                      npm ERR!     name: 'scan',
                                      npm ERR!     args: [ '0', 'MATCH', 'cfg.o.system.host.*', 'COUNT', '250' ]
                                      npm ERR!   }
                                      npm ERR! }
                                      npm ERR!
                                      npm ERR! Node.js v18.19.0
                                      
                                      npm ERR! A complete log of this run can be found in: /home/iobroker/.npm/_logs/2023-12-07T20_09_35_513Z-debug-0.log
                                      pi@raspberrypi4-iob:/opt/iobroker $
                                      
                                      Thomas Braun 1 Reply Last reply Reply Quote 0
                                      • Thomas Braun
                                        Thomas Braun Most Active @sonnenfreund last edited by

                                        @sonnenfreund

                                        Dann versuch einen 4er-js-controller zu installieren.

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

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

                                          @sonnenfreund

                                          Dann versuch einen 4er-js-controller zu installieren.

                                          Nach
                                          iobroker update
                                          iobroker fix

                                          gleiches Problem bei iobroker upgrade self:

                                          pi@raspberrypi4-iob:/home $ iobroker upgrade self
                                          Update js-controller from @3.1.6 to @5.0.16
                                          NPM version: 10.2.3
                                          npm install iobroker.js-controller@5.0.16 --loglevel error --unsafe-perm --prefix "/opt/iobroker" (System call)
                                           Objects 127.0.0.1:59744 Error from InMemDB: Error: CONFIG-UNSUPPORTED for ["SET","lua-time-limit","10000"]
                                           States 127.0.0.1:37004 Error from InMemDB: Error: CONFIG-UNSUPPORTED for ["SET","notify-keyspace-events","Exe"]
                                           Objects 127.0.0.1:59744 Error from InMemDB: Error: GET-UNSUPPORTED for namespace cfg.: Data=["meta.objects.features.useSets"]
                                           States 127.0.0.1:37004 Error from InMemDB: Error: GET-UNSUPPORTED for namespace meta.: Data=["meta.states.protocolVersion"]
                                           Objects 127.0.0.1:59744 Error from InMemDB: Error: GET-UNSUPPORTED for namespace cfg.: Data=["meta.objects.protocolVersion"]
                                           Objects 127.0.0.1:59744 Error from InMemDB: Error: scan NOT SUPPORTED
                                          npm ERR! code 1
                                          npm ERR! path /opt/iobroker/node_modules/iobroker.js-controller
                                          npm ERR! command failed
                                          npm ERR! command sh -c node iobroker.js setup first
                                          npm ERR! Unable to increase LUA script timeout: Error CONFIG-UNSUPPORTED for ["SET","lua-time-limit","10000"]
                                          npm ERR!  Unable to enable Expiry Keyspace events from Redis Server: Error CONFIG-UNSUPPORTED for ["SET","notify-keyspace-events","Exe"]
                                          npm ERR! /opt/iobroker/node_modules/standard-as-callback/built/index.js:6
                                          npm ERR!         throw e;
                                          npm ERR!         ^
                                          npm ERR!
                                          npm ERR! ReplyError: Error scan NOT SUPPORTED
                                          npm ERR!     at parseError (/opt/iobroker/node_modules/redis-parser/lib/parser.js:179:12)
                                          npm ERR!     at parseType (/opt/iobroker/node_modules/redis-parser/lib/parser.js:302:14)
                                          npm ERR! Emitted 'error' event on ScanStream instance at:
                                          npm ERR!     at /opt/iobroker/node_modules/ioredis/built/ScanStream.js:38:22
                                          npm ERR!     at tryCatcher (/opt/iobroker/node_modules/standard-as-callback/built/utils.js:12:23)
                                          npm ERR!     at /opt/iobroker/node_modules/standard-as-callback/built/index.js:33:51
                                          npm ERR!     at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
                                          npm ERR!   command: {
                                          npm ERR!     name: 'scan',
                                          npm ERR!     args: [ '0', 'MATCH', 'cfg.o.system.host.*', 'COUNT', '250' ]
                                          npm ERR!   }
                                          npm ERR! }
                                          npm ERR!
                                          npm ERR! Node.js v18.19.0
                                          
                                          npm ERR! A complete log of this run can be found in: /home/iobroker/.npm/_logs/2023-12-07T20_23_32_051Z-debug-0.log
                                          Starting node restart.js
                                          pi@raspberrypi4-iob:/home $
                                          
                                          D 1 Reply Last reply Reply Quote 0
                                          • D
                                            Diamand2k22 @sonnenfreund last edited by

                                            kann mir jemand sagen, was das zum Teufel ist?

                                            c1c31dcb-0f81-48bd-9a1b-9e2b11a041f2-image.png

                                            ich habe den Fehler seit dem Update auf JS-Controller 5.0.17

                                            Thomas Braun 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

                                            675
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

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