NEWS
iob diag - Skript
-
Hoppala...
pkill: killing pid 2574512 failed: Operation not permitted pkill: killing pid 2631680 failed: Operation not permitted pkill: killing pid 2631708 failed: Operation not permitted pkill: killing pid 2631733 failed: Operation not permitted pkill: killing pid 2631769 failed: Operation not permitted pkill: killing pid 2631785 failed: Operation not permitted pkill: killing pid 2631797 failed: Operation not permitted pkill: killing pid 2631839 failed: Operation not permitted pkill: killing pid 2631856 failed: Operation not permitted pkill: killing pid 2631879 failed: Operation not permitted pkill: killing pid 2631971 failed: Operation not permitted pkill: killing pid 2632010 failed: Operation not permitted pkill: killing pid 2632059 failed: Operation not permitted pkill: killing pid 2632090 failed: Operation not permitted pkill: killing pid 2632134 failed: Operation not permitted pkill: killing pid 2632163 failed: Operation not permitted pkill: killing pid 2632196 failed: Operation not permitted pkill: killing pid 2632265 failed: Operation not permitted pkill: killing pid 2632307 failed: Operation not permitted pkill: killing pid 2632326 failed: Operation not permitted pkill: killing pid 2632526 failed: Operation not permitted pkill: killing pid 2632640 failed: Operation not permitted pkill: killing pid 2632651 failed: Operation not permitted pkill: killing pid 2632723 failed: Operation not permitted pkill: killing pid 2632761 failed: Operation not permitted pkill: killing pid 2632806 failed: Operation not permitted pkill: killing pid 2632884 failed: Operation not permitted pkill: killing pid 2633075 failed: Operation not permitted pkill: killing pid 2633214 failed: Operation not permitted pkill: killing pid 2633234 failed: Operation not permitted pkill: killing pid 2633275 failed: Operation not permitted pkill: killing pid 2633299 failed: Operation not permitted pkill: killing pid 2633324 failed: Operation not permitted pkill: killing pid 2633352 failed: Operation not permitted pkill: killing pid 2633420 failed: Operation not permitted pkill: killing pid 2633714 failed: Operation not permitted pkill: killing pid 2636818 failed: Operation not permitted pkill: killing pid 2636865 failed: Operation not permitted
Da muss ich bei der Weiche nochmal schauen...
-
@thomas-braun Wenn ich das quer durch's Forum richtig verfolgt habe, waren ältere Versionen von nicht mehr unterstützen Node-Versionen der Auslöser für diese sinnvolle Erweiterung/Ergänzung.
Was passiert denn wenn ein User mit node 6 (oder realistischer mit node 14) jetztiob diag
aufruft? -
@thomas-braun said in iob diag - Skript:
Hab heute noch was weitergecodet, jetzt dürften auch Downgrades von höheren nodejs-Versionen auf den jeweils empfohlenen Zweig funktionieren.
Vielleicht sollte man den Code aber aus
iob diag
heraunehmen und in ein eigenes Skript auslagern?iob nodefix
oder so?
Denn eigentlich wollte ich mit dem diag wirklich nur den Zustand des Systems diagnostizieren, nichts fixen.Ja
Eine Trennung würd ich als gut empfinden.
Warum? Ich würde gerne eine Diagnose möglichkeit gaben (iob_diag) die garantiert mal nichts verändert.
Ob ich dann fixen will und wie sol meine Entscheidung sein. Diag soll da zunäcgst mal nix ändern. Auch nicht irrtümlich.
Minimal muss ein Prompt mit Default "nicht ändern" das absichern. Besser wär aber ein extra aufruf vor dem man nach möglichkeit noch mal ein gesammt backup nachen sollte.Mcm
-
@mcm57 sagte in iob diag - Skript:
Ich würde gerne eine Diagnose möglichkeit gaben (iob_diag) die garantiert mal nichts verändert.
sehe ich auch so.
diag zeigt den ist-zustand.
= keine Änderung -
@mcm57 sagte in iob diag - Skript:
Ob ich dann fixen will und wie sol meine Entscheidung sein. Diag soll da zunäcgst mal nix ändern. Auch nicht irrtümlich.
Es kommt natürlich im Moment eine Rückfrage und die auch nur wenn ein falsches/nicht aktuelles Setup diagnostiziert wurde.
-
@thomas-braun
Ok
Ich will nur sicher sein können dass ein diagnose tool nichts verändert. -
@thomas-braun
Ohne das jetzt hier im Detail verfolgt zu haben.
Für mich erzeugt einiob diag
ausschließlich Diagnosedaten und greift in keinem Fall korrigierend ein. Ich denke
iob fix
wäre der richtige Aufruf für Änderungen/ Korrekturen. Ggf. Mit weiterem Parameter (z. B. iob fix node)? Vielleicht auch ein Thema für das nächste Dev Meeting?
M. E. ist in jedem Fall für jegliche Änderungen/ Korrekturen die angestoßen werden ein anderes Kommando aufzurufen.MfG,
André -
Ich finde den Platz ja selber nicht ideal, war nur für den Moment einfacher den Code anzuhängen, weil da z.T. auf einige Dinge aus der vorherigen Diagnose zurück gegriffen werden kann.
Aber wie läuft das denn konkret auf Systemen jenseits von meinem Testsetup?
-
@thomas-braun Na dann wollen wir mal
iob fix vorab auf meinem Testsystem ausgeführt
Skript v.2023-04-16 *** BASE SYSTEM *** Architecture : x86_64 Docker : false Virtualization : lxc Distributor ID: Ubuntu Description: Ubuntu 22.04.3 LTS Release: 22.04 Codename: jammy PRETTY_NAME="Ubuntu 22.04.3 LTS" NAME="Ubuntu" VERSION_ID="22.04" VERSION="22.04.3 LTS (Jammy Jellyfish)" VERSION_CODENAME=jammy ID=ubuntu ID_LIKE=debian HOME_URL="https://www.ubuntu.com/" SUPPORT_URL="https://help.ubuntu.com/" BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy" UBUNTU_CODENAME=jammy Systemuptime and Load: 20:04:08 up 16:51, 2 users, load average: 18.21, 15.76, 15.08 CPU threads: 4 *** Time and Time Zones *** Local time: Mon 2023-08-14 20:04:10 CEST Universal time: Mon 2023-08-14 18:04:10 UTC RTC time: n/a Time zone: Europe/Berlin (CEST, +0200) System clock synchronized: yes NTP service: inactive RTC in local TZ: no *** User and Groups *** proxmox /home/proxmox proxmox sudo iobroker *** X-Server-Setup *** X-Server: false Desktop: Terminal: tty Boot Target: graphical.target *** MEMORY *** total used free shared buff/cache available Mem: 4.1G 2.1G 959M 0.0K 1.0G 2.0G Swap: 512M 0.0K 511M Total: 4.6G 2.1G 1.5G 4096 M total memory 2127 M used memory 475 M active memory 2344 M inactive memory 958 M free memory 0 M buffer memory 1010 M swap cache 512 M total swap 0 M used swap 511 M free swap *** FILESYSTEM *** Filesystem Type Size Used Avail Use% Mounted on /dev/mapper/data2-vm--3108--disk--1 ext4 20G 13G 6.3G 67% / none tmpfs 492K 4.0K 488K 1% /dev tmpfs tmpfs 7.7G 0 7.7G 0% /dev/shm tmpfs tmpfs 3.1G 156K 3.1G 1% /run tmpfs tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs tmpfs 1.0M 0 1.0M 0% /run/credentials/systemd-sysusers.service tmpfs tmpfs 1.6G 0 1.6G 0% /run/user/1001 Messages concerning ext4 filesystem in dmesg: dmesg: read kernel buffer failed: Operation not permitted Show mounted filesystems (real ones only): TARGET SOURCE FSTYPE OPTIONS / /dev/mapper/data2-vm--3108--disk--1 ext4 rw,relatime,stripe=16 Files in neuralgic directories: /var: 914M /var/ 469M /var/lib 293M /var/cache 287M /var/cache/apt 201M /var/cache/apt/archives Hint: You are currently not seeing messages from other users and the system. Users in groups 'adm', 'systemd-journal' can see all messages. Pass -q to turn off this notice. Archived and active journals take up 16.0M in the file system. /opt/iobroker/backups: 93M /opt/iobroker/backups/ /opt/iobroker/iobroker-data: 731M /opt/iobroker/iobroker-data/ 506M /opt/iobroker/iobroker-data/files 162M /opt/iobroker/iobroker-data/backup-objects 126M /opt/iobroker/iobroker-data/files/vis 118M /opt/iobroker/iobroker-data/files/vis/widgets The five largest files in iobroker-data are: 21M /opt/iobroker/iobroker-data/files/web.admin/static/js/main.c4efe404.js.map 20M /opt/iobroker/iobroker-data/files/fullcalendar.admin/static/js/main.7f5fc837.js.map 19M /opt/iobroker/iobroker-data/files/scheduler.admin/static/js/main.df70fdfc.js.map 17M /opt/iobroker/iobroker-data/objects.jsonl 14M /opt/iobroker/iobroker-data/objects.json.migrated *** NodeJS-Installation *** /usr/bin/nodejs v18.17.1 /usr/bin/node v18.17.1 /usr/bin/npm 9.6.7 /usr/bin/npx 9.6.7 nodejs: Installed: 18.17.1-deb-1nodesource1 Candidate: 18.17.1-deb-1nodesource1 Version table: *** 18.17.1-deb-1nodesource1 500 500 https://deb.nodesource.com/node_18.x jammy/main amd64 Packages 100 /var/lib/dpkg/status 12.22.9~dfsg-1ubuntu3 500 500 http://archive.ubuntu.com/ubuntu jammy/universe amd64 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.11 admin: 6.8.0 javascript: 7.1.4 Adapters from github: 5 Adapter State + system.adapter.admin.0 : admin : ioBrokerTestsystem - enabled, port: 8081, bind: 0.0.0.0, run as: admin + system.adapter.backitup.0 : backitup : ioBrokerTestsystem - enabled system.adapter.benchmark.0 : benchmark : ioBrokerTestsystem - disabled system.adapter.daswetter.0 : daswetter : ioBrokerTestsystem - enabled + system.adapter.device-watcher.0 : device-watcher : ioBrokerTestsystem - enabled system.adapter.devices.0 : devices : ioBrokerTestsystem - disabled system.adapter.discovery.0 : discovery : ioBrokerNew - disabled system.adapter.dwd.0 : dwd : ioBrokerTestsystem - enabled + system.adapter.fritzbox.0 : fritzbox : ioBrokerTestsystem - enabled system.adapter.fully-tablet-control.0 : fully-tablet-control : ioBrokerTestsystem - disabled system.adapter.history.1 : history : ioBrokerNew - disabled + system.adapter.hm-rega.0 : hm-rega : ioBrokerTestsystem - enabled system.adapter.hm-rpc.0 : hm-rpc : ioBrokerTestsystem - enabled, port: 0 system.adapter.hue.0 : hue : ioBrokerTestsystem - disabled, port: 443 system.adapter.ical.0 : ical : ioBrokerTestsystem - disabled system.adapter.ical.1 : ical : ioBrokerTestsystem - disabled system.adapter.ical.2 : ical : ioBrokerTestsystem - disabled system.adapter.ical.3 : ical : ioBrokerTestsystem - disabled system.adapter.ical.4 : ical : ioBrokerTestsystem - disabled system.adapter.ical.5 : ical : ioBrokerTestsystem - enabled system.adapter.icons-material-png.0 : icons-material-png : ioBrokerTestsystem - disabled system.adapter.icons-mfd-svg.0 : icons-mfd-svg : ioBrokerTestsystem - disabled system.adapter.icons-ultimate-png.0 : icons-ultimate-png : ioBrokerTestsystem - disabled system.adapter.influxdb.0 : influxdb : ioBrokerTestsystem - disabled, port: 8086 + system.adapter.info.0 : info : ioBrokerTestsystem - enabled + system.adapter.javascript.0 : javascript : ioBrokerTestsystem - enabled system.adapter.mqtt.0 : mqtt : ioBrokerTestsystem - disabled, port: 1883, bind: 0.0.0.0 + system.adapter.nina.0 : nina : ioBrokerTestsystem - enabled system.adapter.openweathermap.0 : openweathermap : ioBrokerTestsystem - enabled + system.adapter.proxmox.0 : proxmox : ioBrokerTestsystem - enabled, port: 8006 system.adapter.rainbird.0 : rainbird : ioBrokerTestsystem - disabled + system.adapter.samsung-community.0 : samsung-community : ioBrokerTestsystem - enabled system.adapter.sayit.0 : sayit : ioBrokerTestsystem - disabled, port: 0 + system.adapter.scenes.0 : scenes : ioBrokerTestsystem - enabled + system.adapter.scheduler.0 : scheduler : ioBrokerTestsystem - enabled + system.adapter.simple-api.0 : simple-api : ioBrokerTestsystem - enabled, port: 8087, bind: 0.0.0.0, run as: admin system.adapter.socketio.0 : socketio : ioBrokerTestsystem - disabled, port: 8084, bind: 192.168.178.77, run as: admin system.adapter.spotify-premium.0 : spotify-premium : ioBrokerTestsystem - disabled system.adapter.sql.0 : sql : ioBrokerNew - disabled, port: 3306 + system.adapter.tankerkoenig.0 : tankerkoenig : ioBrokerTestsystem - enabled system.adapter.telegram.0 : telegram : ioBrokerTestsystem - disabled, port: 8443, bind: 0.0.0.0 + system.adapter.tr-064.0 : tr-064 : ioBrokerTestsystem - enabled + system.adapter.trashschedule.0 : trashschedule : ioBrokerTestsystem - enabled + system.adapter.unifi.0 : unifi : ioBrokerTestsystem - enabled + system.adapter.valloxmv.0 : valloxmv : ioBrokerTestsystem - enabled, port: 80 + system.adapter.vis-2-beta.0 : vis-2-beta : ioBrokerTestsystem - enabled system.adapter.vis-2-widgets-energy.0 : vis-2-widgets-energy : ioBrokerTestsystem - enabled system.adapter.vis-2-widgets-gauges.0 : vis-2-widgets-gauges : ioBrokerTestsystem - enabled system.adapter.vis-2-widgets-jaeger-design.0: vis-2-widgets-jaeger-design: ioBrokerTestsystem - enabled system.adapter.vis-2-widgets-material.0 : vis-2-widgets-material: ioBrokerTestsystem - enabled system.adapter.vis-fancyswitch.0 : vis-fancyswitch : ioBrokerTestsystem - disabled system.adapter.vis-google-fonts.0 : vis-google-fonts : ioBrokerTestsystem - enabled system.adapter.vis-history.0 : vis-history : ioBrokerTestsystem - disabled + system.adapter.vis-inventwo.0 : vis-inventwo : ioBrokerTestsystem - enabled system.adapter.vis-jqui-mfd.0 : vis-jqui-mfd : ioBrokerTestsystem - disabled system.adapter.vis-justgage.0 : vis-justgage : ioBrokerTestsystem - disabled system.adapter.vis-map.0 : vis-map : ioBrokerTestsystem - disabled system.adapter.vis-materialdesign.0 : vis-materialdesign : ioBrokerTestsystem - disabled system.adapter.vis-metro.0 : vis-metro : ioBrokerTestsystem - enabled system.adapter.vis-timeandweather.0 : vis-timeandweather : ioBrokerTestsystem - disabled system.adapter.vis.0 : vis : ioBrokerTestsystem - enabled + system.adapter.web.0 : web : ioBrokerTestsystem - enabled, port: 8082, bind: 192.168.178.77, run as: admin system.adapter.worx.0 : worx : ioBrokerTestsystem - disabled + instance is alive Enabled adapters with bindings + system.adapter.admin.0 : admin : ioBrokerTestsystem - enabled, port: 8081, bind: 0.0.0.0, run as: admin system.adapter.hm-rpc.0 : hm-rpc : ioBrokerTestsystem - enabled, port: 0 + system.adapter.proxmox.0 : proxmox : ioBrokerTestsystem - enabled, port: 8006 + system.adapter.simple-api.0 : simple-api : ioBrokerTestsystem - enabled, port: 8087, bind: 0.0.0.0, run as: admin + system.adapter.valloxmv.0 : valloxmv : ioBrokerTestsystem - enabled, port: 80 + system.adapter.web.0 : web : ioBrokerTestsystem - enabled, port: 8082, bind: 192.168.178.77, 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 "admin" : 6.8.0 , installed 6.8.0 Adapter "backitup" : 2.7.0 , installed 2.6.23 [Updatable] Adapter "benchmark" : 1.1.4 , installed 1.1.4 Adapter "daswetter" : 3.1.10 , installed 3.1.10 Adapter "device-watcher": 2.9.3 , installed 2.9.3 Adapter "devices" : 1.1.5 , installed 1.1.5 Adapter "dwd" : 2.8.5 , installed 2.8.5 Adapter "fritzbox" : 0.5.0 , installed 0.5.0 Adapter "fullcalendar" : 2.2.6 , installed 2.2.2 [Updatable] Adapter "hm-rega" : 3.0.47 , installed 3.0.47 Adapter "hm-rpc" : 1.15.19 , installed 1.15.19 Adapter "hue" : 3.9.5 , installed 3.9.5 Adapter "ical" : 1.13.3 , installed 1.13.3 Adapter "icons-material-png": 0.1.0, installed 0.1.0 Adapter "icons-mfd-svg": 1.1.0 , installed 1.1.0 Adapter "icons-ultimate-png": 1.0.1, installed 1.0.1 Adapter "influxdb" : 3.2.0 , installed 3.2.0 Adapter "info" : 1.9.26 , installed 1.9.26 Adapter "javascript" : 7.1.4 , installed 7.1.4 Controller "js-controller": 5.0.11 , installed 5.0.11 Adapter "mqtt" : 4.1.1 , installed 4.1.1 Adapter "nina" : 0.0.25 , installed 0.0.25 Adapter "openweathermap": 0.4.2 , installed 0.4.2 Adapter "proxmox" : 1.3.5 , installed 1.3.5 Adapter "rainbird" : 0.2.2 , installed 0.2.3 Adapter "sayit" : 3.0.5 , installed 3.0.5 Adapter "scenes" : 2.3.9 , installed 2.3.9 Adapter "scheduler" : 1.1.9 , installed 1.1.9 Adapter "simple-api" : 2.7.2 , installed 2.7.2 Adapter "smartmeter" : 3.3.4 , installed 3.3.4 Adapter "socketio" : 6.5.2 , installed 6.4.0 [Updatable] Adapter "spotify-premium": 1.2.2 , installed 1.2.2 Adapter "sql" : 2.2.0 , installed 2.2.0 Adapter "tankerkoenig" : 3.3.7 , installed 3.3.7 Adapter "telegram" : 1.16.0 , installed 1.16.0 Adapter "tr-064" : 4.2.18 , installed 4.2.18 Adapter "trashschedule": 2.2.0 , installed 2.2.0 Adapter "unifi" : 0.6.6 , installed 0.6.6 Adapter "valloxmv" : 1.2.0 , installed 1.2.0 Adapter "vis" : 1.4.16 , installed 1.4.16 Adapter "vis-2-widgets-energy": 0.2.3, installed 0.2.3 Adapter "vis-2-widgets-gauges": 0.2.0, installed 0.2.0 Adapter "vis-2-widgets-jaeger-design": 1.0.0, installed 1.0.0 Adapter "vis-2-widgets-material": 0.8.5, installed 0.8.5 Adapter "vis-fancyswitch": 1.1.0 , installed 1.1.0 Adapter "vis-google-fonts": 1.0.4 , installed 1.0.4 Adapter "vis-history" : 1.0.0 , installed 1.0.0 Adapter "vis-inventwo" : 3.3.3 , installed 3.3.3 Adapter "vis-jqui-mfd" : 1.0.12 , installed 1.0.12 Adapter "vis-justgage" : 1.0.2 , installed 1.0.2 Adapter "vis-map" : 1.0.4 , installed 1.0.4 Adapter "vis-materialdesign": 0.5.9, installed 0.5.9 Adapter "vis-metro" : 1.2.0 , installed 1.2.0 Adapter "vis-timeandweather": 1.2.2, installed 1.2.2 Adapter "web" : 6.1.0 , installed 6.0.3 [Updatable] Adapter "worx" : 2.3.2 , installed 2.3.2 Adapter "ws" : 2.5.3 , installed 2.4.0 [Updatable] Objects and States Please stand by - This may take a while Objects: 13145 States: 11802 *** OS-Repositories and Updates *** Hit:1 http://archive.ubuntu.com/ubuntu jammy InRelease Hit:2 http://archive.ubuntu.com/ubuntu jammy-updates InRelease Hit:3 http://archive.ubuntu.com/ubuntu jammy-security InRelease Hit:4 https://deb.nodesource.com/node_18.x jammy InRelease Reading package lists... Pending Updates: 3 *** 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 192.168.178.77:8082 0.0.0.0:* LISTEN 1000 316603498 35631/io.web.0 tcp 0 0 127.0.0.53:53 0.0.0.0:* LISTEN 102 311048807 91/systemd-resolved tcp 0 0 0.0.0.0:9001 0.0.0.0:* LISTEN 1000 316587698 35266/iobroker.js-c tcp 0 0 0.0.0.0:9000 0.0.0.0:* LISTEN 1000 316585912 35266/iobroker.js-c tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 0 311049284 1/init tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 0 311047903 141/sshd: /usr/sbin tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 0 311048905 305/master tcp6 0 0 :::8081 :::* LISTEN 1000 316592190 35284/io.admin.0 tcp6 0 0 :::8087 :::* LISTEN 1000 316596098 35542/io.simple-api tcp6 0 0 :::111 :::* LISTEN 0 311049286 1/init tcp6 0 0 :::22 :::* LISTEN 0 311047905 141/sshd: /usr/sbin tcp6 0 0 :::3000 :::* LISTEN 108 311049073 110/grafana-server tcp6 0 0 ::1:25 :::* LISTEN 0 311048906 305/master udp 0 0 127.0.0.53:53 0.0.0.0:* 102 311048806 91/systemd-resolved udp 0 0 0.0.0.0:111 0.0.0.0:* 0 311049285 1/init udp6 0 0 :::111 :::* 0 311049287 1/init *** Log File - Last 25 Lines *** Log manuell entfernt
Manipulation System
proxmox@ioBrokerTestsystem:~$ sudo touch /usr/local/bin/nodejs proxmox@ioBrokerTestsystem:~$ sudo chmod +x /usr/local/bin/nodejs proxmox@ioBrokerTestsystem:~$ curl https://raw.githubusercontent.com/Grothesk242/iob_diag/main/iob_diag > iob_diag % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 19718 100 19718 0 0 28309 0 --:--:-- --:--:-- --:--:-- 28453 proxmox@ioBrokerTestsystem:~$ ls github iob_diag package-lock.json proxmox@ioBrokerTestsystem:~$ chmod 744 iob_diag
iob diag von github ausgeführt
Skript v.2023-08-12 *** BASE SYSTEM *** Static hostname: ioBrokerTestsystem Icon name: computer-container Chassis: container Machine ID: db91a8d9813048b3b0d9627361bf92a2 Boot ID: 32a84dd282b744a48a6aa21ecc09b231 Virtualization: lxc Operating System: Ubuntu 22.04.3 LTS Kernel: Linux 6.2.16-3-pve Architecture: x86-64 model name : Intel(R) Celeron(R) CPU N3150 @ 1.60GHz Docker : false Virtualization : lxc Kernel : x86_64 Userland : amd64 Systemuptime and Load: 20:15:09 up 17:02, 1 user, load average: 15.12, 14.87, 15.12 CPU threads: 4 *** Time and Time Zones *** Local time: Mon 2023-08-14 20:15:09 CEST Universal time: Mon 2023-08-14 18:15:09 UTC RTC time: n/a Time zone: Europe/Berlin (CEST, +0200) System clock synchronized: yes NTP service: inactive RTC in local TZ: no *** User and Groups *** proxmox /home/proxmox proxmox sudo iobroker *** X-Server-Setup *** X-Server: false Desktop: Terminal: tty Boot Target: graphical.target *** MEMORY *** total used free shared buff/cache available Mem: 4.1G 1.9G 1.2G 0.0K 1.1G 2.2G Swap: 512M 0.0K 511M Total: 4.6G 1.9G 1.7G 4096 M total memory 1854 M used memory 588 M active memory 2045 M inactive memory 1154 M free memory 0 M buffer memory 1087 M swap cache 512 M total swap 0 M used swap 511 M free swap *** FAILED SERVICES *** UNIT LOAD ACTIVE SUB DESCRIPTION * run-rpc_pipefs.mount loaded failed failed RPC Pipe File System * sys-kernel-debug.mount loaded failed failed Kernel Debug File System LOAD = Reflects whether the unit definition was properly loaded. ACTIVE = The high-level unit activation state, i.e. generalization of SUB. SUB = The low-level unit activation state, values depend on unit type. 2 loaded units listed. *** FILESYSTEM *** Filesystem Type Size Used Avail Use% Mounted on /dev/mapper/data2-vm--3108--disk--1 ext4 20G 13G 6.3G 67% / none tmpfs 492K 4.0K 488K 1% /dev tmpfs tmpfs 7.7G 0 7.7G 0% /dev/shm tmpfs tmpfs 3.1G 160K 3.1G 1% /run tmpfs tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs tmpfs 1.0M 0 1.0M 0% /run/credentials/systemd-sysusers.service tmpfs tmpfs 1.6G 0 1.6G 0% /run/user/1001 Messages concerning ext4 filesystem in dmesg: dmesg: read kernel buffer failed: Operation not permitted Show mounted filesystems \(real ones only\): TARGET SOURCE FSTYPE OPTIONS / /dev/mapper/data2-vm--3108--disk--1 ext4 rw,relatime,stripe=16 Files in neuralgic directories: /var: 914M /var/ 469M /var/lib 293M /var/cache 287M /var/cache/apt 201M /var/cache/apt/archives Hint: You are currently not seeing messages from other users and the system. Users in groups 'adm', 'systemd-journal' can see all messages. Pass -q to turn off this notice. Archived and active journals take up 16.0M in the file system. /opt/iobroker/backups: 93M /opt/iobroker/backups/ /opt/iobroker/iobroker-data: 734M /opt/iobroker/iobroker-data/ 506M /opt/iobroker/iobroker-data/files 162M /opt/iobroker/iobroker-data/backup-objects 126M /opt/iobroker/iobroker-data/files/vis 118M /opt/iobroker/iobroker-data/files/vis/widgets The five largest files in iobroker-data are: 21M /opt/iobroker/iobroker-data/files/web.admin/static/js/main.c4efe404.js.map 20M /opt/iobroker/iobroker-data/files/fullcalendar.admin/static/js/main.7f5fc837.js.map 19M /opt/iobroker/iobroker-data/files/scheduler.admin/static/js/main.df70fdfc.js.map 18M /opt/iobroker/iobroker-data/objects.jsonl 14M /opt/iobroker/iobroker-data/objects.json.migrated *** NodeJS-Installation *** /usr/local/bin/nodejs /usr/bin/node v18.17.1 /usr/bin/npm 9.6.7 /usr/bin/npx 9.6.7 /usr/bin/corepack 0.18.0 *** nodejs is NOT correctly installed *** nodejs: Installed: 18.17.1-deb-1nodesource1 Candidate: 18.17.1-deb-1nodesource1 Version table: *** 18.17.1-deb-1nodesource1 500 500 https://deb.nodesource.com/node_18.x jammy/main amd64 Packages 100 /var/lib/dpkg/status 12.22.9~dfsg-1ubuntu3 500 500 http://archive.ubuntu.com/ubuntu jammy/universe amd64 Packages Temp directories causing npm8 problem: 0 No problems detected Errors in npm tree: *** ioBroker-Installation *** ioBroker Status iobroker is running on this host. Objects type: jsonl States type: jsonl Core adapters versions js-controller: 5.0.11 admin: 6.8.0 javascript: 7.1.4 Adapters from github: 5 Adapter State + system.adapter.admin.0 : admin : ioBrokerTestsystem - enabled, port: 8081, bind: 0.0.0.0, run as: admin + system.adapter.backitup.0 : backitup : ioBrokerTestsystem - enabled system.adapter.benchmark.0 : benchmark : ioBrokerTestsystem - disabled system.adapter.daswetter.0 : daswetter : ioBrokerTestsystem - enabled + system.adapter.device-watcher.0 : device-watcher : ioBrokerTestsystem - enabled system.adapter.devices.0 : devices : ioBrokerTestsystem - disabled system.adapter.discovery.0 : discovery : ioBrokerNew - disabled system.adapter.dwd.0 : dwd : ioBrokerTestsystem - enabled + system.adapter.fritzbox.0 : fritzbox : ioBrokerTestsystem - enabled system.adapter.fully-tablet-control.0 : fully-tablet-control : ioBrokerTestsystem - disabled system.adapter.history.1 : history : ioBrokerNew - disabled + system.adapter.hm-rega.0 : hm-rega : ioBrokerTestsystem - enabled + system.adapter.hm-rpc.0 : hm-rpc : ioBrokerTestsystem - enabled, port: 0 system.adapter.hue.0 : hue : ioBrokerTestsystem - disabled, port: 443 system.adapter.ical.0 : ical : ioBrokerTestsystem - disabled system.adapter.ical.1 : ical : ioBrokerTestsystem - disabled system.adapter.ical.2 : ical : ioBrokerTestsystem - disabled system.adapter.ical.3 : ical : ioBrokerTestsystem - disabled system.adapter.ical.4 : ical : ioBrokerTestsystem - disabled system.adapter.ical.5 : ical : ioBrokerTestsystem - enabled system.adapter.icons-material-png.0 : icons-material-png : ioBrokerTestsystem - disabled system.adapter.icons-mfd-svg.0 : icons-mfd-svg : ioBrokerTestsystem - disabled system.adapter.icons-ultimate-png.0 : icons-ultimate-png : ioBrokerTestsystem - disabled system.adapter.influxdb.0 : influxdb : ioBrokerTestsystem - disabled, port: 8086 + system.adapter.info.0 : info : ioBrokerTestsystem - enabled + system.adapter.javascript.0 : javascript : ioBrokerTestsystem - enabled system.adapter.mqtt.0 : mqtt : ioBrokerTestsystem - disabled, port: 1883, bind: 0.0.0.0 + system.adapter.nina.0 : nina : ioBrokerTestsystem - enabled system.adapter.openweathermap.0 : openweathermap : ioBrokerTestsystem - enabled + system.adapter.proxmox.0 : proxmox : ioBrokerTestsystem - enabled, port: 8006 system.adapter.rainbird.0 : rainbird : ioBrokerTestsystem - disabled + system.adapter.samsung-community.0 : samsung-community : ioBrokerTestsystem - enabled system.adapter.sayit.0 : sayit : ioBrokerTestsystem - disabled, port: 0 + system.adapter.scenes.0 : scenes : ioBrokerTestsystem - enabled + system.adapter.scheduler.0 : scheduler : ioBrokerTestsystem - enabled + system.adapter.simple-api.0 : simple-api : ioBrokerTestsystem - enabled, port: 8087, bind: 0.0.0.0, run as: admin system.adapter.socketio.0 : socketio : ioBrokerTestsystem - disabled, port: 8084, bind: 192.168.178.77, run as: admin system.adapter.spotify-premium.0 : spotify-premium : ioBrokerTestsystem - disabled system.adapter.sql.0 : sql : ioBrokerNew - disabled, port: 3306 + system.adapter.tankerkoenig.0 : tankerkoenig : ioBrokerTestsystem - enabled system.adapter.telegram.0 : telegram : ioBrokerTestsystem - disabled, port: 8443, bind: 0.0.0.0 + system.adapter.tr-064.0 : tr-064 : ioBrokerTestsystem - enabled + system.adapter.trashschedule.0 : trashschedule : ioBrokerTestsystem - enabled + system.adapter.unifi.0 : unifi : ioBrokerTestsystem - enabled + system.adapter.valloxmv.0 : valloxmv : ioBrokerTestsystem - enabled, port: 80 + system.adapter.vis-2-beta.0 : vis-2-beta : ioBrokerTestsystem - enabled system.adapter.vis-2-widgets-energy.0 : vis-2-widgets-energy : ioBrokerTestsystem - enabled system.adapter.vis-2-widgets-gauges.0 : vis-2-widgets-gauges : ioBrokerTestsystem - enabled system.adapter.vis-2-widgets-jaeger-design.0: vis-2-widgets-jaeger-design: ioBrokerTestsystem - enabled system.adapter.vis-2-widgets-material.0 : vis-2-widgets-material: ioBrokerTestsystem - enabled system.adapter.vis-fancyswitch.0 : vis-fancyswitch : ioBrokerTestsystem - disabled system.adapter.vis-google-fonts.0 : vis-google-fonts : ioBrokerTestsystem - enabled system.adapter.vis-history.0 : vis-history : ioBrokerTestsystem - disabled + system.adapter.vis-inventwo.0 : vis-inventwo : ioBrokerTestsystem - enabled system.adapter.vis-jqui-mfd.0 : vis-jqui-mfd : ioBrokerTestsystem - disabled system.adapter.vis-justgage.0 : vis-justgage : ioBrokerTestsystem - disabled system.adapter.vis-map.0 : vis-map : ioBrokerTestsystem - disabled system.adapter.vis-materialdesign.0 : vis-materialdesign : ioBrokerTestsystem - disabled system.adapter.vis-metro.0 : vis-metro : ioBrokerTestsystem - enabled system.adapter.vis-timeandweather.0 : vis-timeandweather : ioBrokerTestsystem - disabled system.adapter.vis.0 : vis : ioBrokerTestsystem - enabled + system.adapter.web.0 : web : ioBrokerTestsystem - enabled, port: 8082, bind: 192.168.178.77, run as: admin system.adapter.worx.0 : worx : ioBrokerTestsystem - disabled + instance is alive Enabled adapters with bindings + system.adapter.admin.0 : admin : ioBrokerTestsystem - enabled, port: 8081, bind: 0.0.0.0, run as: admin system.adapter.hm-rpc.0 : hm-rpc : ioBrokerTestsystem - enabled, port: 0 + system.adapter.proxmox.0 : proxmox : ioBrokerTestsystem - enabled, port: 8006 + system.adapter.simple-api.0 : simple-api : ioBrokerTestsystem - enabled, port: 8087, bind: 0.0.0.0, run as: admin + system.adapter.valloxmv.0 : valloxmv : ioBrokerTestsystem - enabled, port: 80 + system.adapter.web.0 : web : ioBrokerTestsystem - enabled, port: 8082, bind: 192.168.178.77, 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 "admin" : 6.8.0 , installed 6.8.0 Adapter "backitup" : 2.7.0 , installed 2.6.23 [Updatable] Adapter "benchmark" : 1.1.4 , installed 1.1.4 Adapter "daswetter" : 3.1.10 , installed 3.1.10 Adapter "device-watcher": 2.9.3 , installed 2.9.3 Adapter "devices" : 1.1.5 , installed 1.1.5 Adapter "dwd" : 2.8.5 , installed 2.8.5 Adapter "fritzbox" : 0.5.0 , installed 0.5.0 Adapter "fullcalendar" : 2.2.6 , installed 2.2.2 [Updatable] Adapter "hm-rega" : 3.0.47 , installed 3.0.47 Adapter "hm-rpc" : 1.15.19 , installed 1.15.19 Adapter "hue" : 3.9.5 , installed 3.9.5 Adapter "ical" : 1.13.3 , installed 1.13.3 Adapter "icons-material-png": 0.1.0, installed 0.1.0 Adapter "icons-mfd-svg": 1.1.0 , installed 1.1.0 Adapter "icons-ultimate-png": 1.0.1, installed 1.0.1 Adapter "influxdb" : 3.2.0 , installed 3.2.0 Adapter "info" : 1.9.26 , installed 1.9.26 Adapter "javascript" : 7.1.4 , installed 7.1.4 Controller "js-controller": 5.0.11 , installed 5.0.11 Adapter "mqtt" : 4.1.1 , installed 4.1.1 Adapter "nina" : 0.0.25 , installed 0.0.25 Adapter "openweathermap": 0.4.2 , installed 0.4.2 Adapter "proxmox" : 1.3.5 , installed 1.3.5 Adapter "rainbird" : 0.2.2 , installed 0.2.3 Adapter "sayit" : 3.0.5 , installed 3.0.5 Adapter "scenes" : 2.3.9 , installed 2.3.9 Adapter "scheduler" : 1.1.9 , installed 1.1.9 Adapter "simple-api" : 2.7.2 , installed 2.7.2 Adapter "smartmeter" : 3.3.4 , installed 3.3.4 Adapter "socketio" : 6.5.2 , installed 6.4.0 [Updatable] Adapter "spotify-premium": 1.2.2 , installed 1.2.2 Adapter "sql" : 2.2.0 , installed 2.2.0 Adapter "tankerkoenig" : 3.3.7 , installed 3.3.7 Adapter "telegram" : 1.16.0 , installed 1.16.0 Adapter "tr-064" : 4.2.18 , installed 4.2.18 Adapter "trashschedule": 2.2.0 , installed 2.2.0 Adapter "unifi" : 0.6.6 , installed 0.6.6 Adapter "valloxmv" : 1.2.0 , installed 1.2.0 Adapter "vis" : 1.4.16 , installed 1.4.16 Adapter "vis-2-widgets-energy": 0.2.3, installed 0.2.3 Adapter "vis-2-widgets-gauges": 0.2.0, installed 0.2.0 Adapter "vis-2-widgets-jaeger-design": 1.0.0, installed 1.0.0 Adapter "vis-2-widgets-material": 0.8.5, installed 0.8.5 Adapter "vis-fancyswitch": 1.1.0 , installed 1.1.0 Adapter "vis-google-fonts": 1.0.4 , installed 1.0.4 Adapter "vis-history" : 1.0.0 , installed 1.0.0 Adapter "vis-inventwo" : 3.3.3 , installed 3.3.3 Adapter "vis-jqui-mfd" : 1.0.12 , installed 1.0.12 Adapter "vis-justgage" : 1.0.2 , installed 1.0.2 Adapter "vis-map" : 1.0.4 , installed 1.0.4 Adapter "vis-materialdesign": 0.5.9, installed 0.5.9 Adapter "vis-metro" : 1.2.0 , installed 1.2.0 Adapter "vis-timeandweather": 1.2.2, installed 1.2.2 Adapter "web" : 6.1.0 , installed 6.0.3 [Updatable] Adapter "worx" : 2.3.2 , installed 2.3.2 Adapter "ws" : 2.5.3 , installed 2.4.0 [Updatable] Objects and States Please stand by - This may take a while Objects: 13145 States: 11802 *** OS-Repositories and Updates *** Hit:1 http://archive.ubuntu.com/ubuntu jammy InRelease Hit:2 http://archive.ubuntu.com/ubuntu jammy-updates InRelease Hit:3 http://archive.ubuntu.com/ubuntu jammy-security InRelease Hit:4 https://deb.nodesource.com/node_18.x jammy InRelease Reading package lists... Done Pending Updates: 3 *** 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 192.168.178.77:8082 0.0.0.0:* LISTEN 1000 316603498 35631/io.web.0 tcp 0 0 127.0.0.53:53 0.0.0.0:* LISTEN 102 311048807 91/systemd-resolved tcp 0 0 0.0.0.0:9001 0.0.0.0:* LISTEN 1000 316587698 35266/iobroker.js-c tcp 0 0 0.0.0.0:9000 0.0.0.0:* LISTEN 1000 316585912 35266/iobroker.js-c tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 0 311049284 1/init tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 0 311047903 141/sshd: /usr/sbin tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 0 311048905 305/master tcp6 0 0 :::8081 :::* LISTEN 1000 316592190 35284/io.admin.0 tcp6 0 0 :::8087 :::* LISTEN 1000 316596098 35542/io.simple-api tcp6 0 0 :::111 :::* LISTEN 0 311049286 1/init tcp6 0 0 :::22 :::* LISTEN 0 311047905 141/sshd: /usr/sbin tcp6 0 0 :::3000 :::* LISTEN 108 311049073 110/grafana-server tcp6 0 0 ::1:25 :::* LISTEN 0 311048906 305/master udp 0 0 127.0.0.53:53 0.0.0.0:* 102 311048806 91/systemd-resolved udp 0 0 0.0.0.0:111 0.0.0.0:* 0 311049285 1/init udp6 0 0 :::111 :::* 0 311049287 1/init *** Log File - Last 25 Lines *** Log manuell entfernt
In diesem Abschnitt kommt jetzt in Rot
*** nodejs is NOT correctly installed ***
*** NodeJS-Installation *** /usr/local/bin/nodejs /usr/bin/node v18.17.1 /usr/bin/npm 9.6.7 /usr/bin/npx 9.6.7 /usr/bin/corepack 0.18.0 *** nodejs is NOT correctly installed *** nodejs: Installed: 18.17.1-deb-1nodesource1 Candidate: 18.17.1-deb-1nodesource1 Version table: *** 18.17.1-deb-1nodesource1 500 500 https://deb.nodesource.com/node_18.x jammy/main amd64 Packages 100 /var/lib/dpkg/status 12.22.9~dfsg-1ubuntu3 500 500 http://archive.ubuntu.com/ubuntu jammy/universe amd64 Packages Temp directories causing npm8 problem: 0 No problems detected Errors in npm tree:
Etwas irritierend ist diese Ausgabe das dort erst steht
No problems detected
und dannErrors in npm tree:
aber keine weitere AusgabeTemp directories causing npm8 problem: 0 No problems detected Errors in npm tree:
-
@feuersturm sagte in iob diag - Skript:
Etwas irritierend ist diese Ausgabe das dort erst steht No problems detected und dann Errors in npm tree: aber keine weitere Ausgabe
Ja, da gebe ich dir recht, das ist verwirrend. Muss ich mir vielleicht was anderes ausdenken.
No problems detected bezieht sich hier wirklich auf dieses npm8-Problem mit den kryptischen temp. Verzeichnissen und die andere Meldung auf richtige Fehler im npm tree.
Keine Meldung hier = Keine Fehler im tree.Hat dich das Skript denn am Ende (nach der Summary) dazu aufgefordert die Fehler zu fixen?
-
@thomas-braun Da war ich wohl etwas zu schnell So geht es mit der Summary weiter:
======================= SUMMARY ======================= v.2023-08-12 Static hostname: ioBrokerTestsystem Icon name: computer-container Chassis: container Machine ID: db91a8d9813048b3b0d9627361bf92a2 Boot ID: 32a84dd282b744a48a6aa21ecc09b231 Virtualization: lxc Operating System: Ubuntu 22.04.3 LTS Kernel: Linux 6.2.16-3-pve Architecture: x86-64 Installation: lxc Kernel: x86_64 Userland: amd64 Timezone: Europe/Berlin (CEST, +0200) User-ID: 1001 X-Server: false Boot Target: graphical.target Pending OS-Updates: 3 Pending iob updates: 5 Nodejs-Installation: /usr/local/bin/nodejs /usr/bin/node v18.17.1 /usr/bin/npm 9.6.7 /usr/bin/npx 9.6.7 /usr/bin/corepack 0.18.0 Recommended versions are nodejs 18.17.1 and npm 9.6.7 *** nodejs is NOT correctly installed *** MEMORY: total used free shared buff/cache available Mem: 4.1G 1.9G 1.1G 0.0K 1.1G 2.2G Swap: 512M 0.0K 511M Total: 4.6G 1.9G 1.6G Active iob-Instances: 23 Active repo(s): beta ioBroker Core: js-controller 5.0.11 admin 6.8.0 ioBroker Status: iobroker is running on this host. Objects type: jsonl States type: jsonl Status admin and web instance: + system.adapter.admin.0 : admin : ioBrokerTestsystem - enabled, port: 8081, bind: 0.0.0.0, run as: admin + system.adapter.web.0 : web : ioBrokerTestsystem - enabled, port: 8082, bind: 192.168.178.77, run as: admin Objects: 13145 States: 11796 Size of iob-Database: 18M /opt/iobroker/iobroker-data/objects.jsonl 14M /opt/iobroker/iobroker-data/objects.json.migrated 14M /opt/iobroker/iobroker-data/objects.json.bak.migrated 2.3M /opt/iobroker/iobroker-data/objects_BACKUP_153020.json 1.2M /opt/iobroker/iobroker-data/objects_REMOTE_153020.json 11M /opt/iobroker/iobroker-data/states.jsonl 5.3M /opt/iobroker/iobroker-data/states.json.migrated 5.3M /opt/iobroker/iobroker-data/states.json.bak.migrated 0 /opt/iobroker/iobroker-data/states.json.broken =================== END OF SUMMARY ==================== === Mark text until here for copying === Your nodejs-Installation seems to be broken. Shall we try to fix it? DO NOT RUN FIX ON NON-LINUX-SYSTEMS! Press <y> to continue or any other key to quit Fixing your nodejs setup *** Deleting /usr/local/bin/nodejs *** Wrong paths have been fixed. Run \'iob diag\' again to check if your installation is fine now
Danach erneut iob diag ausgeführt (github Variante)
Skript v.2023-08-12 *** BASE SYSTEM *** Static hostname: ioBrokerTestsystem Icon name: computer-container Chassis: container Machine ID: db91a8d9813048b3b0d9627361bf92a2 Boot ID: 32a84dd282b744a48a6aa21ecc09b231 Virtualization: lxc Operating System: Ubuntu 22.04.3 LTS Kernel: Linux 6.2.16-3-pve Architecture: x86-64 model name : Intel(R) Celeron(R) CPU N3150 @ 1.60GHz Docker : false Virtualization : lxc Kernel : x86_64 Userland : amd64 Systemuptime and Load: 21:10:04 up 17:57, 1 user, load average: 14.54, 14.78, 14.78 CPU threads: 4 *** Time and Time Zones *** Local time: Mon 2023-08-14 21:10:05 CEST Universal time: Mon 2023-08-14 19:10:05 UTC RTC time: n/a Time zone: Europe/Berlin (CEST, +0200) System clock synchronized: yes NTP service: inactive RTC in local TZ: no *** User and Groups *** proxmox /home/proxmox proxmox sudo iobroker *** X-Server-Setup *** X-Server: false Desktop: Terminal: tty Boot Target: graphical.target *** MEMORY *** total used free shared buff/cache available Mem: 4.1G 1.9G 1.1G 0.0K 1.1G 2.2G Swap: 512M 0.0K 511M Total: 4.6G 1.9G 1.6G 4096 M total memory 1885 M used memory 544 M active memory 2117 M inactive memory 1125 M free memory 0 M buffer memory 1084 M swap cache 512 M total swap 0 M used swap 511 M free swap *** FAILED SERVICES *** UNIT LOAD ACTIVE SUB DESCRIPTION * run-rpc_pipefs.mount loaded failed failed RPC Pipe File System * sys-kernel-debug.mount loaded failed failed Kernel Debug File System LOAD = Reflects whether the unit definition was properly loaded. ACTIVE = The high-level unit activation state, i.e. generalization of SUB. SUB = The low-level unit activation state, values depend on unit type. 2 loaded units listed. *** FILESYSTEM *** Filesystem Type Size Used Avail Use% Mounted on /dev/mapper/data2-vm--3108--disk--1 ext4 20G 13G 6.3G 67% / none tmpfs 492K 4.0K 488K 1% /dev tmpfs tmpfs 7.7G 0 7.7G 0% /dev/shm tmpfs tmpfs 3.1G 160K 3.1G 1% /run tmpfs tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs tmpfs 1.0M 0 1.0M 0% /run/credentials/systemd-sysusers.service tmpfs tmpfs 1.6G 0 1.6G 0% /run/user/1001 Messages concerning ext4 filesystem in dmesg: dmesg: read kernel buffer failed: Operation not permitted Show mounted filesystems \(real ones only\): TARGET SOURCE FSTYPE OPTIONS / /dev/mapper/data2-vm--3108--disk--1 ext4 rw,relatime,stripe=16 Files in neuralgic directories: /var: 914M /var/ 469M /var/lib 293M /var/cache 287M /var/cache/apt 201M /var/cache/apt/archives Hint: You are currently not seeing messages from other users and the system. Users in groups 'adm', 'systemd-journal' can see all messages. Pass -q to turn off this notice. Archived and active journals take up 16.0M in the file system. /opt/iobroker/backups: 93M /opt/iobroker/backups/ /opt/iobroker/iobroker-data: 741M /opt/iobroker/iobroker-data/ 506M /opt/iobroker/iobroker-data/files 162M /opt/iobroker/iobroker-data/backup-objects 126M /opt/iobroker/iobroker-data/files/vis 118M /opt/iobroker/iobroker-data/files/vis/widgets The five largest files in iobroker-data are: 21M /opt/iobroker/iobroker-data/files/web.admin/static/js/main.c4efe404.js.map 20M /opt/iobroker/iobroker-data/files/fullcalendar.admin/static/js/main.7f5fc837.js.map 19M /opt/iobroker/iobroker-data/files/scheduler.admin/static/js/main.df70fdfc.js.map 18M /opt/iobroker/iobroker-data/objects.jsonl 14M /opt/iobroker/iobroker-data/objects.json.migrated *** NodeJS-Installation *** /usr/bin/nodejs v18.17.1 /usr/bin/node v18.17.1 /usr/bin/npm 9.6.7 /usr/bin/npx 9.6.7 /usr/bin/corepack 0.18.0 nodejs: Installed: 18.17.1-deb-1nodesource1 Candidate: 18.17.1-deb-1nodesource1 Version table: *** 18.17.1-deb-1nodesource1 500 500 https://deb.nodesource.com/node_18.x jammy/main amd64 Packages 100 /var/lib/dpkg/status 12.22.9~dfsg-1ubuntu3 500 500 http://archive.ubuntu.com/ubuntu jammy/universe amd64 Packages Temp directories causing npm8 problem: 0 No problems detected Errors in npm tree: *** ioBroker-Installation *** ioBroker Status iobroker is running on this host. Objects type: jsonl States type: jsonl Core adapters versions js-controller: 5.0.11 admin: 6.8.0 javascript: 7.1.4 Adapters from github: 5 Adapter State + system.adapter.admin.0 : admin : ioBrokerTestsystem - enabled, port: 8081, bind: 0.0.0.0, run as: admin + system.adapter.backitup.0 : backitup : ioBrokerTestsystem - enabled system.adapter.benchmark.0 : benchmark : ioBrokerTestsystem - disabled system.adapter.daswetter.0 : daswetter : ioBrokerTestsystem - enabled + system.adapter.device-watcher.0 : device-watcher : ioBrokerTestsystem - enabled system.adapter.devices.0 : devices : ioBrokerTestsystem - disabled system.adapter.discovery.0 : discovery : ioBrokerNew - disabled system.adapter.dwd.0 : dwd : ioBrokerTestsystem - enabled + system.adapter.fritzbox.0 : fritzbox : ioBrokerTestsystem - enabled system.adapter.fully-tablet-control.0 : fully-tablet-control : ioBrokerTestsystem - disabled system.adapter.history.1 : history : ioBrokerNew - disabled + system.adapter.hm-rega.0 : hm-rega : ioBrokerTestsystem - enabled + system.adapter.hm-rpc.0 : hm-rpc : ioBrokerTestsystem - enabled, port: 0 system.adapter.hue.0 : hue : ioBrokerTestsystem - disabled, port: 443 system.adapter.ical.0 : ical : ioBrokerTestsystem - disabled system.adapter.ical.1 : ical : ioBrokerTestsystem - disabled system.adapter.ical.2 : ical : ioBrokerTestsystem - disabled system.adapter.ical.3 : ical : ioBrokerTestsystem - disabled system.adapter.ical.4 : ical : ioBrokerTestsystem - disabled system.adapter.ical.5 : ical : ioBrokerTestsystem - enabled system.adapter.icons-material-png.0 : icons-material-png : ioBrokerTestsystem - disabled system.adapter.icons-mfd-svg.0 : icons-mfd-svg : ioBrokerTestsystem - disabled system.adapter.icons-ultimate-png.0 : icons-ultimate-png : ioBrokerTestsystem - disabled system.adapter.influxdb.0 : influxdb : ioBrokerTestsystem - disabled, port: 8086 + system.adapter.info.0 : info : ioBrokerTestsystem - enabled + system.adapter.javascript.0 : javascript : ioBrokerTestsystem - enabled system.adapter.mqtt.0 : mqtt : ioBrokerTestsystem - disabled, port: 1883, bind: 0.0.0.0 + system.adapter.nina.0 : nina : ioBrokerTestsystem - enabled system.adapter.openweathermap.0 : openweathermap : ioBrokerTestsystem - enabled + system.adapter.proxmox.0 : proxmox : ioBrokerTestsystem - enabled, port: 8006 system.adapter.rainbird.0 : rainbird : ioBrokerTestsystem - disabled + system.adapter.samsung-community.0 : samsung-community : ioBrokerTestsystem - enabled system.adapter.sayit.0 : sayit : ioBrokerTestsystem - disabled, port: 0 + system.adapter.scenes.0 : scenes : ioBrokerTestsystem - enabled + system.adapter.scheduler.0 : scheduler : ioBrokerTestsystem - enabled + system.adapter.simple-api.0 : simple-api : ioBrokerTestsystem - enabled, port: 8087, bind: 0.0.0.0, run as: admin system.adapter.socketio.0 : socketio : ioBrokerTestsystem - disabled, port: 8084, bind: 192.168.178.77, run as: admin system.adapter.spotify-premium.0 : spotify-premium : ioBrokerTestsystem - disabled system.adapter.sql.0 : sql : ioBrokerNew - disabled, port: 3306 + system.adapter.tankerkoenig.0 : tankerkoenig : ioBrokerTestsystem - enabled system.adapter.telegram.0 : telegram : ioBrokerTestsystem - disabled, port: 8443, bind: 0.0.0.0 + system.adapter.tr-064.0 : tr-064 : ioBrokerTestsystem - enabled + system.adapter.trashschedule.0 : trashschedule : ioBrokerTestsystem - enabled + system.adapter.unifi.0 : unifi : ioBrokerTestsystem - enabled + system.adapter.valloxmv.0 : valloxmv : ioBrokerTestsystem - enabled, port: 80 + system.adapter.vis-2-beta.0 : vis-2-beta : ioBrokerTestsystem - enabled system.adapter.vis-2-widgets-energy.0 : vis-2-widgets-energy : ioBrokerTestsystem - enabled system.adapter.vis-2-widgets-gauges.0 : vis-2-widgets-gauges : ioBrokerTestsystem - enabled system.adapter.vis-2-widgets-jaeger-design.0: vis-2-widgets-jaeger-design: ioBrokerTestsystem - enabled system.adapter.vis-2-widgets-material.0 : vis-2-widgets-material: ioBrokerTestsystem - enabled system.adapter.vis-fancyswitch.0 : vis-fancyswitch : ioBrokerTestsystem - disabled system.adapter.vis-google-fonts.0 : vis-google-fonts : ioBrokerTestsystem - enabled system.adapter.vis-history.0 : vis-history : ioBrokerTestsystem - disabled + system.adapter.vis-inventwo.0 : vis-inventwo : ioBrokerTestsystem - enabled system.adapter.vis-jqui-mfd.0 : vis-jqui-mfd : ioBrokerTestsystem - disabled system.adapter.vis-justgage.0 : vis-justgage : ioBrokerTestsystem - disabled system.adapter.vis-map.0 : vis-map : ioBrokerTestsystem - disabled system.adapter.vis-materialdesign.0 : vis-materialdesign : ioBrokerTestsystem - disabled system.adapter.vis-metro.0 : vis-metro : ioBrokerTestsystem - enabled system.adapter.vis-timeandweather.0 : vis-timeandweather : ioBrokerTestsystem - disabled system.adapter.vis.0 : vis : ioBrokerTestsystem - enabled + system.adapter.web.0 : web : ioBrokerTestsystem - enabled, port: 8082, bind: 192.168.178.77, run as: admin system.adapter.worx.0 : worx : ioBrokerTestsystem - disabled + instance is alive Enabled adapters with bindings + system.adapter.admin.0 : admin : ioBrokerTestsystem - enabled, port: 8081, bind: 0.0.0.0, run as: admin + system.adapter.hm-rpc.0 : hm-rpc : ioBrokerTestsystem - enabled, port: 0 + system.adapter.proxmox.0 : proxmox : ioBrokerTestsystem - enabled, port: 8006 + system.adapter.simple-api.0 : simple-api : ioBrokerTestsystem - enabled, port: 8087, bind: 0.0.0.0, run as: admin + system.adapter.valloxmv.0 : valloxmv : ioBrokerTestsystem - enabled, port: 80 + system.adapter.web.0 : web : ioBrokerTestsystem - enabled, port: 8082, bind: 192.168.178.77, 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 "admin" : 6.8.0 , installed 6.8.0 Adapter "backitup" : 2.7.0 , installed 2.6.23 [Updatable] Adapter "benchmark" : 1.1.4 , installed 1.1.4 Adapter "daswetter" : 3.1.10 , installed 3.1.10 Adapter "device-watcher": 2.9.3 , installed 2.9.3 Adapter "devices" : 1.1.5 , installed 1.1.5 Adapter "dwd" : 2.8.5 , installed 2.8.5 Adapter "fritzbox" : 0.5.0 , installed 0.5.0 Adapter "fullcalendar" : 2.2.6 , installed 2.2.2 [Updatable] Adapter "hm-rega" : 3.0.47 , installed 3.0.47 Adapter "hm-rpc" : 1.15.19 , installed 1.15.19 Adapter "hue" : 3.9.5 , installed 3.9.5 Adapter "ical" : 1.13.3 , installed 1.13.3 Adapter "icons-material-png": 0.1.0, installed 0.1.0 Adapter "icons-mfd-svg": 1.1.0 , installed 1.1.0 Adapter "icons-ultimate-png": 1.0.1, installed 1.0.1 Adapter "influxdb" : 3.2.0 , installed 3.2.0 Adapter "info" : 1.9.26 , installed 1.9.26 Adapter "javascript" : 7.1.4 , installed 7.1.4 Controller "js-controller": 5.0.11 , installed 5.0.11 Adapter "mqtt" : 4.1.1 , installed 4.1.1 Adapter "nina" : 0.0.25 , installed 0.0.25 Adapter "openweathermap": 0.4.2 , installed 0.4.2 Adapter "proxmox" : 1.3.5 , installed 1.3.5 Adapter "rainbird" : 0.2.2 , installed 0.2.3 Adapter "sayit" : 3.0.5 , installed 3.0.5 Adapter "scenes" : 2.3.9 , installed 2.3.9 Adapter "scheduler" : 1.1.9 , installed 1.1.9 Adapter "simple-api" : 2.7.2 , installed 2.7.2 Adapter "smartmeter" : 3.3.4 , installed 3.3.4 Adapter "socketio" : 6.5.2 , installed 6.4.0 [Updatable] Adapter "spotify-premium": 1.2.2 , installed 1.2.2 Adapter "sql" : 2.2.0 , installed 2.2.0 Adapter "tankerkoenig" : 3.3.7 , installed 3.3.7 Adapter "telegram" : 1.16.0 , installed 1.16.0 Adapter "tr-064" : 4.2.18 , installed 4.2.18 Adapter "trashschedule": 2.2.0 , installed 2.2.0 Adapter "unifi" : 0.6.6 , installed 0.6.6 Adapter "valloxmv" : 1.2.0 , installed 1.2.0 Adapter "vis" : 1.4.16 , installed 1.4.16 Adapter "vis-2-widgets-energy": 0.2.3, installed 0.2.3 Adapter "vis-2-widgets-gauges": 0.2.0, installed 0.2.0 Adapter "vis-2-widgets-jaeger-design": 1.0.0, installed 1.0.0 Adapter "vis-2-widgets-material": 0.8.5, installed 0.8.5 Adapter "vis-fancyswitch": 1.1.0 , installed 1.1.0 Adapter "vis-google-fonts": 1.0.4 , installed 1.0.4 Adapter "vis-history" : 1.0.0 , installed 1.0.0 Adapter "vis-inventwo" : 3.3.3 , installed 3.3.3 Adapter "vis-jqui-mfd" : 1.0.12 , installed 1.0.12 Adapter "vis-justgage" : 1.0.2 , installed 1.0.2 Adapter "vis-map" : 1.0.4 , installed 1.0.4 Adapter "vis-materialdesign": 0.5.9, installed 0.5.9 Adapter "vis-metro" : 1.2.0 , installed 1.2.0 Adapter "vis-timeandweather": 1.2.2, installed 1.2.2 Adapter "web" : 6.1.0 , installed 6.0.3 [Updatable] Adapter "worx" : 2.3.2 , installed 2.3.2 Adapter "ws" : 2.5.3 , installed 2.4.0 [Updatable] Objects and States Please stand by - This may take a while Objects: 13145 States: 11796 *** OS-Repositories and Updates *** Hit:1 http://archive.ubuntu.com/ubuntu jammy InRelease Hit:2 http://archive.ubuntu.com/ubuntu jammy-updates InRelease Hit:3 https://deb.nodesource.com/node_18.x jammy InRelease Hit:4 http://archive.ubuntu.com/ubuntu jammy-security InRelease Reading package lists... Done Pending Updates: 3 *** 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 192.168.178.77:8082 0.0.0.0:* LISTEN 1000 316603498 35631/io.web.0 tcp 0 0 127.0.0.53:53 0.0.0.0:* LISTEN 102 311048807 91/systemd-resolved tcp 0 0 0.0.0.0:9001 0.0.0.0:* LISTEN 1000 316587698 35266/iobroker.js-c tcp 0 0 0.0.0.0:9000 0.0.0.0:* LISTEN 1000 316585912 35266/iobroker.js-c tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 0 311049284 1/init tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 0 311047903 141/sshd: /usr/sbin tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 0 311048905 305/master tcp6 0 0 :::8081 :::* LISTEN 1000 316592190 35284/io.admin.0 tcp6 0 0 :::8087 :::* LISTEN 1000 316596098 35542/io.simple-api tcp6 0 0 :::111 :::* LISTEN 0 311049286 1/init tcp6 0 0 :::22 :::* LISTEN 0 311047905 141/sshd: /usr/sbin tcp6 0 0 :::3000 :::* LISTEN 108 311049073 110/grafana-server tcp6 0 0 ::1:25 :::* LISTEN 0 311048906 305/master udp 0 0 127.0.0.53:53 0.0.0.0:* 102 311048806 91/systemd-resolved udp 0 0 0.0.0.0:111 0.0.0.0:* 0 311049285 1/init udp6 0 0 :::111 :::* 0 311049287 1/init *** Log File - Last 25 Lines *** 2023-08-14 21:10:40.535 - info: host.ioBrokerTestsystem Restart adapter system.adapter.hm-rpc.0 because enabled 2023-08-14 21:11:10.916 - info: host.ioBrokerTestsystem instance system.adapter.hm-rpc.0 started with pid 41336 2023-08-14 21:11:18.165 - info: hm-rpc.0 (41336) starting. Version 1.15.19 in /opt/iobroker/node_modules/iobroker.hm-rpc, node: v18.17.1, js-controller: 5.0.11 2023-08-14 21:11:19.544 - info: hm-rpc.0 (41336) xmlrpc server is trying to listen on 192.168.178.77:2010 2023-08-14 21:11:19.547 - info: hm-rpc.0 (41336) xmlrpc client is trying to connect to 192.168.178.84:2010/ with ["http://192.168.178.77:2010","ioBrokerTestsystem:hm-rpc.0:929dc2370363482799117e5946401b05"] 2023-08-14 21:11:19.621 - error: hm-rpc.0 (41336) Init not possible, going to stop: Unknown XML-RPC tag 'TITLE' 2023-08-14 21:11:49.617 - error: hm-rpc.0 (41336) Init not possible, going to stop: Unknown XML-RPC tag 'TITLE' 2023-08-14 21:11:49.627 - info: hm-rpc.0 (41336) xmlrpc -> 192.168.178.84:2010/ init ["http://192.168.178.77:2010",""] 2023-08-14 21:11:49.656 - error: hm-rpc.0 (41336) Cannot call init: [http://192.168.178.77:2010, ""] Unknown XML-RPC tag 'TITLE' 2023-08-14 21:11:49.684 - info: hm-rpc.0 (41336) terminating 2023-08-14 21:11:49.693 - info: hm-rpc.0 (41336) Terminated (NO_ERROR): Without reason 2023-08-14 21:11:50.667 - info: host.ioBrokerTestsystem instance system.adapter.hm-rpc.0 terminated with code 0 (NO_ERROR) 2023-08-14 21:11:50.669 - info: host.ioBrokerTestsystem Restart adapter system.adapter.hm-rpc.0 because enabled 2023-08-14 21:12:21.244 - info: host.ioBrokerTestsystem instance system.adapter.hm-rpc.0 started with pid 41411 2023-08-14 21:12:28.488 - info: hm-rpc.0 (41411) starting. Version 1.15.19 in /opt/iobroker/node_modules/iobroker.hm-rpc, node: v18.17.1, js-controller: 5.0.11 2023-08-14 21:12:29.389 - info: hm-rpc.0 (41411) xmlrpc server is trying to listen on 192.168.178.77:2010 2023-08-14 21:12:29.403 - info: hm-rpc.0 (41411) xmlrpc client is trying to connect to 192.168.178.84:2010/ with ["http://192.168.178.77:2010","ioBrokerTestsystem:hm-rpc.0:37c6a758693e440730b66c6e2688cd46"] 2023-08-14 21:12:29.581 - error: hm-rpc.0 (41411) Init not possible, going to stop: Unknown XML-RPC tag 'TITLE' 2023-08-14 21:12:59.538 - error: hm-rpc.0 (41411) Init not possible, going to stop: Unknown XML-RPC tag 'TITLE' 2023-08-14 21:12:59.595 - info: hm-rpc.0 (41411) xmlrpc -> 192.168.178.84:2010/ init ["http://192.168.178.77:2010",""] 2023-08-14 21:12:59.633 - error: hm-rpc.0 (41411) Cannot call init: [http://192.168.178.77:2010, ""] Unknown XML-RPC tag 'TITLE' 2023-08-14 21:12:59.661 - info: hm-rpc.0 (41411) terminating 2023-08-14 21:12:59.665 - info: hm-rpc.0 (41411) Terminated (NO_ERROR): Without reason 2023-08-14 21:13:00.498 - info: host.ioBrokerTestsystem instance system.adapter.hm-rpc.0 terminated with code 0 (NO_ERROR) 2023-08-14 21:13:00.500 - info: host.ioBrokerTestsystem Restart adapter system.adapter.hm-rpc.0 because enabled
und die summary
======================= SUMMARY ======================= v.2023-08-12 Static hostname: ioBrokerTestsystem Icon name: computer-container Chassis: container Machine ID: db91a8d9813048b3b0d9627361bf92a2 Boot ID: 32a84dd282b744a48a6aa21ecc09b231 Virtualization: lxc Operating System: Ubuntu 22.04.3 LTS Kernel: Linux 6.2.16-3-pve Architecture: x86-64 Installation: lxc Kernel: x86_64 Userland: amd64 Timezone: Europe/Berlin (CEST, +0200) User-ID: 1001 X-Server: false Boot Target: graphical.target Pending OS-Updates: 3 Pending iob updates: 5 Nodejs-Installation: /usr/bin/nodejs v18.17.1 /usr/bin/node v18.17.1 /usr/bin/npm 9.6.7 /usr/bin/npx 9.6.7 /usr/bin/corepack 0.18.0 Recommended versions are nodejs 18.17.1 and npm 9.6.7 Your nodejs installation is correct MEMORY: total used free shared buff/cache available Mem: 4.1G 1.9G 1.2G 0.0K 1.1G 2.2G Swap: 512M 0.0K 511M Total: 4.6G 1.9G 1.7G Active iob-Instances: 22 Active repo(s): beta ioBroker Core: js-controller 5.0.11 admin 6.8.0 ioBroker Status: iobroker is running on this host. Objects type: jsonl States type: jsonl Status admin and web instance: + system.adapter.admin.0 : admin : ioBrokerTestsystem - enabled, port: 8081, bind: 0.0.0.0, run as: admin + system.adapter.web.0 : web : ioBrokerTestsystem - enabled, port: 8082, bind: 192.168.178.77, run as: admin Objects: 13145 States: 11796 Size of iob-Database: 18M /opt/iobroker/iobroker-data/objects.jsonl 14M /opt/iobroker/iobroker-data/objects.json.migrated 14M /opt/iobroker/iobroker-data/objects.json.bak.migrated 2.3M /opt/iobroker/iobroker-data/objects_BACKUP_153020.json 1.2M /opt/iobroker/iobroker-data/objects_REMOTE_153020.json 13M /opt/iobroker/iobroker-data/states.jsonl 5.3M /opt/iobroker/iobroker-data/states.json.migrated 5.3M /opt/iobroker/iobroker-data/states.json.bak.migrated 0 /opt/iobroker/iobroker-data/states.json.broken =================== END OF SUMMARY ====================
-
-
@thomas-braun Was genau soll das Skript bzw. eine Variante denn alles fixen?
-
Zwei Stufen: Bei den üblichen falschen Pfaden der nodejs-bins werden die Pfade gelöscht, meist ist es dann damit ja auch schon getan.
Die zweite Stufe wird gezündet, wenn ein nodejs <> der aktuellen Empfehlung gefunden wird, dann wird angeboten diese zu installieren.
-
@thomas-braun Wenn die zweite Stufe implementiert ist kann ich dies auch gerne einmal testen. Kann ja ein Downgrade auf z.B. nodejs 16 machen
-
@feuersturm sagte in iob diag - Skript:
Wenn die zweite Stufe implementiert ist kann ich dies auch gerne einmal testen.
Ist schon drin. Wird nur angeboten, wenn eine abweichende Version läuft.
Achtung, dein iobroker wird da gestoppt und du musst den Container dann neustarten. Gibt aber Hinweise im Text.
Für einen geskripteten Restart eines Containers hab ich zu wenig Plan davon. Bei nativen Installationen wird der ioBroker auch wieder vom Skript gestartet. -
Für einen geskripteten Restart eines Containers hab ich zu wenig Plan davon.
Was mir gerade einfällt :
mit einem Buanet ioBroker Image kann man den Container mit
maint restart -y
neustarten.
-
@glasfaser
Docker? Hab ich im Code ausgeschlossen. -
Ja Docker ,
Sorry habe ich nicht dazu geschrieben -
@glasfaser
Docker-Dosen kann ich rein gar nicht testen. Und ist mir auch 'zu anders' im Vergleich zu einem LXC oder einer nativen Installation.
Aber man topft das ganze doch ohnehin immer in einen neuen Übertopf um, oder nicht?