Cannot read properties of undefined (reading 'includes')
ABU1201 opened this issue · comments
Seit einigen Tagen bricht mein Backup des iobroker mit folgendem Kommentar ab:
[DEBUG] [iobroker] - Cannot create backup: Cannot read properties of undefined (reading 'includes')
[ERROR] [clean] - Backup files not deleted from /opt/iobroker/backups because some errors.
iobroker Version: 5.0.12
node version v18.17.1
Backup Adapter Version 2.8.7
Das Problem besteht seit dem Update auf den JS Conroller 5.0.12
Danke
Abu
Führe mal bitte folgendes aus:
iob stop
iob fix
sudo reboot
Sollte das nicht helfen, poste hier bitte die Ausgabe von iob diag
Hat leider nichts verändert. Hier mal das iob diag log:
Vielen Dank
======== Start marking the full check here =========
Skript v.2023-10-10
*** BASE SYSTEM ***
Static hostname: raspberrypi
Icon name: computer
Operating System: Raspbian GNU/Linux 10 (buster)
Kernel: Linux 5.10.103-v7l+
Architecture: arm
Model : Raspberry Pi 4 Model B Rev 1.4
Docker : false
Virtualization : none
Kernel : armv7l
Userland : armhf
Systemuptime and Load:
19:43:30 up 32 min, 1 user, load average: 4.67, 3.11, 2.07
CPU threads: 4
*** RASPBERRY THROTTLING ***
Current issues:
No throttling issues detected.
Previously detected issues:
No throttling issues detected.
*** Time and Time Zones ***
Local time: Sat 2023-11-04 19:43:30 CET
Universal time: Sat 2023-11-04 18:43:30 UTC
RTC time: n/a
Time zone: Europe/Berlin (CET, +0100)
System clock synchronized: yes
NTP service: active
RTC in local TZ: no
*** User and Groups ***
pi
/home/pi
pi adm dialout cdrom sudo audio video plugdev games users input netdev gpio i2c spi iobroker myftp
*** X-Server-Setup ***
X-Server: false
Desktop:
Terminal: tty
Boot Target: multi-user.target
*** MEMORY ***
total used free shared buff/cache available
Mem: 3.9G 1.8G 547M 10M 1.5G 1.9G
Swap: 99M 9.0M 90M
Total: 4.0G 1.8G 637M
3888 M total memory
1793 M used memory
412 M active memory
2777 M inactive memory
547 M free memory
132 M buffer memory
1414 M swap cache
99 M total swap
9 M used swap
90 M free swap
Raspberry only:
oom events: 0
lifetime oom required: 0 Mbytes
total time in oom handler: 0 ms
max time spent in oom handler: 0 ms
*** FAILED SERVICES ***
UNIT LOAD ACTIVE SUB DESCRIPTION
* rc-local.service loaded failed failed /etc/rc.local Compatibility
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.
1 loaded units listed. Pass --all to see loaded but inactive units, too.
To show all installed unit files use 'systemctl list-unit-files'.
*** FILESYSTEM ***
Filesystem Type Size Used Avail Use% Mounted on
/dev/root ext4 29G 10G 18G 37% /
devtmpfs devtmpfs 1.8G 0 1.8G 0% /dev
tmpfs tmpfs 1.9G 4.5M 1.9G 1% /dev/shm
tmpfs tmpfs 1.9G 8.5M 1.9G 1% /run
tmpfs tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs tmpfs 1.9G 0 1.9G 0% /sys/fs/cgroup
/dev/sda1 vfat 247M 49M 198M 20% /boot
//192.168.0.254/fritz.box/Volume1 cifs 1.9T 947G 917G 51% /home/pi/fritz_hdd
tmpfs tmpfs 389M 0 389M 0% /run/user/1000
Messages concerning ext4 filesystem in dmesg:
[Sat Nov 4 19:11:21 2023] Kernel command line: coherent_pool=1M 8250.nr_uarts=0 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 smsc95xx.macaddr=E4:5F:01:75:2F:8D vc_mem.mem_base=0x3f000000 vc_mem.mem_size=0x3f600000 console=ttyS0,115200 console=tty1 root=PARTUUID=3f2052c5-02 rootfstype=ext4 fsck.repair=yes rootwait
[Sat Nov 4 19:11:24 2023] EXT4-fs (sda2): mounted filesystem with ordered data mode. Opts: (null)
[Sat Nov 4 19:11:24 2023] VFS: Mounted root (ext4 filesystem) readonly on device 8:2.
[Sat Nov 4 19:11:27 2023] EXT4-fs (sda2): re-mounted. Opts: (null)
Show mounted filesystems \(real ones only\):
TARGET SOURCE FSTYPE OPTIONS
/ /dev/sda2 ext4 rw,noatime
|-/sys/fs/bpf none bpf rw,nosuid,nodev,noexec,relatime,mode=700
|-/boot /dev/sda1 vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro
`-/home/pi/fritz_hdd //192.168.0.254/fritz.box/Volume1 cifs rw,relatime,vers=1.0,cache=strict,username=admin,uid=1000,forceuid,gid=1000,forcegid,addr=192.168.0.254,file_mode=0755,dir_mode=0755,soft,nounix,serverino,mapposix,rsize=61440,wsize=65536,bsize=1048576,echo_interval=60,actimeo=1
Files in neuralgic directories:
/var:
754M /var/
281M /var/lib
271M /var/log
178M /var/lib/mysql
175M /var/log/lighttpd
Archived and active journals take up 8.0M in the file system.
/opt/iobroker/backups:
424M /opt/iobroker/backups/
4.0K /opt/iobroker/backups/redistmp
/opt/iobroker/iobroker-data:
592M /opt/iobroker/iobroker-data/
257M /opt/iobroker/iobroker-data/backup-objects
244M /opt/iobroker/iobroker-data/files
52M /opt/iobroker/iobroker-data/files/javascript.admin
48M /opt/iobroker/iobroker-data/files/telegram.admin
The five largest files in iobroker-data are:
51M /opt/iobroker/iobroker-data/objects.jsonl
35M /opt/iobroker/iobroker-data/files/devices.admin/static/js/main.24f2bb56.js.map
19M /opt/iobroker/iobroker-data/files/iot.admin/static/js/main.2975a411.js.map
15M /opt/iobroker/iobroker-data/files/telegram.admin/rules/static/js/vendors-node_modules_iobroker_adapter-react-v5_assets_devices_parseNames_d_ts-node_modules_io-1d9f06.44fe4a3f.chunk.js.map
14M /opt/iobroker/iobroker-data/objects.json.migrated
USB-Devices by-id:
USB-Sticks - Avoid direct links to /dev/* in your adapter setups, please always prefer the links 'by-id':
/dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2492881-if00
*** 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 buster/main armhf Packages
100 /var/lib/dpkg/status
10.24.0~dfsg-1~deb10u3 500
500 http://raspbian.raspberrypi.org/raspbian buster/main armhf 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.12
admin: 6.12.0
javascript: 7.1.4
Adapters from github: 1
Adapter State
+ system.adapter.admin.0 : admin : raspberrypi - enabled, port: 8081, bind: 0.0.0.0, run as: admin
+ system.adapter.alexa2.0 : alexa2 : raspberrypi - enabled
+ system.adapter.backitup.0 : backitup : raspberrypi - enabled
system.adapter.devices.0 : devices : raspberrypi - disabled
system.adapter.discovery.0 : discovery : raspberrypi - disabled
+ system.adapter.fb-checkpresence.0 : fb-checkpresence : raspberrypi - enabled
system.adapter.feiertage.0 : feiertage : raspberrypi - enabled
+ system.adapter.fritzdect.0 : fritzdect : raspberrypi - enabled
+ system.adapter.govee-local.0 : govee-local : raspberrypi - enabled
+ system.adapter.govee.0 : govee : raspberrypi - enabled
+ system.adapter.govee.1 : govee : raspberrypi - enabled
+ system.adapter.hs100.0 : hs100 : raspberrypi - enabled
system.adapter.icons-mfd-svg.0 : icons-mfd-svg : raspberrypi - enabled
+ system.adapter.iot.0 : iot : raspberrypi - enabled
+ system.adapter.javascript.0 : javascript : raspberrypi - enabled
+ system.adapter.logparser.0 : logparser : raspberrypi - enabled
+ system.adapter.nuki-extended.0 : nuki-extended : raspberrypi - enabled
+ system.adapter.nuki.0 : nuki : raspberrypi - enabled
+ system.adapter.parser.0 : parser : raspberrypi - enabled
+ system.adapter.pi-hole.0 : pi-hole : raspberrypi - enabled
+ system.adapter.ping.0 : ping : raspberrypi - enabled
system.adapter.schoolfree.0 : schoolfree : raspberrypi - enabled
+ system.adapter.shelly.0 : shelly : raspberrypi - enabled, port: 1882, bind: 0.0.0.0
system.adapter.sonos.0 : sonos : raspberrypi - disabled
+ system.adapter.sql.0 : sql : raspberrypi - enabled, port: 3306
+ system.adapter.statistics.0 : statistics : raspberrypi - enabled
+ system.adapter.tankerkoenig.0 : tankerkoenig : raspberrypi - enabled
+ system.adapter.telegram.0 : telegram : raspberrypi - enabled, port: 8443, bind: 0.0.0.0
+ system.adapter.tr-064.0 : tr-064 : raspberrypi - enabled
+ system.adapter.tuya.1 : tuya : raspberrypi - enabled
system.adapter.vis-hqwidgets.0 : vis-hqwidgets : raspberrypi - enabled
system.adapter.vis-jqui-mfd.0 : vis-jqui-mfd : raspberrypi - enabled
system.adapter.vis-material-advanced.0 : vis-material-advanced : raspberrypi - enabled
system.adapter.vis.0 : vis : raspberrypi - enabled
system.adapter.vw-connect.0 : vw-connect : raspberrypi - disabled
system.adapter.weatherunderground.0 : weatherunderground : raspberrypi - enabled
+ system.adapter.web.0 : web : raspberrypi - enabled, port: 8082, bind: 0.0.0.0, run as: admin
system.adapter.whatsapp-cmb.0 : whatsapp-cmb : raspberrypi - disabled
+ system.adapter.wifilight.0 : wifilight : raspberrypi - enabled
+ system.adapter.zigbee.0 : zigbee : raspberrypi - enabled, port: /dev/ttyACM0
+ instance is alive
Enabled adapters with bindings
+ system.adapter.admin.0 : admin : raspberrypi - enabled, port: 8081, bind: 0.0.0.0, run as: admin
+ system.adapter.shelly.0 : shelly : raspberrypi - enabled, port: 1882, bind: 0.0.0.0
+ system.adapter.sql.0 : sql : raspberrypi - enabled, port: 3306
+ system.adapter.telegram.0 : telegram : raspberrypi - enabled, port: 8443, bind: 0.0.0.0
+ system.adapter.web.0 : web : raspberrypi - enabled, port: 8082, bind: 0.0.0.0, run as: admin
+ system.adapter.zigbee.0 : zigbee : raspberrypi - enabled, port: /dev/ttyACM0
ioBroker-Repositories
stable : http://download.iobroker.net/sources-dist.json
beta : http://download.iobroker.net/sources-dist-latest.json
Active repo(s): stable
Installed ioBroker-Instances
Used repository: stable
Adapter "admin" : 6.12.0 , installed 6.12.0
Adapter "alexa2" : 3.25.5 , installed 3.25.2 [Updatable]
Adapter "backitup" : 2.8.7 , installed 2.8.7
Adapter "deconz" : 1.3.21 , installed 1.3.21
Adapter "devices" : 1.1.5 , installed 1.1.5
Adapter "discovery" : 3.1.0 , installed 3.1.0
Adapter "fb-checkpresence": 1.2.2 , installed 1.2.2
Adapter "feiertage" : 1.1.4 , installed 1.1.4
Adapter "fritzdect" : 2.3.1 , installed 2.3.1
Adapter "govee-local" : 0.1.2 , installed 0.1.2
Adapter "hs100" : 2.2.0 , installed 2.2.0
Adapter "icons-mfd-svg": 1.1.0 , installed 1.1.0
Adapter "iot" : 1.14.5 , installed 1.14.5
Adapter "javascript" : 7.1.4 , installed 7.1.4
Controller "js-controller": 5.0.12 , installed 5.0.12
Adapter "logparser" : 2.2.0 , installed 2.2.0
Adapter "net-tools" : 0.2.0 , installed 0.2.0
Adapter "nuki" : 1.6.0 , installed 1.6.0
Adapter "nuki-extended": 2.6.5 , installed 2.6.5
Adapter "parser" : 1.3.2 , installed 1.3.2
Adapter "pi-hole" : 1.3.6 , installed 1.3.6
Adapter "ping" : 1.6.2 , installed 1.6.2
Adapter "schoolfree" : 1.1.2 , installed 1.1.2
Adapter "shelly" : 6.4.5 , installed 6.4.5
Adapter "simple-api" : 2.7.2 , installed 2.7.2
Adapter "socketio" : 6.5.5 , installed 6.5.5
Adapter "sonos" : 2.3.1 , installed 2.3.1
Adapter "sql" : 2.2.0 , installed 2.2.0
Adapter "statistics" : 2.3.0 , installed 2.3.0
Adapter "systeminfo" : 1.1.0 , installed 1.1.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 "tuya" : 3.14.2 , installed 3.14.2
Adapter "vis" : 1.4.16 , installed 1.4.16
Adapter "vis-hqwidgets": 1.4.0 , installed 1.4.0
Adapter "vis-jqui-mfd" : 1.0.12 , installed 1.0.12
Adapter "vis-material-advanced": 1.7.4, installed 1.7.4
Adapter "vw-connect" : 0.0.67 , installed 0.0.67
Adapter "weatherunderground": 3.6.0, installed 3.6.0
Adapter "web" : 6.1.2 , installed 6.1.2
Adapter "whatsapp-cmb" : 0.2.3 , installed 0.2.3
Adapter "wifilight" : 1.1.4 , installed 1.1.4
Adapter "ws" : 2.5.5 , installed 2.5.5
Adapter "zigbee" : 1.8.23 , installed 1.8.23
Objects and States
Please stand by - This may take a while
Objects: 21988
States: 18714
*** OS-Repositories and Updates ***
Hit:1 http://archive.raspberrypi.org/debian buster InRelease
Hit:2 http://raspbian.raspberrypi.org/raspbian buster InRelease
Hit:3 https://phoscon.de/apt/deconz buster InRelease
Get:4 https://deb.nodesource.com/node_18.x buster InRelease [4584 B]
Fetched 4584 B in 1s (3433 B/s)
Reading package lists...
Pending Updates: 61
*** Listening Ports ***
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State User Inode PID/Program name
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 0 18059 692/lighttpd
tcp 0 0 0.0.0.0:53 0.0.0.0:* LISTEN 999 19732 581/pihole-FTL
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 0 18772 597/sshd
tcp 0 0 192.168.0.11:9092 0.0.0.0:* LISTEN 1001 67798 5399/io.nuki.0
tcp 0 0 127.0.0.1:4711 0.0.0.0:* LISTEN 999 19738 581/pihole-FTL
tcp 0 0 127.0.0.1:9000 0.0.0.0:* LISTEN 1001 60756 5052/iobroker.js-co
tcp 0 0 127.0.0.1:9001 0.0.0.0:* LISTEN 1001 60285 5052/iobroker.js-co
tcp6 0 0 :::80 :::* LISTEN 0 18060 692/lighttpd
tcp6 0 0 :::8081 :::* LISTEN 1001 63555 5077/io.admin.0
tcp6 0 0 :::8082 :::* LISTEN 1001 66113 5467/io.web.0
tcp6 0 0 :::51989 :::* LISTEN 1001 64925 5282/io.nuki-extend
tcp6 0 0 :::53 :::* LISTEN 999 19734 581/pihole-FTL
tcp6 0 0 :::21 :::* LISTEN 109 19630 733/proftpd: (accep
tcp6 0 0 :::22 :::* LISTEN 0 18782 597/sshd
tcp6 0 0 ::1:4711 :::* LISTEN 999 19739 581/pihole-FTL
tcp6 0 0 :::3306 :::* LISTEN 111 19635 677/mysqld
udp 0 0 0.0.0.0:4002 0.0.0.0:* 1001 69259 5566/io.govee-local
udp 0 0 0.0.0.0:6666 0.0.0.0:* 1001 64816 5174/io.tuya.1
udp 0 0 0.0.0.0:6667 0.0.0.0:* 1001 64817 5174/io.tuya.1
udp 0 0 0.0.0.0:5683 0.0.0.0:* 1001 66594 5236/io.shelly.0
udp 0 0 0.0.0.0:53 0.0.0.0:* 999 19731 581/pihole-FTL
udp 0 0 0.0.0.0:68 0.0.0.0:* 0 14737 546/dhcpcd
udp 0 0 0.0.0.0:49823 0.0.0.0:* 108 16877 352/avahi-daemon: r
udp 0 0 0.0.0.0:5353 0.0.0.0:* 108 16875 352/avahi-daemon: r
udp 0 0 0.0.0.0:39214 0.0.0.0:* 1001 66265 5566/io.govee-local
udp6 0 0 :::43522 :::* 108 16878 352/avahi-daemon: r
udp6 0 0 :::53 :::* 999 19733 581/pihole-FTL
udp6 0 0 :::5353 :::* 108 16876 352/avahi-daemon: r
*** Log File - Last 25 Lines ***
2023-11-04 19:43:21.127 - info: tuya.1 (5174) 3367036770039f6157ed Init with IP=192.168.0.58, Key=40bfb8bf50591bce, Version=3.3
2023-11-04 19:43:29.256 - info: tuya.1 (5174) bf8a3495f0f8132ab0iici: Error on Reconnect (3): connect EHOSTUNREACH 192.168.0.89:6668
2023-11-04 19:43:33.335 - info: tuya.1 (5174) bf0625cfc1f8209554u2yj: Error on Reconnect (7): connect EHOSTUNREACH 192.168.0.112:6668
2023-11-04 19:43:38.775 - info: tuya.1 (5174) bf46f2de3a5bd64e15hp6j: Error on Reconnect (3): connect EHOSTUNREACH 192.168.0.68:6668
2023-11-04 19:43:46.354 - info: javascript.0 (5113) script.js.Luftfeuchtealarm_V3: Luftfeuchte Messung Intervall läuft.
2023-11-04 19:43:46.355 - info: javascript.0 (5113) script.js.Luftfeuchtealarm_V3: Luftfeuchtealarm: true2023-11-04 19:43:46.356 - info: javascript.0 (5113) script.js.Luftfeuchtealarm_V3: Alarmschleife gestartet
2023-11-04 19:43:53.152 - info: javascript.0 (5113) script.js.Heizungsteuerung_V2: Startroutine Anfrage Temperatur verworfen, Timeout.
2023-11-04 19:43:54.536 - info: tuya.1 (5174) bffbaa1123d5ecbfacal9h: Error on Reconnect (5): connect EHOSTUNREACH 192.168.0.158:6668
2023-11-04 19:44:02.055 - info: tuya.1 (5174) 08400284d8f15bcb260d: Error on Reconnect (7): connect EHOSTUNREACH 192.168.0.84:6668
2023-11-04 19:44:02.615 - info: tuya.1 (5174) 05200763dc4f2223d9be: Error on Reconnect (5): connect EHOSTUNREACH 192.168.0.174:6668
2023-11-04 19:44:07.657 - info: fb-checkpresence.0 (5314) createFbDeviceObjects finished successfully
2023-11-04 19:44:07.660 - info: fb-checkpresence.0 (5314) states successfully subscribed
2023-11-04 19:44:07.661 - info: fb-checkpresence.0 (5314) loop successfully started
2023-11-04 19:44:12.382 - info: tuya.1 (5174) bf8a3495f0f8132ab0iici: Error on Reconnect (5): connect EHOSTUNREACH 192.168.0.89:6668
2023-11-04 19:44:21.895 - info: tuya.1 (5174) bf46f2de3a5bd64e15hp6j: Error on Reconnect (5): connect EHOSTUNREACH 192.168.0.68:6668
2023-11-04 19:44:46.354 - info: javascript.0 (5113) script.js.Luftfeuchtealarm_V3: Luftfeuchte Messung Intervall läuft.
2023-11-04 19:44:46.356 - info: javascript.0 (5113) script.js.Luftfeuchtealarm_V3: Luftfeuchtealarm: true
2023-11-04 19:44:46.356 - info: javascript.0 (5113) script.js.Luftfeuchtealarm_V3: Alarmschleife gestartet
2023-11-04 19:44:53.515 - info: javascript.0 (5113) script.js.Heizungsteuerung_V2: Startroutine Anfrage Temperatur verworfen, Timeout.
2023-11-04 19:44:57.655 - info: tuya.1 (5174) bffbaa1123d5ecbfacal9h: Error on Reconnect (7): connect EHOSTUNREACH 192.168.0.158:6668
2023-11-04 19:45:00.028 - info: javascript.0 (5113) script.js.Treppen_LED_Check: LED Check ausgeführt Treppenlicht Ende:23:59
2023-11-04 19:45:00.061 - info: javascript.0 (5113) script.js.Auto_switch_off_V2: Personen Status:
2023-11-04 19:45:00.062 - info: javascript.0 (5113) script.js.Auto_switch_off_V2: Auslöser Crownjob
2023-11-04 19:45:05.735 - info: tuya.1 (5174) 05200763dc4f2223d9be: Error on Reconnect (7): connect
============ Mark until here for C&P =============
iob diag has finished.
Bringe mal bitte dein System auf aktuellen Stand und teste mal bitte, ob du über die CLI den gleichen Fehler bekommst
iob backup
Was ist denn nicht aktuell?
Über iob backup habe ich den selben Fehler.
Wenn du über die CLI ebenfalls den Fehler bekommst, ist an deinem System was krum...
Backitup ist dann als Fehlerquelle auszuschließen.
Öffne mal im Forum dazu ein Thread. Dort gibt es viele User, die dir Hilfe geben können.