Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Einsteigerfragen
    4. Installation
    5. Hilfe! js-controller und javascript Problem

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Hilfe! js-controller und javascript Problem

    This topic has been deleted. Only users with topic management privileges can see it.
    • I
      ioNewbie last edited by

      Nachdem ich in diesem Thread (das hier alles) dann wieder Updates laden konnte, kam ich trotzdem nicht zum Ziel, und habe erst mal genervt alles gelassen, wie es war, da meine KNX Abfragen und Flot für die rudimentäre Diagramm weiterhin funktionierten.

      Nun wollte ich nochmal dran, und habe schon wieder drei Stunden erfolglos verballert.

      Ich habe zufällig diese NodeJS Update Anleitung diese nodejs Update Anleitung gefunden und durchgeackert. Das hat auch, soweit ich gesehen habe, ohne Fehler funktioniert (obwohl beim Script ein roter "Deprecated" Hinweis (aber ohne Nachfolgerverweis)) kam.
      Damit hat es dann endlich geklappt, das NodeJS zu aktualisieren. Aber die js-controller Version bekomme ich zum **** nicht von 4.0.24 auf die aktuelle 5.0.12.

      Hab verschiedenes gemäß gefundener Anleitungen und Hinweise versucht, kann das gar nicht mehr alles wiedergeben.
      in den Instanzen ist kein Javascript Adapter mehr zu sehen. Ein "iob update -i" auf der Konsole bringt das hier:

      pi@iobroker:/opt/iobroker $ iob update -i
      Used repository: stable
      Adapter    "admin"        : 6.8.0    , installed 6.3.5  [Updatable]
      Adapter    "alexa2"       : 3.24.1   , installed 3.23.2 [Updatable]
      Adapter    "backitup"     : 2.6.23   , installed 2.6.23
      Adapter    "chromecast"   : 3.0.3    , installed 3.0.3
      Adapter    "daikin-cloud" : 0.3.0    , installed 0.2.3  [Updatable]
      Adapter    "discovery"    : 3.1.0    , installed 3.1.0
      Adapter    "flot"         : 1.12.0   , installed 1.12.0
      Adapter    "fritzdect"    : 2.3.1    , installed 2.3.1
      Adapter    "history"      : 2.2.6    , installed 2.2.4  [Updatable]
      Adapter    "jarvis"       : 3.1.2    , installed 3.1.2
      Adapter    "javascript"   : 7.1.4    , installed 7.1.4
      Controller "js-controller": 5.0.12   , installed 4.0.24 [Updatable]
      Adapter    "knx"          : 2.0.22   , installed 2.0.17 [Updatable]
      Adapter    "net-tools"    : 0.2.0    , installed 0.2.0
      Adapter    "ping"         : 1.6.2    , installed 1.5.3  [Updatable]
      Adapter    "powerfox2"    : 0.0.12   , installed 0.0.12
      Adapter    "shelly"       : 6.4.1    , installed 6.4.1
      Adapter    "simple-api"   : 2.7.2    , installed 2.7.2
      Adapter    "socketio"     : 6.5.5    , installed 4.2.0  [Updatable]
      Adapter    "sonos"        : 2.3.1    , installed 2.3.1
      Adapter    "synology"     : 2.1.13   , installed 2.1.13
      Adapter    "vis"          : 1.4.16   , installed 1.4.16
      Adapter    "vis-bars"     : 0.1.4    , installed 0.1.4
      Adapter    "vis-history"  : 1.0.0    , installed 1.0.0
      Adapter    "vis-hqwidgets": 1.4.0    , installed 1.4.0
      Adapter    "vis-jqui-mfd" : 1.0.12   , installed 1.0.12
      Adapter    "vis-map"      : 1.0.4    , installed 1.0.4
      Adapter    "vis-rgraph"   : 0.0.2    , installed 0.0.2
      Adapter    "vis-timeandweather": 1.2.2, installed 1.2.2
      Adapter    "vis-weather"  : 2.5.6    , installed 2.5.6
      Adapter    "web"          : 6.1.2    , installed 4.3.0  [Updatable]
      Adapter    "whatsapp-cmb" : 0.2.3    , installed 0.2.3
      Adapter    "ws"           : 2.5.5    , installed 1.3.0  [Updatable]
      

      node -v zeigt an:

      pi@iobroker:/opt/iobroker $ node -v
      v18.17.1
      

      Wie bekomme ich das gefixt und wieder ans laufen? Ich bin nicht so tief drin in Linux und ioBroker?

      Danke für hilfreiche Infos. Ich weiß nicht mehr was tun.

      Diese Anweisungen zum Updaten des js-controllers habe ich noch xmal in allen Spielarten durch, ohne Erfolg.

      iobroker stop
      iobroker update
      iobroker fix
      iobroker upgrade self
      iobroker start
      

      Hinweis: iob repo list sagt

      stable        : http://download.iobroker.net/sources-dist.json
      beta          : http://download.iobroker.net/sources-dist-latest.json
      
      Thomas Braun 2 Replies Last reply Reply Quote 0
      • Thomas Braun
        Thomas Braun Most Active @ioNewbie last edited by

        @ionewbie

        Gib Mal die Langfassung von

        iob diag
        

        bekannt.

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

          @ionewbie sagte in Hilfe! js-controller und javascript Problem:

          (obwohl beim Script ein roter "Deprecated" Hinweis (aber ohne Nachfolgerverweis)

          Die Anleitung ist auch nicht auf aktuellem Stand. Steht das nicht auch im ersten Absatz drin?

          Aktuell ist momentan nur die Anleitung aus meiner Signatur.

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

            Ergänzung: eben habe ich nochmal in Putty iobroker gestoppt und neu gestartet, dann konnte ich den Javascript adapter wieder neu installieren.
            Aber der wirft beim Start im Log immer diesen Fehler und hört dann auf.

            adapter "javascript" seems to be installed for a different version of Node.js. Trying to rebuild it... 2 attempt
            
            Thomas Braun 1 Reply Last reply Reply Quote 0
            • Thomas Braun
              Thomas Braun Most Active @ioNewbie last edited by

              @ionewbie sagte in Hilfe! js-controller und javascript Problem:

              und hört dann auf.

              Nö, da versucht er den rebuild noch weitere Male.
              Ein Abbruch der Versuche sieht anders aus.

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

                iob diag bringt das hier:

                ======== Start marking the full check here =========

                Skript v.2023-06-20
                
                *** BASE SYSTEM ***
                   Static hostname: iobroker
                         Icon name: computer
                        Machine ID: 68716f4ecfa5426ea966c195a9cf7def
                           Boot ID: c86fdaa2349345f29bc233e048bbf080
                  Operating System: Raspbian GNU/Linux 11 (bullseye)
                            Kernel: Linux 5.15.61-v7l+
                      Architecture: arm
                
                Model           : Raspberry Pi 4 Model B Rev 1.2
                Docker          : false
                Virtualization  : none
                Kernel          : armv7l
                Userland        : armhf
                
                Systemuptime and Load:
                 11:24:39 up 3 days, 16:27,  2 users,  load average: 0.54, 0.93, 0.61
                CPU threads: 4
                
                Raspberry only:
                throttled=0x0
                Other values than 0x0 hint to temperature/voltage problems
                temp=42.8'C
                volt=0.8688V
                
                *** Time and Time Zones ***
                               Local time: Sun 2023-09-17 11:24:40 CEST
                           Universal time: Sun 2023-09-17 09:24:40 UTC
                                 RTC time: n/a
                                Time zone: Europe/Berlin (CEST, +0200)
                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 render netdev gpio i2c spi iobroker
                
                *** X-Server-Setup ***
                X-Server:       false
                Desktop:
                Terminal:       tty
                Boot Target:    multi-user.target
                
                *** MEMORY ***
                               total        used        free      shared  buff/cache   available
                Mem:            3.8G        461M        1.9G        0.0K        1.5G        3.2G
                Swap:            99M          0B         99M
                Total:          3.9G        461M        2.0G
                
                         3838 M total memory
                          461 M used memory
                          551 M active memory
                         1170 M inactive memory
                         1905 M free memory
                          156 M buffer memory
                         1315 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
                
                *** FILESYSTEM ***
                Filesystem     Type      Size  Used Avail Use% Mounted on
                /dev/root      ext4       59G  6.9G   50G  13% /
                devtmpfs       devtmpfs  1.8G     0  1.8G   0% /dev
                tmpfs          tmpfs     1.9G     0  1.9G   0% /dev/shm
                tmpfs          tmpfs     768M  836K  767M   1% /run
                tmpfs          tmpfs     5.0M  4.0K  5.0M   1% /run/lock
                /dev/mmcblk0p1 vfat      253M   50M  203M  20% /boot
                tmpfs          tmpfs     384M     0  384M   0% /run/user/1000
                /dev/sda1      exfat     118G  9.3M  118G   1% /media/usbstick
                
                Messages concerning ext4 filesystem in dmesg:
                [Wed Sep 13 18:57:05 2023] Kernel command line: coherent_pool=1M 8250.nr_uarts=0 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1  smsc95xx.macaddr=DC:A6:32:F8:36:36 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000  console=ttyS0,115200 console=tty1 root=PARTUUID=3f61f07b-02 rootfstype=ext4 fsck.repair=yes rootwait
                [Wed Sep 13 18:57:06 2023] EXT4-fs (mmcblk0p2): INFO: recovery required on readonly filesystem
                [Wed Sep 13 18:57:06 2023] EXT4-fs (mmcblk0p2): write access will be enabled during recovery
                [Wed Sep 13 18:57:07 2023] EXT4-fs (mmcblk0p2): orphan cleanup on readonly fs
                [Wed Sep 13 18:57:07 2023] EXT4-fs (mmcblk0p2): 3 orphan inodes deleted
                [Wed Sep 13 18:57:07 2023] EXT4-fs (mmcblk0p2): recovery complete
                [Wed Sep 13 18:57:07 2023] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
                [Wed Sep 13 18:57:07 2023] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
                [Wed Sep 13 18:57:09 2023] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null). Quota mode: none.
                
                Show mounted filesystems (real ones only):
                TARGET            SOURCE         FSTYPE OPTIONS
                /                 /dev/mmcblk0p2 ext4   rw,noatime,nodiratime
                |-/boot           /dev/mmcblk0p1 vfat   rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,flush,errors=remount-ro
                `-/media/usbstick /dev/sda1      exfat  rw,noatime,uid=1001,gid=1001,fmask=0022,dmask=0022,iocharset=utf8,errors=remount-ro
                
                Files in neuralgic directories:
                
                /var:
                2.3G    /var/
                1.8G    /var/log/journal/68716f4ecfa5426ea966c195a9cf7def
                1.8G    /var/log/journal
                1.8G    /var/log
                323M    /var/cache
                
                Archived and active journals take up 1.7G in the file system.
                
                /opt/iobroker/backups:
                87M     /opt/iobroker/backups/
                
                /opt/iobroker/iobroker-data:
                1.9G    /opt/iobroker/iobroker-data/
                1.7G    /opt/iobroker/iobroker-data/history
                126M    /opt/iobroker/iobroker-data/files
                52M     /opt/iobroker/iobroker-data/files/javascript.admin
                44M     /opt/iobroker/iobroker-data/backup-objects
                
                The five largest files in iobroker-data are:
                7.1M    /opt/iobroker/iobroker-data/files/javascript.admin/static/js/610.f22de4ab.chunk.js.map
                7.0M    /opt/iobroker/iobroker-data/objects.jsonl
                6.3M    /opt/iobroker/iobroker-data/files/admin.admin/custom/static/js/vendors-node_modules_iobroker_adapter-react-v5_assets_devices_parseNames_js-node_modules_iobr-99c23e.847b8ad9.chunk.js.map
                5.8M    /opt/iobroker/iobroker-data/files/javascript.admin/static/js/550.cfbef968.chunk.js.map
                5.3M    /opt/iobroker/iobroker-data/files/knx.admin/static/js/2.00871907.chunk.js.map
                
                *** NodeJS-Installation ***
                
                /usr/bin/nodejs         v18.17.1
                /usr/bin/node           v18.17.1
                /usr/bin/npm            9.6.7
                /usr/bin/npx            9.6.7
                
                
                nodejs:
                  Installed: 18.17.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 bullseye/main armhf Packages
                        100 /var/lib/dpkg/status
                     12.22.12~dfsg-1~deb11u4 500
                        500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
                
                Temp directories causing npm8 problem: 0
                No problems detected
                Thomas Braun 1 Reply Last reply Reply Quote 0
                • Thomas Braun
                  Thomas Braun Most Active @ioNewbie last edited by

                  @ionewbie

                  Das ist nicht vollständig.

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

                    @thomas-braun oh, sehe ich gerade auch, habe das noch nie gemacht. muss zweimal copy pasten
                    moment...

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

                      @thomas-braun
                      Hier.

                      ======== Start marking the full check here =========

                      Skript v.2023-06-20
                      
                      *** BASE SYSTEM ***
                         Static hostname: iobroker
                               Icon name: computer
                              Machine ID: 68716f4ecfa5426ea966c195a9cf7def
                                 Boot ID: c86fdaa2349345f29bc233e048bbf080
                        Operating System: Raspbian GNU/Linux 11 (bullseye)
                                  Kernel: Linux 5.15.61-v7l+
                            Architecture: arm
                      
                      Model           : Raspberry Pi 4 Model B Rev 1.2
                      Docker          : false
                      Virtualization  : none
                      Kernel          : armv7l
                      Userland        : armhf
                      
                      Systemuptime and Load:
                       11:30:23 up 3 days, 16:33,  2 users,  load average: 0.78, 0.77, 0.64
                      CPU threads: 4
                      
                      Raspberry only:
                      throttled=0x0
                      Other values than 0x0 hint to temperature/voltage problems
                      temp=41.3'C
                      volt=0.8688V
                      
                      *** Time and Time Zones ***
                                     Local time: Sun 2023-09-17 11:30:23 CEST
                                 Universal time: Sun 2023-09-17 09:30:23 UTC
                                       RTC time: n/a
                                      Time zone: Europe/Berlin (CEST, +0200)
                      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 render netdev gpio i2c spi iobroker
                      
                      *** X-Server-Setup ***
                      X-Server:       false
                      Desktop:
                      Terminal:       tty
                      Boot Target:    multi-user.target
                      
                      *** MEMORY ***
                                     total        used        free      shared  buff/cache   available
                      Mem:            3.8G        464M        1.9G        0.0K        1.5G        3.2G
                      Swap:            99M          0B         99M
                      Total:          3.9G        464M        2.0G
                      
                               3838 M total memory
                                464 M used memory
                                552 M active memory
                               1178 M inactive memory
                               1898 M free memory
                                157 M buffer memory
                               1318 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
                      
                      *** FILESYSTEM ***
                      Filesystem     Type      Size  Used Avail Use% Mounted on
                      /dev/root      ext4       59G  6.9G   50G  13% /
                      devtmpfs       devtmpfs  1.8G     0  1.8G   0% /dev
                      tmpfs          tmpfs     1.9G     0  1.9G   0% /dev/shm
                      tmpfs          tmpfs     768M  836K  767M   1% /run
                      tmpfs          tmpfs     5.0M  4.0K  5.0M   1% /run/lock
                      /dev/mmcblk0p1 vfat      253M   50M  203M  20% /boot
                      tmpfs          tmpfs     384M     0  384M   0% /run/user/1000
                      /dev/sda1      exfat     118G  9.3M  118G   1% /media/usbstick
                      
                      Messages concerning ext4 filesystem in dmesg:
                      [Wed Sep 13 18:57:05 2023] Kernel command line: coherent_pool=1M 8250.nr_uarts=0 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1  smsc95xx.macaddr=DC:A6:32:F8:36:36 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000  console=ttyS0,115200 console=tty1 root=PARTUUID=3f61f07b-02 rootfstype=ext4 fsck.repair=yes rootwait
                      [Wed Sep 13 18:57:06 2023] EXT4-fs (mmcblk0p2): INFO: recovery required on readonly filesystem
                      [Wed Sep 13 18:57:06 2023] EXT4-fs (mmcblk0p2): write access will be enabled during recovery
                      [Wed Sep 13 18:57:07 2023] EXT4-fs (mmcblk0p2): orphan cleanup on readonly fs
                      [Wed Sep 13 18:57:07 2023] EXT4-fs (mmcblk0p2): 3 orphan inodes deleted
                      [Wed Sep 13 18:57:07 2023] EXT4-fs (mmcblk0p2): recovery complete
                      [Wed Sep 13 18:57:07 2023] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
                      [Wed Sep 13 18:57:07 2023] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
                      [Wed Sep 13 18:57:09 2023] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null). Quota mode: none.
                      
                      Show mounted filesystems (real ones only):
                      TARGET            SOURCE         FSTYPE OPTIONS
                      /                 /dev/mmcblk0p2 ext4   rw,noatime,nodiratime
                      |-/boot           /dev/mmcblk0p1 vfat   rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,flush,errors=remount-ro
                      `-/media/usbstick /dev/sda1      exfat  rw,noatime,uid=1001,gid=1001,fmask=0022,dmask=0022,iocharset=utf8,errors=remount-ro
                      
                      Files in neuralgic directories:
                      
                      /var:
                      2.3G    /var/
                      1.8G    /var/log/journal/68716f4ecfa5426ea966c195a9cf7def
                      1.8G    /var/log/journal
                      1.8G    /var/log
                      323M    /var/cache
                      
                      Archived and active journals take up 1.7G in the file system.
                      
                      /opt/iobroker/backups:
                      87M     /opt/iobroker/backups/
                      
                      /opt/iobroker/iobroker-data:
                      1.9G    /opt/iobroker/iobroker-data/
                      1.7G    /opt/iobroker/iobroker-data/history
                      126M    /opt/iobroker/iobroker-data/files
                      52M     /opt/iobroker/iobroker-data/files/javascript.admin
                      44M     /opt/iobroker/iobroker-data/backup-objects
                      
                      The five largest files in iobroker-data are:
                      7.1M    /opt/iobroker/iobroker-data/files/javascript.admin/static/js/610.f22de4ab.chunk.js.map
                      7.0M    /opt/iobroker/iobroker-data/objects.jsonl
                      6.3M    /opt/iobroker/iobroker-data/files/admin.admin/custom/static/js/vendors-node_modules_iobroker_adapter-react-v5_assets_devices_parseNames_js-node_modules_iobr-99c23e.847b8ad9.chunk.js.map
                      5.8M    /opt/iobroker/iobroker-data/files/javascript.admin/static/js/550.cfbef968.chunk.js.map
                      5.3M    /opt/iobroker/iobroker-data/files/knx.admin/static/js/2.00871907.chunk.js.map
                      
                      *** NodeJS-Installation ***
                      
                      /usr/bin/nodejs         v18.17.1
                      /usr/bin/node           v18.17.1
                      /usr/bin/npm            9.6.7
                      /usr/bin/npx            9.6.7
                      
                      
                      nodejs:
                        Installed: 18.17.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 bullseye/main armhf Packages
                              100 /var/lib/dpkg/status
                           12.22.12~dfsg-1~deb11u4 500
                              500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
                      
                      Temp directories causing npm8 problem: 0
                      No problems detected
                      
                      npm ERR! code ELSPROBLEMS
                      npm ERR! missing: @iobroker/types@^5.0.11, required by @iobroker/adapter-core@3.0.3
                      
                      npm ERR! A complete log of this run can be found in: /home/pi/.npm/_logs/2023-09-17T09_30_31_103Z-debug-0.log
                      Errors in npm tree: 0
                      
                      *** ioBroker-Installation ***
                      
                      ioBroker Status
                      iobroker is running on this host.
                      
                      
                      Objects type: jsonl
                      States  type: jsonl
                      
                      No configuration change needed.
                      
                      
                      Multihost discovery server: disabled
                      Discovery authentication:   enabled
                      Persistent activation:      disabled
                      Objects:                    jsonl on 127.0.0.1
                      States:                     jsonl on 127.0.0.1
                      
                      Core adapters versions
                      js-controller:  4.0.24
                      admin:          6.3.5
                      javascript:     7.1.4
                      
                      Adapters from github:   0
                      
                      Adapter State
                      + system.adapter.admin.0                  : admin                 : iobroker                                 -  enabled, port: 8081, bind: 0.0.0.0 (SSL), run as: admin
                      + system.adapter.alexa2.0                 : alexa2                : iobroker                                 -  enabled
                      + system.adapter.backitup.0               : backitup              : iobroker                                 -  enabled
                        system.adapter.chromecast.0             : chromecast            : iobroker                                 - disabled
                        system.adapter.daikin-cloud.0           : daikin-cloud          : iobroker                                 - disabled
                      + system.adapter.discovery.0              : discovery             : iobroker                                 -  enabled
                        system.adapter.flot.0                   : flot                  : iobroker                                 -  enabled
                        system.adapter.fritzdect.0              : fritzdect             : iobroker                                 - disabled
                      + system.adapter.history.0                : history               : iobroker                                 -  enabled
                        system.adapter.jarvis.0                 : jarvis                : iobroker                                 - disabled
                        system.adapter.javascript.0             : javascript            : iobroker                                 -  enabled
                      + system.adapter.knx.0                    : knx                   : iobroker                                 -  enabled, bind: 192.168.10.190
                        system.adapter.net-tools.0              : net-tools             : iobroker                                 - disabled
                        system.adapter.ping.0                   : ping                  : iobroker                                 - disabled
                        system.adapter.powerfox2.0              : powerfox2             : iobroker                                 -  enabled
                      + system.adapter.shelly.0                 : shelly                : iobroker                                 -  enabled, port: 1882, bind: 0.0.0.0
                        system.adapter.sonos.0                  : sonos                 : iobroker                                 - disabled
                        system.adapter.synology.0               : synology              : iobroker                                 - disabled, port: 5000
                        system.adapter.vis-bars.0               : vis-bars              : iobroker                                 -  enabled
                        system.adapter.vis-history.0            : vis-history           : iobroker                                 -  enabled
                        system.adapter.vis-hqwidgets.0          : vis-hqwidgets         : iobroker                                 -  enabled
                        system.adapter.vis-jqui-mfd.0           : vis-jqui-mfd          : iobroker                                 -  enabled
                        system.adapter.vis-map.0                : vis-map               : iobroker                                 -  enabled
                        system.adapter.vis-rgraph.0             : vis-rgraph            : iobroker                                 -  enabled
                        system.adapter.vis-timeandweather.0     : vis-timeandweather    : iobroker                                 -  enabled
                        system.adapter.vis-weather.0            : vis-weather           : iobroker                                 -  enabled
                        system.adapter.vis.0                    : vis                   : iobroker                                 -  enabled
                      + system.adapter.web.0                    : web                   : iobroker                                 -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
                      + system.adapter.whatsapp-cmb.0           : whatsapp-cmb          : iobroker                                 -  enabled
                      
                      + instance is alive
                      
                      Enabled adapters with bindings
                      + system.adapter.admin.0                  : admin                 : iobroker                                 -  enabled, port: 8081, bind: 0.0.0.0 (SSL), run as: admin
                      + system.adapter.shelly.0                 : shelly                : iobroker                                 -  enabled, port: 1882, bind: 0.0.0.0
                      + system.adapter.web.0                    : web                   : iobroker                                 -  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.8.0    , installed 6.3.5  [Updatable]
                      Adapter    "alexa2"       : 3.24.1   , installed 3.23.2 [Updatable]
                      Adapter    "backitup"     : 2.6.23   , installed 2.6.23
                      Adapter    "chromecast"   : 3.0.3    , installed 3.0.3
                      Adapter    "daikin-cloud" : 0.3.0    , installed 0.2.3  [Updatable]
                      Adapter    "discovery"    : 3.1.0    , installed 3.1.0
                      Adapter    "flot"         : 1.12.0   , installed 1.12.0
                      Adapter    "fritzdect"    : 2.3.1    , installed 2.3.1
                      Adapter    "history"      : 2.2.6    , installed 2.2.4  [Updatable]
                      Adapter    "jarvis"       : 3.1.2    , installed 3.1.2
                      Adapter    "javascript"   : 7.1.4    , installed 7.1.4
                      Controller "js-controller": 5.0.12   , installed 4.0.24 [Updatable]
                      Adapter    "knx"          : 2.0.22   , installed 2.0.17 [Updatable]
                      Adapter    "net-tools"    : 0.2.0    , installed 0.2.0
                      Adapter    "ping"         : 1.6.2    , installed 1.5.3  [Updatable]
                      Adapter    "powerfox2"    : 0.0.12   , installed 0.0.12
                      Adapter    "shelly"       : 6.4.1    , installed 6.4.1
                      Adapter    "simple-api"   : 2.7.2    , installed 2.7.2
                      Adapter    "socketio"     : 6.5.5    , installed 4.2.0  [Updatable]
                      Adapter    "sonos"        : 2.3.1    , installed 2.3.1
                      Adapter    "synology"     : 2.1.13   , installed 2.1.13
                      Adapter    "vis"          : 1.4.16   , installed 1.4.16
                      Adapter    "vis-bars"     : 0.1.4    , installed 0.1.4
                      Adapter    "vis-history"  : 1.0.0    , installed 1.0.0
                      Adapter    "vis-hqwidgets": 1.4.0    , installed 1.4.0
                      Adapter    "vis-jqui-mfd" : 1.0.12   , installed 1.0.12
                      Adapter    "vis-map"      : 1.0.4    , installed 1.0.4
                      Adapter    "vis-rgraph"   : 0.0.2    , installed 0.0.2
                      Adapter    "vis-timeandweather": 1.2.2, installed 1.2.2
                      Adapter    "vis-weather"  : 2.5.6    , installed 2.5.6
                      Adapter    "web"          : 6.1.2    , installed 4.3.0  [Updatable]
                      Adapter    "whatsapp-cmb" : 0.2.3    , installed 0.2.3
                      Adapter    "ws"           : 2.5.5    , installed 1.3.0  [Updatable]
                      
                      Objects and States
                      Please stand by - This may take a while
                      Objects:        2461
                      States:         1868
                      
                      *** OS-Repositories and Updates ***
                      Hit:1 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
                      Hit:2 http://archive.raspberrypi.org/debian bullseye InRelease
                      Hit:3 https://deb.nodesource.com/node_18.x bullseye InRelease
                      Reading package lists...
                      Pending Updates: 124
                      
                      *** 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 127.0.0.1:9000          0.0.0.0:*               LISTEN      1001       508024     12934/iobroker.js-c
                      tcp        0      0 127.0.0.1:9001          0.0.0.0:*               LISTEN      1001       508017     12934/iobroker.js-c
                      tcp        0      0 0.0.0.0:1882            0.0.0.0:*               LISTEN      1001       508152     13012/io.shelly.0
                      tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      0          13632      519/sshd: /usr/sbin
                      tcp6       0      0 :::8082                 :::*                    LISTEN      1001       508234     13086/io.web.0
                      tcp6       0      0 :::8081                 :::*                    LISTEN      1001       508082     12952/io.admin.0
                      tcp6       0      0 :::22                   :::*                    LISTEN      0          13634      519/sshd: /usr/sbin
                      udp        0      0 0.0.0.0:45513           0.0.0.0:*                           108        11743      393/avahi-daemon: r
                      udp        0      0 0.0.0.0:68              0.0.0.0:*                           0          13664      712/dhcpcd
                      udp        0      0 0.0.0.0:5353            0.0.0.0:*                           108        11741      393/avahi-daemon: r
                      udp        0      0 192.168.10.190:41272    0.0.0.0:*                           1001       517575     13117/io.knx.0
                      udp        0      0 192.168.10.190:36704    0.0.0.0:*                           1001       509246     13117/io.knx.0
                      udp        0      0 192.168.10.190:46948    0.0.0.0:*                           1001       507389     13117/io.knx.0
                      udp6       0      0 :::5353                 :::*                                108        11742      393/avahi-daemon: r
                      udp6       0      0 :::55174                :::*                                108        11744      393/avahi-daemon: r
                      
                      *** Log File - Last 25 Lines ***
                      
                      2023-09-17 11:25:06.066  - info: host.iobroker instance system.adapter.powerfox2.0 terminated with code 0 (NO_ERROR)
                      2023-09-17 11:26:00.077  - info: host.iobroker instance system.adapter.powerfox2.0 started with pid 16099
                      2023-09-17 11:26:02.064  - info: powerfox2.0 (16099) starting. Version 0.0.12 in /opt/iobroker/node_modules/iobroker.powerfox2, node: v18.17.1, js-controller: 4.0.24
                      2023-09-17 11:26:04.864  - info: powerfox2.0 (16099) Terminated (NO_ERROR): Without reason
                      2023-09-17 11:26:05.398  - info: host.iobroker instance system.adapter.powerfox2.0 terminated with code 0 (NO_ERROR)
                      2023-09-17 11:27:00.041  - info: host.iobroker instance system.adapter.powerfox2.0 started with pid 16116
                      2023-09-17 11:27:01.940  - info: powerfox2.0 (16116) starting. Version 0.0.12 in /opt/iobroker/node_modules/iobroker.powerfox2, node: v18.17.1, js-controller: 4.0.24
                      2023-09-17 11:27:04.918  - info: powerfox2.0 (16116) Terminated (NO_ERROR): Without reason
                      2023-09-17 11:27:05.477  - info: host.iobroker instance system.adapter.powerfox2.0 terminated with code 0 (NO_ERROR)
                      2023-09-17 11:28:00.069  - info: host.iobroker instance system.adapter.powerfox2.0 started with pid 16132
                      2023-09-17 11:28:01.983  - info: powerfox2.0 (16132) starting. Version 0.0.12 in /opt/iobroker/node_modules/iobroker.powerfox2, node: v18.17.1, js-controller: 4.0.24
                      2023-09-17 11:28:05.496  - info: powerfox2.0 (16132) Terminated (NO_ERROR): Without reason
                      2023-09-17 11:28:06.028  - info: host.iobroker instance system.adapter.powerfox2.0 terminated with code 0 (NO_ERROR)
                      2023-09-17 11:29:00.058  - info: host.iobroker instance system.adapter.powerfox2.0 started with pid 16203
                      2023-09-17 11:29:02.200  - info: powerfox2.0 (16203) starting. Version 0.0.12 in /opt/iobroker/node_modules/iobroker.powerfox2, node: v18.17.1, js-controller: 4.0.24
                      2023-09-17 11:29:05.710  - info: powerfox2.0 (16203) Terminated (NO_ERROR): Without reason
                      2023-09-17 11:29:06.266  - info: host.iobroker instance system.adapter.powerfox2.0 terminated with code 0 (NO_ERROR)
                      2023-09-17 11:30:00.069  - info: host.iobroker instance system.adapter.powerfox2.0 started with pid 16314
                      2023-09-17 11:30:01.977  - info: powerfox2.0 (16314) starting. Version 0.0.12 in /opt/iobroker/node_modules/iobroker.powerfox2, node: v18.17.1, js-controller: 4.0.24
                      2023-09-17 11:30:13.581  - info: powerfox2.0 (16314) Terminated (NO_ERROR): Without reason
                      2023-09-17 11:30:14.112  - info: host.iobroker instance system.adapter.powerfox2.0 terminated with code 0 (NO_ERROR)
                      2023-09-17 11:31:00.051  - info: host.iobroker instance system.adapter.powerfox2.0 started with pid 16570
                      2023-09-17 11:31:02.280  - info: powerfox2.0 (16570) starting. Version 0.0.12 in /opt/iobroker/node_modules/iobroker.powerfox2, node: v18.17.1, js-controller: 4.0.24
                      2023-09-17 11:31:05.826  - info: powerfox2.0 (16570) Terminated (NO_ERROR): Without reason
                      2023-09-17 11:31:06.364  - info: host.iobroker instance system.adapter.powerfox2.0 terminated with code 0 (NO_ERROR)
                      
                      

                      ============ Mark until here for C&P =============

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

                        @ionewbie

                        Nee, man muss nur von der ersten Kopiermarke bis zur zweiten alles markieren und kopieren.

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

                          @thomas-braun jetzt ist komplett, richtig? (siehe eins über dir)

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

                            @ionewbie

                            Zunächst einmal:
                            NIE einfach den Strom kappen. Der Raspberry muss IMMER richtig heruntergefahren werden.

                            Dann bringe die Kiste erstmal auf Stand:

                            Pending Updates: 124

                            I 2 Replies Last reply Reply Quote 0
                            • I
                              ioNewbie @Thomas Braun last edited by ioNewbie

                              @thomas-braun keine Ahnung wie du darauf kommst, aber das habe ich nicht gemacht

                              "Kiste auf Stand bringen"

                              wie genau ist das gemeint? apt-get update?

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

                                @thomas-braun ich habe es glaube ich gefunden, in deiner Anleitung steht drin:

                                sudo apt update
                                sudo apt upgrade
                                

                                der erste Befehl aktualisiert wohl die Jobliste, was alles zu machen ist, und der zweite führts aus.
                                Das läuft gerade.

                                (wie geschrieben, ich bin kein Linux Crack 😉 )

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

                                  @ionewbie sagte in Hilfe! js-controller und javascript Problem:

                                  @thomas-braun keine Ahnung wie du darauf kommst, aber das habe ich nicht gemacht

                                  Dann ist deine SD-Karte hin.

                                  3 orphan inodes deleted
                                  

                                  "Kiste auf Stand bringen"

                                  wie genau ist das gemeint? apt-get update?

                                  Ja, natürlich.

                                  sudo apt update
                                  sudo apt-mark hold udev
                                  sudo apt full-upgrade
                                  sudo reboot
                                  
                                  I 1 Reply Last reply Reply Quote 0
                                  • I
                                    ioNewbie @Thomas Braun last edited by

                                    @thomas-braun

                                    okay. momentan läuft

                                    sudo apt upgrade
                                    

                                    Das hold udev kannte ich noch nicht. wenn der aktuelle Prozess durch ist, lasse ich diene vier Befehle nochmal komplett durchlaufen.

                                    Zum Stichwort Abschalten. Das muss ich nochmal im Schaltschrank prüfen gehen, ob der Raspi vom iob tatsächlich doch nicht an der USV hängen sollte, die ich dafür habe, da hängt auch mein NAS dran.
                                    Wir hatten hier am Mittwoch im ganzen Viertel den Strom für knapp 20 min weg. Der Stick ist allerdings erst seit heute morgen drin, den hatte ich für Backitup genutzt, vor Start des Reparaturversuchs.

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

                                      @ionewbie gut, ist jetzt durchgelaufen, keine Pakete mehr offen.
                                      Auch das Wiederholen deiner vier Befehle änderte daran nichts.
                                      Mal sehen was nach dem Reboot ist

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

                                        @ionewbie sagte in Hilfe! js-controller und javascript Problem:

                                        Auch das Wiederholen deiner vier Befehle änderte daran nichts.

                                        Die wären auch statt dessen was du da jetzt gemacht hast (Was genau hast du überhaupt gemacht?) erforderlich gewesen. Vermutlich ist da jetzt das defekte udev angeschwemmt worden.

                                        apt policy udev
                                        

                                        sagt?

                                        Der Stromausfall am Mittwoch passt dann zum Zeitstempel des Reboots:

                                        [Wed Sep 13 18:57:06 2023] EXT4-fs (mmcblk0p2): INFO: recovery required on readonly filesystem
                                        
                                        I 1 Reply Last reply Reply Quote 0
                                        • I
                                          ioNewbie @Thomas Braun last edited by ioNewbie

                                          @thomas-braun
                                          udev sagt:

                                          pi@iobroker:~ $ apt policy udev
                                          udev:
                                            Installed: 247.3-7+rpi1+deb11u2
                                            Candidate: 247.3-7+rpi1+deb11u2
                                            Version table:
                                           *** 247.3-7+rpi1+deb11u2 500
                                                  500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
                                                  100 /var/lib/dpkg/status
                                          

                                          Stromausfall: oha, vielen Dank für das Aufmerksam-Machen auf den Punkt. Da werde ich nachher die USV anklemmen.

                                          Ansonsten ist der Status im System anscheinend unverändert. Kein Update vom js-controller und javascript rebuild fails.

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

                                            @ionewbie

                                            Dann kannst du direkt hier weiterlesen:

                                            https://forum.iobroker.net/topic/65017/zigbee-conbee2-funktioniert-nach-update-nicht-mehr-udev/

                                            Insbesondere die letzte Ergänzung ist für dein 32Bit-System wichtig.
                                            Wenn das alles richtig drin ist:

                                            iob diag
                                            

                                            in der Langfassung.

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            1.1k
                                            Online

                                            31.7k
                                            Users

                                            79.7k
                                            Topics

                                            1.3m
                                            Posts

                                            2
                                            75
                                            3253
                                            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