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.
    • 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
                          • 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!:

                            kann mir jemand sagen, was das zum Teufel ist?

                            Ein Screenshot, den man nur umständlich lesen kann.
                            Deswegen Texte aus dem Log immer als Text in CodeTags eingebettet hier rein

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

                              @thomas-braun

                              ok mach dann ich in Zukunft so!

                              
                              javascript.0
                              2023-12-08 14:46:00.157	error	Error: read ECONNRESET at Function.AxiosError.from (/opt/iobroker/node_modules/iobroker.javascript/node_modules/axios/lib/core/AxiosError.js:89:14) at RedirectableRequest.handleRequestError (/opt/iobroker/node_modules/iobroker.javascript/node_modules/axios/lib/adapters/http.js:606:25) at RedirectableRequest.emit (node:events:517:28) at RedirectableRequest.emit (node:domain:489:12) at ClientRequest.eventHandlers.<computed> (/opt/iobroker/node_modules/follow-redirects/index.js:14:24) at ClientRequest.emit (node:events:529:35) at ClientRequest.emit (node:domain:489:12) at TLSSocket.socketErrorListener (node:_http_client:501:9) at TLSSocket.emit (node:events:517:28) at TLSSocket.emit (node:domain:489:12) at emitErrorNT (node:internal/streams/destroy:151:8) at emitErrorCloseNT (node:internal/streams/destroy:116:3) at processTicksAndRejections (node:internal/process/task_queues:82:21)
                              
                              javascript.0
                              2023-12-08 14:46:00.157	error	Error: read ECONNRESET
                              
                              javascript.0
                              2023-12-08 14:46:00.156	error	An error happened which is most likely from one of your scripts, but the originating script could not be detected.
                              
                              Thomas Braun Gaspode 2 Replies Last reply Reply Quote 0
                              • Thomas Braun
                                Thomas Braun Most Active @Diamand2k22 last edited by

                                @diamand2k22

                                Die Meldung kommt vom javascript, nicht vom js-controller. Mach einen eigenen Thread auf. Und schau dir zuvor deine Skripte an, da wird es vermutlich einen Fehler geben.

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

                                  @diamand2k22
                                  Liegt wie mein Vorredner schon schrub, mit hoher Wahrscheinlichkeit an einem deiner Scripte. Such mal nach einem, das alle 10 Minuten irgendeinen Zugriff per Axios macht.

                                  Wenn der Fehler tatsächlich erst seit Controller Update besteht, lehne mich mal weit aus dem Fenster und tippe, dass da gleich mehrere Aufrufe "gleichzeitig" gemacht werden. ECONNRESET heißt, dass eine bestehende Verbindung abgebrochen wurde.

                                  Das hatte ich seinerzeit auch mal nach einem Controller Update (ich glaube auf 3). Da prügelte ich in einem Script bis zu 50 Requests auf einmal raus. Mit dem Vorgänger Controller klappte das, mit der Folgeversion kam es zu ähnlichen Fehlern. Warum der Controller darauf Einfluss haben kann, entzieht sich allerdings meiner Kenntnis.

                                  Solltest du weitere Unterstützung brauchen, wäre ein eigener Thread dafür sicher hilfreich.

                                  1 Reply Last reply Reply Quote 0
                                  • A
                                    Architect0711 @foxriver76 last edited by Architect0711

                                    @foxriver76 @Thomas-Braun Bei mir startet der admin adapter nicht mehr seit dem Update. Unten ist der output von "iob diag". Ganz unten steht ja Rebuild for adapter system.adapter.admin.0 not successful in 3 tries. Adapter will not be restarted again. Please execute "npm install --production" in adapter directory manually., aber das hat leider keine Abhilfe gebracht.

                                    pi@raspberrypi:/opt/iobroker/node_modules/iobroker.admin $ npm install --production
                                    npm WARN config production Use `--omit=dev` instead.
                                    
                                    up to date, audited 141 packages in 5s
                                    
                                    13 packages are looking for funding
                                      run `npm fund` for details
                                    
                                    4 moderate severity vulnerabilities
                                    
                                    To address issues that do not require attention, run:
                                      npm audit fix
                                    
                                    To address all issues possible (including breaking changes), run:
                                      npm audit fix --force
                                    
                                    Some issues need review, and may require choosing
                                    a different dependency.
                                    
                                    Run `npm audit` for details.
                                    
                                    
                                    
                                    Skript v.2023-10-10
                                    
                                    *** BASE SYSTEM ***
                                       Static hostname: raspberrypi
                                             Icon name: computer
                                      Operating System: Raspbian GNU/Linux 10 (buster)
                                                Kernel: Linux 5.10.103-v7l+
                                          Architecture: arm
                                    
                                    Model		: Raspberry Pi 4 Model B Rev 1.2
                                    Docker          : false
                                    Virtualization  : none
                                    Kernel          : armv7l
                                    Userland        : armhf
                                    
                                    Systemuptime and Load:
                                     17:27:27 up  1:07,  2 users,  load average: 1.61, 1.93, 1.26
                                    CPU threads: 4
                                    
                                    
                                    *** RASPBERRY THROTTLING ***
                                    Current issues:
                                    No throttling issues detected.
                                    
                                    Previously detected issues:
                                    No throttling issues detected.
                                    
                                    *** Time and Time Zones ***
                                                   Local time: Sat 2023-12-23 17:27:27 CET
                                               Universal time: Sat 2023-12-23 16:27:27 UTC
                                                     RTC time: n/a
                                                    Time zone: Europe/Berlin (CET, +0100)
                                    System clock synchronized: yes
                                                  NTP service: active
                                              RTC in local TZ: no
                                    
                                    *** User and Groups ***
                                    pi
                                    /home/pi
                                    pi adm dialout cdrom sudo audio video plugdev games users input netdev lpadmin gpio i2c spi iobroker
                                    
                                    *** X-Server-Setup ***
                                    X-Server: 	true
                                    Desktop: 	LXDE-pi
                                    Terminal: 	x11
                                    Boot Target: 	graphical.target
                                    
                                    *** MEMORY ***
                                                  total        used        free      shared  buff/cache   available
                                    Mem:           3.8G        705M        2.2G         21M        968M        3.0G
                                    Swap:           99M          0B         99M
                                    Total:         3.9G        705M        2.3G
                                    
                                             3838 M total memory
                                              705 M used memory
                                              417 M active memory
                                             1076 M inactive memory
                                             2164 M free memory
                                              128 M buffer memory
                                              839 M swap cache
                                               99 M total swap
                                                0 M used swap
                                               99 M free swap
                                    
                                    Raspberry only:
                                    oom events: 0
                                    lifetime oom required: 0 Mbytes
                                    total time in oom handler: 0 ms
                                    max time spent in oom handler: 0 ms
                                    
                                    *** FAILED SERVICES ***
                                    
                                    0 loaded units listed. Pass --all to see loaded but inactive units, too.
                                    To show all installed unit files use 'systemctl list-unit-files'.
                                    
                                    *** FILESYSTEM ***
                                    Filesystem     Type      Size  Used Avail Use% Mounted on
                                    /dev/root      ext4       59G  5.0G   51G   9% /
                                    devtmpfs       devtmpfs  1.8G     0  1.8G   0% /dev
                                    tmpfs          tmpfs     1.9G     0  1.9G   0% /dev/shm
                                    tmpfs          tmpfs     1.9G   17M  1.9G   1% /run
                                    tmpfs          tmpfs     5.0M  4.0K  5.0M   1% /run/lock
                                    tmpfs          tmpfs     1.9G     0  1.9G   0% /sys/fs/cgroup
                                    /dev/mmcblk0p1 vfat      253M   49M  204M  20% /boot
                                    tmpfs          tmpfs     384M   12K  384M   1% /run/user/1000
                                    
                                    Messages concerning ext4 filesystem in dmesg:
                                    [Sat Dec 23 16:20:11 2023] Kernel command line: coherent_pool=1M 8250.nr_uarts=1 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 video=HDMI-A-1:1920x1080M@60 smsc95xx.macaddr=DC:A6:32:60:A4:C4 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000  console=tty1 root=PARTUUID=676d1976-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles
                                    [Sat Dec 23 16:20:11 2023] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
                                    [Sat Dec 23 16:20:11 2023] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
                                    [Sat Dec 23 16:20:13 2023] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
                                    
                                    Show mounted filesystems \(real ones only\):
                                    TARGET                SOURCE         FSTYPE          OPTIONS
                                    /                     /dev/mmcblk0p2 ext4            rw,noatime
                                    |-/sys/fs/bpf         none           bpf             rw,nosuid,nodev,noexec,relatime,mode=700
                                    |-/run/user/1000/gvfs gvfsd-fuse     fuse.gvfsd-fuse rw,nosuid,nodev,relatime,user_id=1000,group_id=1000
                                    `-/boot               /dev/mmcblk0p1 vfat            rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro
                                    
                                    Files in neuralgic directories:
                                    
                                    /var:
                                    1.3G	/var/
                                    644M	/var/lib
                                    521M	/var/cache
                                    515M	/var/lib/piVCCU3
                                    509M	/var/cache/apt
                                    
                                    Archived and active journals take up 16.0M in the file system.
                                    
                                    /opt/iobroker/backups:
                                    du: cannot access '/opt/iobroker/backups/': No such file or directory
                                    
                                    /opt/iobroker/iobroker-data:
                                    157M	/opt/iobroker/iobroker-data/
                                    53M	/opt/iobroker/iobroker-data/node-red
                                    52M	/opt/iobroker/iobroker-data/node-red/node_modules
                                    46M	/opt/iobroker/iobroker-data/files
                                    41M	/opt/iobroker/iobroker-data/backup-objects
                                    
                                    The five largest files in iobroker-data are:
                                    21M	/opt/iobroker/iobroker-data/files/web.admin/static/js/main.aaea95f8.js.map
                                    8.3M	/opt/iobroker/iobroker-data/files/web.admin/static/js/main.aaea95f8.js
                                    5.6M	/opt/iobroker/iobroker-data/objects.jsonl
                                    5.4M	/opt/iobroker/iobroker-data/objects.json.migrated
                                    5.4M	/opt/iobroker/iobroker-data/objects.json.bak.migrated
                                    
                                    USB-Devices by-id:
                                    USB-Sticks -  Avoid direct links to /dev/* in your adapter setups, please always prefer the links 'by-id':
                                    
                                    find: '/dev/serial/by-id/': No such file or directory
                                    
                                    *** NodeJS-Installation ***
                                    
                                    /usr/bin/nodejs 	v18.16.1
                                    /usr/bin/node 		v18.16.1
                                    /usr/bin/npm 		9.5.1
                                    /usr/bin/npx 		9.5.1
                                    /usr/bin/corepack 	0.17.0
                                    
                                    
                                    nodejs:
                                      Installed: 18.16.1-deb-1nodesource1
                                      Candidate: 18.17.1-deb-1nodesource1
                                      Version table:
                                         18.17.1-deb-1nodesource1 500
                                            500 https://deb.nodesource.com/node_18.x buster/main armhf Packages
                                     *** 18.16.1-deb-1nodesource1 100
                                            100 /var/lib/dpkg/status
                                         10.24.0~dfsg-1~deb10u3 500
                                            500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
                                    
                                    Temp directories causing npm8 problem: 0
                                    No problems detected
                                    
                                    Errors in npm tree:
                                    
                                    *** ioBroker-Installation ***
                                    
                                    ioBroker Status
                                    iobroker is running on this host.
                                    
                                    
                                    Objects type: jsonl
                                    States  type: jsonl
                                    
                                    Core adapters versions
                                    js-controller: 	5.0.17
                                    admin: 		5.1.28
                                    javascript: 	"javascript" not found
                                    
                                    Adapters from github: 	0
                                    
                                    Adapter State
                                      system.adapter.admin.0                  : admin                 : raspberrypi                              -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
                                    + system.adapter.discovery.0              : discovery             : raspberrypi                              -  enabled
                                    + system.adapter.hm-rega.0                : hm-rega               : raspberrypi                              -  enabled
                                    + system.adapter.hm-rpc.0                 : hm-rpc                : raspberrypi                              -  enabled, port: 0
                                    + system.adapter.hs100.0                  : hs100                 : raspberrypi                              -  enabled
                                    + system.adapter.info.0                   : info                  : raspberrypi                              -  enabled
                                    + system.adapter.node-red.0               : node-red              : raspberrypi                              -  enabled, port: 1880, bind: 0.0.0.0
                                    + system.adapter.pushover.0               : pushover              : raspberrypi                              -  enabled
                                    + system.adapter.shelly.0                 : shelly                : raspberrypi                              -  enabled, port: 1882, bind: 192.168.20.100
                                    + system.adapter.web.0                    : web                   : raspberrypi                              -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
                                    
                                    + instance is alive
                                    
                                    Enabled adapters with bindings
                                      system.adapter.admin.0                  : admin                 : raspberrypi                              -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
                                    + system.adapter.hm-rpc.0                 : hm-rpc                : raspberrypi                              -  enabled, port: 0
                                    + system.adapter.node-red.0               : node-red              : raspberrypi                              -  enabled, port: 1880, bind: 0.0.0.0
                                    + system.adapter.shelly.0                 : shelly                : raspberrypi                              -  enabled, port: 1882, bind: 192.168.20.100
                                    + system.adapter.web.0                    : web                   : raspberrypi                              -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
                                    
                                    ioBroker-Repositories
                                    stable        : http://download.iobroker.net/sources-dist.json
                                    beta          : http://download.iobroker.net/sources-dist-latest.json
                                    
                                    Active repo(s): stable
                                    
                                    Installed ioBroker-Instances
                                    Used repository: stable
                                    Adapter    "admin"        : 6.12.0   , installed 5.1.28 [Updatable]
                                    Adapter    "discovery"    : 4.2.0    , installed 3.1.0  [Updatable]
                                    Adapter    "hm-rega"      : 4.0.0    , installed 3.0.46 [Updatable]
                                    Adapter    "hm-rpc"       : 1.15.19  , installed 1.15.18 [Updatable]
                                    Adapter    "hs100"        : 2.2.0    , installed 2.1.2  [Updatable]
                                    Adapter    "info"         : 2.0.0    , installed 1.9.26 [Updatable]
                                    Controller "js-controller": 5.0.17   , installed 5.0.17
                                    Adapter    "mqtt-client"  : 1.7.0    , installed 1.7.0
                                    Adapter    "node-red"     : 4.0.3    , installed 3.3.1  [Updatable]
                                    Adapter    "pushover"     : 3.0.6    , installed 3.0.3  [Updatable]
                                    Adapter    "shelly"       : 6.6.1    , installed 4.0.7  [Updatable]
                                    Adapter    "simple-api"   : 2.7.2    , installed 2.7.2
                                    Adapter    "socketio"     : 6.6.0    , installed 6.6.0
                                    Adapter    "web"          : 6.1.10   , installed 6.1.10
                                    Adapter    "ws"           : 2.5.8    , installed 2.5.8
                                    
                                    Objects and States
                                    Please stand by - This may take a while
                                    Objects: 	2298
                                    States: 	860
                                    
                                    *** OS-Repositories and Updates ***
                                    Hit:1 http://raspbian.raspberrypi.org/raspbian buster InRelease
                                    Hit:2 http://archive.raspberrypi.org/debian buster InRelease
                                    Hit:3 https://deb.nodesource.com/node_18.x buster InRelease
                                    Hit:4 https://www.pivccu.de/piVCCU stable InRelease
                                    Reading package lists...
                                    Pending Updates: 155
                                    
                                    *** Listening Ports ***
                                    Active Internet connections (only servers)
                                    Proto Recv-Q Send-Q Local Address           Foreign Address         State       User       Inode      PID/Program name    
                                    tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      0          17270      582/sshd            
                                    tcp        0      0 127.0.0.1:631           0.0.0.0:*               LISTEN      0          18683      420/cupsd           
                                    tcp        0      0 0.0.0.0:1880            0.0.0.0:*               LISTEN      1001       61793      7787/node-red       
                                    tcp        0      0 192.168.20.100:1882     0.0.0.0:*               LISTEN      1001       64971      8166/io.shelly.0    
                                    tcp        0      0 192.168.20.100:2010     0.0.0.0:*               LISTEN      1001       63568      7826/io.hm-rpc.0    
                                    tcp        0      0 0.0.0.0:1883            0.0.0.0:*               LISTEN      0          15251      558/mosquitto       
                                    tcp        0      0 127.0.0.1:9000          0.0.0.0:*               LISTEN      1001       61619      7722/iobroker.js-co 
                                    tcp        0      0 127.0.0.1:9001          0.0.0.0:*               LISTEN      1001       61612      7722/iobroker.js-co 
                                    tcp        0      0 0.0.0.0:5900            0.0.0.0:*               LISTEN      0          15349      577/vncserver-x11-c 
                                    tcp6       0      0 :::8082                 :::*                    LISTEN      1001       62790      8041/io.web.0       
                                    tcp6       0      0 :::22                   :::*                    LISTEN      0          17272      582/sshd            
                                    tcp6       0      0 ::1:631                 :::*                    LISTEN      0          18682      420/cupsd           
                                    tcp6       0      0 :::1883                 :::*                    LISTEN      0          15252      558/mosquitto       
                                    tcp6       0      0 :::5900                 :::*                    LISTEN      0          15348      577/vncserver-x11-c 
                                    udp        0      0 0.0.0.0:631             0.0.0.0:*                           0          20657      545/cups-browsed    
                                    udp        0      0 0.0.0.0:5353            0.0.0.0:*                           108        16086      402/avahi-daemon: r 
                                    udp        0      0 0.0.0.0:35206           0.0.0.0:*                           108        16088      402/avahi-daemon: r 
                                    udp6       0      0 :::5353                 :::*                                108        16087      402/avahi-daemon: r 
                                    udp6       0      0 :::50048                :::*                                108        16089      402/avahi-daemon: r 
                                    
                                    *** Log File - Last 25 Lines ***
                                    
                                    2023-12-23 17:26:35.046  - info: host.raspberrypi iobroker npm-rebuild: Rebuilding native modules done
                                    2023-12-23 17:26:36.060  - info: host.raspberrypi iobroker npm-rebuild: exit 0
                                    2023-12-23 17:26:36.236  - info: host.raspberrypi instance system.adapter.admin.0 started with pid 9252
                                    2023-12-23 17:26:38.169  - error: host.raspberrypi Caught by controller[0]: node:internal/modules/cjs/loader:1080
                                    2023-12-23 17:26:38.169  - error: host.raspberrypi Caught by controller[0]:   throw err;
                                    2023-12-23 17:26:38.169  - error: host.raspberrypi Caught by controller[0]:   ^
                                    2023-12-23 17:26:38.170  - error: host.raspberrypi Caught by controller[0]: Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/lib/tools.js'
                                    2023-12-23 17:26:38.170  - error: host.raspberrypi Caught by controller[0]: Require stack:
                                    2023-12-23 17:26:38.170  - error: host.raspberrypi Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.admin/main.js
                                    2023-12-23 17:26:38.170  - error: host.raspberrypi Caught by controller[0]:     at Module._resolveFilename (node:internal/modules/cjs/loader:1077:15)
                                    2023-12-23 17:26:38.170  - error: host.raspberrypi Caught by controller[0]:     at Module._load (node:internal/modules/cjs/loader:922:27)
                                    2023-12-23 17:26:38.171  - error: host.raspberrypi Caught by controller[0]:     at Module.require (node:internal/modules/cjs/loader:1143:19)
                                    2023-12-23 17:26:38.171  - error: host.raspberrypi Caught by controller[0]:     at require (node:internal/modules/cjs/helpers:110:18)
                                    2023-12-23 17:26:38.171  - error: host.raspberrypi Caught by controller[0]:     at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.admin/main.js:18:18)
                                    2023-12-23 17:26:38.171  - error: host.raspberrypi Caught by controller[0]:     at Module._compile (node:internal/modules/cjs/loader:1256:14)
                                    2023-12-23 17:26:38.171  - error: host.raspberrypi Caught by controller[0]:     at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
                                    2023-12-23 17:26:38.172  - error: host.raspberrypi Caught by controller[0]:     at Module.load (node:internal/modules/cjs/loader:1119:32)
                                    2023-12-23 17:26:38.172  - error: host.raspberrypi Caught by controller[0]:     at Module._load (node:internal/modules/cjs/loader:960:12)
                                    2023-12-23 17:26:38.172  - error: host.raspberrypi Caught by controller[0]:     at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12) {
                                    2023-12-23 17:26:38.172  - error: host.raspberrypi Caught by controller[0]:   code: 'MODULE_NOT_FOUND',
                                    2023-12-23 17:26:38.172  - error: host.raspberrypi Caught by controller[0]:   requireStack: [ '/opt/iobroker/node_modules/iobroker.admin/main.js' ]
                                    2023-12-23 17:26:38.173  - error: host.raspberrypi Caught by controller[0]: }
                                    2023-12-23 17:26:38.173  - error: host.raspberrypi Caught by controller[0]: Node.js v18.16.1
                                    2023-12-23 17:26:38.173  - error: host.raspberrypi instance system.adapter.admin.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
                                    2023-12-23 17:26:38.173  - info: host.raspberrypi Rebuild for adapter system.adapter.admin.0 not successful in 3 tries. Adapter will not be restarted again. Please execute "npm install --production" in adapter directory manually.
                                    
                                    
                                    mcm1957 Thomas Braun Glasfaser 3 Replies Last reply Reply Quote 0
                                    • mcm1957
                                      mcm1957 @Architect0711 last edited by mcm1957

                                      @architect0711
                                      Wie im Einleitungsposting steht brauchen einige Adapter ein Update. Dein admin (5.X.X) Ist zu alt.

                                      Ambesten lies das ETSTE Posting nochmal durch.

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

                                        @architect0711

                                        Installier da NEU! Raspberry OS 12 Bookworm. Und zwar in der Lite-Version für 64Bit. Dann dein
                                        iob-Backup einspielen. Zuvor den ganzen Sums auf Stand bringen.

                                        Künftig REGELMÄSSIG Systempflege betreiben.

                                        1 Reply Last reply Reply Quote 0
                                        • Glasfaser
                                          Glasfaser @Architect0711 last edited by

                                          @architect0711

                                          ist das richtig ... das du kein backitup Adapter hast !?

                                          Wo sind deine Backups !?

                                          A 1 Reply Last reply Reply Quote 0
                                          • A
                                            Architect0711 @Glasfaser last edited by

                                            ich habe neben dem iobroker noch andere sachen auf dem raspi, deshalb mache ich immer sd card images als backup.

                                            Glasfaser Thomas Braun 2 Replies 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

                                            812
                                            Online

                                            31.8k
                                            Users

                                            80.0k
                                            Topics

                                            1.3m
                                            Posts

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