@iR0fl
Hallo. Du kannst auf https://materialdesignicons.com/ dir das passende Icon auswählen.
Dann trägst du den "Namen" des Icons zB speedometer oder power-socket-eu im Gerät ein, oder beim Tab.
@iR0fl
Hallo. Du kannst auf https://materialdesignicons.com/ dir das passende Icon auswählen.
Dann trägst du den "Namen" des Icons zB speedometer oder power-socket-eu im Gerät ein, oder beim Tab.
=== Mark text until here for copying ===
christian@ioBroker:~$ iob start
christian@ioBroker:~$ systemctl status iobroker.service
* iobroker.service - ioBroker Server
Loaded: loaded (/lib/systemd/system/iobroker.service; enabled; vendor preset: enabled)
Active: active (running) since Sun 2024-11-10 16:13:56 CET; 9min ago
Docs: http://iobroker.net
Main PID: 20605 (iobroker.js-con)
Tasks: 209 (limit: 4915)
Memory: 1.2G
CGroup: /system.slice/iobroker.service
|-20605 iobroker.js-controller
|-20626 io.admin.0
|-20681 io.javascript.0
|-20706 io.telegram.0
|-20747 io.history.0
|-20773 io.alexa2.0
|-20803 io.mihome-vacuum.0
|-20818 io.yeelight-2.0
|-20833 io.deconz.0
|-20872 io.discovery.0
|-20887 io.info.0
|-21235 io.iot.0
|-21250 io.tankerkoenig.0
|-21265 io.web.0
|-21280 io.jarvis.0
|-21295 io.trashschedule.0
|-21310 io.wled.0
|-21325 io.spritmonitor.0
`-21406 io.fb-checkpresence.0
christian@ioBroker:~$ iob fix
Your system is booting into 'graphical.target', which means that a user interface or desktop is available. Usually a server is running without a desktop to have more RAM available. Do you want to switch to 'multi-user.target'? (y/N)
library: loaded
Library version=2024-10-22
==========================================================================
Welcome to the ioBroker installation fixer!
Script version: 2024-10-22
You might need to enter your password a couple of times.
==========================================================================
==========================================================================
Installing prerequisites (1/5)
==========================================================================
0% [Working]
Hit:1 https://deb.nodesource.com/node_20.x nodistro InRelease
Hit:2 http://archive.ubuntu.com/ubuntu focal InRelease
Hit:3 http://archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:4 http://archive.ubuntu.com/ubuntu focal-security InRelease
Reading package lists... Done
E: Unable to locate package polkitd
Installed polkitd
==========================================================================
Checking ioBroker user and directory permissions (2/5)
==========================================================================
Created /etc/sudoers.d/iobroker
Fixing directory permissions...
==========================================================================
Check and cleanup npm temporary directories (3/5)
==========================================================================
Done.
==========================================================================
Database maintenance (4/5)
==========================================================================
Checking for uncompressed JSONL databases... This might take a while!
Compressing /opt/iobroker/iobroker-data/states.jsonl
Compressing /opt/iobroker/iobroker-data/objects.jsonl
Compressed 2 JSONL files. Done
==========================================================================
Checking autostart (5/5)
==========================================================================
Enabling autostart...
Autostart enabled!
==========================================================================
Your installation was fixed successfully
Run iobroker start to start ioBroker again!
==========================================================================
@thomas-braun ```
========== Start marking the full check here ===========
Script v.2024-10-19
*** BASE SYSTEM ***
Static hostname: ioBroker
Icon name: computer-container
Chassis: container
Virtualization: lxc
Operating System: Ubuntu 20.04.6 LTS
Kernel: Linux 5.4.55-1-pve
Architecture: x86-64
OS is similar to: debian
model name : Intel(R) Core(TM) i3-8109U CPU @ 3.00GHz
Docker : false
Virtualization : lxc
Kernel : x86_64
Userland : 64 bit
Systemuptime and Load:
16:10:05 up 13 min, 1 user, load average: 0.61, 0.97, 0.84
CPU threads: 1
*** LIFE CYCLE STATUS ***
Operating System codenamed 'focal' is an aging Ubuntu release! Please upgrade to the latest LTS release 'noble' in due time!
*** TIME AND TIMEZONES ***
Local time: Sun 2024-11-10 16:10:06 CET
Universal time: Sun 2024-11-10 15:10:06 UTC
RTC time: n/a
Time zone: Europe/Berlin (CET, +0100)
System clock synchronized: yes
NTP service: inactive
RTC in local TZ: no
*** Users and Groups ***
User that called 'iob diag':
christian
HOME=/home/christian
GROUPS=christian sudo iobroker
User that is running 'js-controller':
js-controller is not running
*** DISPLAY-SERVER SETUP ***
Display-Server: false
Desktop:
Terminal:
System is booting into 'graphical.target'. Usually a server is running in 'multi-user.target'. Please set BootTarget to 'multi-user.target' or run 'iobroker fix'
*** MEMORY ***
total used free shared buff/cache available
Mem: 4.1G 262M 1.8G 0.0K 2.1G 3.8G
Swap: 512M 0.0K 511M
Total: 4.6G 262M 2.3G
Active iob-Instances: 1
4096 M total memory
262 M used memory
620 M active memory
1472 M inactive memory
1771 M free memory
0 M buffer memory
2062 M swap cache
512 M total swap
0 M used swap
511 M free swap
*** top - Table Of Processes ***
top - 16:10:06 up 13 min, 1 user, load average: 0.61, 0.97, 0.84
Tasks: 28 total, 1 running, 27 sleeping, 0 stopped, 0 zombie
%Cpu(s): 5.3 us, 0.0 sy, 0.0 ni, 94.7 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
MiB Mem : 4096.0 total, 1771.1 free, 262.3 used, 2062.6 buff/cache
MiB Swap: 512.0 total, 511.9 free, 0.1 used. 3833.7 avail Mem
*** FAILED SERVICES ***
UNIT LOAD ACTIVE SUB DESCRIPTION
* run-rpc_pipefs.mount loaded failed failed RPC Pipe File System
* iobroker.service loaded failed failed ioBroker Server
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.
*** DMESG CRITICAL ERRORS ***
No critical errors detected
*** FILESYSTEM ***
Filesystem Type Size Used Avail Use% Mounted on
/dev/mapper/pve-vm--103--disk--0 ext4 30G 9.8G 19G 35% /
none tmpfs 492K 4.0K 488K 1% /dev
udev devtmpfs 7.8G 0 7.8G 0% /dev/tty
tmpfs tmpfs 7.8G 0 7.8G 0% /dev/shm
tmpfs tmpfs 1.6G 120K 1.6G 1% /run
tmpfs tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs tmpfs 7.8G 0 7.8G 0% /sys/fs/cgroup
Messages concerning ext4 filesystem in dmesg:
[Fri Aug 23 12:19:21 2024] EXT4-fs (dm-1): mounted filesystem with ordered data mode. Opts: (null)
[Fri Aug 23 12:19:21 2024] EXT4-fs (dm-1): re-mounted. Opts: errors=remount-ro
[Fri Aug 23 12:19:33 2024] EXT4-fs warning (device dm-7): ext4_multi_mount_protect:322: MMP interval 42 higher than expected, please wait.
[Fri Aug 23 12:20:17 2024] EXT4-fs (dm-7): 4 orphan inodes deleted
[Fri Aug 23 12:20:17 2024] EXT4-fs (dm-7): recovery complete
[Fri Aug 23 12:20:17 2024] EXT4-fs (dm-7): mounted filesystem with ordered data mode. Opts: (null)
[Sun Nov 10 15:49:00 2024] EXT4-fs (dm-7): resizing filesystem from 2621440 to 7864320 blocks
[Sun Nov 10 15:49:00 2024] EXT4-fs (dm-7): resized filesystem to 7864320
[Sun Nov 10 15:52:09 2024] EXT4-fs (dm-7): mounted filesystem with ordered data mode. Opts: (null)
Show mounted filesystems:
TARGET SOURCE FSTYPE OPTIONS
/ /dev/mapper/pve-vm--103--disk--0 ext4 rw,relatime,stripe=16
|-/proc/cpuinfo lxcfs[/proc/cpuinfo] fuse.lxcfs rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other
|-/proc/diskstats lxcfs[/proc/diskstats] fuse.lxcfs rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other
|-/proc/loadavg lxcfs[/proc/loadavg] fuse.lxcfs rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other
|-/proc/meminfo lxcfs[/proc/meminfo] fuse.lxcfs rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other
|-/proc/stat lxcfs[/proc/stat] fuse.lxcfs rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other
|-/proc/swaps lxcfs[/proc/swaps] fuse.lxcfs rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other
|-/proc/uptime lxcfs[/proc/uptime] fuse.lxcfs rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other
`-/sys/devices/system/cpu/online lxcfs[/sys/devices/system/cpu/online] fuse.lxcfs rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other
Files in neuralgic directories:
/var:
1.8G /var/
994M /var/log
993M /var/log/journal/b354c482f7cc342776f020ee5ea440c3
993M /var/log/journal
469M /var/cache
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 8.0M in the file system.
/opt/iobroker/backups:
4.0K /opt/iobroker/backups/
/opt/iobroker/iobroker-data:
775M /opt/iobroker/iobroker-data/
617M /opt/iobroker/iobroker-data/files
442M /opt/iobroker/iobroker-data/files/javascript.admin
409M /opt/iobroker/iobroker-data/files/javascript.admin/static
408M /opt/iobroker/iobroker-data/files/javascript.admin/static/js
The five largest files in iobroker-data are:
38M /opt/iobroker/iobroker-data/files/iot.admin/static/js/main.d3d286bd.js.map
27M /opt/iobroker/iobroker-data/files/tankerkoenig.admin/build/index.js.map
24M /opt/iobroker/iobroker-data/files/web.admin/static/js/main.135279a0.js.map
13M /opt/iobroker/iobroker-data/objects.jsonl
9.2M /opt/iobroker/iobroker-data/files/tankerkoenig.admin/build/index.js
USB-Devices by-id:
USB-Sticks - Avoid direct links to /dev/tty* in your adapter setups, please always prefer the links 'by-id':
No Devices found 'by-id'
*** NodeJS-Installation ***
/usr/bin/nodejs v20.18.0
/usr/bin/node v20.18.0
/usr/bin/npm 10.8.2
/usr/bin/npx 10.8.2
/usr/bin/corepack 0.29.3
nodejs:
Installed: 20.18.0-1nodesource1
Candidate: 20.18.0-1nodesource1
Version table:
*** 20.18.0-1nodesource1 1001
500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
100 /var/lib/dpkg/status
20.17.0-1nodesource1 1001
500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
20.16.0-1nodesource1 1001
500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
20.15.1-1nodesource1 1001
500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
20.15.0-1nodesource1 1001
500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
20.14.0-1nodesource1 1001
500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
20.13.1-1nodesource1 1001
500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
20.13.0-1nodesource1 1001
500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
20.12.2-1nodesource1 1001
500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
20.12.1-1nodesource1 1001
500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
20.12.0-1nodesource1 1001
500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
20.11.1-1nodesource1 1001
500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
20.11.0-1nodesource1 1001
500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
20.10.0-1nodesource1 1001
500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
20.9.0-1nodesource1 1001
500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
20.8.1-1nodesource1 1001
500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
20.8.0-1nodesource1 1001
500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
20.7.0-1nodesource1 1001
500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
20.6.1-1nodesource1 1001
500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
20.6.0-1nodesource1 1001
500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
20.5.1-1nodesource1 1001
500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
20.5.0-1nodesource1 1001
500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
20.4.0-1nodesource1 1001
500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
20.3.1-1nodesource1 1001
500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
20.3.0-1nodesource1 1001
500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
20.2.0-1nodesource1 1001
500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
20.1.0-1nodesource1 1001
500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
20.0.0-1nodesource1 1001
500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
10.19.0~dfsg-3ubuntu1.6 500
500 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages
500 http://archive.ubuntu.com/ubuntu focal-security/universe amd64 Packages
10.19.0~dfsg-3ubuntu1 500
500 http://archive.ubuntu.com/ubuntu focal/universe amd64 Packages
Temp directories causing deletion problem: 2
Some problems detected, please run iob fix
Errors in npm tree: 0
No problems detected
*** ioBroker-Installation ***
ioBroker Status
iobroker is not running on this host.
Objects type: jsonl
States type: jsonl
Hosts:
ioBroker ioBroker (version: 6.0.11, hostname: ioBroker , alive, uptime: 76)
Core adapters versions
js-controller: 6.0.11
admin: 7.1.5
javascript: 8.8.3
nodejs modules from github: 0
Adapter State
system.adapter.admin.0 : admin : ioBroker - enabled, port: 8081, bind: 0.0.0.0, run as: admin
system.adapter.alexa2.0 : alexa2 : ioBroker - enabled
system.adapter.deconz.0 : deconz : ioBroker - enabled, port: 80
system.adapter.discovery.0 : discovery : ioBroker - enabled
system.adapter.fb-checkpresence.0 : fb-checkpresence : ioBroker - disabled
system.adapter.history.0 : history : ioBroker - enabled
system.adapter.ical.0 : ical : ioBroker - enabled
system.adapter.info.0 : info : ioBroker - enabled
system.adapter.iot.0 : iot : ioBroker - enabled
system.adapter.jarvis.0 : jarvis : ioBroker - enabled
system.adapter.javascript.0 : javascript : ioBroker - enabled
system.adapter.mihome-vacuum.0 : mihome-vacuum : ioBroker - enabled, port: 54321
system.adapter.sonoff.0 : sonoff : ioBroker - disabled, port: 1883, bind: 0.0.0.0
system.adapter.spritmonitor.0 : spritmonitor : ioBroker - enabled
system.adapter.tankerkoenig.0 : tankerkoenig : ioBroker - enabled
system.adapter.telegram.0 : telegram : ioBroker - enabled, port: 8443, bind: 0.0.0.0
system.adapter.trashschedule.0 : trashschedule : ioBroker - enabled
system.adapter.web.0 : web : ioBroker - enabled, port: 8082, bind: 0.0.0.0, run as: admin
system.adapter.wled.0 : wled : ioBroker - enabled
system.adapter.yeelight-2.0 : yeelight-2 : ioBroker - enabled
+ instance is alive
Enabled adapters with bindings
system.adapter.admin.0 : admin : ioBroker - enabled, port: 8081, bind: 0.0.0.0, run as: admin
system.adapter.deconz.0 : deconz : ioBroker - enabled, port: 80
system.adapter.mihome-vacuum.0 : mihome-vacuum : ioBroker - enabled, port: 54321
system.adapter.telegram.0 : telegram : ioBroker - enabled, port: 8443, bind: 0.0.0.0
system.adapter.web.0 : web : ioBroker - enabled, port: 8082, bind: 0.0.0.0, run as: admin
ioBroker-Repositories
┌─────────┬──────────┬─────────────────────────────────────────────────────────┬──────────────┐
│ (index) │ name │ url │ auto upgrade │
├─────────┼──────────┼─────────────────────────────────────────────────────────┼──────────────┤
│ 0 │ 'stable' │ 'http://download.iobroker.net/sources-dist.json' │ false │
│ 1 │ 'beta' │ 'http://download.iobroker.net/sources-dist-latest.json' │ false │
└─────────┴──────────┴─────────────────────────────────────────────────────────┴──────────────┘
Active repo(s): stable
Upgrade policy: none
Installed ioBroker-Instances
Used repository: stable
Adapter "admin" : 7.1.5 , installed 7.1.5
Adapter "alexa2" : 3.26.5 , installed 3.26.5
Adapter "deconz" : 1.4.1 , installed 2.0.5
Adapter "discovery" : 5.0.0 , installed 5.0.0
Adapter "fb-checkpresence": 1.2.5 , installed 1.2.4 [Updatable]
Adapter "fritzdect" : 2.5.11 , installed 2.5.11
Adapter "history" : 3.0.1 , installed 3.0.1
Adapter "ical" : 1.15.0 , installed 1.15.0
Adapter "iot" : 3.3.0 , installed 3.3.0
Adapter "jarvis" : 3.1.8 , installed 3.1.8
Adapter "javascript" : 8.8.3 , installed 8.8.3
Controller "js-controller": 6.0.11 , installed 6.0.11
Adapter "mihome-vacuum": 4.2.0 , installed 4.2.0
Adapter "simple-api" : 2.8.0 , installed 2.8.0
Adapter "socketio" : 6.7.1 , installed 6.7.1
Adapter "sonoff" : 3.1.2 , installed 3.1.2
Adapter "tankerkoenig" : 3.4.0 , installed 3.4.0
Adapter "telegram" : 3.9.0 , installed 3.9.0
Adapter "trashschedule": 3.3.0 , installed 3.3.0
Adapter "web" : 6.2.5 , installed 6.2.5
Adapter "wled" : 0.7.2 , installed 0.7.2
Adapter "ws" : 2.6.2 , installed 2.6.2
Adapter "yeelight-2" : 1.4.0 , installed 1.4.0
Objects and States
Please stand by - This may take a while
Objects: 5443
States: 4330
*** OS-Repositories and Updates ***
Hit:1 http://archive.ubuntu.com/ubuntu focal InRelease
Hit:2 http://archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:3 http://archive.ubuntu.com/ubuntu focal-security InRelease
Hit:4 https://deb.nodesource.com/node_20.x nodistro InRelease
Reading package lists...
Pending Updates: 0
*** Listening Ports ***
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State User Inode PID/Program name
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 0 145815074 301/master
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 0 145808348 1/systemd
tcp 0 0 127.0.0.53:53 0.0.0.0:* LISTEN 106 145837324 9263/systemd-resolv
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 0 145814728 133/sshd: /usr/sbin
tcp6 0 0 ::1:25 :::* LISTEN 0 145815075 301/master
tcp6 0 0 :::111 :::* LISTEN 0 145808350 1/systemd
tcp6 0 0 :::22 :::* LISTEN 0 145814739 133/sshd: /usr/sbin
udp 0 0 127.0.0.53:53 0.0.0.0:* 106 145837323 9263/systemd-resolv
udp 0 0 0.0.0.0:111 0.0.0.0:* 0 145808349 1/systemd
udp6 0 0 :::111 :::* 0 145808351 1/systemd
*** Log File - Last 25 Lines ***
2024-11-10 16:07:35.028 - info: host.ioBroker instance system.adapter.wled.0 terminated with code 0 (NO_ERROR)
2024-11-10 16:07:35.028 - info: host.ioBroker instance system.adapter.spritmonitor.0 terminated with code 0 (NO_ERROR)
2024-11-10 16:07:35.107 - info: host.ioBroker instance system.adapter.yeelight-2.0 terminated with code 0 (NO_ERROR)
2024-11-10 16:07:35.107 - error: host.ioBroker Caught by controller[0]: /bin/sh: 1: hcitool: not found
2024-11-10 16:07:35.107 - info: host.ioBroker instance system.adapter.info.0 terminated with code 0 (NO_ERROR)
2024-11-10 16:07:35.108 - info: host.ioBroker instance system.adapter.jarvis.0 terminated with code 0 (NO_ERROR)
2024-11-10 16:07:35.108 - info: host.ioBroker stopInstance timeout system.adapter.telegram.0 killing pid 17273
2024-11-10 16:07:35.112 - info: host.ioBroker stopInstance timeout system.adapter.web.0 killing pid 17549
2024-11-10 16:07:35.137 - error: host.ioBroker Caught by controller[0]: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason:
2024-11-10 16:07:35.137 - error: host.ioBroker Caught by controller[0]: Error: Model yeelink.light.color2 is not supported
2024-11-10 16:07:35.137 - error: host.ioBroker Caught by controller[0]: at Object.createDevice [as device] (/opt/iobroker/node_modules/@iobroker-javascript.0/node-mihome/lib/device.js:8:11)
2024-11-10 16:07:35.137 - error: host.ioBroker Caught by controller[0]: at CreateDevices (script.js.Sonstiges.AllMyMi:936:36)
2024-11-10 16:07:35.137 - error: host.ioBroker Caught by controller[0]: at runNextTicks (node:internal/process/task_queues:60:5)
2024-11-10 16:07:35.137 - error: host.ioBroker Caught by controller[0]: at listOnTimeout (node:internal/timers:538:9)
2024-11-10 16:07:35.137 - error: host.ioBroker Caught by controller[0]: at processTimers (node:internal/timers:512:7)
2024-11-10 16:07:35.137 - error: host.ioBroker Caught by controller[0]: at main (script.js.Sonstiges.AllMyMi:868:5)
2024-11-10 16:07:35.137 - info: host.ioBroker instance system.adapter.javascript.0 terminated with code 0 (NO_ERROR)
2024-11-10 16:07:35.137 - info: host.ioBroker All instances are stopped.
2024-11-10 16:07:35.178 - warn: host.ioBroker instance system.adapter.telegram.0 terminated due to SIGKILL
2024-11-10 16:07:35.178 - info: host.ioBroker instance system.adapter.telegram.0 terminated with code null ()
2024-11-10 16:07:35.178 - info: host.ioBroker All instances are stopped.
2024-11-10 16:07:35.178 - warn: host.ioBroker instance system.adapter.web.0 terminated due to SIGKILL
2024-11-10 16:07:35.178 - info: host.ioBroker instance system.adapter.web.0 terminated with code null ()
2024-11-10 16:07:35.178 - info: host.ioBroker All instances are stopped.
2024-11-10 16:07:35.373 - info: host.ioBroker terminated
============ Mark until here for C&P =============
@thomas-braun Update auf nodejs läuft. Hatte zwischendurch gesehen, dass angeblich zu wenig Speicher frei war... Noch 600MB oder so. Hab dann per Proxmoxx von 10 GB auf 30 GB erhöht.
======================= SUMMARY =======================
v.2024-10-19
Static hostname: ioBroker
Icon name: computer-container
Chassis: container
Virtualization: lxc
Operating System: Ubuntu 20.04.6 LTS
Kernel: Linux 5.4.55-1-pve
Architecture: x86-64
Installation: lxc
Kernel: x86_64
Userland: 64 bit
oTimezone: Europe/Berlin (CET, +0100)
User-ID: 1000
Display-Server: false
Boot Target: graphical.target
Pending OS-Updates: 0
Pending iob updates: 1
Nodejs-Installation:
/usr/bin/nodejs v18.20.4
/usr/bin/node v18.20.4
/usr/bin/npm 10.7.0
/usr/bin/npx 10.7.0
/usr/bin/corepack 0.28.0
Recommended versions are nodejs 20.18.0 and npm 10.8.2
nodeJS installation is correct
MEMORY:
total used free shared buff/cache available
Mem: 4.1G 1.6G 1.4G 0.0K 1.1G 2.5G
Swap: 512M 0B 512M
Total: 4.6G 1.6G 1.9G
Active iob-Instances: 18
Upgrade policy: none
ioBroker Core: js-controller 6.0.11
admin 7.1.5
ioBroker Status: iobroker is running on this host.
Objects type: jsonl
States type: jsonl
Status admin and web instance:
+ system.adapter.admin.0 : admin : ioBroker - enabled, port: 8081, bind: 0.0.0.0, run as: admin
+ system.adapter.web.0 : web : ioBroker - enabled, port: 8082, bind: 0.0.0.0, run as: admin
Objects: 5443
States: 4491
Size of iob-Database:
40M /opt/iobroker/iobroker-data/objects.jsonl
6.9M /opt/iobroker/iobroker-data/objects.json.migrated
6.9M /opt/iobroker/iobroker-data/objects.json.bak.migrated
5.7M /opt/iobroker/iobroker-data/states.jsonl
640K /opt/iobroker/iobroker-data/states.json.migrated
640K /opt/iobroker/iobroker-data/states.json.bak.migrated
**********************************************************************
Some problems detected, please run iob fix and try to have them fixed
**********************************************************************
Operating System codenamed 'focal' is an aging Ubuntu release! Please upgrade to the latest LTS release 'noble' in due time!
=================== END OF SUMMARY ====================
=== Mark text until here for copying ===
@thomas-braun
Funktioniert trotzdem nicht
This upgrade of "fb-checkpresence" will introduce the following changes:
==========================================================================
-> 1.2.5:
new filter function implemented (experimental)
node >=18
dependencies updated
repository checker issues fixed
issue fixed [#294](https://github.com/afuerhoff/ioBroker.fb-checkpresence/issues/294)
'devicename' as state added [#299](https://github.com/afuerhoff/ioBroker.fb-checkpresence/issues/299)
==========================================================================
Would you like to upgrade fb-checkpresence from @1.2.4 to @1.2.5 now? [(y)es, (n)o]: y
Update fb-checkpresence from @1.2.4 to @1.2.5
NPM version: 10.2.4
Installing iobroker.fb-checkpresence@1.2.5... (System call)
Try to solve ENOTEMPTY error automatically
host.ioBroker deleted npm temp directory: ".iobroker.javascript-5NZ432mn")
Installing iobroker.fb-checkpresence@1.2.5... (System call)
npm ERR! code ENOTEMPTY
npm ERR! syscall rename
npm ERR! path /opt/iobroker/node_modules/@types/node
npm ERR! dest /opt/iobroker/node_modules/@types/.node-Bd1x5fmz
npm ERR! errno -39
npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/@types/node' -> '/opt/iobroker/node_modules/@types/.node-Bd1x5fmz'
npm ERR! A complete log of this run can be found in: /home/iobroker/.npm/_logs/2024-11-10T14_54_26_247Z-debug-0.log
host.ioBroker Cannot install iobroker.fb-checkpresence@1.2.5: 217
Hi zusammen,
ich versuche seit einiger Zeit meinen fbpresence Adapter zu uppen. Bekomme aber ständige folgende Fehlermeldung und versteh sie nicht.
$ iobroker upgrade fb-checkpresence@1.2.5
Update fb-checkpresence from @1.2.4 to @1.2.5
host.ioBroker Adapter "system.adapter.fb-checkpresence.0" is stopped.
NPM version: 10.2.4Installing iobroker.fb-checkpresence@1.2.5... (System call)
Try to solve ENOTEMPTY error automatically
Could not handle ENOTEMPTY, because no deletable files were foundnpm ERR! code ENOTEMPTYnpm ERR! syscall renamenpm ERR! path /opt/iobroker/node_modules/@types/nodenpm ERR! dest /opt/iobroker/node_modules/@types/.node-Bd1x5fmznpm ERR! errno -39npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/@types/node' -> '/opt/iobroker/node_modules/@types/.node-Bd1x5fmz'npm ERR! A complete log of this run can be found in: /home/iobroker/.npm/_logs/2024-11-10T14_35_37_794Z-debug-0.loghost.ioBroker Cannot install iobroker.fb-checkpresence@1.2.5: 217
ERROR: Process exited with code 25
/* System Tageszeiten
Skript meldet Tageszeiten
Nacht;Frühmorgens;Morgengrauen;Vormittag;Mittag;Nachmittag;Dämmerung;Abend;
Basis: http://www.homematic-inside.de/tecbase/homematic/scriptlibrary/item/tageszeit-in-abschnitte-unterteilen
oder hier: https://github.com/ioBroker/ioBroker.javascript#astro--funktion
https://github.com/iobroker/ioBroker.javascript/blob/master/README.md#getastrodate
erstellt: 01.06.2015 von Pix
18.02.2018 Sonnenaufgang und Sonnenuntergang wird nur noch neu geschrieben
wenn die bereits gesetzte Zeit sich von der neuen Unterscheidet
11.12.2015 getAstroDate ermittelt nun auch Sonnenaufgang und Untergang
Astrotag (isAstroDay) eingebaut
*/
/*Variablen erstellen*/
createState('0_userdata.0.Allgemein.Astro.Tageszeit', {
name: 'Tageszeit'
});
createState('0_userdata.0.Allgemein.Astro.Tageszeit.Sonnenaufgang', {
name: 'nächster Sonnenaufgang Uhrzeit',
desc: 'sunrise (top edge of the sun appears on the horizon)'
});
createState('0_userdata.0.Allgemein.Astro.Tageszeit.Sonnenuntergang', {
name: 'nächster Sonnenuntergang Uhrzeit',
desc: 'sunset (sun disappears below the horizon, evening civil twilight starts)'
});
createState('0_userdata.0.Allgemein.Astro.Tageszeit.Astrotag', false, {
read: true,
write: true,
type: 'boolean',
name: 'Astologischer Tag',
desc: 'Zeit zwischen Sonnenauf- und untergang'
});
let idTageszeit = "0_userdata.0.Allgemein.Astro.Tageszeit",
tageszeiten = ['Nacht',
'Morgendämmerung',
'Morgen',
'Vormittag',
'Mittag',
'Nachmittag',
'Abenddämmerung',
'Abend'],
idAstrotag = "0_userdata.0.Allgemein.Astro.Tageszeit.Astrotag",
idSonnenaufgang = "0_userdata.0.Allgemein.Astro.Tageszeit.Sonnenaufgang",
idSonnenuntergang = "0_userdata.0.Allgemein.Astro.Tageszeit.Sonnenuntergang";
function zeiten_speichern () {
let astrotag = getState(idAstrotag).val,
sonnenaufgang,
sonnenuntergang;
let today = new Date();
let tomorrow = today.setDate(today.getDate()+1);
if (astrotag) { // Wenn Tag (Aufgang vorbei (erst wieder morgen, Untergang kommt noch heute)
sonnenuntergang = getAstroDate('sunset', today),
sonnenaufgang = getAstroDate('sunrise', tomorrow);
} else { // nach Nacht (Untergang vorbei (erst wieder morgen, Aufgang kommt heute oder morgen)
sonnenuntergang = getAstroDate('sunset', tomorrow);
sonnenaufgang = (today.getHours() > 12 && today.getHours() <= 23) ? getAstroDate('sunrise', tomorrow) : getAstroDate('sunrise', today); // es ist vor Mitternacht (bzw. vor 23:XXUhr), dann morgen, sonst heute
}
if(getState(idSonnenaufgang).val != sonnenaufgang){
setState(idSonnenaufgang, sonnenaufgang.toLocaleTimeString('de-DE', { hour12: false }));
}
if(getState(idSonnenuntergang).val != sonnenuntergang){
setState(idSonnenuntergang, sonnenuntergang.toLocaleTimeString('de-DE', { hour12: false }));
}
}
function neue_tageszeit(abschnitt) {
setState(idTageszeit, tageszeiten[parseInt(abschnitt, 10)]);
log('neue Tagezeit: ' + tageszeiten[parseInt(abschnitt, 10)], 'info');
zeiten_speichern();
}
// Nacht
schedule({astro: "night", shift: 120}, function () { neue_tageszeit(0) });
// Morgengdämmerung
schedule({astro: "nightEnd"}, function () { neue_tageszeit(1) });
// Morgen
schedule({astro: "sunrise"}, function () { neue_tageszeit(2) });
// Vormittag (beginnt 120min vor Sonnenhöchststand)
schedule({astro: "solarNoon", shift: -120}, function () { neue_tageszeit(3) });
// Mittag
schedule({astro: "solarNoon"}, function () { neue_tageszeit(4) });
// Nachmittag
schedule({astro: "solarNoon", shift: 60}, function () { neue_tageszeit(5) });
// Abenddämmerung (nach Sonnenuntergang)
schedule({astro: "dusk"}, function () { neue_tageszeit(6) });
// Abend
schedule({astro: "night"}, function () { neue_tageszeit(7) });
// Astrotag checken
schedule("*/1 * * * *", function () {
if (isAstroDay) setState(idAstrotag, true);
if (!isAstroDay) setState(idAstrotag, false);
zeiten_speichern();
});
Jetzt meldet das Script aber plötzlich, dass "new Date" da das Date nicht existiert.
Unten im Script steht auch "setState(idTageszeit, tageszeiten[parseInt(abschnitt, 10)]);" und dort wird jetzt parseInt als Fehler angezeigt.
@thomas-braun Das verstehe ich nicht... Aber ich benutzte bis dato auch nie die Astrofunktion vom Javascript Adapter, soweit ich weiß. Hab damals von jemandem ein Script bekommen und das erstellt unter 0_userdata eigene Datenpunkte für Astro.
@thomas-braun Aber ich habe an dem Astroscript , dass ich seit ewigen Zeiten nicht geändert habe, nichts geändert...
Es funktionierte ja vorher mit der anderen Javascript Version auch.
@thomas-braun Habe ich anschließend auch kapiert und oben editiert.