NEWS
iob diag - Skript
-
@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? -
@thomas-braun
Kurzfassung: FunktioniertLangfassung:
Downgrade nodejs von 18 auf 16
proxmox@ioBrokerTestsystem:/home$ apt policy nodejs nodejs: Installed: 18.17.1-deb-1nodesource1 Candidate: 18.17.1-deb-1nodesource1 Version table: *** 18.17.1-deb-1nodesource1 100 100 /var/lib/dpkg/status 16.20.2-deb-1nodesource1 500 500 https://deb.nodesource.com/node_16.x jammy/main amd64 Packages 12.22.9~dfsg-1ubuntu3 500 500 http://archive.ubuntu.com/ubuntu jammy/universe amd64 Packages proxmox@ioBrokerTestsystem:/home$ sudo apt install nodejs=16.20.2-deb-1nodesource1 Reading package lists... Done Building dependency tree... Done Reading state information... Done The following packages were automatically installed and are no longer required: libllvm13 libvulkan1 libwayland-client0 mesa-vulkan-drivers Use 'sudo apt autoremove' to remove them. The following packages will be DOWNGRADED: nodejs 0 upgraded, 0 newly installed, 1 downgraded, 0 to remove and 3 not upgraded. Need to get 27.2 MB of archives. After this operation, 60.4 MB disk space will be freed. Do you want to continue? [Y/n] y Get:1 https://deb.nodesource.com/node_16.x jammy/main amd64 nodejs amd64 16.20.2-deb-1nodesource1 [27.2 MB] Fetched 27.2 MB in 4s (6498 kB/s) dpkg: warning: downgrading nodejs from 18.17.1-deb-1nodesource1 to 16.20.2-deb-1nodesource1 (Reading database ... 46660 files and directories currently installed.) Preparing to unpack .../nodejs_16.20.2-deb-1nodesource1_amd64.deb ... Unpacking nodejs (16.20.2-deb-1nodesource1) over (18.17.1-deb-1nodesource1) ... Setting up nodejs (16.20.2-deb-1nodesource1) ... Processing triggers for man-db (2.10.2-1) ... proxmox@ioBrokerTestsystem:/home$ nodejs -v && npm -v v16.20.2 8.19.4
danach noch ein iob fix und dann ein iob start ausgeführt.
iob diag (github version)
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: 22:12:14 up 18:59, 1 user, load average: 12.95, 13.98, 14.17 CPU threads: 4 *** Time and Time Zones *** Local time: Mon 2023-08-14 22:12:14 CEST Universal time: Mon 2023-08-14 20:12:14 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.8G 1.1G 0.0K 1.1G 2.3G Swap: 512M 0.0K 511M Total: 4.6G 1.8G 1.7G 4096 M total memory 1801 M used memory 619 M active memory 2020 M inactive memory 1146 M free memory 0 M buffer memory 1147 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: 733M /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 v16.20.2 /usr/bin/node v16.20.2 /usr/bin/npm 8.19.4 /usr/bin/npx 8.19.4 /usr/bin/corepack 0.17.0 nodejs: Installed: 16.20.2-deb-1nodesource1 Candidate: 16.20.2-deb-1nodesource1 Version table: *** 16.20.2-deb-1nodesource1 500 500 https://deb.nodesource.com/node_16.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 - disabled, 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.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 https://deb.nodesource.com/node_16.x jammy InRelease Hit:2 http://archive.ubuntu.com/ubuntu jammy InRelease Hit:3 http://archive.ubuntu.com/ubuntu jammy-updates 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 317245085 45156/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 317230619 44801/iobroker.js-c tcp 0 0 0.0.0.0:9000 0.0.0.0:* LISTEN 1000 317232637 44801/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 317233130 44829/io.admin.0 tcp6 0 0 :::8087 :::* LISTEN 1000 317245613 45066/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 22:09:24.761 - info: hm-rpc.0 (45672) terminating 2023-08-14 22:09:24.767 - info: hm-rpc.0 (45672) Terminated (NO_ERROR): Without reason 2023-08-14 22:09:24.807 - info: hm-rpc.0 (45672) terminating 2023-08-14 22:09:25.104 - info: hm-rpc.0 (45672) terminating with timeout 2023-08-14 22:09:26.022 - info: host.ioBrokerTestsystem instance system.adapter.hm-rpc.0 terminated with code 0 (NO_ERROR) 2023-08-14 22:09:26.027 - info: host.ioBrokerTestsystem Restart adapter system.adapter.hm-rpc.0 because enabled 2023-08-14 22:09:56.356 - info: host.ioBrokerTestsystem instance system.adapter.hm-rpc.0 started with pid 45692 2023-08-14 22:10:02.445 - info: hm-rpc.0 (45692) starting. Version 1.15.19 in /opt/iobroker/node_modules/iobroker.hm-rpc, node: v16.20.2, js-controller: 5.0.11 2023-08-14 22:10:03.210 - info: hm-rpc.0 (45692) xmlrpc server is trying to listen on 192.168.178.77:2010 2023-08-14 22:10:03.214 - info: hm-rpc.0 (45692) xmlrpc client is trying to connect to 192.168.178.84:2010/ with ["http://192.168.178.77:2010","ioBrokerTestsystem:hm-rpc.0:d96698d96618b7431e6c2903595df786"] 2023-08-14 22:10:03.286 - error: hm-rpc.0 (45692) Init not possible, going to stop: Unknown XML-RPC tag 'TITLE' 2023-08-14 22:10:33.320 - info: hm-rpc.0 (45692) xmlrpc -> 192.168.178.84:2010/ init ["http://192.168.178.77:2010",""] 2023-08-14 22:10:33.429 - error: hm-rpc.0 (45692) Init not possible, going to stop: Unknown XML-RPC tag 'TITLE' 2023-08-14 22:10:33.452 - error: hm-rpc.0 (45692) Cannot call init: [http://192.168.178.77:2010, ""] Unknown XML-RPC tag 'TITLE' 2023-08-14 22:10:33.486 - info: hm-rpc.0 (45692) terminating 2023-08-14 22:10:33.490 - info: hm-rpc.0 (45692) Terminated (NO_ERROR): Without reason 2023-08-14 22:10:34.338 - info: host.ioBrokerTestsystem instance system.adapter.hm-rpc.0 terminated with code 0 (NO_ERROR) 2023-08-14 22:10:34.341 - info: host.ioBrokerTestsystem Restart adapter system.adapter.hm-rpc.0 because enabled 2023-08-14 22:11:04.698 - info: host.ioBrokerTestsystem instance system.adapter.hm-rpc.0 started with pid 46399 2023-08-14 22:11:06.352 - info: host.ioBrokerTestsystem "system.adapter.hm-rpc.0" disabled 2023-08-14 22:11:06.364 - info: host.ioBrokerTestsystem stopInstance system.adapter.hm-rpc.0 (force=false, process=true) 2023-08-14 22:11:07.036 - info: host.ioBrokerTestsystem stopInstance system.adapter.hm-rpc.0 send kill signal 2023-08-14 22:11:08.043 - info: host.ioBrokerTestsystem stopInstance system.adapter.hm-rpc.0 killing pid 46399 2023-08-14 22:11:08.292 - warn: host.ioBrokerTestsystem instance system.adapter.hm-rpc.0 terminated due to SIGTERM 2023-08-14 22:11:08.295 - info: host.ioBrokerTestsystem instance system.adapter.hm-rpc.0 terminated with code null ()
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 v16.20.2 /usr/bin/node v16.20.2 /usr/bin/npm 8.19.4 /usr/bin/npx 8.19.4 /usr/bin/corepack 0.17.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.7G 1.2G 0.0K 1.1G 2.3G Swap: 512M 0.0K 511M Total: 4.6G 1.8G 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: 11802 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 5.3M /opt/iobroker/iobroker-data/states.json.migrated 5.3M /opt/iobroker/iobroker-data/states.json.bak.migrated 4.4M /opt/iobroker/iobroker-data/states.jsonl 0 /opt/iobroker/iobroker-data/states.json.broken =================== END OF SUMMARY ==================== === Mark text until here for copying === You are running nodejs v.16.20.2. Do you want to install recommended nodejs v.18.17.1? *** DO NOT TRY THIS FIX ON NON-LINUX-SYSTEMS! *** Press <y> to continue or any other key to quit lxc Waiting for ioBroker to shut down - Give me a minute... ############################################################ ## Installing the NodeSource Node.js 18.x repo... ## Populating apt-get cache... + apt-get update 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 Reading package lists... Done ## Confirming "jammy" is supported... + curl -sLf -o /dev/null 'https://deb.nodesource.com/node_18.x/dists/jammy/Release' ## Adding the NodeSource signing key to your keyring... + curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | gpg --dearmor | tee /usr/share/keyrings/nodesource.gpg >/dev/null ## Creating apt sources list file for the NodeSource Node.js 18.x repo... + echo 'deb [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_18.x jammy main' > /etc/apt/sources.list.d/nodesource.list + echo 'deb-src [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_18.x jammy main' >> /etc/apt/sources.list.d/nodesource.list ## Running `apt-get update` for you... + apt-get update 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 Get:4 https://deb.nodesource.com/node_18.x jammy InRelease [4563 B] Get:5 https://deb.nodesource.com/node_18.x jammy/main amd64 Packages [776 B] Fetched 5339 B in 13s (404 B/s) Reading package lists... Done ## Run `sudo apt-get install -y nodejs` to install Node.js 18.x and npm ## You may also need development tools to build native addons: sudo apt-get install gcc g++ make ## To install the Yarn package manager, run: curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | gpg --dearmor | sudo tee /usr/share/keyrings/yarnkey.gpg >/dev/null echo "deb [signed-by=/usr/share/keyrings/yarnkey.gpg] https://dl.yarnpkg.com/debian stable main" | sudo tee /etc/apt/sources.list.d/yarn.list sudo apt-get update && sudo apt-get install yarn Reading package lists... Done Building dependency tree... Done Reading state information... Done The following packages were automatically installed and are no longer required: libllvm13 libvulkan1 libwayland-client0 mesa-vulkan-drivers Use 'sudo apt autoremove' to remove them. The following packages will be upgraded: nodejs 1 upgraded, 0 newly installed, 0 to remove and 3 not upgraded. Need to get 28.9 MB of archives. After this operation, 60.4 MB of additional disk space will be used. Get:1 https://deb.nodesource.com/node_18.x jammy/main amd64 nodejs amd64 18.17.1-deb-1nodesource1 [28.9 MB] Fetched 28.9 MB in 7s (4254 kB/s) (Reading database ... 44173 files and directories currently installed.) Preparing to unpack .../nodejs_18.17.1-deb-1nodesource1_amd64.deb ... Unpacking nodejs (18.17.1-deb-1nodesource1) over (16.20.2-deb-1nodesource1) ... Setting up nodejs (18.17.1-deb-1nodesource1) ... Processing triggers for man-db (2.10.2-1) ... Please restart your container We tried our best to fix your nodejs. Please run 'iob diag' again to verify.
Die Meldung
Please restart your container
im Textfluss geht unter, wenn man nicht ganz genau hinsieht. Kannst du diesen Hinweis etwas prominenter darstellen?Danach erneut iob diag ausführen
Skript v.2023-08-12 *** BASE SYSTEM *** Static hostname: ioBrokerTestsystem Icon name: computer-container Chassis: container Machine ID: db91a8d9813048b3b0d9627361bf92a2 Boot ID: 3a75cdd6c2ce4a53a75e3c91157c7622 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: 22:28:42 up 3 min, 1 user, load average: 19.30, 17.42, 16.00 CPU threads: 4 *** Time and Time Zones *** Local time: Mon 2023-08-14 22:28:42 CEST Universal time: Mon 2023-08-14 20:28:42 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.7G 1.8G 0.0K 582M 2.4G Swap: 512M 0B 512M Total: 4.6G 1.7G 2.3G 4096 M total memory 1695 M used memory 188 M active memory 1972 M inactive memory 1818 M free memory 0 M buffer memory 582 M swap cache 512 M total swap 0 M used swap 512 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 148K 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: [sudo] password for proxmox: 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: 737M /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/objects.jsonl 19M /opt/iobroker/iobroker-data/files/scheduler.admin/static/js/main.df70fdfc.js.map 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 - disabled, 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.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 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 127.0.0.1:25 0.0.0.0:* LISTEN 0 317360475 312/master tcp 0 0 0.0.0.0:9000 0.0.0.0:* LISTEN 1000 317358721 118/iobroker.js-con tcp 0 0 0.0.0.0:9001 0.0.0.0:* LISTEN 1000 317358714 118/iobroker.js-con tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 0 317355939 1/init tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 0 317358193 133/sshd: /usr/sbin tcp 0 0 127.0.0.53:53 0.0.0.0:* LISTEN 102 317359166 91/systemd-resolved tcp 0 0 192.168.178.77:8082 0.0.0.0:* LISTEN 1000 317371974 679/io.web.0 tcp6 0 0 ::1:25 :::* LISTEN 0 317360476 312/master tcp6 0 0 :::8081 :::* LISTEN 1000 317357878 372/io.admin.0 tcp6 0 0 :::8087 :::* LISTEN 1000 317370670 608/io.simple-api.0 tcp6 0 0 :::111 :::* LISTEN 0 317355941 1/init tcp6 0 0 :::22 :::* LISTEN 0 317358204 133/sshd: /usr/sbin tcp6 0 0 :::3000 :::* LISTEN 108 317358632 117/grafana-server udp 0 0 127.0.0.53:53 0.0.0.0:* 102 317359165 91/systemd-resolved udp 0 0 0.0.0.0:111 0.0.0.0:* 0 317355940 1/init udp6 0 0 :::111 :::* 0 317355942 1/init *** Log File - Last 25 Lines *** 2023-08-14 22:28:59.392 - info: hm-rega.0 (481) added/updated 6 programs 2023-08-14 22:28:59.400 - info: hm-rega.0 (481) deleted 0 programs 2023-08-14 22:28:59.533 - info: hm-rega.0 (481) update rooms to enum.rooms 2023-08-14 22:28:59.622 - info: info.0 (572) cpu Temp res = {"main":66,"cores":[68,66,64,64],"max":68,"socket":[],"chipset":null} 2023-08-14 22:29:00.413 - info: hm-rega.0 (481) update functions to enum.functions 2023-08-14 22:29:00.587 - info: hm-rega.0 (481) update favorites to enum.favorites 2023-08-14 22:29:03.929 - error: daswetter.0 (530) force terminate 2023-08-14 22:29:03.964 - warn: daswetter.0 (530) Terminated (UNKNOWN_ERROR): Without reason 2023-08-14 22:29:04.493 - error: daswetter.0 (530) exception in await insertIntoList [Error: DB closed] 2023-08-14 22:29:04.620 - error: daswetter.0 (530) exception in await insertIntoList [Error: DB closed] 2023-08-14 22:29:04.641 - error: daswetter.0 (530) Cannot check object existence of "daswetter.0.NextHours.Location_1.Day_1.Hour_9.symbol_value2": Connection is closed. 2023-08-14 22:29:04.661 - error: daswetter.0 (530) exception in await insertIntoList [Error: Could not check object existence of daswetter.0.NextHours.Location_1.Day_1.Hour_9.symbol_value2: Cannot check object existence of "daswetter.0.NextHours.Location_1.Day_1.Hour_9.symbol_value2": Connection is closed.] 2023-08-14 22:29:05.271 - error: host.ioBrokerTestsystem instance system.adapter.daswetter.0 terminated with code 15 (UNKNOWN_ERROR) 2023-08-14 22:29:25.224 - info: tankerkoenig.0 (615) Start first request 2023-08-14 22:29:38.220 - info: openweathermap.0 (500) Terminated (NO_ERROR): Without reason 2023-08-14 22:29:39.128 - info: host.ioBrokerTestsystem instance system.adapter.openweathermap.0 terminated with code 0 (NO_ERROR) 2023-08-14 22:30:00.188 - info: host.ioBrokerTestsystem instance system.adapter.dwd.0 started with pid 1358 2023-08-14 22:30:04.578 - info: host.ioBrokerTestsystem instance system.adapter.ical.5 started with pid 1365 2023-08-14 22:30:16.625 - info: dwd.0 (1358) starting. Version 2.8.5 in /opt/iobroker/node_modules/iobroker.dwd, node: v18.17.1, js-controller: 5.0.11 2023-08-14 22:30:17.904 - info: ical.5 (1365) starting. Version 1.13.3 in /opt/iobroker/node_modules/iobroker.ical, node: v18.17.1, js-controller: 5.0.11 2023-08-14 22:30:19.239 - info: dwd.0 (1358) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason 2023-08-14 22:30:19.909 - info: host.ioBrokerTestsystem instance system.adapter.dwd.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION) 2023-08-14 22:30:22.333 - info: ical.5 (1365) processing URL: ioBrokerTesting https://calendar.google.com/calendar/ical/0g7gpl8tcsjsbacjrkunfg8l0c%40group.calendar.google.com/private-ee9dd402778b56aafd5eea5e6f591bd6/basic.ics 2023-08-14 22:30:27.616 - info: ical.5 (1365) Terminated (NO_ERROR): Without reason 2023-08-14 22:30:28.275 - info: host.ioBrokerTestsystem instance system.adapter.ical.5 terminated with code 0 (NO_ERROR)
======================= SUMMARY ======================= v.2023-08-12 Static hostname: ioBrokerTestsystem Icon name: computer-container Chassis: container Machine ID: db91a8d9813048b3b0d9627361bf92a2 Boot ID: 3a75cdd6c2ce4a53a75e3c91157c7622 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 Your nodejs installation is correct MEMORY: total used free shared buff/cache available Mem: 4.1G 1.6G 1.6G 0.0K 899M 2.5G Swap: 512M 0.0K 511M Total: 4.6G 1.6G 2.1G 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: 11802 Size of iob-Database: 20M /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 7.0M /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 Kleiner Nachtrag zu
Nodejs-Installation: /usr/bin/nodejs v16.20.2 /usr/bin/node v16.20.2 /usr/bin/npm 8.19.4 /usr/bin/npx 8.19.4 /usr/bin/corepack 0.17.0 Recommended versions are nodejs 18.17.1 and npm 9.6.7 Your nodejs installation is correct
Anstatt
Your nodejs installation is correct
könnte man hier ausgebenYour nodejs installation is correct and supported but it is not the recommended version
-
Jaaaaa, so hatte ich mir das vorgestellt.
Text so besser?
*** You need to manually restart your container now! *** We tried our best to fix your nodejs. Please run 'iob diag' again to verify.
-
@thomas-braun Ja, das fällt besser auf.
-
@feuersturm
Habs gerade auf github hochgeschubst. -
Bin ich der Einzige der es irgendwie bedenklich findet wenn ein Diagnose-Script auch gefundene Probleme korrigiert statt nur darüber zu informieren? Meines Erachtens sollte ein Diagnosescript 100% safe sein. Also ausschließlich Informationen auslesen.
Wo wäre dann sonst der Unterschied zum Fixer-Script? Dann können wir die Diag-Ausgabe doch eigentlich auch direkt in den Fixer einbauen, oder sehe ich das falsch?@apollon77 @foxriver76 @AlCalzone @Bluefox
Habt ihr eine Meinung dazu? Sollte das Thema vielleicht auf die Dev-Meeting-Liste? Ich denke das ist in jedem Fall zumindest diskussionswürdig.MfG,
André -
@andre sagte in iob diag - Skript:
Meines Erachtens sollte ein Diagnosescript 100% safe sein. Also ausschließlich Informationen auslesen.
Da bin ich dabei.
Ist ja auch eine Beta-Version zum herumspielen. Den Code kann man easy da wieder rausnehmen und in den Fixer (oder ein eigenes Skript integrieren).
War nur für den Moment einfacher das an 'iob diag' anzuhängen.Den Fix musst du aber auch bestätigen und damit wollen, der wird ja nicht hinterrücks plötzlich ausgeführt.
-
Ok, wollte nur darauf hinweisen, bevor aus dem Diag-Script die "eierlegende Wollmilchsau" wird. So wie das m. E. leider mit dem Backitup-Adapter passiert ist.
@thomas-braun sagte in iob diag - Skript:
Den Fix musst du aber auch bestätigen und damit wollen, der wird ja nicht hinterrücks plötzlich ausgeführt.
Ja, das ist richtig. Aber du kennst ja auch die unerfahrenen User... Da erzählt ein Script was von node Version und schon ist ein ioBroker Einsteiger und Linux Neuling gnadenlos überfordert...
MfG,
André -
@andre sagte in iob diag - Skript:
Da erzählt ein Script was von node Version und schon ist ein ioBroker Einsteiger und Linux Neuling gnadenlos überfordert...
Die Resultate der bisherigen Überforderung soll das Ding ja gerade wieder ausbügeln... Bislang schaut das auch ganz gut aus. Tut was es soll.
Komplett zerballerte Dreifach-Installationen von nodejs bekommst du auch mit dem Skript nicht gebändigt. Jedenfalls nicht im ersten Anlauf.
-
Hab jetzt noch einen Hinweis auf den Beta Code drin:
!!! THIS CODE IS IN BETA STAGE. TRY IT AT YOUR OWN RISK !!! You are running nodejs v.$NODEUSED. Do you want to install recommended nodejs v.$NODERECOM? *** DO NOT TRY THIS FIX ON NON-LINUX-SYSTEMS! *** Press <y> to continue or any other key to quit"
-
@thomas-braun sagte in iob diag - Skript:
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.wenn ich im Terminal von meinem LXC Container ein
sudo reboot
ausführe, wird das System neu gestartet. Hilft dir das?
-
@andre sagte in iob diag - Skript:
Bin ich der Einzige der es irgendwie bedenklich findet
nein! zumal da noch ein paar offene Fragen sind
z.B.
@homoran sagte in iob diag - Skript:
@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?auch deine Anregung
@andre sagte in iob diag - Skript:
Ich denke
iob fixwäre der richtige Aufruf für Änderungen/ Korrekturen.
halte ich nicht unbedingt für due beste Alternative.
Bisher hatiob fix
nur die Berechtigungen geradegebogen. das wurde auch jahrelang so kommuniziert.Wenn dann ein weiterer Befehl dazukommt sollte er anders heißen. Ich hab da auch noch keine Eingebung.
Wir begeben uns hier auf ganz neues Terrain, auch wenn es für Noobs sehr zu wünschen ist, sind wir jetzt außerhalb von iobroker.
Und um gerade das Zielklientel zu erreichen, die bisher ihre Systeme nicht antatschten, muss das ganze wirklich sauber zu Ende gedacht und ggf. alles mögliche abgefangen werden können -
@feuersturm sagte in iob diag - Skript:
wird das System neu gestartet. Hilft dir das?
Das wäre easy. Was meinen die anderen Container-Schiffer?
-
iob nodefix
vielleicht?