Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Instanz - Javascript bleibt rot

    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

    Instanz - Javascript bleibt rot

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

      f0f1df52-50d8-4b57-92c2-83975de5df27-image.png

      Hm, scheint gar nichts konfiguriert zu sein.
      Allerdings musste ich bei meinem eigenen Io-Broker PI hier nichts konfigurieren.

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

        @intruminator

        Schau mal das System in Gänze an.

        iob diag
        
        I 1 Reply Last reply Reply Quote 0
        • I
          Intruminator @Thomas Braun last edited by

          @thomas-braun
          wow, na das ist ja ne echt coole Funktion!

          In Detail:

          Skript v.2023-01-02
          
          *** BASE SYSTEM ***
          Model           : Raspberry Pi 3 Model B Plus Rev 1.3
          Architecture:   armv7l
          Docker:         false
          Virtualization: none
          Distributor ID: Raspbian
          Description:    Raspbian GNU/Linux 11 (bullseye)
          Release:        11
          Codename:       bullseye
          
          PRETTY_NAME="Raspbian GNU/Linux 11 (bullseye)"
          NAME="Raspbian GNU/Linux"
          VERSION_ID="11"
          VERSION="11 (bullseye)"
          VERSION_CODENAME=bullseye
          ID=raspbian
          ID_LIKE=debian
          HOME_URL="http://www.raspbian.org/"
          SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
          BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
          
          Systemuptime and Load:
           16:41:55 up  1:06,  1 user,  load average: 0.47, 0.68, 0.43
          CPU threads: 4
          
          *** Time and Time Zones ***
          Sun Mar 19 15:41:55 UTC 2023
          Sun Mar 19 16:41:55 CET 2023
          CET +0100
          Europe/Berlin
          
          *** 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:            922M        466M        123M        0.0K        332M        409M
          Swap:            99M         71M         28M
          Total:          1.0G        537M        151M
          
                    922 M total memory
                    466 M used memory
                    284 M active memory
                    414 M inactive memory
                    123 M free memory
                     57 M buffer memory
                    275 M swap cache
                     99 M total swap
                     71 M used swap
                     28 M free swap
          
          *** FILESYSTEM ***
          Filesystem     Type      Size  Used Avail Use% Mounted on
          /dev/root      ext4       15G  3.7G   10G  28% /
          devtmpfs       devtmpfs  333M     0  333M   0% /dev
          tmpfs          tmpfs     462M     0  462M   0% /dev/shm
          tmpfs          tmpfs     185M 1008K  184M   1% /run
          tmpfs          tmpfs     5.0M  4.0K  5.0M   1% /run/lock
          /dev/mmcblk0p1 vfat      255M   50M  206M  20% /boot
          tmpfs          tmpfs      93M     0   93M   0% /run/user/1000
          
          Messages in dmesg:
          [Sun Mar 19 15:35:34 2023] Kernel command line: coherent_pool=1M 8250.nr_uarts=1 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 video=Composite-1:720x480@60i vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000  console=tty1 root=PARTUUID=be80aafe-02 rootfstype=ext4 fsck.repair=yes rootwait
          [Sun Mar 19 15:35:37 2023] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
          [Sun Mar 19 15:35:37 2023] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
          [Sun Mar 19 15:35:47 2023] EXT4-fs (mmcblk0p2): re-mounted. Opts: commit=600. Quota mode: none.
          
          Show mounted filesystems (real ones only):
          TARGET  SOURCE         FSTYPE OPTIONS
          /       /dev/mmcblk0p2 ext4   rw,noatime,commit=600
          `-/boot /dev/mmcblk0p1 vfat   rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro
          
          Files in neuralgic directories:
          
          /var:
          du: cannot access '/var/lib/lxcfs/cgroup': Input/output error
          1.1G    /var/
          616M    /var/lib
          511M    /var/lib/piVCCU3
          459M    /var/lib/piVCCU3/rootfs
          241M    /var/log/journal
          
          /opt/iobroker/backups:
          22M     /opt/iobroker/backups/
          
          /opt/iobroker/iobroker-data:
          139M    /opt/iobroker/iobroker-data/
          102M    /opt/iobroker/iobroker-data/files
          51M     /opt/iobroker/iobroker-data/files/javascript.admin
          32M     /opt/iobroker/iobroker-data/files/javascript.admin/static/js
          32M     /opt/iobroker/iobroker-data/files/javascript.admin/static
          
          The five largest files in iobroker-data are:
          12M     /opt/iobroker/iobroker-data/objects.jsonl
          6.9M    /opt/iobroker/iobroker-data/files/javascript.admin/static/js/610.de0231c9.chunk.js.map
          6.3M    /opt/iobroker/iobroker-data/files/tankerkoenig.admin/build/index.js.map
          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
          4.9M    /opt/iobroker/iobroker-data/files/javascript.admin/static/js/848.7424922d.chunk.js.map
          
          *** NodeJS-Installation ***
          
          /usr/bin/nodejs         v16.19.0
          /usr/bin/node           v16.19.0
          /usr/bin/npm            8.19.3
          /usr/bin/npx            8.19.3
          
          nodejs:
            Installed: 16.19.0-deb-1nodesource1
            Candidate: 16.19.1-deb-1nodesource1
            Version table:
               16.19.1-deb-1nodesource1 500
                  500 https://deb.nodesource.com/node_16.x bullseye/main armhf Packages
           *** 16.19.0-deb-1nodesource1 100
                  100 /var/lib/dpkg/status
               12.22.12~dfsg-1~deb11u3 500
                  500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
          
          Temp directories causing npm8 problem: 0
          
          *** ioBroker-Installation ***
          
          ioBroker Status
          iobroker is running on this host.
          
          
          Objects type: jsonl
          States  type: jsonl
          
          Core adapters versions
          js-controller:  4.0.23
          admin:          6.3.5
          javascript:     6.1.4
          
          Adapters from github:   0
          
          Adapter State
          + system.adapter.admin.0                  : admin                 : DieterSmarthomePi                        -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
          + system.adapter.backitup.0               : backitup              : DieterSmarthomePi                        -  enabled
          + system.adapter.discovery.0              : discovery             : DieterSmarthomePi                        -  enabled
            system.adapter.flot.0                   : flot                  : DieterSmarthomePi                        -  enabled
          + system.adapter.history.0                : history               : DieterSmarthomePi                        -  enabled
          + system.adapter.hm-rega.0                : hm-rega               : DieterSmarthomePi                        -  enabled
          + system.adapter.hm-rpc.0                 : hm-rpc                : DieterSmarthomePi                        -  enabled, port: 0
            system.adapter.javascript.0             : javascript            : DieterSmarthomePi                        - disabled
          + system.adapter.shelly.0                 : shelly                : DieterSmarthomePi                        -  enabled, port: 1882, bind: 0.0.0.0
          + system.adapter.tankerkoenig.0           : tankerkoenig          : DieterSmarthomePi                        -  enabled
            system.adapter.vis-fancyswitch.0        : vis-fancyswitch       : DieterSmarthomePi                        -  enabled
            system.adapter.vis-history.0            : vis-history           : DieterSmarthomePi                        -  enabled
            system.adapter.vis-hqwidgets.0          : vis-hqwidgets         : DieterSmarthomePi                        -  enabled
            system.adapter.vis-timeandweather.0     : vis-timeandweather    : DieterSmarthomePi                        -  enabled
            system.adapter.vis-weather.0            : vis-weather           : DieterSmarthomePi                        -  enabled
            system.adapter.vis.0                    : vis                   : DieterSmarthomePi                        -  enabled
          + system.adapter.web.0                    : web                   : DieterSmarthomePi                        -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
          
          + instance is alive
          
          Enabled adapters with bindings
          + system.adapter.admin.0                  : admin                 : DieterSmarthomePi                        -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
          + system.adapter.hm-rpc.0                 : hm-rpc                : DieterSmarthomePi                        -  enabled, port: 0
          + system.adapter.shelly.0                 : shelly                : DieterSmarthomePi                        -  enabled, port: 1882, bind: 0.0.0.0
          + system.adapter.web.0                    : web                   : DieterSmarthomePi                        -  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.3.5    , installed 6.3.5
          Adapter    "backitup"     : 2.5.12   , installed 2.5.10 [Updatable]
          Adapter    "discovery"    : 3.1.0    , installed 3.1.0
          Adapter    "flot"         : 1.11.0   , installed 1.11.0
          Adapter    "history"      : 2.2.4    , installed 2.2.4
          Adapter    "hm-rega"      : 3.0.44   , installed 3.0.40 [Updatable]
          Adapter    "hm-rpc"       : 1.15.16  , installed 1.15.16
          Adapter    "javascript"   : 6.1.4    , installed 6.1.4
          Controller "js-controller": 4.0.24   , installed 4.0.23 [Updatable]
          Adapter    "shelly"       : 6.3.1    , installed 6.0.0  [Updatable]
          Adapter    "simple-api"   : 2.7.2    , installed 2.7.2
          Adapter    "socketio"     : 4.2.0    , installed 4.2.0
          Adapter    "tankerkoenig" : 3.3.7    , installed 3.1.0  [Updatable]
          Adapter    "vis"          : 1.4.15   , installed 1.4.15
          Adapter    "vis-fancyswitch": 1.1.0  , installed 1.1.0
          Adapter    "vis-history"  : 1.0.0    , installed 1.0.0
          Adapter    "vis-hqwidgets": 1.3.0    , installed 1.3.0
          Adapter    "vis-timeandweather": 1.2.2, installed 1.2.2
          Adapter    "vis-weather"  : 2.5.6    , installed 2.5.6
          Adapter    "web"          : 4.3.0    , installed 4.3.0
          Adapter    "ws"           : 1.3.0    , installed 1.3.0
          
          Objects and States
          Please stand by - This may take a while
          Objects:        1250
          States:         953
          
          *** OS-Repositories and Updates ***
          Hit:1 http://archive.raspberrypi.org/debian bullseye InRelease
          Hit:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
          Hit:3 https://deb.nodesource.com/node_16.x bullseye InRelease
          Hit:4 https://www.pivccu.de/piVCCU stable InRelease
          Reading package lists...
          Pending Updates: 33
          
          *** 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 10.0.3.1:53             0.0.0.0:*               LISTEN      0          12800      737/dnsmasq
          tcp        0      0 0.0.0.0:1882            0.0.0.0:*               LISTEN      1001       15835      1493/io.shelly.0
          tcp        0      0 127.0.0.1:9000          0.0.0.0:*               LISTEN      1001       14708      660/iobroker.js-con
          tcp        0      0 127.0.0.1:9001          0.0.0.0:*               LISTEN      1001       15457      660/iobroker.js-con
          tcp        0      0 192.168.178.82:2001     0.0.0.0:*               LISTEN      1001       16446      1609/io.hm-rpc.0
          tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      0          12762      720/sshd: /usr/sbin
          tcp6       0      0 :::8081                 :::*                    LISTEN      1001       13257      1459/io.admin.0
          tcp6       0      0 :::8082                 :::*                    LISTEN      1001       14161      1744/io.web.0
          tcp6       0      0 :::22                   :::*                    LISTEN      0          12764      720/sshd: /usr/sbin
          udp        0      0 0.0.0.0:5353            0.0.0.0:*                           108        13342      417/avahi-daemon: r
          udp        0      0 10.0.3.1:53             0.0.0.0:*                           0          12799      737/dnsmasq
          udp        0      0 0.0.0.0:67              0.0.0.0:*                           0          12796      737/dnsmasq
          udp        0      0 0.0.0.0:68              0.0.0.0:*                           0          13365      520/dhclient
          udp        0      0 0.0.0.0:48781           0.0.0.0:*                           108        13344      417/avahi-daemon: r
          udp6       0      0 :::36040                :::*                                108        13345      417/avahi-daemon: r
          udp6       0      0 :::5353                 :::*                                108        13343      417/avahi-daemon: r
          
          *** Log File - Last 25 Lines ***
          
          2023-03-19 15:50:17.315  - error: host.DieterSmarthomePi Caught by controller[0]:     at Function.Module._resolveFilename (node:internal/modules/cjs/loader:981:27)
          2023-03-19 15:50:17.315  - error: host.DieterSmarthomePi Caught by controller[0]:     at Function.Module._load (node:internal/modules/cjs/loader:841:27)
          2023-03-19 15:50:17.315  - error: host.DieterSmarthomePi Caught by controller[0]:     at Module.require (node:internal/modules/cjs/loader:1067:19)
          2023-03-19 15:50:17.315  - error: host.DieterSmarthomePi Caught by controller[0]:     at require (node:internal/modules/cjs/helpers:103:18)
          2023-03-19 15:50:17.315  - error: host.DieterSmarthomePi Caught by controller[0]:     at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.javascript/main.js:43:23)
          2023-03-19 15:50:17.316  - error: host.DieterSmarthomePi Caught by controller[0]:     at Module._compile (node:internal/modules/cjs/loader:1165:14)
          2023-03-19 15:50:17.316  - error: host.DieterSmarthomePi Caught by controller[0]:     at Object.Module._extensions..js (node:internal/modules/cjs/loader:1219:10)
          2023-03-19 15:50:17.316  - error: host.DieterSmarthomePi Caught by controller[0]:     at Module.load (node:internal/modules/cjs/loader:1043:32)
          2023-03-19 15:50:17.316  - error: host.DieterSmarthomePi Caught by controller[0]:     at Function.Module._load (node:internal/modules/cjs/loader:878:12)
          2023-03-19 15:50:17.316  - error: host.DieterSmarthomePi Caught by controller[0]:     at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
          2023-03-19 15:50:17.317  - error: host.DieterSmarthomePi Caught by controller[0]:     at node:internal/main/run_main_module:22:47
          2023-03-19 15:50:17.317  - error: host.DieterSmarthomePi Caught by controller[0]:  {
          2023-03-19 15:50:17.317  - error: host.DieterSmarthomePi Caught by controller[0]:   code: 'MODULE_NOT_FOUND',
          2023-03-19 15:50:17.317  - error: host.DieterSmarthomePi Caught by controller[0]:   path: '/opt/iobroker/node_modules/iobroker.javascript/node_modules/suncalc2/package.json',
          2023-03-19 15:50:17.317  - error: host.DieterSmarthomePi Caught by controller[0]:   requestPath: 'suncalc2'
          2023-03-19 15:50:17.318  - error: host.DieterSmarthomePi Caught by controller[0]: }
          2023-03-19 15:50:17.318  - error: host.DieterSmarthomePi instance system.adapter.javascript.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
          2023-03-19 15:50:17.318  - info: host.DieterSmarthomePi Rebuild for adapter system.adapter.javascript.0 not successful in 3 tries. Adapter will not be restarted again. Please execute "npm install --production" in adapter directory manually.
          2023-03-19 16:04:40.611  - info: host.DieterSmarthomePi "system.adapter.javascript.0" disabled
          2023-03-19 16:18:51.367  - info: admin.0 (1459) ==> Connected system.user.admin from ::ffff:192.168.178.54
          2023-03-19 16:36:43.168  - info: host.DieterSmarthomePi Delete log file iobroker.2023-01-20.log.gz
          2023-03-19 16:36:43.178  - info: host.DieterSmarthomePi Delete log file iobroker.2023-01-21.log.gz
          2023-03-19 16:38:58.990  - info: admin.0 (1459) <== Disconnect system.user.admin from ::ffff:192.168.178.54
          2023-03-19 16:38:59.013  - info: admin.0 (1459) <== Disconnect system.user.admin from ::ffff:192.168.178.54 admin
          2023-03-19 16:39:00.523  - info: admin.0 (1459) failed connection to socket.io from ::ffff:192.168.178.54: Passport was not initialized
          
          

          Summary:

          ======================= SUMMARY =======================
                               v.2023-01-02
          
          
          Operatingsystem:        Raspbian GNU/Linux 11 (bullseye)
          Installation:           Native
          Timezone:               Europe/Berlin
          User-ID:                1000
          X-Server:               false
          Boot Target:            multi-user.target
          
          Pending OS-Updates:     33
          
          Nodejs-Installation:    /usr/bin/nodejs         v16.19.0
                                  /usr/bin/node           v16.19.0
                                  /usr/bin/npm            8.19.3
                                  /usr/bin/npx            8.19.3
          
          ioBroker Core:          js-controller           4.0.23
                                  admin                   6.3.5
          
          ioBroker Status:        iobroker is running on this host.
          
          
          Objects type: jsonl
          States  type: jsonl
          
          Status admin:
          + system.adapter.admin.0                  : admin                 : DieterSmarthomePi                        -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
          
          Pending iob updates:    5
          
          Active repo(s): stable
          
          Objects:                1250
          States:                 953
          
          Size of iob-Database:
          
          12M     /opt/iobroker/iobroker-data/objects.jsonl
          712K    /opt/iobroker/iobroker-data/states.jsonl
          
          
          =================== END OF SUMMARY ====================
          
          Thomas Braun 2 Replies Last reply Reply Quote 0
          • Thomas Braun
            Thomas Braun Most Active @Intruminator last edited by

            @intruminator

            Zunächst mal alles auf Stand bringen.
            Also Betriebssystem inkl. nodejs und die ganzen Adapter und den js-controller.

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

              @intruminator

              Könnte auch zusammen mit dem piVCCU gleichzeitig auf dem kleinen System eng werden.

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

                @thomas-braun
                Hi Thomas,

                ich habe jetzt alles auf den neusten Stand gebracht - hat ein bisschen gedauert.
                3 Adapter kann ich gerade nicht updaten, weil er der Meinung ist, dass meine node-version höher sein müsste, dabei ist jetzt 16.19.1 in Betrieb und läuft.

                Javascript Adapter ist noch rot. Konfigurieren muss ich den ja nicht oder?

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

                  @intruminator sagte in Instanz - Javascript bleibt rot:

                  3 Adapter kann ich gerade nicht updaten, weil er der Meinung ist, dass meine node-version höher sein müsste, dabei ist jetzt 16.19.1 in Betrieb und läuft.

                  Das ist dann aber höchstwahrscheinlich schon krumm.

                  iob diag
                  

                  sagt dazu?

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

                    @thomas-braun
                    hab gerade mal neugestartet - javascript ist jetzt grün.

                    Ich vermute, dass du Recht hast und der Pi mit nur 1GB RAM ganz schön am schuften ist.
                    Ich schaue mal, ob ich mit dem Adapter jetzt was anfangen kann.
                    Vielen Dank euch allen erstmal.

                    In Detail:

                    Skript v.2023-01-02
                    
                    *** BASE SYSTEM ***
                    Model           : Raspberry Pi 3 Model B Plus Rev 1.3
                    Architecture:   armv7l
                    Docker:         false
                    Virtualization: none
                    Distributor ID: Raspbian
                    Description:    Raspbian GNU/Linux 11 (bullseye)
                    Release:        11
                    Codename:       bullseye
                    
                    PRETTY_NAME="Raspbian GNU/Linux 11 (bullseye)"
                    NAME="Raspbian GNU/Linux"
                    VERSION_ID="11"
                    VERSION="11 (bullseye)"
                    VERSION_CODENAME=bullseye
                    ID=raspbian
                    ID_LIKE=debian
                    HOME_URL="http://www.raspbian.org/"
                    SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
                    BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
                    
                    Systemuptime and Load:
                     20:07:10 up 6 min,  2 users,  load average: 0.33, 1.11, 0.64
                    CPU threads: 4
                    
                    *** Time and Time Zones ***
                    Sun Mar 19 19:07:10 UTC 2023
                    Sun Mar 19 20:07:10 CET 2023
                    CET +0100
                    Europe/Berlin
                    
                    *** 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:            921M        555M        156M        1.0M        209M        335M
                    Swap:            99M          0B         99M
                    Total:          1.0G        555M        256M
                    
                              921 M total memory
                              555 M used memory
                              617 M active memory
                               70 M inactive memory
                              156 M free memory
                               19 M buffer memory
                              190 M swap cache
                               99 M total swap
                                0 M used swap
                               99 M free swap
                    
                    *** FILESYSTEM ***
                    Filesystem     Type      Size  Used Avail Use% Mounted on
                    /dev/root      ext4       15G  4.2G  9.5G  31% /
                    devtmpfs       devtmpfs  333M     0  333M   0% /dev
                    tmpfs          tmpfs     461M     0  461M   0% /dev/shm
                    tmpfs          tmpfs     185M  1.1M  184M   1% /run
                    tmpfs          tmpfs     5.0M  4.0K  5.0M   1% /run/lock
                    /dev/mmcblk0p1 vfat      255M   51M  205M  20% /boot
                    tmpfs          tmpfs      93M     0   93M   0% /run/user/1000
                    
                    Messages in dmesg:
                    [Sun Mar 19 20:01:08 2023] Kernel command line: coherent_pool=1M 8250.nr_uarts=1 snd_bcm2835.enable_headphones=0 snd_bcm2835.enable_headphones=1 snd_bcm2835.enable_hdmi=1 snd_bcm2835.enable_hdmi=0 video=HDMI-A-1:1920x1080M@60 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000  console=tty1 root=PARTUUID=be80aafe-02 rootfstype=ext4 fsck.repair=yes rootwait
                    [Sun Mar 19 20:01:11 2023] EXT4-fs (mmcblk0p2): INFO: recovery required on readonly filesystem
                    [Sun Mar 19 20:01:11 2023] EXT4-fs (mmcblk0p2): write access will be enabled during recovery
                    [Sun Mar 19 20:01:36 2023] EXT4-fs (mmcblk0p2): orphan cleanup on readonly fs
                    [Sun Mar 19 20:01:36 2023] EXT4-fs (mmcblk0p2): 5 orphan inodes deleted
                    [Sun Mar 19 20:01:36 2023] EXT4-fs (mmcblk0p2): recovery complete
                    [Sun Mar 19 20:01:37 2023] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Quota mode: none.
                    [Sun Mar 19 20:01:37 2023] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
                    [Sun Mar 19 20:01:41 2023] EXT4-fs (mmcblk0p2): re-mounted. Quota mode: none.
                    
                    Show mounted filesystems (real ones only):
                    TARGET  SOURCE         FSTYPE OPTIONS
                    /       /dev/mmcblk0p2 ext4   rw,noatime,commit=600
                    `-/boot /dev/mmcblk0p1 vfat   rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro
                    
                    Files in neuralgic directories:
                    
                    /var:
                    du: cannot access '/var/lib/lxcfs/cgroup': Input/output error
                    1.5G    /var/
                    616M    /var/lib
                    511M    /var/lib/piVCCU3
                    459M    /var/lib/piVCCU3/rootfs
                    429M    /var/cache
                    
                    /opt/iobroker/backups:
                    22M     /opt/iobroker/backups/
                    
                    /opt/iobroker/iobroker-data:
                    145M    /opt/iobroker/iobroker-data/
                    102M    /opt/iobroker/iobroker-data/files
                    51M     /opt/iobroker/iobroker-data/files/javascript.admin
                    32M     /opt/iobroker/iobroker-data/files/javascript.admin/static/js
                    32M     /opt/iobroker/iobroker-data/files/javascript.admin/static
                    
                    The five largest files in iobroker-data are:
                    13M     /opt/iobroker/iobroker-data/objects.jsonl
                    6.9M    /opt/iobroker/iobroker-data/files/javascript.admin/static/js/610.de0231c9.chunk.js.map
                    6.5M    /opt/iobroker/iobroker-data/states.jsonl
                    6.3M    /opt/iobroker/iobroker-data/files/tankerkoenig.admin/build/index.js.map
                    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
                    
                    *** NodeJS-Installation ***
                    
                    /usr/bin/nodejs         v16.19.1
                    /usr/bin/node           v16.19.1
                    /usr/bin/npm            8.19.3
                    /usr/bin/npx            8.19.3
                    
                    nodejs:
                      Installed: 16.19.1-deb-1nodesource1
                      Candidate: 16.19.1-deb-1nodesource1
                      Version table:
                     *** 16.19.1-deb-1nodesource1 500
                            500 https://deb.nodesource.com/node_16.x bullseye/main armhf Packages
                            100 /var/lib/dpkg/status
                         12.22.12~dfsg-1~deb11u3 500
                            500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
                    
                    Temp directories causing npm8 problem: 2
                    
                    *** ioBroker-Installation ***
                    
                    ioBroker Status
                    iobroker is running on this host.
                    
                    
                    Objects type: jsonl
                    States  type: jsonl
                    
                    Core adapters versions
                    js-controller:  4.0.24
                    admin:          6.3.5
                    javascript:     6.1.4
                    
                    Adapters from github:   0
                    
                    Adapter State
                    + system.adapter.admin.0                  : admin                 : DieterSmarthomePi                        -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
                    + system.adapter.backitup.0               : backitup              : DieterSmarthomePi                        -  enabled
                    + system.adapter.discovery.0              : discovery             : DieterSmarthomePi                        -  enabled
                      system.adapter.flot.0                   : flot                  : DieterSmarthomePi                        -  enabled
                    + system.adapter.history.0                : history               : DieterSmarthomePi                        -  enabled
                    + system.adapter.hm-rega.0                : hm-rega               : DieterSmarthomePi                        -  enabled
                    + system.adapter.hm-rpc.0                 : hm-rpc                : DieterSmarthomePi                        -  enabled, port: 0
                    + system.adapter.javascript.0             : javascript            : DieterSmarthomePi                        -  enabled
                    + system.adapter.shelly.0                 : shelly                : DieterSmarthomePi                        -  enabled, port: 1882, bind: 0.0.0.0
                    + system.adapter.tankerkoenig.0           : tankerkoenig          : DieterSmarthomePi                        -  enabled
                      system.adapter.vis-fancyswitch.0        : vis-fancyswitch       : DieterSmarthomePi                        -  enabled
                      system.adapter.vis-history.0            : vis-history           : DieterSmarthomePi                        -  enabled
                      system.adapter.vis-hqwidgets.0          : vis-hqwidgets         : DieterSmarthomePi                        -  enabled
                      system.adapter.vis-timeandweather.0     : vis-timeandweather    : DieterSmarthomePi                        -  enabled
                      system.adapter.vis-weather.0            : vis-weather           : DieterSmarthomePi                        -  enabled
                      system.adapter.vis.0                    : vis                   : DieterSmarthomePi                        -  enabled
                    + system.adapter.web.0                    : web                   : DieterSmarthomePi                        -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
                    
                    + instance is alive
                    
                    Enabled adapters with bindings
                    + system.adapter.admin.0                  : admin                 : DieterSmarthomePi                        -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
                    + system.adapter.hm-rpc.0                 : hm-rpc                : DieterSmarthomePi                        -  enabled, port: 0
                    + system.adapter.shelly.0                 : shelly                : DieterSmarthomePi                        -  enabled, port: 1882, bind: 0.0.0.0
                    + system.adapter.web.0                    : web                   : DieterSmarthomePi                        -  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.3.5    , installed 6.3.5
                    Adapter    "backitup"     : 2.5.12   , installed 2.5.10 [Updatable]
                    Adapter    "discovery"    : 3.1.0    , installed 3.1.0
                    Adapter    "flot"         : 1.11.0   , installed 1.11.0
                    Adapter    "history"      : 2.2.4    , installed 2.2.4
                    Adapter    "hm-rega"      : 3.0.44   , installed 3.0.44
                    Adapter    "hm-rpc"       : 1.15.16  , installed 1.15.16
                    Adapter    "javascript"   : 6.1.4    , installed 6.1.4
                    Controller "js-controller": 4.0.24   , installed 4.0.24
                    Adapter    "shelly"       : 6.3.1    , installed 6.0.0  [Updatable]
                    Adapter    "simple-api"   : 2.7.2    , installed 2.7.2
                    Adapter    "socketio"     : 4.2.0    , installed 4.2.0
                    Adapter    "tankerkoenig" : 3.3.7    , installed 3.1.0  [Updatable]
                    Adapter    "vis"          : 1.4.15   , installed 1.4.15
                    Adapter    "vis-fancyswitch": 1.1.0  , installed 1.1.0
                    Adapter    "vis-history"  : 1.0.0    , installed 1.0.0
                    Adapter    "vis-hqwidgets": 1.3.0    , installed 1.3.0
                    Adapter    "vis-timeandweather": 1.2.2, installed 1.2.2
                    Adapter    "vis-weather"  : 2.5.6    , installed 2.5.6
                    Adapter    "web"          : 4.3.0    , installed 4.3.0
                    Adapter    "ws"           : 1.3.0    , installed 1.3.0
                    
                    Objects and States
                    Please stand by - This may take a while
                    Objects:        1290
                    States:         1005
                    
                    *** OS-Repositories and Updates ***
                    Hit:1 http://archive.raspberrypi.org/debian bullseye InRelease
                    Hit:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
                    Hit:3 https://deb.nodesource.com/node_16.x bullseye InRelease
                    Hit:4 https://www.pivccu.de/piVCCU stable InRelease
                    Reading package lists...
                    Pending Updates: 0
                    
                    *** 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 10.0.3.1:53             0.0.0.0:*               LISTEN      0          14148      695/dnsmasq
                    tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      0          12845      685/sshd: /usr/sbin
                    tcp        0      0 192.168.178.82:2001     0.0.0.0:*               LISTEN      1001       16044      1903/io.hm-rpc.0
                    tcp        0      0 0.0.0.0:1882            0.0.0.0:*               LISTEN      1001       15762      1467/io.shelly.0
                    tcp        0      0 127.0.0.1:9000          0.0.0.0:*               LISTEN      1001       13068      629/iobroker.js-con
                    tcp        0      0 127.0.0.1:9001          0.0.0.0:*               LISTEN      1001       13061      629/iobroker.js-con
                    tcp6       0      0 :::22                   :::*                    LISTEN      0          12847      685/sshd: /usr/sbin
                    tcp6       0      0 :::8081                 :::*                    LISTEN      1001       16838      1790/io.admin.0
                    tcp6       0      0 :::8082                 :::*                    LISTEN      1001       17822      2027/io.web.0
                    udp        0      0 10.0.3.1:53             0.0.0.0:*                           0          14147      695/dnsmasq
                    udp        0      0 0.0.0.0:67              0.0.0.0:*                           0          14144      695/dnsmasq
                    udp        0      0 0.0.0.0:68              0.0.0.0:*                           0          4989       520/dhclient
                    udp        0      0 0.0.0.0:5353            0.0.0.0:*                           108        521        371/avahi-daemon: r
                    udp        0      0 0.0.0.0:34616           0.0.0.0:*                           108        523        371/avahi-daemon: r
                    udp6       0      0 :::47152                :::*                                108        524        371/avahi-daemon: r
                    udp6       0      0 :::5353                 :::*                                108        522        371/avahi-daemon: r
                    
                    *** Log File - Last 25 Lines ***
                    
                    2023-03-19 20:03:34.992  - info: tankerkoenig.0 (2198) Sync time set to 5 minutes or 300000 ms
                    2023-03-19 20:03:49.706  - info: hm-rega.0 (1947) ReGaHSS 192.168.178.83 up
                    2023-03-19 20:03:50.913  - info: hm-rega.0 (1947) time difference local-ccu 1s
                    2023-03-19 20:03:51.520  - info: hm-rega.0 (1947) request state values
                    2023-03-19 20:03:51.552  - info: hm-rega.0 (1947) Updated all datapoints
                    2023-03-19 20:03:51.571  - info: hm-rega.0 (1947) got 4 variables
                    2023-03-19 20:03:51.723  - info: hm-rega.0 (1947) added/updated 4 variables
                    2023-03-19 20:03:51.725  - info: hm-rega.0 (1947) deleted 0 variables
                    2023-03-19 20:03:51.737  - info: hm-rega.0 (1947) got 0 programs
                    2023-03-19 20:03:51.755  - info: hm-rega.0 (1947) added/updated 0 programs
                    2023-03-19 20:03:51.756  - info: hm-rega.0 (1947) deleted 0 programs
                    2023-03-19 20:03:51.779  - info: hm-rega.0 (1947) update rooms to enum.rooms
                    2023-03-19 20:03:51.831  - info: hm-rega.0 (1947) update functions to enum.functions
                    2023-03-19 20:03:51.905  - info: hm-rega.0 (1947) update favorites to enum.favorites
                    2023-03-19 20:04:14.054  - info: web.0 (2027) ==> Connected system.user.admin from ::ffff:192.168.178.54
                    2023-03-19 20:04:18.751  - info: web.0 (2027) <== Disconnect system.user.admin from ::ffff:192.168.178.54 vis.0
                    2023-03-19 20:04:19.760  - info: web.0 (2027) ==> Connected system.user.admin from ::ffff:192.168.178.54
                    2023-03-19 20:04:22.265  - info: web.0 (2027) ==> Connected system.user.admin from ::ffff:192.168.178.54
                    2023-03-19 20:04:30.199  - info: web.0 (2027) <== Disconnect system.user.admin from ::ffff:192.168.178.54 flot
                    2023-03-19 20:04:30.205  - info: web.0 (2027) <== Disconnect system.user.admin from ::ffff:192.168.178.54 vis.0
                    2023-03-19 20:04:31.633  - info: admin.0 (1790) failed connection to socket.io from ::ffff:192.168.178.54: Passport was not initialized
                    2023-03-19 20:04:38.519  - info: admin.0 (1790) ==> Connected system.user.admin from ::ffff:192.168.178.54
                    2023-03-19 20:05:31.834  - info: admin.0 (1790) ==> Connected system.user.admin from ::ffff:192.168.178.54
                    2023-03-19 20:05:36.615  - info: admin.0 (1790) <== Disconnect system.user.admin from ::ffff:192.168.178.54
                    2023-03-19 20:07:20.901  - info: admin.0 (1790) <== Disconnect system.user.admin from ::ffff:192.168.178.54 admin
                    
                    

                    Summary:

                    ======================= SUMMARY =======================
                                         v.2023-01-02
                    
                    
                    Operatingsystem:        Raspbian GNU/Linux 11 (bullseye)
                    Installation:           Native
                    Timezone:               Europe/Berlin
                    User-ID:                1000
                    X-Server:               false
                    Boot Target:            multi-user.target
                    
                    Pending OS-Updates:     0
                    
                    Nodejs-Installation:    /usr/bin/nodejs         v16.19.1
                                            /usr/bin/node           v16.19.1
                                            /usr/bin/npm            8.19.3
                                            /usr/bin/npx            8.19.3
                    
                    ioBroker Core:          js-controller           4.0.24
                                            admin                   6.3.5
                    
                    ioBroker Status:        iobroker is running on this host.
                    
                    
                    Objects type: jsonl
                    States  type: jsonl
                    
                    Status admin:
                    + system.adapter.admin.0                  : admin                 : DieterSmarthomePi                        -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
                    
                    Pending iob updates:    3
                    
                    Active repo(s): stable
                    
                    Objects:                1290
                    States:                 1005
                    
                    Size of iob-Database:
                    
                    13M     /opt/iobroker/iobroker-data/objects.jsonl
                    6.7M    /opt/iobroker/iobroker-data/states.jsonl
                    
                    
                    =================== END OF SUMMARY ====================
                    
                    Thomas Braun 2 Replies Last reply Reply Quote 0
                    • Thomas Braun
                      Thomas Braun Most Active @Intruminator last edited by

                      @intruminator

                      Sun Mar 19 20:01:36 2023] EXT4-fs (mmcblk0p2): orphan cleanup on readonly fs
                      [Sun Mar 19 20:01:36 2023] EXT4-fs (mmcblk0p2): 5 orphan inodes deleted
                      

                      Fahr die Kiste IMMER ordentlich herunter! Dann zwebröselst du dir auch nicht (so schnell) dein Dateisystem wie hier zusehen.

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

                        @intruminator

                        Und dann wirst du das ausführen müssen:

                        https://forum.iobroker.net/topic/57337/fehler-25-217-oder-enotempty-bei-adapter-install-update

                        Anschließend

                        iob update
                        iob upgrade all
                        

                        Und schau was da an Instanzen noch entbehrlich ist. Der discovery-Adapter braucht z.B. eher nicht laufen.

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

                          Jetzt habe ich auch das Problem. .Javasript bleibt rot und bringt Fehlermeldung mit suncalc2:
                          Was hab ich gemacht :
                          apt-update
                          apt-upgrade
                          Nach dem Reboot bleiben dann die Javascript Instanzen rot. (Ging vor dem update)
                          Dann in Putty:
                          cd /opt/iobroker/node_modules/iobroker.javascript
                          npm install --production
                          bzw.
                          npm install --omit=dev

                          Hat aber nichts gebracht.

                          host.raspberrypi
                          2023-04-01 13:47:41.536	error	instance system.adapter.javascript.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
                          host.raspberrypi
                          2023-04-01 13:47:41.535	error	Caught by controller[0]: Node.js v18.15.0
                          host.raspberrypi
                          2023-04-01 13:47:41.535	error	Caught by controller[0]: }
                          host.raspberrypi
                          2023-04-01 13:47:41.534	error	Caught by controller[0]: requestPath: 'suncalc2'
                          host.raspberrypi
                          2023-04-01 13:47:41.521	error	Caught by controller[0]: path: '/opt/iobroker/node_modules/iobroker.javascript/node_modules/suncalc2/package.json',
                          host.raspberrypi
                          2023-04-01 13:47:41.520	error	Caught by controller[0]: code: 'MODULE_NOT_FOUND',
                          host.raspberrypi
                          2023-04-01 13:47:41.519	error	Caught by controller[0]: {
                          host.raspberrypi
                          2023-04-01 13:47:41.519	error	Caught by controller[0]: at node:internal/main/run_main_module:23:47
                          host.raspberrypi
                          2023-04-01 13:47:41.518	error	Caught by controller[0]: at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
                          host.raspberrypi
                          2023-04-01 13:47:41.517	error	Caught by controller[0]: at Function.Module._load (node:internal/modules/cjs/loader:958:12)
                          host.raspberrypi
                          2023-04-01 13:47:41.517	error	Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:1117:32)
                          host.raspberrypi
                          2023-04-01 13:47:41.516	error	Caught by controller[0]: at Object.Module._extensions..js (node:internal/modules/cjs/loader:1308:10)
                          host.raspberrypi
                          2023-04-01 13:47:41.515	error	Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1254:14)
                          host.raspberrypi
                          2023-04-01 13:47:41.514	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.javascript/main.js:44:23)
                          host.raspberrypi
                          2023-04-01 13:47:41.510	error	Caught by controller[0]: at require (node:internal/modules/cjs/helpers:110:18)
                          host.raspberrypi
                          2023-04-01 13:47:41.509	error	Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1141:19)
                          host.raspberrypi
                          2023-04-01 13:47:41.508	error	Caught by controller[0]: at Function.Module._load (node:internal/modules/cjs/loader:920:27)
                          host.raspberrypi
                          2023-04-01 13:47:41.507	error	Caught by controller[0]: at Function.Module._resolveFilename (node:internal/modules/cjs/loader:1061:27)
                          host.raspberrypi
                          2023-04-01 13:47:41.506	error	Caught by controller[0]: at Function.Module._findPath (node:internal/modules/cjs/loader:678:18)
                          host.raspberrypi
                          2023-04-01 13:47:41.506	error	Caught by controller[0]: at tryPackage (node:internal/modules/cjs/loader:436:19)
                          host.raspberrypi
                          2023-04-01 13:47:41.505	error	Caught by controller[0]: Error: Cannot find module '/opt/iobroker/node_modules/iobroker.javascript/node_modules/suncalc2/suncalc2.js'. Please verify that the package.json has a valid "main" entry
                          host.raspberrypi
                          2023-04-01 13:47:41.504	error	Caught by controller[0]: ^
                          host.raspberrypi
                          2023-04-01 13:47:41.501	error	Caught by controller[0]: throw err;
                          host.raspberrypi
                          2023-04-01 13:47:41.501	error	Caught by controller[0]: node:internal/modules/cjs/loader:444
                          

                          iob diag :

                          2023-04-01 13:49:40.349  - error: host.raspberrypi Caught by controller[0]:       ^
                          2023-04-01 13:49:40.350  - error: host.raspberrypi Caught by controller[0]: Error: Cannot find module '/o                                                 pt/iobroker/node_modules/iobroker.javascript/node_modules/suncalc2/suncalc2.js'. Please verify that the p                                                 ackage.json has a valid "main" entry
                          2023-04-01 13:49:40.351  - error: host.raspberrypi Caught by controller[0]:     at tryPackage (node:inter                                                 nal/modules/cjs/loader:436:19)
                          2023-04-01 13:49:40.352  - error: host.raspberrypi Caught by controller[0]:     at Function.Module._findP                                                 ath (node:internal/modules/cjs/loader:678:18)
                          2023-04-01 13:49:40.352  - error: host.raspberrypi Caught by controller[0]:     at Function.Module._resol                                                 veFilename (node:internal/modules/cjs/loader:1061:27)
                          2023-04-01 13:49:40.353  - error: host.raspberrypi Caught by controller[0]:     at Function.Module._load                                                  (node:internal/modules/cjs/loader:920:27)
                          2023-04-01 13:49:40.353  - error: host.raspberrypi Caught by controller[0]:     at Module.require (node:i                                                 nternal/modules/cjs/loader:1141:19)
                          2023-04-01 13:49:40.355  - error: host.raspberrypi Caught by controller[0]:     at require (node:internal                                                 /modules/cjs/helpers:110:18)
                          2023-04-01 13:49:40.355  - error: host.raspberrypi Caught by controller[0]:     at Object.<anonymous> (/o                                                 pt/iobroker/node_modules/iobroker.javascript/main.js:44:23)
                          2023-04-01 13:49:40.356  - error: host.raspberrypi Caught by controller[0]:     at Module._compile (node:                                                 internal/modules/cjs/loader:1254:14)
                          2023-04-01 13:49:40.356  - error: host.raspberrypi Caught by controller[0]:     at Object.Module._extensi                                                 ons..js (node:internal/modules/cjs/loader:1308:10)
                          2023-04-01 13:49:40.357  - error: host.raspberrypi Caught by controller[0]:     at Module.load (node:inte                                                 rnal/modules/cjs/loader:1117:32)
                          2023-04-01 13:49:40.358  - error: host.raspberrypi Caught by controller[0]:     at Function.Module._load                                                  (node:internal/modules/cjs/loader:958:12)
                          2023-04-01 13:49:40.358  - error: host.raspberrypi Caught by controller[0]:     at Function.executeUserEn                                                 tryPoint [as runMain] (node:internal/modules/run_main:81:12)
                          2023-04-01 13:49:40.359  - error: host.raspberrypi Caught by controller[0]:     at node:internal/main/run                                                 _main_module:23:47
                          2023-04-01 13:49:40.359  - error: host.raspberrypi Caught by controller[0]:  {
                          2023-04-01 13:49:40.360  - error: host.raspberrypi Caught by controller[0]:   code: 'MODULE_NOT_FOUND',
                          2023-04-01 13:49:40.360  - error: host.raspberrypi Caught by controller[0]:   path: '/opt/iobroker/node_m                                                 odules/iobroker.javascript/node_modules/suncalc2/package.json',
                          2023-04-01 13:49:40.361  - error: host.raspberrypi Caught by controller[0]:   requestPath: 'suncalc2'
                          2023-04-01 13:49:40.361  - error: host.raspberrypi Caught by controller[0]: }
                          2023-04-01 13:49:40.362  - error: host.raspberrypi Caught by controller[0]: Node.js v18.15.0
                          2023-04-01 13:49:40.363  - error: host.raspberrypi instance system.adapter.javascript.0 terminated with c                                                 ode 1 (JS_CONTROLLER_STOPPED)
                          2023-04-01 13:49:40.363  - info: host.raspberrypi Rebuild for adapter system.adapter.javascript.0 not suc                                                 cessful in 3 tries. Adapter will not be restarted again. Please execute "npm install --production" in ada                                                 pter directory manually.
                          2023-04-01 13:50:00.075  - info: host.raspberrypi instance system.adapter.meteoalarm.0 started with pid 5                                                 922
                          2023-04-01 13:50:05.733  - info: host.raspberrypi instance system.adapter.meteoalarm.0 terminated with co                                                 de 11 (ADAPTER_REQUESTED_TERMINATION)
                          
                          

                          iob diag summary :

                          ======================= SUMMARY =======================
                                               v.2023-01-02
                          
                          
                          Operatingsystem:        Debian GNU/Linux 11 (bullseye)
                          Installation:           Native
                          Timezone:               Europe/Berlin
                          User-ID:                1000
                          X-Server:               false
                          Boot Target:            multi-user.target
                          
                          Pending OS-Updates:     1
                          
                          Nodejs-Installation:    /usr/bin/nodejs         v18.15.0
                                                  /usr/bin/node           v18.15.0
                                                  /usr/bin/npm            9.5.0
                                                  /usr/bin/npx            9.5.0
                          
                          ioBroker Core:          js-controller           4.0.24
                                                  admin                   6.4.3
                          
                          ioBroker Status:        iobroker is running on this host.
                          
                          At least one iobroker host is running.
                          
                          Objects type: redis
                          States  type: redis
                          
                          Status admin:
                          + system.adapter.admin.0                  : admin                 : raspberrypi                              -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
                          
                          Pending iob updates:    1
                          
                          Active repo(s): Beta (latest)
                          
                          Objects:                20397
                          States:                 18713
                          
                          Size of iob-Database:
                          
                          5.2M    /opt/iobroker/iobroker-data/objects.json.bak
                          5.2M    /opt/iobroker/iobroker-data/objects.json
                          40K     /opt/iobroker/iobroker-data/states.json.bak
                          40K     /opt/iobroker/iobroker-data/states.json
                          
                          
                          =================== END OF SUMMARY ====================
                          
                          
                          
                          Thomas Braun 1 Reply Last reply Reply Quote 0
                          • Thomas Braun
                            Thomas Braun Most Active @Gargano last edited by Thomas Braun

                            @gargano sagte in Instanz - Javascript bleibt rot:

                            Mit

                            sudo apt update
                            sudo apt full-upgrade
                            

                            wird ein Schuh draus.

                            iob upgrade javascript@7.0.3
                            

                            sagt?

                            Denn eigentlich ist das eine Dependency von javascript:

                            echad@chet:/opt/iobroker $ npm ls suncalc2
                            iobroker.inst@3.0.0 /opt/iobroker
                            └─┬ iobroker.javascript@7.0.3
                              └── suncalc2@1.8.1
                            

                            Tip am Rande: Bitte zieh das Fenster des Terminals so breit wie möglich. Oder nutze ein Terminalprogramm das besser mit Zeilenumbrüchen umgehen kann als puTTY.

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

                              @thomas-braun Tatsächlich ist alles wieder da, danke.
                              Aber eigentlich habe ich gelernt, daß sudo böse ist :-))

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

                                @gargano sagte in Instanz - Javascript bleibt rot:

                                Aber eigentlich habe ich gelernt, daß sudo böse ist :-))

                                Stimmt. Wenn es für Dinge verwendet wird, die auch ohne sudo funktionieren.
                                Ein apt update und apt full-upgrade funktionieren aber nur mit root-Rechten. Darf ja nicht jeder Heini am System herumschrauben.

                                Gargano 1 Reply Last reply Reply Quote 0
                                • Homoran
                                  Homoran Global Moderator Administrators @Gargano last edited by Homoran

                                  @gargano sagte in Instanz - Javascript bleibt rot:

                                  Aber eigentlich habe ich gelernt, daß sudo böse ist :-))

                                  ... in Verbindung mit Befehlen die mit iobroker... oder npm... beginnen.

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

                                    @thomas-braun again what learned....

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

                                      @gargano

                                      Ich sollte einen VHS-Kurs zu 'Linux' anbieten...

                                      1 Reply Last reply Reply Quote 3
                                      • First post
                                        Last post

                                      Support us

                                      ioBroker
                                      Community Adapters
                                      Donate
                                      FAQ Cloud / IOT
                                      HowTo: Node.js-Update
                                      HowTo: Backup/Restore
                                      Downloads
                                      BLOG

                                      915
                                      Online

                                      31.9k
                                      Users

                                      80.1k
                                      Topics

                                      1.3m
                                      Posts

                                      6
                                      22
                                      1046
                                      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