Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. Fehler bei "Installing iobroker.javascript@6.1.4..."

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Fehler bei "Installing iobroker.javascript@6.1.4..."

    This topic has been deleted. Only users with topic management privileges can see it.
    • O
      olafT @Thomas Braun last edited by wendy2702

      @thomas-braun, Danke.

      Folgender Nachtrag:

      $ iobroker add javascript auto --host iobrocker --debug
      NPM version: 8.19.3
      Installing iobroker.javascript@6.1.4... (System call)
      npm ERR! code ENOTEMPTYnpm ERR! syscall renamenpm ERR! path /opt/iobroker/node_modules/wolnpm ERR! dest /opt/iobroker/node_modules/.wol-bzF7JUdBnpm ERR! errno -39
      npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/wol' -> '/opt/iobroker/node_modules/.wol-bzF7JUdB'
      npm ERR! A complete log of this run can be found in:npm ERR! /home/iobroker/.npm/_logs/2023-03-12T17_19_02_698Z-debug-0.log
      host.iobrocker Cannot install iobroker.javascript@6.1.4: 217
      ERROR: Process exited with code 25
      
      

      => Habe bzgl. Code 217/25 folgendes durchgeführt (vgl. https://forum.iobroker.net/topic/57337/fehler-25-217-oder-enotempty-bei-adapter-install-update)

      for i in $(find /opt/iobroker/node_modules -type d -iname ".*-????????" ! -iname ".local-chromium"); do rm -rf ${i%%/}; done

      => Ergebnis:

      $ iobroker add javascript auto --host iobrocker --debug
      NPM version: 8.19.3
      Installing iobroker.javascript@6.1.4... (System call)
      npm WARN deprecated node-inspect@2.0.0: This module is part of Node.js core and does not need to be installed separately. It is now unmaintained.
      ERROR: Process exited with code 25
      
      

      Hast Du eine Idee?

      MOD EDIT: LOG IN CODE TAGS GESETZT </>

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

        @olaft sagte in Fehler bei "Installing iobroker.javascript@6.1.4...":

        Hast Du eine Idee?

        Ja.
        Konsolentext in CodeTags einbetten.

        Und mal per

        iob diag
        

        nach dem Rest schauen.

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

          @thomas-braun ```

          Das war der Ausgangspunkt:

          $ iobroker add javascript auto --host iobrocker --debug
          NPM version: 8.19.3
          Installing iobroker.javascript@6.1.4... (System call)
          npm ERR! code ENOTEMPTYnpm ERR! syscall renamenpm ERR! path /opt/iobroker/node_modules/wolnpm ERR! dest /opt/iobroker/node_modules/.wol-bzF7JUdBnpm ERR! errno -39
          npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/wol' -> '/opt/iobroker/node_modules/.wol-bzF7JUdB'
          npm ERR! A complete log of this run can be found in:npm ERR! /home/iobroker/.npm/_logs/2023-03-12T17_19_02_698Z-debug-0.log
          host.iobrocker Cannot install iobroker.javascript@6.1.4: 217
          ERROR: Process exited with code 25
          

          Das wurde gemacht:

          for i in $(find /opt/iobroker/node_modules -type d -iname ".*-????????" ! -iname ".local-chromium"); do rm -rf ${i%%/}; done
          

          Das war das Ergebnis:

          Das war das Ergebnis:
          $ iobroker add javascript auto --host iobrocker --debug
          NPM version: 8.19.3
          Installing iobroker.javascript@6.1.4... (System call)
          npm WARN deprecated node-inspect@2.0.0: This module is part of Node.js core and does not need to be installed separately. It is now unmaintained.
          ERROR: Process exited with code 25
          
          Thomas Braun O 2 Replies Last reply Reply Quote 0
          • Thomas Braun
            Thomas Braun Most Active @olafT last edited by

            @olaft

            Und mal per

            iob diag
            

            nach dem Rest schauen.

            1 Reply Last reply Reply Quote 0
            • O
              olafT @olafT last edited by

              @olaft

              Ausgabe diag

              ======== Start marking the full check here =========
              
              Skript v.2023-01-02
              
              *** BASE SYSTEM ***
              Model           : Raspberry Pi 3 Model B Plus Rev 1.3
              Architecture:   aarch64
              Docker:         false
              Virtualization: none
              Distributor ID: Debian
              Description:    Debian GNU/Linux 11 (bullseye)
              Release:        11
              Codename:       bullseye
              
              PRETTY_NAME="Debian GNU/Linux 11 (bullseye)"
              NAME="Debian GNU/Linux"
              VERSION_ID="11"
              VERSION="11 (bullseye)"
              VERSION_CODENAME=bullseye
              ID=debian
              HOME_URL="https://www.debian.org/"
              SUPPORT_URL="https://www.debian.org/support"
              BUG_REPORT_URL="https://bugs.debian.org/"
              
              Systemuptime and Load:
               20:32:36 up  2:46,  3 users,  load average: 1.94, 5.99, 12.22
              CPU threads: 4
              
              *** Time and Time Zones ***
              Sun Mar 12 19:32:36 UTC 2023
              Sun Mar 12 20:32:36 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 lpadmin gpio i2c spi iobroker
              
              *** X-Server-Setup ***
              X-Server:       true
              Desktop:
              Terminal:       tty
              Boot Target:    graphical.target
              
              *** MEMORY ***
                             total        used        free      shared  buff/cache   available
              Mem:            909M        711M         59M        1.0M        139M        142M
              Swap:            99M         99M          0B
              Total:          1.0G        811M         59M
              
                        909 M total memory
                        711 M used memory
                        371 M active memory
                        381 M inactive memory
                         59 M free memory
                         13 M buffer memory
                        125 M swap cache
                         99 M total swap
                         99 M used swap
                          0 M free swap
              
              *** FILESYSTEM ***
              Filesystem     Type      Size  Used Avail Use% Mounted on
              /dev/root      ext4       29G  5.3G   22G  20% /
              devtmpfs       devtmpfs  325M     0  325M   0% /dev
              tmpfs          tmpfs     455M     0  455M   0% /dev/shm
              tmpfs          tmpfs     182M  1.2M  181M   1% /run
              tmpfs          tmpfs     5.0M  4.0K  5.0M   1% /run/lock
              /dev/mmcblk0p1 vfat      255M   31M  225M  12% /boot
              /dev/sda1      exfat      58G   68M   58G   1% /mnt/Backup_RAS
              tmpfs          tmpfs      91M   20K   91M   1% /run/user/1000
              
              Messages in dmesg:
              [Sun Mar 12 17:45:58 2023] Kernel command line: coherent_pool=1M 8250.nr_uarts=0 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=ttyS0,115200 console=tty1 root=PARTUUID=db2fb013-02 rootfstype=ext4 fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles
              [Sun Mar 12 17:46:01 2023] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
              [Sun Mar 12 17:46:01 2023] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
              [Sun Mar 12 17:46:04 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
              `-/mnt/Backup_RAS /dev/sda1      exfat  rw,nosuid,nodev,noexec,relatime,fmask=0000,dmask=0000,allow_utime=0022,iocharset=utf8,errors=remount-ro
              
              Files in neuralgic directories:
              
              /var:
              1.1G    /var/
              533M    /var/log
              489M    /var/log/journal/638e0d96346e4723be1705ace9a05abe
              489M    /var/log/journal
              254M    /var/cache
              
              /opt/iobroker/backups:
              109M    /opt/iobroker/backups/
              
              /opt/iobroker/iobroker-data:
              149M    /opt/iobroker/iobroker-data/
              100M    /opt/iobroker/iobroker-data/files
              48M     /opt/iobroker/iobroker-data/files/telegram.admin
              30M     /opt/iobroker/iobroker-data/backup-objects
              24M     /opt/iobroker/iobroker-data/files/telegram.admin/rules/static
              
              The five largest files in iobroker-data are:
              16M     /opt/iobroker/iobroker-data/objects.jsonl
              15M     /opt/iobroker/iobroker-data/files/telegram.admin/rules/static/js/vendors-node_modules_iobroker_adapter-react-v5_assets_devices_parseNames_d_ts-node_modules_io-1d9f06.44fe4a3f.chunk.js.map
              9.7M    /opt/iobroker/iobroker-data/files/text2command.admin/static/js/main.bbfeb1bf.js.map
              7.2M    /opt/iobroker/iobroker-data/files/telegram.admin/rules/static/js/vendors-node_modules_iobroker_adapter-react-v5_assets_devices_parseNames_d_ts-node_modules_io-1d9f06.44fe4a3f.chunk.js
              6.9M    /opt/iobroker/iobroker-data/files/telegram.admin/custom/static/js/vendors-node_modules_mui_icons-material_esm_index_js.8fdf8cb7.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 arm64 Packages
                      100 /var/lib/dpkg/status
                   12.22.12~dfsg-1~deb11u3 500
                      500 http://security.debian.org/debian-security bullseye-security/main arm64 Packages
                   12.22.5~dfsg-2~11u1 500
                      500 http://deb.debian.org/debian bullseye/main arm64 Packages
              
              Temp directories causing npm8 problem: 15
              
              *** 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:     "javascript" not found
              
              Adapters from github:   0
              
              Adapter State
              + system.adapter.admin.0                  : admin                 : iobrocker                                -  enabled, compact disabled, port: 8081, bind: 0.0.0.0, run as: admin
              + system.adapter.backitup.0               : backitup              : iobrocker                                -  enabled, compact disabled
                system.adapter.discovery.0              : discovery             : iobrocker                                - disabled, compact disabled
                system.adapter.dwd.0                    : dwd                   : iobrocker                                - disabled, compact disabled
              + system.adapter.influxdb.0               : influxdb              : iobrocker                                -  enabled, compact disabled, port: 8086
                system.adapter.lupusec.0                : lupusec               : iobrocker                                - disabled, compact disabled
                system.adapter.net-tools.0              : net-tools             : iobrocker                                - disabled, compact disabled
                system.adapter.ping.0                   : ping                  : iobrocker                                - disabled, compact disabled
                system.adapter.rpi2.0                   : rpi2                  : iobrocker                                - disabled
              + system.adapter.shelly.0                 : shelly                : iobrocker                                -  enabled, compact disabled, port: 1882, bind: 0.0.0.0
              + system.adapter.smartmeter.0             : smartmeter            : iobrocker                                -  enabled, compact disabled
              + system.adapter.smartmeter.1             : smartmeter            : iobrocker                                -  enabled, compact disabled
              + system.adapter.sonoff.0                 : sonoff                : iobrocker                                -  enabled, compact disabled, port: 1883, bind: 0.0.0.0
                system.adapter.telegram.0               : telegram              : iobrocker                                - disabled, compact disabled, port: 8443, bind: 0.0.0.0
                system.adapter.text2command.0           : text2command          : iobrocker                                - disabled, compact disabled
                system.adapter.vis.0                    : vis                   : iobrocker                                - disabled, compact disabled
              + system.adapter.web.0                    : web                   : iobrocker                                -  enabled, compact disabled, port: 8082, bind: 0.0.0.0, run as: admin
                system.adapter.yr.0                     : yr                    : iobrocker                                -  enabled, compact disabled
              
              + instance is alive
              
              Enabled adapters with bindings
              + system.adapter.admin.0                  : admin                 : iobrocker                                -  enabled, compact disabled, port: 8081, bind: 0.0.0.0, run as: admin
              + system.adapter.influxdb.0               : influxdb              : iobrocker                                -  enabled, compact disabled, port: 8086
              + system.adapter.shelly.0                 : shelly                : iobrocker                                -  enabled, compact disabled, port: 1882, bind: 0.0.0.0
              + system.adapter.sonoff.0                 : sonoff                : iobrocker                                -  enabled, compact disabled, port: 1883, bind: 0.0.0.0
              + system.adapter.web.0                    : web                   : iobrocker                                -  enabled, compact disabled, 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.12
              Adapter    "discovery"    : 3.1.0    , installed 3.1.0
              Adapter    "dwd"          : 2.8.3    , installed 2.8.3
              Adapter    "influxdb"     : 3.2.0    , installed 3.2.0
              Controller "js-controller": 4.0.24   , installed 4.0.24
              Adapter    "lupusec"      : 1.3.6    , installed 1.3.6
              Adapter    "net-tools"    : 0.2.0    , installed 0.2.0
              Adapter    "ping"         : 1.5.3    , installed 1.5.3
              Adapter    "rpi2"         : 1.3.2    , installed 1.3.2
              Adapter    "shelly"       : 6.3.1    , installed 6.3.1
              Adapter    "simple-api"   : 2.7.2    , installed 2.7.2
              Adapter    "smappee"      : 0.2.6    , installed 0.2.6
              Adapter    "smartmeter"   : 3.3.4    , installed 3.3.4
              Adapter    "socketio"     : 4.2.0    , installed 4.2.0
              Adapter    "sonoff"       : 2.5.1    , installed 2.5.1
              Adapter    "telegram"     : 1.15.2   , installed 1.15.2
              Adapter    "text2command" : 2.3.0    , installed 2.3.0
              Adapter    "vis"          : 1.4.15   , installed 1.4.15
              Adapter    "web"          : 4.3.0    , installed 4.3.0
              Adapter    "ws"           : 1.3.0    , installed 1.3.0
              Adapter    "yr"           : 5.3.0    , installed 5.3.0
              
              Objects and States
              Please stand by - This may take a while
              Objects:        4277
              States:         3859
              
              *** OS-Repositories and Updates ***
              Hit:1 http://archive.raspberrypi.org/debian bullseye InRelease
              Hit:2 http://security.debian.org/debian-security bullseye-security InRelease
              Hit:3 https://deb.nodesource.com/node_16.x bullseye InRelease
              Hit:4 https://repos.influxdata.com/debian stable InRelease
              Hit:5 https://packages.grafana.com/enterprise/deb stable InRelease
              Hit:6 https://repos.influxdata.com/debian bullseye InRelease
              Hit:7 https://dl.yarnpkg.com/debian stable InRelease
              Hit:8 http://deb.debian.org/debian bullseye InRelease
              Hit:9 http://deb.debian.org/debian bullseye-updates InRelease
              Reading package lists...
              Pending Updates: 5
              
              *** 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:9001          0.0.0.0:*               LISTEN      1001       22429      2638/iobroker.js-co
              tcp        0      0 127.0.0.1:9000          0.0.0.0:*               LISTEN      1001       22436      2638/iobroker.js-co
              tcp        0      0 0.0.0.0:1882            0.0.0.0:*               LISTEN      1001       23963      2740/io.shelly.0
              tcp        0      0 0.0.0.0:1883            0.0.0.0:*               LISTEN      1001       25706      2751/io.sonoff.0
              tcp        0      0 127.0.0.1:631           0.0.0.0:*               LISTEN      0          12783      529/cupsd
              tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      0          15429      591/sshd: /usr/sbin
              tcp6       0      0 :::8081                 :::*                    LISTEN      1001       22486      2656/io.admin.0
              tcp6       0      0 :::8082                 :::*                    LISTEN      1001       24977      2782/io.web.0
              tcp6       0      0 :::8086                 :::*                    LISTEN      999        13027      540/influxd
              tcp6       0      0 :::22                   :::*                    LISTEN      0          15431      591/sshd: /usr/sbin
              tcp6       0      0 ::1:631                 :::*                    LISTEN      0          12782      529/cupsd
              udp        0      0 0.0.0.0:43496           0.0.0.0:*                           108        14519      343/avahi-daemon: r
              udp        0      0 0.0.0.0:68              0.0.0.0:*                           0          14689      455/dhcpcd
              udp        0      0 0.0.0.0:631             0.0.0.0:*                           0          15464      604/cups-browsed
              udp        0      0 0.0.0.0:5353            0.0.0.0:*                           108        14517      343/avahi-daemon: r
              udp6       0      0 :::546                  :::*                                0          14711      455/dhcpcd
              udp6       0      0 :::38455                :::*                                108        14520      343/avahi-daemon: r
              udp6       0      0 :::5353                 :::*                                108        14518      343/avahi-daemon: r
              
              *** Log File - Last 25 Lines ***
              
              2023-03-12 19:09:06.536  - info: yr.0 (3242) system latitude: 52.6640928 longitude: 12.799683
              2023-03-12 19:09:47.750  - info: yr.0 (3242) Data updated.
              2023-03-12 19:09:47.754  - info: yr.0 (3242) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
              2023-03-12 19:09:48.323  - info: host.iobrocker instance system.adapter.yr.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
              2023-03-12 19:19:33.696  - error: host.iobrocker Invalid request getRepository. "callback" or "from" is null
              2023-03-12 19:47:29.853  - error: influxdb.0 (2668) Error during ping: RequestTimedOutError: Request timed out. Attempting reconnect.
              2023-03-12 19:52:12.770  - error: influxdb.0 (2668) Error during ping: RequestTimedOutError: Request timed out. Attempting reconnect.
              2023-03-12 19:58:33.637  - error: influxdb.0 (2668) RequestTimedOutError: Request timed out
              2023-03-12 19:59:47.063  - error: influxdb.0 (2668) RequestTimedOutError: Request timed out
              2023-03-12 20:00:58.679  - error: influxdb.0 (2668) RequestTimedOutError: Request timed out
              2023-03-12 20:01:59.174  - error: influxdb.0 (2668) RequestTimedOutError: Request timed out
              2023-03-12 20:01:34.465  - warn: smartmeter.0 (2687) Error while parsing D0 content: ignore content before linebreak Error: Invalid Obis String 1-0:81/LOG5LK13BE803039
              
              1-0:96.1.0*255
              2023-03-12 20:03:23.703  - error: influxdb.0 (2668) RequestTimedOutError: Request timed out
              2023-03-12 20:09:00.171  - info: host.iobrocker instance system.adapter.yr.0 started with pid 3741
              2023-03-12 20:09:05.988  - info: yr.0 (3741) Plugin sentry Sentry Plugin disabled for this process because sending of statistic data is disabled for the system
              2023-03-12 20:09:06.268  - info: yr.0 (3741) starting. Version 5.3.0 in /opt/iobroker/node_modules/iobroker.yr, node: v16.19.1, js-controller: 4.0.24
              2023-03-12 20:09:06.324  - info: yr.0 (3741) longitude/longitude not set, get data from system
              2023-03-12 20:09:06.369  - info: yr.0 (3741) system latitude: 52.6640928 longitude: 12.799683
              2023-03-12 20:09:34.257  - info: yr.0 (3741) Data updated.
              2023-03-12 20:09:34.262  - info: yr.0 (3741) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
              2023-03-12 20:09:34.840  - info: host.iobrocker instance system.adapter.yr.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
              2023-03-12 20:18:21.458  - error: influxdb.0 (2668) Error during ping: RequestTimedOutError: Request timed out. Attempting reconnect.
              2023-03-12 20:23:47.882  - error: influxdb.0 (2668) Error during ping: RequestTimedOutError: Request timed out. Attempting reconnect.
              
              ============ Mark until here for C&P =============
              
              Copy text starting here:
              
              
              ======================= SUMMARY =======================
                                   v.2023-01-02
              
              
              Operatingsystem:        Debian GNU/Linux 11 (bullseye)
              Installation:           Native
              Timezone:               Europe/Berlin
              User-ID:                1000
              X-Server:               true
              Boot Target:            graphical.target
              
              Pending OS-Updates:     5
              
              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                 : iobrocker                                -  enabled, compact disabled, port: 8081, bind: 0.0.0.0, run as: admin
              
              Pending iob updates:    0
              
              Active repo(s): stable
              
              Objects:                4277
              States:                 3859
              
              Size of iob-Database:
              
              16M     /opt/iobroker/iobroker-data/objects.jsonl
              4.0M    /opt/iobroker/iobroker-data/states.jsonl
              
              
              =================== END OF SUMMARY ====================
              
              
              Thomas Braun 1 Reply Last reply Reply Quote 0
              • Thomas Braun
                Thomas Braun Most Active @olafT last edited by Thomas Braun

                @olaft

                Desktop ausschalten. Hat auf einem Server nix verloren, schon gerade gar nicht auf einem System mit schmalen 1GB RAM. Da hast du nix an unnötige Prozesse zu verschenken.

                Temp directories causing npm8 problem: 15

                Da sind noch Verzeichnisse drin die gelöscht werden müssen.
                Also nochmal:

                
                for i in $(find /opt/iobroker/node_modules -type d -iname ".*-????????" ! -iname ".local-chromium"); do rm -rf ${i%%/}; done 
                
                O 1 Reply Last reply Reply Quote 0
                • O
                  olafT @Thomas Braun last edited by

                  @thomas-braun

                  • o.k. Desktop hatte ich auch gesehen => ist aus
                  • Verzeichnisse => sind weg (hatte ich aber wie oben beschrieben schon gemacht

                  Was ist aber das Problem?

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

                    @olaft sagte in Fehler bei "Installing iobroker.javascript@6.1.4...":

                    Was ist aber das Problem?

                    Nochmal per

                    iob diag
                    

                    schauen ob die Verzeichnisse jetzt weg sind.

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

                      @thomas-braun

                      for i in $(find /opt/iobroker/node_modules -type d -iname ".*-????????" ! -iname ".local-chromium"); do echo ${i%}; done 
                      

                      Ergebnis:

                      pi@iobrocker:~ $ for i in $(find /opt/iobroker/node_modules -type d -iname ".*-????????" ! -iname ".local-chromium"); do echo ${i%}; done
                      pi@iobrocker:~ $
                      
                      
                      Thomas Braun 1 Reply Last reply Reply Quote 0
                      • Thomas Braun
                        Thomas Braun Most Active @olafT last edited by

                        @olaft

                        Und

                        iob diag
                        

                        sagt?

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

                          @thomas-braun

                          ======== Start marking the full check here =========
                          
                          Skript v.2023-01-02
                          
                          *** BASE SYSTEM ***
                          Model           : Raspberry Pi 3 Model B Plus Rev 1.3
                          Architecture:   aarch64
                          Docker:         false
                          Virtualization: none
                          Distributor ID: Debian
                          Description:    Debian GNU/Linux 11 (bullseye)
                          Release:        11
                          Codename:       bullseye
                          
                          PRETTY_NAME="Debian GNU/Linux 11 (bullseye)"
                          NAME="Debian GNU/Linux"
                          VERSION_ID="11"
                          VERSION="11 (bullseye)"
                          VERSION_CODENAME=bullseye
                          ID=debian
                          HOME_URL="https://www.debian.org/"
                          SUPPORT_URL="https://www.debian.org/support"
                          BUG_REPORT_URL="https://bugs.debian.org/"
                          
                          Systemuptime and Load:
                           20:54:44 up 2 min,  1 user,  load average: 1.54, 1.08, 0.44
                          CPU threads: 4
                          
                          *** Time and Time Zones ***
                          Sun Mar 12 19:54:44 UTC 2023
                          Sun Mar 12 20:54:44 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 lpadmin 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:            909M        555M        162M        0.0K        191M        297M
                          Swap:            99M         27M         72M
                          Total:          1.0G        582M        235M
                          
                                    909 M total memory
                                    555 M used memory
                                    105 M active memory
                                    554 M inactive memory
                                    162 M free memory
                                     24 M buffer memory
                                    167 M swap cache
                                     99 M total swap
                                     27 M used swap
                                     72 M free swap
                          
                          *** FILESYSTEM ***
                          Filesystem     Type      Size  Used Avail Use% Mounted on
                          /dev/root      ext4       29G  5.3G   22G  20% /
                          devtmpfs       devtmpfs  325M     0  325M   0% /dev
                          tmpfs          tmpfs     455M     0  455M   0% /dev/shm
                          tmpfs          tmpfs     182M  1.1M  181M   1% /run
                          tmpfs          tmpfs     5.0M  4.0K  5.0M   1% /run/lock
                          /dev/mmcblk0p1 vfat      255M   31M  225M  12% /boot
                          /dev/sda1      exfat      58G   68M   58G   1% /mnt/Backup_RAS
                          tmpfs          tmpfs      91M   16K   91M   1% /run/user/1000
                          
                          Messages in dmesg:
                          [Sun Mar 12 20:52:15 2023] Kernel command line: coherent_pool=1M 8250.nr_uarts=0 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=ttyS0,115200 console=tty1 root=PARTUUID=db2fb013-02 rootfstype=ext4 fsck.repair=yes rootwait
                          [Sun Mar 12 20:52:18 2023] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
                          [Sun Mar 12 20:52:18 2023] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
                          [Sun Mar 12 20:52:22 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
                          `-/mnt/Backup_RAS /dev/sda1      exfat  rw,nosuid,nodev,noexec,relatime,fmask=0000,dmask=0000,allow_utime=0022,iocharset=utf8,errors=remount-ro
                          
                          Files in neuralgic directories:
                          
                          /var:
                          1.1G    /var/
                          542M    /var/log
                          497M    /var/log/journal/638e0d96346e4723be1705ace9a05abe
                          497M    /var/log/journal
                          254M    /var/cache
                          
                          /opt/iobroker/backups:
                          109M    /opt/iobroker/backups/
                          
                          /opt/iobroker/iobroker-data:
                          150M    /opt/iobroker/iobroker-data/
                          100M    /opt/iobroker/iobroker-data/files
                          48M     /opt/iobroker/iobroker-data/files/telegram.admin
                          30M     /opt/iobroker/iobroker-data/backup-objects
                          24M     /opt/iobroker/iobroker-data/files/telegram.admin/rules/static
                          
                          The five largest files in iobroker-data are:
                          16M     /opt/iobroker/iobroker-data/objects.jsonl
                          15M     /opt/iobroker/iobroker-data/files/telegram.admin/rules/static/js/vendors-node_modules_iobroker_adapter-react-v5_assets_devices_parseNames_d_ts-node_modules_io-1d9f06.44fe4a3f.chunk.js.map
                          9.7M    /opt/iobroker/iobroker-data/files/text2command.admin/static/js/main.bbfeb1bf.js.map
                          7.2M    /opt/iobroker/iobroker-data/files/telegram.admin/rules/static/js/vendors-node_modules_iobroker_adapter-react-v5_assets_devices_parseNames_d_ts-node_modules_io-1d9f06.44fe4a3f.chunk.js
                          6.9M    /opt/iobroker/iobroker-data/files/telegram.admin/custom/static/js/vendors-node_modules_mui_icons-material_esm_index_js.8fdf8cb7.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 arm64 Packages
                                  100 /var/lib/dpkg/status
                               12.22.12~dfsg-1~deb11u3 500
                                  500 http://security.debian.org/debian-security bullseye-security/main arm64 Packages
                               12.22.5~dfsg-2~11u1 500
                                  500 http://deb.debian.org/debian bullseye/main arm64 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.24
                          admin:          6.3.5
                          javascript:     "javascript" not found
                          
                          Adapters from github:   0
                          
                          Adapter State
                          + system.adapter.admin.0                  : admin                 : iobrocker                                -  enabled, compact disabled, port: 8081, bind: 0.0.0.0, run as: admin
                          + system.adapter.backitup.0               : backitup              : iobrocker                                -  enabled, compact disabled
                            system.adapter.discovery.0              : discovery             : iobrocker                                - disabled, compact disabled
                            system.adapter.dwd.0                    : dwd                   : iobrocker                                - disabled, compact disabled
                          + system.adapter.influxdb.0               : influxdb              : iobrocker                                -  enabled, compact disabled, port: 8086
                            system.adapter.lupusec.0                : lupusec               : iobrocker                                - disabled, compact disabled
                            system.adapter.net-tools.0              : net-tools             : iobrocker                                - disabled, compact disabled
                            system.adapter.ping.0                   : ping                  : iobrocker                                - disabled, compact disabled
                            system.adapter.rpi2.0                   : rpi2                  : iobrocker                                - disabled
                          + system.adapter.shelly.0                 : shelly                : iobrocker                                -  enabled, compact disabled, port: 1882, bind: 0.0.0.0
                          + system.adapter.smartmeter.0             : smartmeter            : iobrocker                                -  enabled, compact disabled
                          + system.adapter.smartmeter.1             : smartmeter            : iobrocker                                -  enabled, compact disabled
                          + system.adapter.sonoff.0                 : sonoff                : iobrocker                                -  enabled, compact disabled, port: 1883, bind: 0.0.0.0
                            system.adapter.telegram.0               : telegram              : iobrocker                                - disabled, compact disabled, port: 8443, bind: 0.0.0.0
                            system.adapter.text2command.0           : text2command          : iobrocker                                - disabled, compact disabled
                            system.adapter.vis.0                    : vis                   : iobrocker                                - disabled, compact disabled
                          + system.adapter.web.0                    : web                   : iobrocker                                -  enabled, compact disabled, port: 8082, bind: 0.0.0.0, run as: admin
                            system.adapter.yr.0                     : yr                    : iobrocker                                -  enabled, compact disabled
                          
                          + instance is alive
                          
                          Enabled adapters with bindings
                          + system.adapter.admin.0                  : admin                 : iobrocker                                -  enabled, compact disabled, port: 8081, bind: 0.0.0.0, run as: admin
                          + system.adapter.influxdb.0               : influxdb              : iobrocker                                -  enabled, compact disabled, port: 8086
                          + system.adapter.shelly.0                 : shelly                : iobrocker                                -  enabled, compact disabled, port: 1882, bind: 0.0.0.0
                          + system.adapter.sonoff.0                 : sonoff                : iobrocker                                -  enabled, compact disabled, port: 1883, bind: 0.0.0.0
                          + system.adapter.web.0                    : web                   : iobrocker                                -  enabled, compact disabled, 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.12
                          Adapter    "discovery"    : 3.1.0    , installed 3.1.0
                          Adapter    "dwd"          : 2.8.3    , installed 2.8.3
                          Adapter    "influxdb"     : 3.2.0    , installed 3.2.0
                          Controller "js-controller": 4.0.24   , installed 4.0.24
                          Adapter    "lupusec"      : 1.3.6    , installed 1.3.6
                          Adapter    "net-tools"    : 0.2.0    , installed 0.2.0
                          Adapter    "ping"         : 1.5.3    , installed 1.5.3
                          Adapter    "rpi2"         : 1.3.2    , installed 1.3.2
                          Adapter    "shelly"       : 6.3.1    , installed 6.3.1
                          Adapter    "simple-api"   : 2.7.2    , installed 2.7.2
                          Adapter    "smappee"      : 0.2.6    , installed 0.2.6
                          Adapter    "smartmeter"   : 3.3.4    , installed 3.3.4
                          Adapter    "socketio"     : 4.2.0    , installed 4.2.0
                          Adapter    "sonoff"       : 2.5.1    , installed 2.5.1
                          Adapter    "telegram"     : 1.15.2   , installed 1.15.2
                          Adapter    "text2command" : 2.3.0    , installed 2.3.0
                          Adapter    "vis"          : 1.4.15   , installed 1.4.15
                          Adapter    "web"          : 4.3.0    , installed 4.3.0
                          Adapter    "ws"           : 1.3.0    , installed 1.3.0
                          Adapter    "yr"           : 5.3.0    , installed 5.3.0
                          
                          Objects and States
                          Please stand by - This may take a while
                          Objects:        4277
                          States:         3859
                          
                          *** OS-Repositories and Updates ***
                          Hit:1 http://deb.debian.org/debian bullseye InRelease
                          Hit:2 http://deb.debian.org/debian bullseye-updates InRelease
                          Hit:3 http://security.debian.org/debian-security bullseye-security InRelease
                          Hit:4 https://deb.nodesource.com/node_16.x bullseye InRelease
                          Hit:5 http://archive.raspberrypi.org/debian bullseye InRelease
                          Hit:6 https://dl.yarnpkg.com/debian stable InRelease
                          Hit:7 https://packages.grafana.com/enterprise/deb stable InRelease
                          Hit:8 https://repos.influxdata.com/debian stable InRelease
                          Hit:9 https://repos.influxdata.com/debian bullseye 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 0.0.0.0:22              0.0.0.0:*               LISTEN      0          9993       569/sshd: /usr/sbin
                          tcp        0      0 127.0.0.1:631           0.0.0.0:*               LISTEN      0          14191      540/cupsd
                          tcp        0      0 127.0.0.1:9001          0.0.0.0:*               LISTEN      1001       15387      699/iobroker.js-con
                          tcp        0      0 127.0.0.1:9000          0.0.0.0:*               LISTEN      1001       10185      699/iobroker.js-con
                          tcp        0      0 0.0.0.0:1882            0.0.0.0:*               LISTEN      1001       15702      1007/io.shelly.0
                          tcp        0      0 0.0.0.0:1883            0.0.0.0:*               LISTEN      1001       15713      1017/io.sonoff.0
                          tcp6       0      0 :::22                   :::*                    LISTEN      0          9995       569/sshd: /usr/sbin
                          tcp6       0      0 ::1:631                 :::*                    LISTEN      0          14190      540/cupsd
                          tcp6       0      0 :::8086                 :::*                    LISTEN      999        14404      551/influxd
                          tcp6       0      0 :::8081                 :::*                    LISTEN      1001       14590      881/io.admin.0
                          tcp6       0      0 :::8082                 :::*                    LISTEN      1001       17515      1058/io.web.0
                          udp        0      0 0.0.0.0:5353            0.0.0.0:*                           108        14137      344/avahi-daemon: r
                          udp        0      0 0.0.0.0:43845           0.0.0.0:*                           108        14139      344/avahi-daemon: r
                          udp        0      0 0.0.0.0:68              0.0.0.0:*                           0          13019      456/dhcpcd
                          udp        0      0 0.0.0.0:631             0.0.0.0:*                           0          13016      579/cups-browsed
                          udp6       0      0 :::5353                 :::*                                108        14138      344/avahi-daemon: r
                          udp6       0      0 :::38690                :::*                                108        14140      344/avahi-daemon: r
                          udp6       0      0 :::546                  :::*                                0          13030      456/dhcpcd
                          
                          *** Log File - Last 25 Lines ***
                          
                          2023-03-12 20:52:29.793  - info: host.iobrocker starting 9 instances
                          2023-03-12 20:52:30.127  - info: host.iobrocker Delete state "system.host.iobrocker.versions.nodeNewest"
                          2023-03-12 20:52:30.166  - info: host.iobrocker instance system.adapter.admin.0 started with pid 881
                          2023-03-12 20:52:30.196  - info: host.iobrocker Delete state "system.host.iobrocker.versions.nodeNewestNext"
                          2023-03-12 20:52:30.226  - info: host.iobrocker Delete state "system.host.iobrocker.versions.npmCurrent"
                          2023-03-12 20:52:30.298  - info: host.iobrocker Delete state "system.host.iobrocker.versions.npmNewest"
                          2023-03-12 20:52:30.325  - info: host.iobrocker Delete state "system.host.iobrocker.versions.npmNewestNext"
                          2023-03-12 20:52:30.352  - info: host.iobrocker Some obsolete host states deleted.
                          2023-03-12 20:52:33.981  - info: host.iobrocker instance system.adapter.influxdb.0 started with pid 888
                          2023-03-12 20:52:40.351  - info: host.iobrocker instance system.adapter.smartmeter.0 started with pid 915
                          2023-03-12 20:52:57.382  - info: host.iobrocker Updating repository "stable" under "http://download.iobroker.net/sources-dist.json"
                          2023-03-12 20:52:58.246  - info: host.iobrocker instance scheduled system.adapter.yr.0 9 * * * *
                          2023-03-12 20:52:58.272  - info: host.iobrocker instance system.adapter.yr.0 started with pid 924
                          2023-03-12 20:53:02.003  - info: host.iobrocker instance system.adapter.smartmeter.1 started with pid 943
                          2023-03-12 20:53:04.660  - info: yr.0 (924) Plugin sentry Sentry Plugin disabled for this process because sending of statistic data is disabled for the system
                          2023-03-12 20:53:05.057  - info: yr.0 (924) starting. Version 5.3.0 in /opt/iobroker/node_modules/iobroker.yr, node: v16.19.1, js-controller: 4.0.24
                          2023-03-12 20:53:05.121  - info: yr.0 (924) longitude/longitude not set, get data from system
                          2023-03-12 20:53:05.190  - info: yr.0 (924) system latitude: 52.6640928 longitude: 12.799683
                          2023-03-12 20:53:05.454  - info: host.iobrocker instance system.adapter.shelly.0 started with pid 1007
                          2023-03-12 20:53:09.634  - info: host.iobrocker instance system.adapter.sonoff.0 started with pid 1017
                          2023-03-12 20:53:13.670  - info: host.iobrocker instance system.adapter.backitup.0 started with pid 1035
                          2023-03-12 20:53:17.455  - info: host.iobrocker instance system.adapter.web.0 started with pid 1058
                          2023-03-12 20:53:52.429  - info: yr.0 (924) Data updated.
                          2023-03-12 20:53:52.433  - info: yr.0 (924) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
                          2023-03-12 20:53:53.046  - info: host.iobrocker instance system.adapter.yr.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
                          
                          
                          ============ Mark until here for C&P =============
                          
                          
                          
                          Thomas Braun 1 Reply Last reply Reply Quote 0
                          • Thomas Braun
                            Thomas Braun Most Active @olafT last edited by

                            @olaft

                            iobroker add javascript --debug
                            

                            sagt jetzt?

                            O 1 Reply Last reply Reply Quote 0
                            • O
                              olafT last edited by

                              @olaft sagte in Fehler bei "Installing iobroker.javascript@6.1.4...":

                              @thomas-braun

                              Danke für die schnelle Reaktionen, muss jetzt leider los ... bis demnächst

                              VG
                              O

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

                                @thomas-braun

                                danke, hat sich erledigt.

                                VG

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

                                Support us

                                ioBroker
                                Community Adapters
                                Donate

                                735
                                Online

                                31.7k
                                Users

                                79.8k
                                Topics

                                1.3m
                                Posts

                                2
                                16
                                786
                                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