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.
    • W
      Wildbill @Neuschwansteini last edited by Wildbill

      @ilovegym @foxriver76
      Bezüglich dem Problem mit dem cover_png-Datenpunkten im Sonos-Adapter sowie dem mp3 und ogg beim Sayit-Adapter in Verbindung mit Backitup konnte ich das wohl (für mich) lösen, indem ich beim Backitup einfach mehr Festplattenspeicher zugewiesen habe. Ich habe einfach die vorhandenen Werte mal verdoppelt und das hat anscheinend gereicht. Manuelles Backup lief eben durch, allerdings natürlich nach wie vor die Hieroglyphen der besagten Datenpunkte im Output. Aber immerhin...

      0a574caa-96d1-4f65-9f38-042b5903fece-image.png

      Gruss, Jürgen

      foxriver76 1 Reply Last reply Reply Quote 0
      • foxriver76
        foxriver76 Developer @Wildbill last edited by

        @wildbill kannst du mal bitte den Sonos Adapter von GitHub probieren. Der nutzt keine binary states mehr für das Cover png.

        W 1 Reply Last reply Reply Quote 0
        • W
          Wildbill @foxriver76 last edited by

          @foxriver76 Leider kein Erfolg Aber aus folgendem Grund. Der Sonos-Adapter startet nicht mehr...

          2023-09-20 07:48:56.137 - info: sonos.0 (63761) starting. Version 2.3.1 (non-npm: ioBroker/ioBroker.sonos) in /opt/iobroker/node_modules/iobroker.sonos, node: v18.17.1, js-controller: 5.0.12
          2023-09-20 07:48:56.909 - error: sonos.0 (63761) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
          2023-09-20 07:48:56.909 - error: sonos.0 (63761) unhandled promise rejection: Cannot read properties of undefined (reading 'name')
          2023-09-20 07:48:56.910 - error: sonos.0 (63761) TypeError: Cannot read properties of undefined (reading 'name')
          at takeSonosState (/opt/iobroker/node_modules/iobroker.sonos/main.js:1483:51)
          at processSonosEvents (/opt/iobroker/node_modules/iobroker.sonos/main.js:1671:17)
          at SonosSystem. (/opt/iobroker/node_modules/iobroker.sonos/main.js:2073:17)
          at SonosSystem.emit (node:events:514:28)
          at /opt/iobroker/node_modules/sonos-discovery/lib/models/Player.js:324:30
          at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
          2023-09-20 07:48:56.911 - error: sonos.0 (63761) Cannot read properties of undefined (reading 'name')
          2023-09-20 07:48:56.915 - error: sonos.0 (63761) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
          2023-09-20 07:48:56.916 - error: sonos.0 (63761) unhandled promise rejection: Cannot read properties of undefined (reading 'name')
          2023-09-20 07:48:56.916 - error: sonos.0 (63761) TypeError: Cannot read properties of undefined (reading 'name')
          at takeSonosState (/opt/iobroker/node_modules/iobroker.sonos/main.js:1483:51)
          at processSonosEvents (/opt/iobroker/node_modules/iobroker.sonos/main.js:1671:17)
          at SonosSystem. (/opt/iobroker/node_modules/iobroker.sonos/main.js:2073:17)
          at SonosSystem.emit (node:events:514:28)
          at /opt/iobroker/node_modules/sonos-discovery/lib/models/Player.js:324:30
          at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
          2023-09-20 07:48:56.916 - error: sonos.0 (63761) Cannot read properties of undefined (reading 'name')
          2023-09-20 07:48:56.920 - info: sonos.0 (63761) terminating
          2023-09-20 07:48:56.928 - info: sonos.0 (63761) terminating
          2023-09-20 07:48:56.929 - warn: sonos.0 (63761) Terminated (UNCAUGHT_EXCEPTION): Without reason
          2023-09-20 07:48:57.018 - error: sonos.0 (63761) Cannot getFavorites: TypeError: Cannot read properties of null (reading 'players')
          2023-09-20 07:48:57.023 - error: sonos.0 (63761) Cannot getFavorites: TypeError: Cannot read properties of null (reading 'players')
          2023-09-20 07:48:57.431 - info: sonos.0 (63761) terminating
          2023-09-20 07:48:57.551 - error: host.iobroker-vm instance system.adapter.sonos.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
          2023-09-20 07:48:57.551 - info: host.iobroker-vm Restart adapter system.adapter.sonos.0 because enabled
          2023-09-20 07:48:57.552 - warn: host.iobroker-vm Do not restart adapter system.adapter.sonos.0 because restart loop detected
          
          
          foxriver76 1 Reply Last reply Reply Quote 0
          • foxriver76
            foxriver76 Developer @Wildbill last edited by

            @wildbill ok bitte nochmal updaten

            W 1 Reply Last reply Reply Quote 0
            • W
              Wildbill @foxriver76 last edited by Wildbill

              @foxriver76 Bleibt leider rot (Lebenszeichen ist grün, verbunden mit Host bleibt rot). Dieses mal aber nur eine einzige Logzeile beim Start, nix weiter:

              2023-09-20 08:08:28.632 - info: sonos.0 (68978) starting. Version 2.3.1 (non-npm: ioBroker/ioBroker.sonos) in /opt/iobroker/node_modules/iobroker.sonos, node: v18.18.0, js-controller: 5.0.12
              
              

              Ich habe den Loglevel dann auf debug gestellt, aber finde nix Wildes.

              2023-09-20 08:10:40.404 - info: host.iobroker-vm instance system.adapter.sonos.0 started with pid 69025
              2023-09-20 08:10:41.282 - debug: sonos.0 (69025) Redis Objects: Use Redis connection: 0.0.0.0:9001
              2023-09-20 08:10:41.330 - debug: sonos.0 (69025) Objects client ready ... initialize now
              2023-09-20 08:10:41.331 - debug: sonos.0 (69025) Objects create System PubSub Client
              2023-09-20 08:10:41.332 - debug: sonos.0 (69025) Objects create User PubSub Client
              2023-09-20 08:10:41.441 - debug: sonos.0 (69025) Objects client initialize lua scripts
              2023-09-20 08:10:41.445 - debug: sonos.0 (69025) Objects connected to redis: 0.0.0.0:9001
              2023-09-20 08:10:41.507 - debug: sonos.0 (69025) Redis States: Use Redis connection: 0.0.0.0:6379
              2023-09-20 08:10:41.511 - debug: sonos.0 (69025) States create System PubSub Client
              2023-09-20 08:10:41.511 - debug: sonos.0 (69025) States create User PubSub Client
              2023-09-20 08:10:41.518 - debug: sonos.0 (69025) States connected to redis: 0.0.0.0:6379
              2023-09-20 08:10:41.656 - info: sonos.0 (69025) starting. Version 2.3.1 (non-npm: ioBroker/ioBroker.sonos) in /opt/iobroker/node_modules/iobroker.sonos, node: v18.18.0, js-controller: 5.0.12
              2023-09-20 08:10:41.688 - debug: sonos.0 (69025) Search can't be optimized because wildcard not at the end, fallback to keys!: function(doc) { if (doc.type === 'state') emit(doc._id, doc) }
              2023-09-20 08:10:41.803 - debug: sonos.0 (69025) Initialize known devices: [{"type":"device","common":{"name":"root"},"native":{},"from":"system.adapter.sonos.0","user":"system.user.admin","ts":1695190108763,"_id":"sonos.0.root","acl":{"object":1636,"owner":"system.user.admin","ownerGroup":"system.group.administrator"}}]
              2023-09-20 08:10:41.861 - debug: sonos.0 (69025) Channels of root: [{"type":"channel","common":{"role":"media.music","name":"Bad"},"native":{"ip":"192.168.20.51"},"from":"system.adapter.sonos.0","user":"system.user.admin","ts":1695190108876,"_id":"sonos.0.root.192_168_20_51","acl":{"object":1636,"owner":"system.user.admin","ownerGroup":"system.group.administrator"}},{"type":"channel","common":{"role":"media.music","name":"Wohnzimmer"},"native":{"ip":"192.168.20.54"},"from":"system.adapter.sonos.0","user":"system.user.admin","ts":1695190109435,"_id":"sonos.0.root.192_168_20_54","acl":{"object":1636,"owner":"system.user.admin","ownerGroup":"system.group.administrator"}},{"type":"channel","common":{"role":"media.music","name":"Hobbyraum"},"native":{"ip":"192.168.20.47"},"from":"system.adapter.sonos.0","user":"system.user.admin","ts":1695190109883,"_id":"sonos.0.root.192_168_20_47","acl":{"object":1636,"owner":"system.user.admin","ownerGroup":"system.group.administrator"}},{"type":"channel","common":{"role":"media.music","name":"Schlafzimmer"},"native":{"ip":"192.168.20.52"},"from":"system.adapter.sonos.0","user":"system.user.admin","ts":1695190110386,"_id":"sonos.0.root.192_168_20_52","acl":{"object":1636,"owner":"system.user.admin","ownerGroup":"system.group.administrator"}}]
              2023-09-20 08:10:41.861 - debug: sonos.0 (69025) Process channel: sonos.0.root.192_168_20_51
              2023-09-20 08:10:41.914 - debug: sonos.0 (69025) Process channel: sonos.0.root.192_168_20_54
              2023-09-20 08:10:41.970 - debug: sonos.0 (69025) Process channel: sonos.0.root.192_168_20_47
              2023-09-20 08:10:42.022 - debug: sonos.0 (69025) Process channel: sonos.0.root.192_168_20_52
              2023-09-20 08:10:42.655 - debug: sonos.0 (69025) > playbackState: STOPPED - Manuel
              2023-09-20 08:10:42.659 - debug: sonos.0 (69025) Cover exists. Try reading from fs
              2023-09-20 08:10:42.690 - debug: sonos.0 (69025) > playbackState: STOPPED -
              2023-09-20 08:10:42.690 - debug: sonos.0 (69025) Cover exists. Try reading from fs
              2023-09-20 08:10:42.692 - debug: sonos.0 (69025) mute: Mute for http://192.168.20.47:1400: false
              2023-09-20 08:10:42.730 - debug: sonos.0 (69025) group_muted: groupMuted for http://192.168.20.47:1400: false
              2023-09-20 08:10:42.738 - debug: sonos.0 (69025) > playbackState: STOPPED - Marooned
              2023-09-20 08:10:42.740 - debug: sonos.0 (69025) Cover exists. Try reading from fs
              2023-09-20 08:10:42.780 - debug: sonos.0 (69025) Update html-queue for 192_168_20_54: current html-queue is
              2023-09-20 08:10:42.780 - debug: sonos.0 (69025) Update html-queue for 192_168_20_54: current track number is 1
              2023-09-20 08:10:42.780 - debug: sonos.0 (69025) Update html-queue for 192_168_20_54: RegEx pattern is
              2023-09-20 08:10:42.781 - debug: sonos.0 (69025) Update html-queue for 192_168_20_54: no RegEx match
              2023-09-20 08:10:42.829 - debug: sonos.0 (69025) mute: Mute for http://192.168.20.54:1400: false
              2023-09-20 08:10:42.830 - debug: sonos.0 (69025) volume: Volume for http://192.168.20.54:1400: 28
              2023-09-20 08:10:42.833 - debug: sonos.0 (69025) Update html-queue for 192_168_20_51: current html-queue is
              2023-09-20 08:10:42.833 - debug: sonos.0 (69025) Update html-queue for 192_168_20_51: current track number is 0
              2023-09-20 08:10:42.833 - debug: sonos.0 (69025) Update html-queue for 192_168_20_51: RegEx pattern is
              2023-09-20 08:10:42.834 - debug: sonos.0 (69025) Update html-queue for 192_168_20_51: no RegEx match
              2023-09-20 08:10:42.840 - debug: sonos.0 (69025) mute: Mute for http://192.168.20.47:1400: false
              2023-09-20 08:10:42.841 - debug: sonos.0 (69025) volume: Volume for http://192.168.20.47:1400: 52
              2023-09-20 08:10:42.843 - debug: sonos.0 (69025) Update html-queue for 192_168_20_52: current html-queue is
              2023-09-20 08:10:42.843 - debug: sonos.0 (69025) Update html-queue for 192_168_20_52: current track number is 1
              2023-09-20 08:10:42.843 - debug: sonos.0 (69025) Update html-queue for 192_168_20_52: RegEx pattern is
              2023-09-20 08:10:42.844 - debug: sonos.0 (69025) Update html-queue for 192_168_20_52: no RegEx match
              2023-09-20 08:10:42.850 - debug: sonos.0 (69025) mute: Mute for http://192.168.20.52:1400: false
              2023-09-20 08:10:42.851 - debug: sonos.0 (69025) volume: Volume for http://192.168.20.52:1400: 43
              2023-09-20 08:10:42.856 - debug: sonos.0 (69025) mute: Mute for http://192.168.20.51:1400: false
              2023-09-20 08:10:42.856 - debug: sonos.0 (69025) volume: Volume for http://192.168.20.51:1400: 58
              2023-09-20 08:10:42.866 - debug: sonos.0 (69025) mute: Mute for http://192.168.20.54:1400: false
              2023-09-20 08:10:42.867 - debug: sonos.0 (69025) group_muted: groupMuted for http://192.168.20.54:1400: false
              2023-09-20 08:10:42.871 - debug: sonos.0 (69025) > playbackState: STOPPED -
              2023-09-20 08:10:42.872 - debug: sonos.0 (69025) Cover exists. Try reading from fs
              2023-09-20 08:10:42.876 - debug: sonos.0 (69025) mute: Mute for http://192.168.20.52:1400: false
              2023-09-20 08:10:42.877 - debug: sonos.0 (69025) group_muted: groupMuted for http://192.168.20.52:1400: false
              2023-09-20 08:10:42.879 - debug: sonos.0 (69025) mute: Mute for http://192.168.20.51:1400: false
              2023-09-20 08:10:42.880 - debug: sonos.0 (69025) group_muted: groupMuted for http://192.168.20.51:1400: false
              2023-09-20 08:10:42.931 - debug: sonos.0 (69025) group-volume: Volume for http://192.168.20.54:1400: 28
              2023-09-20 08:10:42.941 - debug: sonos.0 (69025) group-volume: Volume for http://192.168.20.47:1400: 52
              2023-09-20 08:10:42.951 - debug: sonos.0 (69025) group-volume: Volume for http://192.168.20.52:1400: 43
              2023-09-20 08:10:42.956 - debug: sonos.0 (69025) group-volume: Volume for http://192.168.20.51:1400: 58
              2023-09-20 08:10:43.042 - debug: sonos.0 (69025) Update html-queue for 192_168_20_47: current html-queue is
              2023-09-20 08:10:43.043 - debug: sonos.0 (69025) Update html-queue for 192_168_20_47: current track number is 0
              2023-09-20 08:10:43.043 - debug: sonos.0 (69025) Update html-queue for 192_168_20_47: RegEx pattern is
              2023-09-20 08:10:43.044 - debug: sonos.0 (69025) Update html-queue for 192_168_20_47: no RegEx match
              
              

              EDIT: Ach ja, ich hatte vorher alle vorhandenen Datenpunkte des Adapters gelöscht.

              foxriver76 1 Reply Last reply Reply Quote 0
              • foxriver76
                foxriver76 Developer @Wildbill last edited by

                @wildbill hm du sagst er bleibt rot? Weil schaut aus als läuft er laut log.

                W ofri2607 3 Replies Last reply Reply Quote 0
                • W
                  Wildbill @foxriver76 last edited by Wildbill

                  @foxriver76 Ja, er war rot. Lebenszeichen grün, Verbunden mit Host rot.
                  ABER: Ich habe eben einfach mal bei einem Lautsprecher mit dem Datenpunkt Play ein Abspielen gestartet. Das ging und komischerweise war die Verbindung mit dem Host danach da und alles grün. Manches muss man nicht verstehen.

                  Backitup hat nun auch nur noch komische Zeichen bezüglich sayit.0.tts.mp3 im Log, wo eben wohl auch ein binary dahintersteckt?!

                  Danke Dir aber erst einmal. Ein Problem weniger. 👍

                  foxriver76 1 Reply Last reply Reply Quote 0
                  • foxriver76
                    foxriver76 Developer @Wildbill last edited by

                    @wildbill sayit nutzt in 3.0.5 eigentlich files statt binary states, vermutlich ist der State nur noch eine Karteileiche und kann gelöscht werden

                    W 1 Reply Last reply Reply Quote 2
                    • W
                      Wildbill @foxriver76 last edited by

                      @foxriver76 Tatsache. Adapter gestoppt, die beiden Datenpunkte gelöscht, Adapter wieder gestartet und sie tauchen nicht mehr auf. Funktionalität weiter gegeben. Perfekt.
                      Dank Dir!

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

                        @foxriver76
                        sobald ich in Blockly ein Blockly nur bewege springt der Status oben im Dateinamen schon auf nicht gespeichert.
                        Ich hoffe das ist kein neues feature... ist sehr nervig!

                        Image 077.jpg

                        W 1 Reply Last reply Reply Quote 0
                        • W
                          Wildbill @stenmic last edited by

                          @stenmic Siehe dieser Thread ab HIER.

                          S 1 Reply Last reply Reply Quote 0
                          • S
                            stenmic @Wildbill last edited by

                            @wildbill ups... 😵
                            sorry... ich bin Blind

                            1 Reply Last reply Reply Quote 0
                            • L
                              Letzi last edited by

                              Guten Abend.

                              Nach dem Update funktioniert der gsmsms Adapter nicht mehr.
                              v0.0.4

                              Verbunden mit Host -> bleibt rot

                              Lebenszeichen -> bleibt rot

                              Verbunden mit Gerät oder Dienst -> bleibt rot

                              Ist jemanden bekannt, ob es dazu erst ein update des Adapter geben muss?

                              Danke.

                              mcm1957 1 Reply Last reply Reply Quote -1
                              • R
                                ronny130286 last edited by ronny130286

                                Hi,

                                ich wollte heute meine js+controller auf meinem Raspi 4 updaten, dazu habe ich mir eien putty Session geöffnet und folgende Befehle verwendet:

                                iob backup
                                iob stop
                                iob update
                                iob fix
                                iob upgrade self
                                iob start
                                

                                eigentlich genau so wie es in der Beschreibung zum js update stand.
                                Es läuft auch ohne Fehlermeldung durch, nur nach der Neustart ist immer noch der alte js-controller 4.0.24 installiert.

                                Was mache ich nur falsche?

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

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

                                  Es läuft auf ohne Fehlermeldung durch

                                  Aber mit welchen Meldungen läuft es denn durch?

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

                                    @thomas-braun sorry meinte: Es läuft auch ohne Fehlermeldung durch....

                                    hier mal die Putty Ausgabe:

                                    pi@iobroker:~ $ iob stop
                                    pi@iobroker:~ $ iob update
                                    Used repository: stable
                                    Adapter    "accuweather"  : 1.3.1    , installed 1.2.4  [Updatable]
                                    Adapter    "admin"        : 6.10.1   , installed 6.8.0  [Updatable]
                                    Adapter    "alexa2"       : 3.25.2   , installed 3.24.1 [Updatable]
                                    Adapter    "alias-manager": 1.2.4    , installed 1.2.4
                                    Adapter    "backitup"     : 2.6.23   , installed 2.6.23
                                    Adapter    "devices"      : 1.1.5    , installed 1.1.5
                                    Adapter    "discovery"    : 3.1.0    , installed 3.1.0
                                    Adapter    "growatt"      : 3.1.2    , installed 3.1.2
                                    Adapter    "history"      : 2.2.6    , installed 2.2.6
                                    Adapter    "ical"         : 1.13.3   , installed 1.13.3
                                    Adapter    "icons-mfd-svg": 1.1.0    , installed 1.1.0
                                    Adapter    "info"         : 1.9.26   , installed 1.9.26
                                    Adapter    "javascript"   : 7.1.4    , installed 7.0.3  [Updatable]
                                    Controller "js-controller": 5.0.12   , installed 4.0.24 [Updatable]
                                    Adapter    "mqtt"         : 4.1.1    , installed 4.1.1
                                    Adapter    "mqtt-client"  : 1.6.3    , installed 1.6.3
                                    Adapter    "nibeuplink"   : 1.3.0    , installed 1.3.0
                                    Adapter    "node-red"     : 4.0.3    , installed 4.0.3
                                    Adapter    "roomba"       : 1.1.4    , installed 1.1.4
                                    Adapter    "rpi2"         : 1.3.2    , installed 1.3.2
                                    Adapter    "s7"           : 1.3.15   , installed 1.3.15
                                    Adapter    "scenes"       : 2.3.9    , installed 2.3.9
                                    Adapter    "simple-api"   : 2.7.2    , installed 2.7.2
                                    Adapter    "socketio"     : 6.5.5    , installed 6.5.3  [Updatable]
                                    Adapter    "sonoff"       : 2.5.3    , installed 2.5.3
                                    Adapter    "telegram"     : 1.16.0   , installed 1.16.0
                                    Adapter    "trashschedule": 2.2.0    , installed 2.2.0
                                    Adapter    "vis"          : 1.4.16   , installed 1.4.16
                                    Adapter    "web"          : 6.1.2    , installed 6.1.1  [Updatable]
                                    Adapter    "whatsapp-cmb" : 0.2.3    , installed 0.2.3
                                    Adapter    "worx"         : 2.3.2    , installed 2.3.2
                                    Adapter    "ws"           : 2.5.5    , installed 2.5.4  [Updatable]
                                    Adapter    "zigbee"       : 1.8.23   , installed 1.8.23
                                    pi@iobroker:~ $ iob fix
                                    library: loaded
                                    Library version=2022-12-09
                                    
                                    ==========================================================================
                                    
                                        Welcome to the ioBroker installation fixer!
                                        Script version: 2023-04-02
                                    
                                        You might need to enter your password a couple of times.
                                    
                                    ==========================================================================
                                    
                                    
                                    ==========================================================================
                                        Installing prerequisites (1/5)
                                    ==========================================================================
                                    
                                    Holen:1 http://raspbian.raspberrypi.org/raspbian buster InRelease [15,0 kB]
                                    Holen:2 http://archive.raspberrypi.org/debian buster InRelease [32,6 kB]
                                    Holen:3 https://deb.nodesource.com/node_18.x buster InRelease [4.584 B]
                                    Holen:4 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages [13,                                                                     0 MB]
                                    Holen:5 http://archive.raspberrypi.org/debian buster/main armhf Packages [400 kB                                                                     ]
                                    Es wurden 13,5 MB in 8 s geholt (1.698 kB/s).
                                    Paketlisten werden gelesen... Fertig
                                    Installed gcc-c++
                                    
                                    ==========================================================================
                                        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!
                                    
                                    ==========================================================================
                                    
                                    pi@iobroker:~ $ iob upgrade self
                                    Update js-controller from @4.0.24 to @5.0.12
                                    Stopped Objects DB
                                    Stopped States DB
                                    NPM version: 9.6.7
                                    Installing iobroker.js-controller@5.0.12... (System call)
                                    pi@iobroker:~ $ iob start
                                    pi@iobroker:~ $ node -v && nodejs -v && npm -v
                                    v18.17.1
                                    v18.17.1
                                    9.6.7
                                    
                                    
                                    S 1 Reply Last reply Reply Quote 0
                                    • mcm1957
                                      mcm1957 @Letzi last edited by

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

                                      Guten Abend.

                                      Nach dem Update funktioniert der gsmsms Adapter nicht mehr.
                                      v0.0.4

                                      Verbunden mit Host -> bleibt rot

                                      Lebenszeichen -> bleibt rot

                                      Verbunden mit Gerät oder Dienst -> bleibt rot

                                      Ist jemanden bekannt, ob es dazu erst ein update des Adapter geben muss?

                                      Danke.

                                      Bitte zeig mal ob bzw. was in den logs dazu steht.
                                      Eine neuere Version als 0.0.4 ist derzeit nicht verfügbar. Offenes Issue seh ich auch nicht.
                                      @forelleblau ist dir was bekannt bzw. kannst (wenn der log da ist) was dazu sagen?

                                      1 Reply Last reply Reply Quote 0
                                      • W
                                        Wildbill @foxriver76 last edited by

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

                                        @wildbill hm du sagst er bleibt rot? Weil schaut aus als läuft er laut log.

                                        Bevor ich oben editiere schreibe ich es nochmal, weil ich grad einen ähnlichen Fall hatte. Ich habe meistens zwei Browser-Tabs offen, wenn ich in iobroker was mache. Bisher war es so, dass die Zustände über die Tabs hinweg eigentlich gleich waren. Wenn ich beispielsweise, warum auch immer, zwei Instanzen-Tabs aufhabe und in einer eine Instanz startete, war sie auch im anderen grün. Seit einem der letzten Updates (js-controller, admin, javascript…) scheint es nun nicht mehr so zu sein. Ich muss im zweiten Tab dann einmal die Seite aktualisieren, damit die Anzeige wieder passt. Heute morgen war es wohl auch irgendwie so, weil ich wohl vom Adapter aus die Instanzen geöffnet habe, die Instanz gestartet und dann gleich auf Log bin. Der zweite Tab mit den Instanzen war dann wohl noch rot, obwohl ja bereits alles lief.
                                        Ist da was bekannt, dass sich das Synchronisieren von parallel geöffneten Tabs geändert hat? Zumindest beim Umschalten auf Experte hat man ja nun die Möglichkeit auszuwählen, ob das über mehrere Browser-Tabs hinweg gelten soll.

                                        Gruss, Jürgen

                                        W 1 Reply Last reply Reply Quote 0
                                        • C
                                          cfau last edited by

                                          Hallo,

                                          hab jetzt auch mal auf den neuen js-controller 5.x upgedated. Leider läuft danach (als einziger) mein wichtigster Adapter KNX nicht mehr. Ein Neugenerieren bringt leider nur die Fehlermeldung im iobroker-Protokoll:

                                          host.IOBroker
                                          	2023-09-20 20:36:41.140	info	system.adapter.knx.0 will be rebuilt
                                          host.IOBroker
                                          	2023-09-20 20:36:41.139	info	Adapter system.adapter.knx.0 needs rebuild and will be restarted afterwards.
                                          host.IOBroker
                                          	2023-09-20 20:36:41.139	error	instance system.adapter.knx.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
                                          host.IOBroker
                                          	2023-09-20 20:36:41.139	error	Caught by controller[0]: Node.js v18.17.1
                                          host.IOBroker
                                          	2023-09-20 20:36:41.139	error	Caught by controller[0]: }
                                          host.IOBroker
                                          	2023-09-20 20:36:41.139	error	Caught by controller[0]: ]
                                          host.IOBroker
                                          	2023-09-20 20:36:41.138	error	Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.knx/knx.js'
                                          host.IOBroker
                                          	2023-09-20 20:36:41.138	error	Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.knx/lib/utils.js',
                                          host.IOBroker
                                          	2023-09-20 20:36:41.138	error	Caught by controller[0]: requireStack: [
                                          host.IOBroker
                                          	2023-09-20 20:36:41.138	error	Caught by controller[0]: code: 'MODULE_NOT_FOUND',
                                          host.IOBroker
                                          	2023-09-20 20:36:41.138	error	Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1143:19) {
                                          host.IOBroker
                                          	2023-09-20 20:36:41.138	error	Caught by controller[0]: at Module._load (node:internal/modules/cjs/loader:960:12)
                                          host.IOBroker
                                          	2023-09-20 20:36:41.137	error	Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:1119:32)
                                          host.IOBroker
                                          	2023-09-20 20:36:41.137	error	Caught by controller[0]: at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
                                          host.IOBroker
                                          	2023-09-20 20:36:41.137	error	Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1256:14)
                                          host.IOBroker
                                          	2023-09-20 20:36:41.137	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.knx/lib/utils.js:67:25)
                                          host.IOBroker
                                          	2023-09-20 20:36:41.137	error	Caught by controller[0]: at require (node:internal/modules/cjs/helpers:121:18)
                                          host.IOBroker
                                          	2023-09-20 20:36:41.137	error	Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1143:19)
                                          host.IOBroker
                                          	2023-09-20 20:36:41.136	error	Caught by controller[0]: at Module._load (node:internal/modules/cjs/loader:922:27)
                                          host.IOBroker
                                          	2023-09-20 20:36:41.136	error	Caught by controller[0]: at Module._resolveFilename (node:internal/modules/cjs/loader:1077:15)
                                          host.IOBroker
                                          	2023-09-20 20:36:41.135	error	Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.knx/knx.js
                                          host.IOBroker
                                          	2023-09-20 20:36:41.135	error	Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.knx/lib/utils.js
                                          host.IOBroker
                                          	2023-09-20 20:36:41.135	error	Caught by controller[0]: Require stack:
                                          host.IOBroker
                                          	2023-09-20 20:36:41.135	error	Caught by controller[0]: Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js'
                                          host.IOBroker
                                          	2023-09-20 20:36:41.135	error	Caught by controller[0]: ^
                                          host.IOBroker
                                          	2023-09-20 20:36:41.134	error	Caught by controller[0]: throw err;
                                          host.IOBroker
                                          	2023-09-20 20:36:41.134	error	Caught by controller[0]: node:internal/modules/cjs/loader:1080
                                          host.IOBroker
                                          	2023-09-20 20:36:39.134	info	instance system.adapter.knx.0 started with pid 12950
                                          host.IOBroker
                                          	2023-09-20 20:36:38.986	info	iobroker npm-rebuild: exit 0
                                          host.IOBroker
                                          	2023-09-20 20:36:37.973	info	iobroker npm-rebuild: Rebuilding native modules done
                                          host.IOBroker
                                          	2023-09-20 20:36:37.972	info	iobroker npm-rebuild:
                                          host.IOBroker
                                          	2023-09-20 20:36:37.923	info	iobroker npm-rebuild: rebuilt dependencies successfully
                                          host.IOBroker
                                          	2023-09-20 20:36:17.397	info	iobroker npm-rebuild: Rebuilding native module "iobroker.js-controller@5.0.12" in /opt/iobroker/node_modules ...
                                          host.IOBroker
                                          	2023-09-20 20:36:15.794	info	iobroker rebuild iobroker.js-controller@5.0.12 --path /opt/iobroker/node_modules
                                          host.IOBroker
                                          	2023-09-20 20:36:15.793	warn	adapter "knx" seems to be installed for a different version of Node.js. Trying to rebuild it... 2 attempt
                                          

                                          Kann mir da jemand vielleicht weiterhelfen?
                                          Grüße Christian

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

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

                                            Trying to rebuild it... 2

                                            Läuft doch noch. Abwarten.

                                            C 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

                                            740
                                            Online

                                            31.7k
                                            Users

                                            79.9k
                                            Topics

                                            1.3m
                                            Posts

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