NEWS
admin Adapter nach npm update
-
@schmakus bin gerade dabei via ssh alles zu upgraden
ich habe lt https://www.npmjs.com/package/iobroker.admin ein npm i iobroker.admin durchgeführt
Falsch. Warum macht man das?
iobroker update iobroker upgradewäre besser.
Schau dir das Gesamt-Konstrukt an. Geht per
iob diag -
ich habe lt https://www.npmjs.com/package/iobroker.admin ein npm i iobroker.admin durchgeführt
Falsch. Warum macht man das?
iobroker update iobroker upgradewäre besser.
Schau dir das Gesamt-Konstrukt an. Geht per
iob diag@thomas-braun said in admin Adapter nach npm update:
Falsch. Warum macht man das?
wollte den aktuellen admin Adapter
iob diag
Skript v.2023-04-16 *** BASE SYSTEM *** Model : Raspberry Pi 4 Model B Rev 1.1 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: 11:48:49 up 1:10, 2 users, load average: 2.51, 2.49, 2.01 CPU threads: 4 Raspberry only: throttled=0x0 Other values than 0x0 hint to temperature/voltage problems temp=71.1'C volt=0.8625V *** Time and Time Zones *** Local time: Wed 2023-07-26 11:48:50 CEST Universal time: Wed 2023-07-26 09:48:50 UTC RTC time: n/a Time zone: Europe/Vienna (CEST, +0200) System clock synchronized: yes NTP service: active RTC in local TZ: no *** User and Groups *** pi /home/pi pi adm tty dialout cdrom sudo audio video plugdev games users input render netdev gpio i2c spi iobroker *** X-Server-Setup *** X-Server: false Desktop: Terminal: tty Boot Target: multi-user.target *** MEMORY *** total used free shared buff/cache available Mem: 3.8G 1.5G 1.1G 0.0K 1.2G 2.2G Swap: 99M 73M 26M Total: 3.9G 1.6G 1.1G 3793 M total memory 1542 M used memory 1569 M active memory 859 M inactive memory 1084 M free memory 144 M buffer memory 1021 M swap cache 99 M total swap 73 M used swap 26 M free swap Raspberry only: oom events: 0 lifetime oom required: 0 Mbytes total time in oom handler: 0 ms max time spent in oom handler: 0 ms *** FILESYSTEM *** Filesystem Type Size Used Avail Use% Mounted on /dev/root ext4 459G 17G 424G 4% / devtmpfs devtmpfs 1.7G 0 1.7G 0% /dev tmpfs tmpfs 1.9G 0 1.9G 0% /dev/shm tmpfs tmpfs 759M 1.2M 758M 1% /run tmpfs tmpfs 5.0M 8.0K 5.0M 1% /run/lock /dev/sda1 vfat 255M 31M 225M 13% /boot tmpfs tmpfs 380M 0 380M 0% /run/user/1000 Messages concerning ext4 filesystem in dmesg: [Wed Jul 26 10:38:39 2023] Kernel command line: coherent_pool=1M 8250.nr_uarts=0 snd_bcm2835.enable_headphones=0 snd_bcm2835.enable_headphones=1 snd_bcm2835.enable_hdmi=1 snd_bcm2835.enable_hdmi=0 smsc95xx.macaddr=DC:A6:32:17:AA:23 vc_mem.mem_base=0x3eb00000 vc_mem.mem_size=0x3ff00000 console=ttyS0,115200 console=tty1 root=PARTUUID=a93b2737-02 rootfstype=ext4 fsck.repair=yes rootwait [Wed Jul 26 10:38:41 2023] EXT4-fs (sda2): mounted filesystem with ordered data mode. Quota mode: none. [Wed Jul 26 10:38:41 2023] VFS: Mounted root (ext4 filesystem) readonly on device 8:2. [Wed Jul 26 10:38:43 2023] EXT4-fs (sda2): re-mounted. Quota mode: none. Show mounted filesystems (real ones only): TARGET SOURCE FSTYPE OPTIONS / /dev/sda2 ext4 rw,noatime `-/boot /dev/sda1 vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro Files in neuralgic directories: /var: 9.6G /var/ 6.7G /var/lib 6.6G /var/lib/influxdb/engine/data 6.6G /var/lib/influxdb/engine 6.6G /var/lib/influxdb Archived and active journals take up 2.3G in the file system. /opt/iobroker/backups: 4.0K /opt/iobroker/backups/ /opt/iobroker/iobroker-data: 827M /opt/iobroker/iobroker-data/ 639M /opt/iobroker/iobroker-data/files 160M /opt/iobroker/iobroker-data/files/vis-2-beta 118M /opt/iobroker/iobroker-data/backup-objects 98M /opt/iobroker/iobroker-data/files/vis-2-beta/static The five largest files in iobroker-data are: 35M /opt/iobroker/iobroker-data/files/devices.admin/static/js/main.24f2bb56.js.map 29M /opt/iobroker/iobroker-data/objects.jsonl 23M /opt/iobroker/iobroker-data/files/echarts/static/js/main.eb0afecd.js.map 23M /opt/iobroker/iobroker-data/files/echarts.admin/static/js/main.7952f0f7.js.map 23M /opt/iobroker/iobroker-data/files/echarts.admin/chart/static/js/main.eb0afecd.js.map *** NodeJS-Installation *** /usr/bin/nodejs v17.9.0 /usr/local/bin/node v18.15.0 /usr/local/bin/npm 9.5.0 /usr/local/bin/npx 9.5.0 *** nodejs is NOT correctly installed *** nodejs: Installed: 17.9.0-deb-1nodesource1 Candidate: 17.9.0-deb-1nodesource1 Version table: *** 17.9.0-deb-1nodesource1 500 500 https://deb.nodesource.com/node_17.x bullseye/main arm64 Packages 100 /var/lib/dpkg/status 12.22.12~dfsg-1~deb11u4 500 500 http://security.debian.org/debian-security bullseye-security/main arm64 Packages 12.22.12~dfsg-1~deb11u3 500 500 http://deb.debian.org/debian bullseye/main arm64 Packages Temp directories causing npm8 problem: 0 No problems detected *** ioBroker-Installation *** ioBroker Status iobroker is running on this host. Objects type: jsonl States type: jsonl MULTIHOSTSERVICE/enabled: false Core adapters versions js-controller: 5.0.8 admin: 6.6.1 javascript: 7.1.1 Adapters from github: 5 Adapter State system.adapter.accuweather.0 : accuweather : raspberrypi - enabled + system.adapter.admin.0 : admin : raspberrypi - enabled, port: 8081, bind: 0.0.0.0, run as: admin + system.adapter.alexa2.0 : alexa2 : raspberrypi - enabled system.adapter.alias-manager.0 : alias-manager : raspberrypi - disabled + system.adapter.backitup.0 : backitup : raspberrypi - enabled + system.adapter.cloud.0 : cloud : raspberrypi - enabled system.adapter.devices.0 : devices : raspberrypi - disabled system.adapter.discovery.0 : discovery : raspberrypi - disabled + system.adapter.dwd.0 : dwd : raspberrypi - enabled system.adapter.energiefluss.0 : energiefluss : raspberrypi - enabled system.adapter.enigma2.0 : enigma2 : raspberrypi - enabled system.adapter.fahrplan.0 : fahrplan : raspberrypi - enabled system.adapter.feiertage.0 : feiertage : raspberrypi - enabled + system.adapter.fhem.0 : fhem : raspberrypi - enabled, port: 7072 system.adapter.fuelpricemonitor.0 : fuelpricemonitor : raspberrypi - enabled system.adapter.ical.0 : ical : raspberrypi - enabled system.adapter.ical.1 : ical : raspberrypi - enabled system.adapter.ical.2 : ical : raspberrypi - enabled system.adapter.icons-mfd-svg.0 : icons-mfd-svg : raspberrypi - enabled + system.adapter.influxdb.0 : influxdb : raspberrypi - enabled, port: 8086 system.adapter.javascript.0 : javascript : raspberrypi - enabled + system.adapter.mqtt.0 : mqtt : raspberrypi - enabled, port: 1886, bind: 0.0.0.0 + system.adapter.mqtt.1 : mqtt : raspberrypi - enabled, port: 1883, bind: 0.0.0.0 system.adapter.octoprint.0 : octoprint : raspberrypi - enabled + system.adapter.onkyo.0 : onkyo : raspberrypi - enabled system.adapter.openweathermap.0 : openweathermap : raspberrypi - enabled + system.adapter.ping.0 : ping : raspberrypi - enabled system.adapter.pvforecast.0 : pvforecast : raspberrypi - enabled system.adapter.sayit.0 : sayit : raspberrypi - enabled + system.adapter.shelly.0 : shelly : raspberrypi - enabled, port: 1882, bind: 0.0.0.0 system.adapter.shuttercontrol.0 : shuttercontrol : raspberrypi - disabled system.adapter.smartmeter.0 : smartmeter : raspberrypi - disabled + system.adapter.sonoff.0 : sonoff : raspberrypi - enabled, port: 1884, bind: 0.0.0.0 + system.adapter.sonos.0 : sonos : raspberrypi - enabled system.adapter.sourceanalytix.0 : sourceanalytix : raspberrypi - enabled system.adapter.spotify-premium.0 : spotify-premium : raspberrypi - disabled + system.adapter.telegram.0 : telegram : raspberrypi - enabled, port: 8443, bind: 0.0.0.0 system.adapter.text2command.0 : text2command : raspberrypi - enabled system.adapter.trashschedule.0 : trashschedule : raspberrypi - enabled + system.adapter.unifi.0 : unifi : raspberrypi - enabled system.adapter.vaillant.0 : vaillant : raspberrypi - enabled system.adapter.vis-2-beta.0 : vis-2-beta : raspberrypi - enabled system.adapter.vis-2-widgets-energy.0 : vis-2-widgets-energy : raspberrypi - enabled system.adapter.vis-2-widgets-gauges.0 : vis-2-widgets-gauges : raspberrypi - enabled system.adapter.vis-2-widgets-material.0 : vis-2-widgets-material: raspberrypi - enabled system.adapter.vis-history.0 : vis-history : raspberrypi - disabled system.adapter.vis-icontwo.0 : vis-icontwo : raspberrypi - enabled system.adapter.vis-inventwo.0 : vis-inventwo : raspberrypi - enabled system.adapter.vis-material-advanced.0 : vis-material-advanced : raspberrypi - enabled system.adapter.vis-players.0 : vis-players : raspberrypi - disabled system.adapter.vis.0 : vis : raspberrypi - enabled system.adapter.web.0 : web : raspberrypi - enabled, port: 8082, bind: 0.0.0.0, run as: admin system.adapter.wled.0 : wled : raspberrypi - enabled + system.adapter.yr.0 : yr : raspberrypi - enabled + instance is alive Enabled adapters with bindings + system.adapter.admin.0 : admin : raspberrypi - enabled, port: 8081, bind: 0.0.0.0, run as: admin + system.adapter.fhem.0 : fhem : raspberrypi - enabled, port: 7072 + system.adapter.influxdb.0 : influxdb : raspberrypi - enabled, port: 8086 + system.adapter.mqtt.0 : mqtt : raspberrypi - enabled, port: 1886, bind: 0.0.0.0 + system.adapter.mqtt.1 : mqtt : raspberrypi - enabled, port: 1883, bind: 0.0.0.0 + system.adapter.shelly.0 : shelly : raspberrypi - enabled, port: 1882, bind: 0.0.0.0 + system.adapter.sonoff.0 : sonoff : raspberrypi - enabled, port: 1884, bind: 0.0.0.0 + system.adapter.telegram.0 : telegram : raspberrypi - enabled, port: 8443, bind: 0.0.0.0 system.adapter.web.0 : web : raspberrypi - enabled, port: 8082, bind: 0.0.0.0, run as: admin ioBroker-Repositories stable : http://download.iobroker.net/sources-dist.json beta : http://download.iobroker.net/sources-dist-latest.json Active repo(s): beta Installed ioBroker-Instances Used repository: beta Adapter "accuweather" : 1.2.4 , installed 1.2.4 Adapter "admin" : 6.6.1 , installed 6.6.1 Adapter "alexa2" : 3.23.2 , installed 3.23.2 Adapter "alias-manager": 1.2.6 , installed 1.2.6 Adapter "apcups" : 1.0.15 , installed 1.0.15 Adapter "backitup" : 2.6.23 , installed 2.6.23 Adapter "cloud" : 4.4.1 , installed 4.4.1 Adapter "devices" : 1.1.5 , installed 1.1.5 Adapter "discovery" : 3.2.0 , installed 3.2.0 Adapter "dwd" : 2.8.5 , installed 2.8.5 Adapter "echarts" : 1.5.1 , installed 1.5.1 Adapter "fahrplan" : 1.2.3 , installed 1.2.3 Adapter "feiertage" : 1.1.0 , installed 1.1.0 Adapter "fhem" : 2.0.3 , installed 2.0.3 Adapter "fuelpricemonitor": 0.3.5 , installed 0.3.5 Adapter "habpanel" : 0.5.0 , installed 0.5.0 Adapter "ical" : 1.13.3 , installed 1.13.3 Adapter "icons-mfd-svg": 1.1.0 , installed 1.1.0 Adapter "influxdb" : 3.2.0 , installed 3.2.0 Adapter "javascript" : 7.1.1 , installed 7.1.1 Controller "js-controller": 5.0.8 , installed 5.0.8 Adapter "mqtt" : 4.1.1 , installed 4.1.1 Adapter "mqtt-client" : 1.6.3 , installed 1.6.3 Adapter "octoprint" : 5.0.1 , installed 5.0.1 Adapter "onkyo" : 2.1.2 , installed 2.1.2 Adapter "openweathermap": 0.3.11 , installed 0.3.11 Adapter "ping" : 1.6.2 , installed 1.6.2 Adapter "pvforecast" : 2.7.1 , installed 2.7.1 Adapter "radar2" : 2.0.7 , installed 2.0.7 Adapter "sayit" : 3.0.5 , installed 3.0.5 Adapter "shelly" : 6.4.1 , installed 6.4.1 Adapter "shuttercontrol": 1.6.1 , installed 1.6.1 Adapter "simple-api" : 2.7.2 , installed 2.7.2 Adapter "smartmeter" : 3.3.4 , installed 3.3.4 Adapter "socketio" : 6.4.0 , installed 6.4.0 Adapter "sonoff" : 2.5.7 , installed 2.5.7 Adapter "sonos" : 2.3.1 , installed 2.3.1 Adapter "sourceanalytix": 0.4.14 , installed 0.4.14 Adapter "spotify-premium": 1.2.2 , installed 1.2.2 Adapter "statistics" : 2.3.0 , installed 2.3.0 Adapter "telegram" : 1.16.0 , installed 1.16.0 Adapter "text2command" : 3.0.2 , installed 3.0.2 Adapter "trashschedule": 2.2.0 , installed 2.2.0 Adapter "unifi" : 0.6.6 , installed 0.6.6 Adapter "vaillant" : 0.1.2 , installed 0.1.2 Adapter "vis" : 1.4.16 , installed 1.4.16 Adapter "vis-2-widgets-energy": 0.2.1, installed 0.2.1 Adapter "vis-2-widgets-gauges": 0.1.14, installed 0.1.14 Adapter "vis-2-widgets-material": 0.8.2, installed 0.8.2 Adapter "vis-history" : 1.0.0 , installed 1.0.0 Adapter "vis-icontwo" : 0.96.0 , installed 0.96.0 Adapter "vis-inventwo" : 3.3.3 , installed 3.3.3 Adapter "vis-jqui-mfd" : 1.0.12 , installed 1.0.12 Adapter "vis-material-advanced": 1.7.2, installed 1.7.2 Adapter "vis-players" : 0.1.6 , installed 0.1.6 Adapter "web" : 5.5.3 , installed 5.5.3 Adapter "wled" : 0.7.0 , installed 0.7.0 Adapter "ws" : 2.4.0 , installed 2.4.0 Adapter "yr" : 5.3.0 , installed 5.3.0 Objects and States Please stand by - This may take a while Objects: 32147 States: 29361 *** OS-Repositories and Updates *** Hit:1 http://security.debian.org/debian-security bullseye-security InRelease Hit:2 http://deb.debian.org/debian bullseye InRelease Hit:3 http://deb.debian.org/debian bullseye-updates InRelease Hit:4 http://archive.raspberrypi.org/debian bullseye InRelease Hit:5 https://deb.nodesource.com/node_17.x bullseye InRelease Hit:6 https://packages.grafana.com/oss/deb stable InRelease Hit:7 https://repos.influxdata.com/debian 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 0.0.0.0:22 0.0.0.0:* LISTEN 0 14059 530/sshd: /usr/sbin tcp 0 0 127.0.0.1:9001 0.0.0.0:* LISTEN 1001 49848 9751/iobroker.js-co tcp 0 0 127.0.0.1:9000 0.0.0.0:* LISTEN 1001 49852 9751/iobroker.js-co tcp 0 0 0.0.0.0:5000 0.0.0.0:* LISTEN 1000 14762 649/python3 tcp 0 0 0.0.0.0:1883 0.0.0.0:* LISTEN 110 14441 520/mosquitto tcp 0 0 0.0.0.0:1882 0.0.0.0:* LISTEN 1001 51405 10002/io.shelly.0 tcp 0 0 0.0.0.0:1886 0.0.0.0:* LISTEN 1001 51317 9893/io.mqtt.0 tcp 0 0 0.0.0.0:1884 0.0.0.0:* LISTEN 1001 53426 10041/io.sonoff.0 tcp 0 0 127.0.0.1:3551 0.0.0.0:* LISTEN 0 14179 658/apcupsd tcp6 0 0 :::22 :::* LISTEN 0 14061 530/sshd: /usr/sbin tcp6 0 0 :::5000 :::* LISTEN 1000 14763 649/python3 tcp6 0 0 :::3000 :::* LISTEN 111 15697 778/grafana tcp6 0 0 :::3500 :::* LISTEN 1001 50891 10077/io.sonos.0 tcp6 0 0 :::8082 :::* LISTEN 1001 55300 10929/io.web.0 tcp6 0 0 :::8081 :::* LISTEN 1001 50623 9775/io.admin.0 tcp6 0 0 :::8086 :::* LISTEN 999 15506 656/influxd tcp6 0 0 :::1883 :::* LISTEN 110 14442 520/mosquitto udp 0 0 0.0.0.0:38449 0.0.0.0:* 108 13966 395/avahi-daemon: r udp 0 0 0.0.0.0:1900 0.0.0.0:* 1000 14776 649/python3 udp 0 0 0.0.0.0:68 0.0.0.0:* 0 14450 645/dhcpcd udp 0 0 0.0.0.0:5353 0.0.0.0:* 1001 54575 10927/io.wled.0 udp 0 0 10.68.0.185:5353 0.0.0.0:* 1000 14752 649/python3 udp 0 0 10.68.0.11:5353 0.0.0.0:* 1000 14751 649/python3 udp 0 0 0.0.0.0:5353 0.0.0.0:* 1000 14746 649/python3 udp 0 0 0.0.0.0:5353 0.0.0.0:* 108 13964 395/avahi-daemon: r udp6 0 0 :::51957 :::* 108 13967 395/avahi-daemon: r udp6 0 0 :::5353 :::* 108 13965 395/avahi-daemon: r *** Log File - Last 25 Lines *** 2023-07-26 11:51:41.994 - info: javascript.0 (11197) starting. Version 7.1.1 in /opt/iobroker/node_modules/iobroker.javascript, node: v18.15.0, js-controller: 5.0.8 2023-07-26 11:51:45.179 - info: vaillant.0 (10714) Receiving first time livereport 2023-07-26 11:51:46.388 - info: javascript.0 (11197) requesting all states 2023-07-26 11:51:46.393 - info: javascript.0 (11197) requesting all objects 2023-07-26 11:51:49.877 - info: wled.0 (10927) WLED initialisation finalized, ready to do my job have fun ! 2023-07-26 11:51:50.202 - info: cloud.0 (10282) Trying to connect as system.user.admin to cloud 2023-07-26 11:51:50.352 - info: fhem.0 (9849) event FHEM: AussenTemp | MQTT2_DEVICE AussenTemp off | state > fhem.0.AussenTemp.state off 2023-07-26 11:51:50.352 - info: fhem.0 (9849) event FHEM: AussenTemp | MQTT2_DEVICE AussenTemp off | switch > fhem.0.AussenTemp.state_switch false 2023-07-26 11:51:55.515 - info: vaillant.0 (10714) Receiving first time PVMetering 2023-07-26 11:51:56.174 - info: javascript.0 (11197) received all objects 2023-07-26 11:52:00.107 - info: vaillant.0 (10714) Scheduled restart. 2023-07-26 11:52:00.112 - info: vaillant.0 (10714) cleaned everything up... 2023-07-26 11:52:00.167 - info: vaillant.0 (10714) terminating 2023-07-26 11:52:00.176 - info: vaillant.0 (10714) Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason 2023-07-26 11:52:00.649 - info: vaillant.0 (10714) terminating 2023-07-26 11:52:01.101 - info: host.raspberrypi instance system.adapter.vaillant.0 scheduled normal terminated and will be restarted on schedule. 2023-07-26 11:52:01.103 - info: host.raspberrypi Restart adapter system.adapter.vaillant.0 because enabled 2023-07-26 11:52:02.005 - info: javascript.0 (11197) received all states 2023-07-26 11:52:03.024 - info: host.raspberrypi instance system.adapter.vaillant.0 started with pid 11786 2023-07-26 11:52:04.356 - info: javascript.0 (11197) script.js.global.icon_mapping: compiling TypeScript source... 2023-07-26 11:52:05.949 - info: fhem.0 (9849) event FHEM: MQTT2_Rollo_EG_K_SE | MQTT2_DEVICE MQTT2_Rollo_EG_K_SE 40 | state > fhem.0.MQTT2_Rollo_EG_K_SE.state 40 2023-07-26 11:52:08.361 - info: sourceanalytix.0 (11005) Initialization of mqtt.1.SmartHome.watermeter.main.value successfully 2023-07-26 11:52:08.363 - info: sourceanalytix.0 (11005) Initialising (2 of 4) "mqtt.1.SmartHome.gasmeter.main.value" 2023-07-26 11:52:12.458 - info: vaillant.0 (11786) starting. Version 0.1.2 in /opt/iobroker/node_modules/iobroker.vaillant, node: v18.15.0, js-controller: 5.0.8 2023-07-26 11:52:13.161 - info: vaillant.0 (11786) Generate new Idsummary
======================= SUMMARY ======================= v.2023-04-16 Operatingsystem: Debian GNU/Linux 11 (bullseye) Kernel: 6.1.21-v8+ Installation: Native Timezone: Europe/Vienna (CEST, +0200) User-ID: 1000 X-Server: false Boot Target: multi-user.target Pending OS-Updates: 0 Pending iob updates: 0 Nodejs-Installation: /usr/bin/nodejs v17.9.0 /usr/local/bin/node v18.15.0 /usr/local/bin/npm 9.5.0 /usr/local/bin/npx 9.5.0 Recommended versions are nodejs 18.x.y and npm 9.x.y *** nodejs is NOT correctly installed *** MEMORY: total used free shared buff/cache available Mem: 3.8G 2.0G 1.1G 0.0K 643M 1.7G Swap: 99M 71M 28M Total: 3.9G 2.1G 1.2G Active iob-Instances: 30 Active repo(s): beta ioBroker Core: js-controller 5.0.8 admin 6.6.1 ioBroker Status: iobroker is running on this host. Objects type: jsonl States type: jsonl Status admin and web instance: + system.adapter.admin.0 : admin : raspberrypi - enabled, port: 8081, bind: 0.0.0.0, run as: admin + system.adapter.web.0 : web : raspberrypi - enabled, port: 8082, bind: 0.0.0.0, run as: admin Objects: 32147 States: 29361 Size of iob-Database: 31M /opt/iobroker/iobroker-data/objects.jsonl 13M /opt/iobroker/iobroker-data/states.jsonl =================== END OF SUMMARY ==================== -
@thomas-braun said in admin Adapter nach npm update:
Falsch. Warum macht man das?
wollte den aktuellen admin Adapter
iob diag
Skript v.2023-04-16 *** BASE SYSTEM *** Model : Raspberry Pi 4 Model B Rev 1.1 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: 11:48:49 up 1:10, 2 users, load average: 2.51, 2.49, 2.01 CPU threads: 4 Raspberry only: throttled=0x0 Other values than 0x0 hint to temperature/voltage problems temp=71.1'C volt=0.8625V *** Time and Time Zones *** Local time: Wed 2023-07-26 11:48:50 CEST Universal time: Wed 2023-07-26 09:48:50 UTC RTC time: n/a Time zone: Europe/Vienna (CEST, +0200) System clock synchronized: yes NTP service: active RTC in local TZ: no *** User and Groups *** pi /home/pi pi adm tty dialout cdrom sudo audio video plugdev games users input render netdev gpio i2c spi iobroker *** X-Server-Setup *** X-Server: false Desktop: Terminal: tty Boot Target: multi-user.target *** MEMORY *** total used free shared buff/cache available Mem: 3.8G 1.5G 1.1G 0.0K 1.2G 2.2G Swap: 99M 73M 26M Total: 3.9G 1.6G 1.1G 3793 M total memory 1542 M used memory 1569 M active memory 859 M inactive memory 1084 M free memory 144 M buffer memory 1021 M swap cache 99 M total swap 73 M used swap 26 M free swap Raspberry only: oom events: 0 lifetime oom required: 0 Mbytes total time in oom handler: 0 ms max time spent in oom handler: 0 ms *** FILESYSTEM *** Filesystem Type Size Used Avail Use% Mounted on /dev/root ext4 459G 17G 424G 4% / devtmpfs devtmpfs 1.7G 0 1.7G 0% /dev tmpfs tmpfs 1.9G 0 1.9G 0% /dev/shm tmpfs tmpfs 759M 1.2M 758M 1% /run tmpfs tmpfs 5.0M 8.0K 5.0M 1% /run/lock /dev/sda1 vfat 255M 31M 225M 13% /boot tmpfs tmpfs 380M 0 380M 0% /run/user/1000 Messages concerning ext4 filesystem in dmesg: [Wed Jul 26 10:38:39 2023] Kernel command line: coherent_pool=1M 8250.nr_uarts=0 snd_bcm2835.enable_headphones=0 snd_bcm2835.enable_headphones=1 snd_bcm2835.enable_hdmi=1 snd_bcm2835.enable_hdmi=0 smsc95xx.macaddr=DC:A6:32:17:AA:23 vc_mem.mem_base=0x3eb00000 vc_mem.mem_size=0x3ff00000 console=ttyS0,115200 console=tty1 root=PARTUUID=a93b2737-02 rootfstype=ext4 fsck.repair=yes rootwait [Wed Jul 26 10:38:41 2023] EXT4-fs (sda2): mounted filesystem with ordered data mode. Quota mode: none. [Wed Jul 26 10:38:41 2023] VFS: Mounted root (ext4 filesystem) readonly on device 8:2. [Wed Jul 26 10:38:43 2023] EXT4-fs (sda2): re-mounted. Quota mode: none. Show mounted filesystems (real ones only): TARGET SOURCE FSTYPE OPTIONS / /dev/sda2 ext4 rw,noatime `-/boot /dev/sda1 vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro Files in neuralgic directories: /var: 9.6G /var/ 6.7G /var/lib 6.6G /var/lib/influxdb/engine/data 6.6G /var/lib/influxdb/engine 6.6G /var/lib/influxdb Archived and active journals take up 2.3G in the file system. /opt/iobroker/backups: 4.0K /opt/iobroker/backups/ /opt/iobroker/iobroker-data: 827M /opt/iobroker/iobroker-data/ 639M /opt/iobroker/iobroker-data/files 160M /opt/iobroker/iobroker-data/files/vis-2-beta 118M /opt/iobroker/iobroker-data/backup-objects 98M /opt/iobroker/iobroker-data/files/vis-2-beta/static The five largest files in iobroker-data are: 35M /opt/iobroker/iobroker-data/files/devices.admin/static/js/main.24f2bb56.js.map 29M /opt/iobroker/iobroker-data/objects.jsonl 23M /opt/iobroker/iobroker-data/files/echarts/static/js/main.eb0afecd.js.map 23M /opt/iobroker/iobroker-data/files/echarts.admin/static/js/main.7952f0f7.js.map 23M /opt/iobroker/iobroker-data/files/echarts.admin/chart/static/js/main.eb0afecd.js.map *** NodeJS-Installation *** /usr/bin/nodejs v17.9.0 /usr/local/bin/node v18.15.0 /usr/local/bin/npm 9.5.0 /usr/local/bin/npx 9.5.0 *** nodejs is NOT correctly installed *** nodejs: Installed: 17.9.0-deb-1nodesource1 Candidate: 17.9.0-deb-1nodesource1 Version table: *** 17.9.0-deb-1nodesource1 500 500 https://deb.nodesource.com/node_17.x bullseye/main arm64 Packages 100 /var/lib/dpkg/status 12.22.12~dfsg-1~deb11u4 500 500 http://security.debian.org/debian-security bullseye-security/main arm64 Packages 12.22.12~dfsg-1~deb11u3 500 500 http://deb.debian.org/debian bullseye/main arm64 Packages Temp directories causing npm8 problem: 0 No problems detected *** ioBroker-Installation *** ioBroker Status iobroker is running on this host. Objects type: jsonl States type: jsonl MULTIHOSTSERVICE/enabled: false Core adapters versions js-controller: 5.0.8 admin: 6.6.1 javascript: 7.1.1 Adapters from github: 5 Adapter State system.adapter.accuweather.0 : accuweather : raspberrypi - enabled + system.adapter.admin.0 : admin : raspberrypi - enabled, port: 8081, bind: 0.0.0.0, run as: admin + system.adapter.alexa2.0 : alexa2 : raspberrypi - enabled system.adapter.alias-manager.0 : alias-manager : raspberrypi - disabled + system.adapter.backitup.0 : backitup : raspberrypi - enabled + system.adapter.cloud.0 : cloud : raspberrypi - enabled system.adapter.devices.0 : devices : raspberrypi - disabled system.adapter.discovery.0 : discovery : raspberrypi - disabled + system.adapter.dwd.0 : dwd : raspberrypi - enabled system.adapter.energiefluss.0 : energiefluss : raspberrypi - enabled system.adapter.enigma2.0 : enigma2 : raspberrypi - enabled system.adapter.fahrplan.0 : fahrplan : raspberrypi - enabled system.adapter.feiertage.0 : feiertage : raspberrypi - enabled + system.adapter.fhem.0 : fhem : raspberrypi - enabled, port: 7072 system.adapter.fuelpricemonitor.0 : fuelpricemonitor : raspberrypi - enabled system.adapter.ical.0 : ical : raspberrypi - enabled system.adapter.ical.1 : ical : raspberrypi - enabled system.adapter.ical.2 : ical : raspberrypi - enabled system.adapter.icons-mfd-svg.0 : icons-mfd-svg : raspberrypi - enabled + system.adapter.influxdb.0 : influxdb : raspberrypi - enabled, port: 8086 system.adapter.javascript.0 : javascript : raspberrypi - enabled + system.adapter.mqtt.0 : mqtt : raspberrypi - enabled, port: 1886, bind: 0.0.0.0 + system.adapter.mqtt.1 : mqtt : raspberrypi - enabled, port: 1883, bind: 0.0.0.0 system.adapter.octoprint.0 : octoprint : raspberrypi - enabled + system.adapter.onkyo.0 : onkyo : raspberrypi - enabled system.adapter.openweathermap.0 : openweathermap : raspberrypi - enabled + system.adapter.ping.0 : ping : raspberrypi - enabled system.adapter.pvforecast.0 : pvforecast : raspberrypi - enabled system.adapter.sayit.0 : sayit : raspberrypi - enabled + system.adapter.shelly.0 : shelly : raspberrypi - enabled, port: 1882, bind: 0.0.0.0 system.adapter.shuttercontrol.0 : shuttercontrol : raspberrypi - disabled system.adapter.smartmeter.0 : smartmeter : raspberrypi - disabled + system.adapter.sonoff.0 : sonoff : raspberrypi - enabled, port: 1884, bind: 0.0.0.0 + system.adapter.sonos.0 : sonos : raspberrypi - enabled system.adapter.sourceanalytix.0 : sourceanalytix : raspberrypi - enabled system.adapter.spotify-premium.0 : spotify-premium : raspberrypi - disabled + system.adapter.telegram.0 : telegram : raspberrypi - enabled, port: 8443, bind: 0.0.0.0 system.adapter.text2command.0 : text2command : raspberrypi - enabled system.adapter.trashschedule.0 : trashschedule : raspberrypi - enabled + system.adapter.unifi.0 : unifi : raspberrypi - enabled system.adapter.vaillant.0 : vaillant : raspberrypi - enabled system.adapter.vis-2-beta.0 : vis-2-beta : raspberrypi - enabled system.adapter.vis-2-widgets-energy.0 : vis-2-widgets-energy : raspberrypi - enabled system.adapter.vis-2-widgets-gauges.0 : vis-2-widgets-gauges : raspberrypi - enabled system.adapter.vis-2-widgets-material.0 : vis-2-widgets-material: raspberrypi - enabled system.adapter.vis-history.0 : vis-history : raspberrypi - disabled system.adapter.vis-icontwo.0 : vis-icontwo : raspberrypi - enabled system.adapter.vis-inventwo.0 : vis-inventwo : raspberrypi - enabled system.adapter.vis-material-advanced.0 : vis-material-advanced : raspberrypi - enabled system.adapter.vis-players.0 : vis-players : raspberrypi - disabled system.adapter.vis.0 : vis : raspberrypi - enabled system.adapter.web.0 : web : raspberrypi - enabled, port: 8082, bind: 0.0.0.0, run as: admin system.adapter.wled.0 : wled : raspberrypi - enabled + system.adapter.yr.0 : yr : raspberrypi - enabled + instance is alive Enabled adapters with bindings + system.adapter.admin.0 : admin : raspberrypi - enabled, port: 8081, bind: 0.0.0.0, run as: admin + system.adapter.fhem.0 : fhem : raspberrypi - enabled, port: 7072 + system.adapter.influxdb.0 : influxdb : raspberrypi - enabled, port: 8086 + system.adapter.mqtt.0 : mqtt : raspberrypi - enabled, port: 1886, bind: 0.0.0.0 + system.adapter.mqtt.1 : mqtt : raspberrypi - enabled, port: 1883, bind: 0.0.0.0 + system.adapter.shelly.0 : shelly : raspberrypi - enabled, port: 1882, bind: 0.0.0.0 + system.adapter.sonoff.0 : sonoff : raspberrypi - enabled, port: 1884, bind: 0.0.0.0 + system.adapter.telegram.0 : telegram : raspberrypi - enabled, port: 8443, bind: 0.0.0.0 system.adapter.web.0 : web : raspberrypi - enabled, port: 8082, bind: 0.0.0.0, run as: admin ioBroker-Repositories stable : http://download.iobroker.net/sources-dist.json beta : http://download.iobroker.net/sources-dist-latest.json Active repo(s): beta Installed ioBroker-Instances Used repository: beta Adapter "accuweather" : 1.2.4 , installed 1.2.4 Adapter "admin" : 6.6.1 , installed 6.6.1 Adapter "alexa2" : 3.23.2 , installed 3.23.2 Adapter "alias-manager": 1.2.6 , installed 1.2.6 Adapter "apcups" : 1.0.15 , installed 1.0.15 Adapter "backitup" : 2.6.23 , installed 2.6.23 Adapter "cloud" : 4.4.1 , installed 4.4.1 Adapter "devices" : 1.1.5 , installed 1.1.5 Adapter "discovery" : 3.2.0 , installed 3.2.0 Adapter "dwd" : 2.8.5 , installed 2.8.5 Adapter "echarts" : 1.5.1 , installed 1.5.1 Adapter "fahrplan" : 1.2.3 , installed 1.2.3 Adapter "feiertage" : 1.1.0 , installed 1.1.0 Adapter "fhem" : 2.0.3 , installed 2.0.3 Adapter "fuelpricemonitor": 0.3.5 , installed 0.3.5 Adapter "habpanel" : 0.5.0 , installed 0.5.0 Adapter "ical" : 1.13.3 , installed 1.13.3 Adapter "icons-mfd-svg": 1.1.0 , installed 1.1.0 Adapter "influxdb" : 3.2.0 , installed 3.2.0 Adapter "javascript" : 7.1.1 , installed 7.1.1 Controller "js-controller": 5.0.8 , installed 5.0.8 Adapter "mqtt" : 4.1.1 , installed 4.1.1 Adapter "mqtt-client" : 1.6.3 , installed 1.6.3 Adapter "octoprint" : 5.0.1 , installed 5.0.1 Adapter "onkyo" : 2.1.2 , installed 2.1.2 Adapter "openweathermap": 0.3.11 , installed 0.3.11 Adapter "ping" : 1.6.2 , installed 1.6.2 Adapter "pvforecast" : 2.7.1 , installed 2.7.1 Adapter "radar2" : 2.0.7 , installed 2.0.7 Adapter "sayit" : 3.0.5 , installed 3.0.5 Adapter "shelly" : 6.4.1 , installed 6.4.1 Adapter "shuttercontrol": 1.6.1 , installed 1.6.1 Adapter "simple-api" : 2.7.2 , installed 2.7.2 Adapter "smartmeter" : 3.3.4 , installed 3.3.4 Adapter "socketio" : 6.4.0 , installed 6.4.0 Adapter "sonoff" : 2.5.7 , installed 2.5.7 Adapter "sonos" : 2.3.1 , installed 2.3.1 Adapter "sourceanalytix": 0.4.14 , installed 0.4.14 Adapter "spotify-premium": 1.2.2 , installed 1.2.2 Adapter "statistics" : 2.3.0 , installed 2.3.0 Adapter "telegram" : 1.16.0 , installed 1.16.0 Adapter "text2command" : 3.0.2 , installed 3.0.2 Adapter "trashschedule": 2.2.0 , installed 2.2.0 Adapter "unifi" : 0.6.6 , installed 0.6.6 Adapter "vaillant" : 0.1.2 , installed 0.1.2 Adapter "vis" : 1.4.16 , installed 1.4.16 Adapter "vis-2-widgets-energy": 0.2.1, installed 0.2.1 Adapter "vis-2-widgets-gauges": 0.1.14, installed 0.1.14 Adapter "vis-2-widgets-material": 0.8.2, installed 0.8.2 Adapter "vis-history" : 1.0.0 , installed 1.0.0 Adapter "vis-icontwo" : 0.96.0 , installed 0.96.0 Adapter "vis-inventwo" : 3.3.3 , installed 3.3.3 Adapter "vis-jqui-mfd" : 1.0.12 , installed 1.0.12 Adapter "vis-material-advanced": 1.7.2, installed 1.7.2 Adapter "vis-players" : 0.1.6 , installed 0.1.6 Adapter "web" : 5.5.3 , installed 5.5.3 Adapter "wled" : 0.7.0 , installed 0.7.0 Adapter "ws" : 2.4.0 , installed 2.4.0 Adapter "yr" : 5.3.0 , installed 5.3.0 Objects and States Please stand by - This may take a while Objects: 32147 States: 29361 *** OS-Repositories and Updates *** Hit:1 http://security.debian.org/debian-security bullseye-security InRelease Hit:2 http://deb.debian.org/debian bullseye InRelease Hit:3 http://deb.debian.org/debian bullseye-updates InRelease Hit:4 http://archive.raspberrypi.org/debian bullseye InRelease Hit:5 https://deb.nodesource.com/node_17.x bullseye InRelease Hit:6 https://packages.grafana.com/oss/deb stable InRelease Hit:7 https://repos.influxdata.com/debian 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 0.0.0.0:22 0.0.0.0:* LISTEN 0 14059 530/sshd: /usr/sbin tcp 0 0 127.0.0.1:9001 0.0.0.0:* LISTEN 1001 49848 9751/iobroker.js-co tcp 0 0 127.0.0.1:9000 0.0.0.0:* LISTEN 1001 49852 9751/iobroker.js-co tcp 0 0 0.0.0.0:5000 0.0.0.0:* LISTEN 1000 14762 649/python3 tcp 0 0 0.0.0.0:1883 0.0.0.0:* LISTEN 110 14441 520/mosquitto tcp 0 0 0.0.0.0:1882 0.0.0.0:* LISTEN 1001 51405 10002/io.shelly.0 tcp 0 0 0.0.0.0:1886 0.0.0.0:* LISTEN 1001 51317 9893/io.mqtt.0 tcp 0 0 0.0.0.0:1884 0.0.0.0:* LISTEN 1001 53426 10041/io.sonoff.0 tcp 0 0 127.0.0.1:3551 0.0.0.0:* LISTEN 0 14179 658/apcupsd tcp6 0 0 :::22 :::* LISTEN 0 14061 530/sshd: /usr/sbin tcp6 0 0 :::5000 :::* LISTEN 1000 14763 649/python3 tcp6 0 0 :::3000 :::* LISTEN 111 15697 778/grafana tcp6 0 0 :::3500 :::* LISTEN 1001 50891 10077/io.sonos.0 tcp6 0 0 :::8082 :::* LISTEN 1001 55300 10929/io.web.0 tcp6 0 0 :::8081 :::* LISTEN 1001 50623 9775/io.admin.0 tcp6 0 0 :::8086 :::* LISTEN 999 15506 656/influxd tcp6 0 0 :::1883 :::* LISTEN 110 14442 520/mosquitto udp 0 0 0.0.0.0:38449 0.0.0.0:* 108 13966 395/avahi-daemon: r udp 0 0 0.0.0.0:1900 0.0.0.0:* 1000 14776 649/python3 udp 0 0 0.0.0.0:68 0.0.0.0:* 0 14450 645/dhcpcd udp 0 0 0.0.0.0:5353 0.0.0.0:* 1001 54575 10927/io.wled.0 udp 0 0 10.68.0.185:5353 0.0.0.0:* 1000 14752 649/python3 udp 0 0 10.68.0.11:5353 0.0.0.0:* 1000 14751 649/python3 udp 0 0 0.0.0.0:5353 0.0.0.0:* 1000 14746 649/python3 udp 0 0 0.0.0.0:5353 0.0.0.0:* 108 13964 395/avahi-daemon: r udp6 0 0 :::51957 :::* 108 13967 395/avahi-daemon: r udp6 0 0 :::5353 :::* 108 13965 395/avahi-daemon: r *** Log File - Last 25 Lines *** 2023-07-26 11:51:41.994 - info: javascript.0 (11197) starting. Version 7.1.1 in /opt/iobroker/node_modules/iobroker.javascript, node: v18.15.0, js-controller: 5.0.8 2023-07-26 11:51:45.179 - info: vaillant.0 (10714) Receiving first time livereport 2023-07-26 11:51:46.388 - info: javascript.0 (11197) requesting all states 2023-07-26 11:51:46.393 - info: javascript.0 (11197) requesting all objects 2023-07-26 11:51:49.877 - info: wled.0 (10927) WLED initialisation finalized, ready to do my job have fun ! 2023-07-26 11:51:50.202 - info: cloud.0 (10282) Trying to connect as system.user.admin to cloud 2023-07-26 11:51:50.352 - info: fhem.0 (9849) event FHEM: AussenTemp | MQTT2_DEVICE AussenTemp off | state > fhem.0.AussenTemp.state off 2023-07-26 11:51:50.352 - info: fhem.0 (9849) event FHEM: AussenTemp | MQTT2_DEVICE AussenTemp off | switch > fhem.0.AussenTemp.state_switch false 2023-07-26 11:51:55.515 - info: vaillant.0 (10714) Receiving first time PVMetering 2023-07-26 11:51:56.174 - info: javascript.0 (11197) received all objects 2023-07-26 11:52:00.107 - info: vaillant.0 (10714) Scheduled restart. 2023-07-26 11:52:00.112 - info: vaillant.0 (10714) cleaned everything up... 2023-07-26 11:52:00.167 - info: vaillant.0 (10714) terminating 2023-07-26 11:52:00.176 - info: vaillant.0 (10714) Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason 2023-07-26 11:52:00.649 - info: vaillant.0 (10714) terminating 2023-07-26 11:52:01.101 - info: host.raspberrypi instance system.adapter.vaillant.0 scheduled normal terminated and will be restarted on schedule. 2023-07-26 11:52:01.103 - info: host.raspberrypi Restart adapter system.adapter.vaillant.0 because enabled 2023-07-26 11:52:02.005 - info: javascript.0 (11197) received all states 2023-07-26 11:52:03.024 - info: host.raspberrypi instance system.adapter.vaillant.0 started with pid 11786 2023-07-26 11:52:04.356 - info: javascript.0 (11197) script.js.global.icon_mapping: compiling TypeScript source... 2023-07-26 11:52:05.949 - info: fhem.0 (9849) event FHEM: MQTT2_Rollo_EG_K_SE | MQTT2_DEVICE MQTT2_Rollo_EG_K_SE 40 | state > fhem.0.MQTT2_Rollo_EG_K_SE.state 40 2023-07-26 11:52:08.361 - info: sourceanalytix.0 (11005) Initialization of mqtt.1.SmartHome.watermeter.main.value successfully 2023-07-26 11:52:08.363 - info: sourceanalytix.0 (11005) Initialising (2 of 4) "mqtt.1.SmartHome.gasmeter.main.value" 2023-07-26 11:52:12.458 - info: vaillant.0 (11786) starting. Version 0.1.2 in /opt/iobroker/node_modules/iobroker.vaillant, node: v18.15.0, js-controller: 5.0.8 2023-07-26 11:52:13.161 - info: vaillant.0 (11786) Generate new Idsummary
======================= SUMMARY ======================= v.2023-04-16 Operatingsystem: Debian GNU/Linux 11 (bullseye) Kernel: 6.1.21-v8+ Installation: Native Timezone: Europe/Vienna (CEST, +0200) User-ID: 1000 X-Server: false Boot Target: multi-user.target Pending OS-Updates: 0 Pending iob updates: 0 Nodejs-Installation: /usr/bin/nodejs v17.9.0 /usr/local/bin/node v18.15.0 /usr/local/bin/npm 9.5.0 /usr/local/bin/npx 9.5.0 Recommended versions are nodejs 18.x.y and npm 9.x.y *** nodejs is NOT correctly installed *** MEMORY: total used free shared buff/cache available Mem: 3.8G 2.0G 1.1G 0.0K 643M 1.7G Swap: 99M 71M 28M Total: 3.9G 2.1G 1.2G Active iob-Instances: 30 Active repo(s): beta ioBroker Core: js-controller 5.0.8 admin 6.6.1 ioBroker Status: iobroker is running on this host. Objects type: jsonl States type: jsonl Status admin and web instance: + system.adapter.admin.0 : admin : raspberrypi - enabled, port: 8081, bind: 0.0.0.0, run as: admin + system.adapter.web.0 : web : raspberrypi - enabled, port: 8082, bind: 0.0.0.0, run as: admin Objects: 32147 States: 29361 Size of iob-Database: 31M /opt/iobroker/iobroker-data/objects.jsonl 13M /opt/iobroker/iobroker-data/states.jsonl =================== END OF SUMMARY ====================@australien sagte in admin Adapter nach npm update:
temp=71.1'C
Wird bedenklich warm. Da würde ich mal schauen wie das besser gekühlt werden kann.
Wie schon vermutet:
*** nodejs is NOT correctly installed ***
Schau in meiner Signatur wie man das richtig macht.
-
@australien sagte in admin Adapter nach npm update:
temp=71.1'C
Wird bedenklich warm. Da würde ich mal schauen wie das besser gekühlt werden kann.
Wie schon vermutet:
*** nodejs is NOT correctly installed ***
Schau in meiner Signatur wie man das richtig macht.
@thomas-braun
ich habe jetzt das Verfahren nach deiner Signatur durchgeführt.
Nur leider bekomme ich das ganze nicht hin. Es kommt nämilch genau dieser FehlerWichtig und richtig ist: nodejs liegt in /usr/bin node liegt in /usr/bin npm liegt in /usr/bin npx liegt in /usr/bin und die Versionsnummern von nodejs und node sowie von npm und npx stimmen jeweils überein. Falsch ist eine Installation in /usr/local/bin oder irgendwelchen anderen Verzeichnissen als /usr/binbei mir: wie kann ich das richtig bereinigen?
/usr/bin/nodejs /usr/local/bin/node /usr/local/bin/npm /usr/local/bin/npx v18.17.0 v18.15.0 9.5.0 9.5.0 5.0.8 . . . All packages are up to date. nodejs: Installed: 18.17.0-deb-1nodesource1 Candidate: 18.17.0-deb-1nodesource1 Version table: *** 18.17.0-deb-1nodesource1 500 500 https://deb.nodesource.com/node_18.x bullseye/main arm64 Packages 100 /var/lib/dpkg/status 12.22.12~dfsg-1~deb11u4 500 500 http://security.debian.org/debian-security bullseye-security/main arm64 Packages 12.22.12~dfsg-1~deb11u3 500 500 http://deb.debian.org/debian bullseye/main arm64 Packages -
Systemdata Bitte Ausfüllen Hardwaresystem: NUC/Pi3/etc. Arbeitsspeicher: 1GB Festplattenart: SD-Karte/SSD/HDD Betriebssystem: Ubuntu/Windows/Mac Node-Version: 10.x.x Nodejs-Version: 10.x.x NPM-Version: 6.x.x Installationsart: Skript/Manuell Image genutzt: Ja/Nein Ort/Name der Imagedatei: Link ich habe lt https://www.npmjs.com/package/iobroker.admin ein npm i iobroker.admin durchgeführt
wenn ich nun den iobroker im browser aufrufen will bekomme ich diese Fehler und sonst nichtsError: ENOENT: no such file or directory, scandir '/opt/iobroker/node_modules/iobroker.admin/www/' at Object.readdirSync (node:fs:1452:3) at /opt/iobroker/node_modules/iobroker.admin/lib/web.js:580:36 at Layer.handle [as handle_request] (/opt/iobroker/node_modules/express/lib/router/layer.js:95:5) at trim_prefix (/opt/iobroker/node_modules/express/lib/router/index.js:328:13) at /opt/iobroker/node_modules/express/lib/router/index.js:286:9 at Function.process_params (/opt/iobroker/node_modules/express/lib/router/index.js:346:12) at next (/opt/iobroker/node_modules/express/lib/router/index.js:280:10) at /opt/iobroker/node_modules/connect-flash/lib/flash.js:21:5 at Layer.handle [as handle_request] (/opt/iobroker/node_modules/express/lib/router/layer.js:95:5) at trim_prefix (/opt/iobroker/node_modules/express/lib/router/index.js:328:13)ssh liefert aber das
pi@raspberrypi:~ $ iob status iobroker is running on this host. Objects type: jsonl States type: jsonlgibt es da eine Rettung oder nur einen Neustart?
@australien sagte in admin Adapter nach npm update:
ein npm i iobroker.admin ausgeführt
wo?
da ist ja alles im faschen Pfad

-
@australien sagte in admin Adapter nach npm update:
ein npm i iobroker.admin ausgeführt
wo?
da ist ja alles im faschen Pfad

pi@raspberrypi:~ $ npm install iobroker.adminkann ich das Rückgängig und in einem richtigen Pfad durchführen?
-
@australien sagte in admin Adapter nach npm update:
temp=71.1'C
Wird bedenklich warm. Da würde ich mal schauen wie das besser gekühlt werden kann.
Wie schon vermutet:
*** nodejs is NOT correctly installed ***
Schau in meiner Signatur wie man das richtig macht.
@thomas-braun
die Verzeichnisse hab ich nun hinbekommen, wurde ja im 2. Beitrage deiner Signatur erwähnt.hat auch funktioniert.
meiner Summery nach iob diag======================= SUMMARY ======================= v.2023-04-16 Operatingsystem: Debian GNU/Linux 11 (bullseye) Kernel: 6.1.21-v8+ Installation: Native Timezone: Europe/Vienna (CEST, +0200) User-ID: 1000 X-Server: false Boot Target: multi-user.target Pending OS-Updates: 0 Pending iob updates: 0 Nodejs-Installation: /usr/bin/nodejs v18.17.0 /usr/bin/node v18.17.0 /usr/bin/npm 9.6.7 /usr/bin/npx 9.6.7 Recommended versions are nodejs 18.x.y and npm 9.x.y Your nodejs installation is correct MEMORY: total used free shared buff/cache available Mem: 3.8G 2.8G 131M 0.0K 855M 910M Swap: 99M 1.0M 98M Total: 3.9G 2.8G 230M Active iob-Instances: 33 Active repo(s): beta ioBroker Core: js-controller 5.0.8 admin 6.6.1 ioBroker Status: iobroker is running on this host. Objects type: jsonl States type: jsonl Status admin and web instance: + system.adapter.admin.0 : admin : raspberrypi - enabled, port: 8081, bind: 0.0.0.0, run as: admin + system.adapter.web.0 : web : raspberrypi - enabled, port: 8082, bind: 0.0.0.0, run as: admin Objects: 32138 States: 1 Size of iob-Database: 30M /opt/iobroker/iobroker-data/objects.jsonl 12M /opt/iobroker/iobroker-data/states.jsonl =================== END OF SUMMARY ====================nur leider bekomme ich im Browser trotzdem diese Meldungen
Error: ENOENT: no such file or directory, scandir '/opt/iobroker/node_modules/iobroker.admin/www/' at Object.readdirSync (node:fs:1527:3) at /opt/iobroker/node_modules/iobroker.admin/lib/web.js:580:36 at Layer.handle [as handle_request] (/opt/iobroker/node_modules/express/lib/router/layer.js:95:5) at trim_prefix (/opt/iobroker/node_modules/express/lib/router/index.js:328:13) at /opt/iobroker/node_modules/express/lib/router/index.js:286:9 at Function.process_params (/opt/iobroker/node_modules/express/lib/router/index.js:346:12) at next (/opt/iobroker/node_modules/express/lib/router/index.js:280:10) at /opt/iobroker/node_modules/connect-flash/lib/flash.js:21:5 at Layer.handle [as handle_request] (/opt/iobroker/node_modules/express/lib/router/layer.js:95:5) at trim_prefix (/opt/iobroker/node_modules/express/lib/router/index.js:328:13) -
@thomas-braun
die Verzeichnisse hab ich nun hinbekommen, wurde ja im 2. Beitrage deiner Signatur erwähnt.hat auch funktioniert.
meiner Summery nach iob diag======================= SUMMARY ======================= v.2023-04-16 Operatingsystem: Debian GNU/Linux 11 (bullseye) Kernel: 6.1.21-v8+ Installation: Native Timezone: Europe/Vienna (CEST, +0200) User-ID: 1000 X-Server: false Boot Target: multi-user.target Pending OS-Updates: 0 Pending iob updates: 0 Nodejs-Installation: /usr/bin/nodejs v18.17.0 /usr/bin/node v18.17.0 /usr/bin/npm 9.6.7 /usr/bin/npx 9.6.7 Recommended versions are nodejs 18.x.y and npm 9.x.y Your nodejs installation is correct MEMORY: total used free shared buff/cache available Mem: 3.8G 2.8G 131M 0.0K 855M 910M Swap: 99M 1.0M 98M Total: 3.9G 2.8G 230M Active iob-Instances: 33 Active repo(s): beta ioBroker Core: js-controller 5.0.8 admin 6.6.1 ioBroker Status: iobroker is running on this host. Objects type: jsonl States type: jsonl Status admin and web instance: + system.adapter.admin.0 : admin : raspberrypi - enabled, port: 8081, bind: 0.0.0.0, run as: admin + system.adapter.web.0 : web : raspberrypi - enabled, port: 8082, bind: 0.0.0.0, run as: admin Objects: 32138 States: 1 Size of iob-Database: 30M /opt/iobroker/iobroker-data/objects.jsonl 12M /opt/iobroker/iobroker-data/states.jsonl =================== END OF SUMMARY ====================nur leider bekomme ich im Browser trotzdem diese Meldungen
Error: ENOENT: no such file or directory, scandir '/opt/iobroker/node_modules/iobroker.admin/www/' at Object.readdirSync (node:fs:1527:3) at /opt/iobroker/node_modules/iobroker.admin/lib/web.js:580:36 at Layer.handle [as handle_request] (/opt/iobroker/node_modules/express/lib/router/layer.js:95:5) at trim_prefix (/opt/iobroker/node_modules/express/lib/router/index.js:328:13) at /opt/iobroker/node_modules/express/lib/router/index.js:286:9 at Function.process_params (/opt/iobroker/node_modules/express/lib/router/index.js:346:12) at next (/opt/iobroker/node_modules/express/lib/router/index.js:280:10) at /opt/iobroker/node_modules/connect-flash/lib/flash.js:21:5 at Layer.handle [as handle_request] (/opt/iobroker/node_modules/express/lib/router/layer.js:95:5) at trim_prefix (/opt/iobroker/node_modules/express/lib/router/index.js:328:13)@australien sagte in admin Adapter nach npm update:
nur leider bekomme ich im Browser trotzdem diese Meldungen
klar, der admin hängt ja jetzt bei dir im homeverzeichnis des users pi und nicht unter /opt/iobroker/
-
@australien sagte in admin Adapter nach npm update:
nur leider bekomme ich im Browser trotzdem diese Meldungen
klar, der admin hängt ja jetzt bei dir im homeverzeichnis des users pi und nicht unter /opt/iobroker/
@homoran
das hab ich auch gerade alles verstanden.Meine Frage nun, wie kann ich diesen im root Verzeichnis nun löschen?
so? im \home\pinpm uninstall iobroker.adminAnschließend würde ich ihn in /opt/iobroker nochmals installieren.
-
@homoran
das hab ich auch gerade alles verstanden.Meine Frage nun, wie kann ich diesen im root Verzeichnis nun löschen?
so? im \home\pinpm uninstall iobroker.adminAnschließend würde ich ihn in /opt/iobroker nochmals installieren.
@australien sagte in admin Adapter nach npm update:
wie kann ich diesen im root Verzeichnis nun löschen?
so? im rootwieso root?
da habe ich zu wenig Ahnung. Vielleicht kann dir @Thomas-Braun nochmal unter die Arme greifen. -
@homoran
das hab ich auch gerade alles verstanden.Meine Frage nun, wie kann ich diesen im root Verzeichnis nun löschen?
so? im \home\pinpm uninstall iobroker.adminAnschließend würde ich ihn in /opt/iobroker nochmals installieren.
@australien sagte in admin Adapter nach npm update:
Anschließend würde ich ihn in /opt/iobroker nochmals installieren.
Lass die Finger von
npm irgendwas.
Das macht man aus genau den Gründen, die du jetzt gerade austestest nicht.Und man fährt auch mit dem dürftig ausgestatteten Werkzeugkasten den du da hast kein Beta-Repository.
Versuch
iob update iobroker upgrade admin@6.6.1 -
@homoran
das hab ich auch gerade alles verstanden.Meine Frage nun, wie kann ich diesen im root Verzeichnis nun löschen?
so? im \home\pinpm uninstall iobroker.adminAnschließend würde ich ihn in /opt/iobroker nochmals installieren.
@australien kannste so machen, würde ich auch, dann aber zusätzlich, immer noch in /home/pi !!!
- rm -rf node_modules
- rm package*
- ls -lta --> jetzt sollten nur noch Dateien mit Punkt davor zu sehen sein
- cd /opt/iobroker
- iobroker add admin.0
sollte jetzt laufen
-
@australien kannste so machen, würde ich auch, dann aber zusätzlich, immer noch in /home/pi !!!
- rm -rf node_modules
- rm package*
- ls -lta --> jetzt sollten nur noch Dateien mit Punkt davor zu sehen sein
- cd /opt/iobroker
- iobroker add admin.0
sollte jetzt laufen
pi@raspberrypi:~ $ npm install iobroker.adminDas wurde offenbar in /home/pi ausgeführt.
Eine 'root shell' war ja zum Glück bislang nicht im Spiel. -
Danke an alle!!!!
Jetzt passt wieder alles.und etwas gelernt, Finger weg von npm
-
Danke an alle!!!!
Jetzt passt wieder alles.und etwas gelernt, Finger weg von npm
Finger weg von npm
Und von krummen nodejs-Installationen und beta-Versionen auf breiter Front auch.
-
pi@raspberrypi:~ $ npm install iobroker.adminDas wurde offenbar in /home/pi ausgeführt.
Eine 'root shell' war ja zum Glück bislang nicht im Spiel.@thomas-braun sagte in admin Adapter nach npm update:
Das wurde offenbar in /home/pi ausgeführt.
klaro, hatte nur root gelesen, und im Bild auf die Tilde geachtet. Kommt davon wenn man immer nur als root rumhampelt im Container. Ich bastel mal was mit zus. user und sehe ob man damit zurecht kommt. Immerhin schaden die Befehle nicht, verwirren aber. mea culpa
@australien ersetze /root in meinem Beitrag durch /home/pi
Ansonsten,
iobroker add admin.0geht immer, wenn nicht vorhanden wird zuerst installiert. wäre auch die Instanz schon dagewesen hätte der Befehl keine zusätzliche angelegt. wusste nicht ob der admin weg war oder sonst ein Problem damit bestand, alles lesen war mir zuviel. Vorteil ist auch bei neuen Adaptern dass man die Instanz nicht extra erstellen muss, wird damit gleich miterledigt -
@thomas-braun sagte in admin Adapter nach npm update:
Das wurde offenbar in /home/pi ausgeführt.
klaro, hatte nur root gelesen, und im Bild auf die Tilde geachtet. Kommt davon wenn man immer nur als root rumhampelt im Container. Ich bastel mal was mit zus. user und sehe ob man damit zurecht kommt. Immerhin schaden die Befehle nicht, verwirren aber. mea culpa
@australien ersetze /root in meinem Beitrag durch /home/pi
Ansonsten,
iobroker add admin.0geht immer, wenn nicht vorhanden wird zuerst installiert. wäre auch die Instanz schon dagewesen hätte der Befehl keine zusätzliche angelegt. wusste nicht ob der admin weg war oder sonst ein Problem damit bestand, alles lesen war mir zuviel. Vorteil ist auch bei neuen Adaptern dass man die Instanz nicht extra erstellen muss, wird damit gleich miterledigt@fastfoot sagte in admin Adapter nach npm update:
Kommt davon wenn man immer nur als root rumhampelt im Container.
Da ist der prompt aber anders... ;-)
Und sollte eh nie zu sehen sein, weil man ja nie... -
@fastfoot sagte in admin Adapter nach npm update:
Kommt davon wenn man immer nur als root rumhampelt im Container.
Da ist der prompt aber anders... ;-)
Und sollte eh nie zu sehen sein, weil man ja nie...@thomas-braun das schon, aber wie gesagt war ich durch das wort root voll getriggert :-) zu meiner Ehrenrettung, ich hatte meine geposteten Befehle zuvor auch in /root getestet incl install vom admin, dauert ja alles nur ein paar Sekunden :-)
-
@thomas-braun sagte in admin Adapter nach npm update:
Das wurde offenbar in /home/pi ausgeführt.
klaro, hatte nur root gelesen, und im Bild auf die Tilde geachtet. Kommt davon wenn man immer nur als root rumhampelt im Container. Ich bastel mal was mit zus. user und sehe ob man damit zurecht kommt. Immerhin schaden die Befehle nicht, verwirren aber. mea culpa
@australien ersetze /root in meinem Beitrag durch /home/pi
Ansonsten,
iobroker add admin.0geht immer, wenn nicht vorhanden wird zuerst installiert. wäre auch die Instanz schon dagewesen hätte der Befehl keine zusätzliche angelegt. wusste nicht ob der admin weg war oder sonst ein Problem damit bestand, alles lesen war mir zuviel. Vorteil ist auch bei neuen Adaptern dass man die Instanz nicht extra erstellen muss, wird damit gleich miterledigt@fastfoot sagte in admin Adapter nach npm update:
hatte nur root gelesen,
Deswegen ja meine Nachfrage
@homoran sagte in admin Adapter nach npm update:
wieso root?
nachdem ich schrob
@homoran sagte in admin Adapter nach npm update:
im homeverzeichnis des users pi
leider wurde das nicht beantwortet
Hey! Du scheinst an dieser Unterhaltung interessiert zu sein, hast aber noch kein Konto.
Hast du es satt, bei jedem Besuch durch die gleichen Beiträge zu scrollen? Wenn du dich für ein Konto anmeldest, kommst du immer genau dorthin zurück, wo du zuvor warst, und kannst dich über neue Antworten benachrichtigen lassen (entweder per E-Mail oder Push-Benachrichtigung). Du kannst auch Lesezeichen speichern und Beiträge positiv bewerten, um anderen Community-Mitgliedern deine Wertschätzung zu zeigen.
Mit deinem Input könnte dieser Beitrag noch besser werden 💗
Registrieren Anmelden