Describe the bug
The iobroker backup fails with an error message since updating to NodeJS 24.20.0 and iobroker.backitup 4.0.3
To Reproduce
Steps to reproduce the behavior:
- start a backup
- wait
Expected behavior
obtain a backup of ioBroker base settings
Screenshots & Logfiles
If applicable, add screenshots and logfiles to help explain your problem.
backup.0 2026-09-11 20:20:31.088 error [iobroker/clean] Backup files not deleted from /opt/iobroker/backups because some errors.
backitup.0 2026-09-11 20:20:16.259 error [iobroker/ftp] File "/opt/iobroker/backups/iobroker_2026_09_11-20_20_04_backupiobroker.tar.gz" not found
backitup.0 2026-09-11 20:20:07.846 error [iobroker/iobroker] host.raspberrypi Backup not created: The "objects.jsonl" file is corrupted: Unterminated string in JSON at position 32144 (line 1 column 32145)
backitup.0 2026-09-11 20:18:49.859 error [iobroker/clean] Backup files not deleted from /opt/iobroker/backups because some errors.
backitup.0 2026-09-11 20:18:40.632 error [iobroker/ftp] File "/opt/iobroker/backups/iobroker_2026_09_11-20_18_28_backupiobroker.tar.gz" not found
backitup.0 2026-09-11 20:18:31.684 error [iobroker/iobroker] host.raspberrypi Backup not created: The "objects.jsonl" file is corrupted: Unterminated string in JSON at position 32144 (line 1 column 32145)
Note - there is no respective file - the iobroker is using redis for objects and stateside:
stormy@stormbroker:/opt/iobroker/iobroker-data $ ls -al
total 84
drwxrwxr-x+ 15 iobroker iobroker 4096 Sep 11 20:19 .
drwxrwxr-x+ 6 iobroker iobroker 4096 Sep 11 19:35 ..
drwxrwxr-x+ 2 iobroker iobroker 4096 Jan 25 2025 backitup
drwxrwxr-x+ 2 iobroker iobroker 4096 Jan 25 2025 backup-objects
drwxrwxr-x+ 4 iobroker iobroker 4096 Jan 25 2025 files
drwxrwxr-x+ 2 iobroker iobroker 4096 Sep 10 20:48 icloud.0
-rw-rwxr--+ 1 iobroker iobroker 3674 Jan 25 2025 iobroker.json
-rw-rwxr--+ 1 iobroker iobroker 7479 Jan 25 2025 iobroker.json.bak
drwxrwxr-x+ 2 iobroker iobroker 4096 Dec 4 2025 matter.0
drwxrwxr-x+ 5 iobroker iobroker 4096 Feb 1 2025 node-red
-rw-rwxr--+ 1 iobroker iobroker 8984 Sep 11 20:11 notifications.json
drwxrwxr-x+ 2 stormy stormy 4096 Sep 11 20:19 removed_jsonl
drwxrwxr-x+ 2 iobroker iobroker 4096 Sep 11 20:12 yahka.0.hapdata
drwxrwxr-x+ 6 iobroker iobroker 4096 Sep 11 20:27 zigbee_0
drwxrwxr-x+ 2 iobroker iobroker 4096 Sep 25 2025 zigbee_1
drwxrwxr-x+ 2 iobroker iobroker 4096 Jul 26 11:10 zigbee_10
drwxrwxr-x+ 2 iobroker iobroker 4096 Feb 7 2025 zigbee_6
drwxrwxr-x+ 2 iobroker iobroker 4096 Mar 24 2025 zigbee_8
[{"1789150804672":"[DEBUG] [iobroker] host.raspberrypi 11162 objects saved
[DEBUG] [iobroker] host.raspberrypi 9173 states saved
[DEBUG] [iobroker] host.raspberrypi Validating backup ...
[DEBUG] [iobroker] host.raspberrypi \"config.json\" is valid\nhost.raspberrypi \"objects.jsonl\" exists\nhost.raspberrypi \"states.jsonl\" exists
[ERROR] [iobroker] host.raspberrypi Backup not created: The \"objects.jsonl\" file is corrupted: Unterminated string in JSON at position 32144 (line 1 column 32145)\n
[DEBUG] [iobroker] Cannot create backup: The \"objects.jsonl\" file is corrupted: Unterminated string in JSON at position 32144 (line 1 column 32145)
[DEBUG] [iobroker] done
[DEBUG] [redis] Start Redis Backup ...
[DEBUG] [redis] Created redistmp directory
[DEBUG] [redis] detected redis file: dump.rdb | file type: rdb
[DEBUG] [redis] Backup created: /opt/iobroker/backups/redis_2026_09_11-20_20_09_backupiobroker.tar.gz
[DEBUG] [redis] Try deleting the redis tmp directory: \"/opt/iobroker/backups/redistmp\"
[DEBUG] [redis] redis tmp directory \"/opt/iobroker/backups/redistmp\" successfully deleted
[DEBUG] [redis] done
[DEBUG] [zigbee] Found zigbee databases: zigbee.0, zigbee.10
[DEBUG] [zigbee] done
[DEBUG] [yahka] found yahka database: yahka.0
[DEBUG] [yahka] done
[DEBUG] [ftp] FTP connected.
[DEBUG] [ftp] Send iobroker_2026_09_11-20_20_04_backupiobroker.tar.gz
[ERROR] [ftp] File \"/opt/iobroker/backups/iobroker_2026_09_11-20_20_04_backupiobroker.tar.gz\" not found
[DEBUG] [ftp] Send redis_2026_09_11-20_20_09_backupiobroker.tar.gz
[DEBUG] [ftp] Send zigbee.0_2026_09_11-20_20_14_backupiobroker.tar.gz
[DEBUG] [ftp] Send zigbee.10_2026_09_11-20_20_14_backupiobroker.tar.gz
[DEBUG] [ftp] Send yahka.0_2026_09_11-20_20_15_backupiobroker.tar.gz
[DEBUG] [ftp] done
[ERROR] [clean] Backup files not deleted from /opt/iobroker/backups because some errors.
[DEBUG] [clean] done
[DEBUG] [historyHTML] new history html values created
[DEBUG] [historyHTML] done
[DEBUG] [historyJSON] new history json values created
[DEBUG] [historyJSON] done
[DEBUG] [notification] Admin notification will be sent
[DEBUG] [notification] done\n"},{"1789150708470":"[DEBUG] [iobroker] host.raspberrypi 11162 objects saved
[DEBUG] [iobroker] host.raspberrypi 9173 states saved
[DEBUG] [iobroker] host.raspberrypi Validating backup ...
[DEBUG] [iobroker] host.raspberrypi \"config.json\" is valid\nhost.raspberrypi \"objects.jsonl\" exists
[DEBUG] [iobroker] host.raspberrypi \"states.jsonl\" exists
[ERROR] [iobroker] host.raspberrypi Backup not created: The \"objects.jsonl\" file is corrupted: Unterminated string in JSON at position 32144 (line 1 column 32145)\n
[DEBUG] [iobroker] Cannot create backup: The \"objects.jsonl\" file is corrupted: Unterminated string in JSON at position 32144 (line 1 column 32145)
[DEBUG] [iobroker] done
[DEBUG] [redis] Start Redis Backup ...
[DEBUG] [redis] Created redistmp directory
[DEBUG] [redis] detected redis file: dump.rdb | file type: rdb
[DEBUG] [redis] Backup created: /opt/iobroker/backups/redis_2026_09_11-20_18_33_backupiobroker.tar.gz
[DEBUG] [redis] Try deleting the redis tmp directory: \"/opt/iobroker/backups/redistmp\"
[DEBUG] [redis] redis tmp directory \"/opt/iobroker/backups/redistmp\" successfully deleted
[DEBUG] [redis] done
[DEBUG] [zigbee] Found zigbee databases: zigbee.0, zigbee.10
[DEBUG] [zigbee] done
[DEBUG] [yahka] found yahka database: yahka.0
[DEBUG] [yahka] done
[DEBUG] [ftp] FTP connected.
[DEBUG] [ftp] Send iobroker_2026_09_11-20_18_28_backupiobroker.tar.gz
[ERROR] [ftp] File \"/opt/iobroker/backups/iobroker_2026_09_11-20_18_28_backupiobroker.tar.gz\" not found
[DEBUG] [ftp] Send redis_2026_09_11-20_18_33_backupiobroker.tar.gz
[DEBUG] [ftp] Send zigbee.0_2026_09_11-20_18_38_backupiobroker.tar.gz
[DEBUG] [ftp] Send zigbee.10_2026_09_11-20_18_38_backupiobroker.tar.gz
[DEBUG] [ftp] Send yahka.0_2026_09_11-20_18_39_backupiobroker.tar.gz
[DEBUG] [ftp] done
[ERROR] [clean] Backup files not deleted from /opt/iobroker/backups because some errors.
[DEBUG] [clean] done
[DEBUG] [historyHTML] new history html values created
[DEBUG] [historyHTML] done
[DEBUG] [historyJSON] new history json values created
[DEBUG] [historyJSON] done
[DEBUG] [notification] Admin notification will be sent
[DEBUG] [notification] done\n"},{"1789148219444":"[DEBUG] [iobroker] host.raspberrypi 11162 objects saved
[DEBUG] [iobroker] host.raspberrypi 9146 states saved\nhost.raspberrypi Validating backup ...\nhost.raspberrypi \"config.json\" is valid\nhost.raspberrypi \"objects.jsonl\" exists\nhost.raspberrypi \"states.jsonl\" exists
[ERROR] [iobroker] host.raspberrypi Backup not created: The \"objects.jsonl\" file is corrupted: Unterminated string in JSON at position 32144 (line 1 column 32145)\n
[DEBUG] [iobroker] Cannot create backup: The \"objects.jsonl\" file is corrupted: Unterminated string in JSON at position 32144 (line 1 column 32145)
[DEBUG] [iobroker] done
[DEBUG] [redis] Start Redis Backup ...
[DEBUG] [redis] Created redistmp directory
[DEBUG] [redis] detected redis file: dump.rdb | file type: rdb
[DEBUG] [redis] Backup created: /opt/iobroker/backups/redis_2026_09_11-19_37_04_backupiobroker.tar.gz
[DEBUG] [redis] Try deleting the redis tmp directory: \"/opt/iobroker/backups/redistmp\"
[DEBUG] [redis] redis tmp directory \"/opt/iobroker/backups/redistmp\" successfully deleted
[DEBUG] [redis] done
[DEBUG] [zigbee] Found zigbee databases: zigbee.0, zigbee.10
[DEBUG] [zigbee] done
[DEBUG] [yahka] found yahka database: yahka.0
[DEBUG] [yahka] done
[DEBUG] [ftp] FTP connected.
[DEBUG] [ftp] Send iobroker_2026_09_11-19_36_59_backupiobroker.tar.gz
[ERROR] [ftp] File \"/opt/iobroker/backups/iobroker_2026_09_11-19_36_59_backupiobroker.tar.gz\" not found
[DEBUG] [ftp] Send redis_2026_09_11-19_37_04_backupiobroker.tar.gz
[DEBUG] [ftp] Send zigbee.0_2026_09_11-19_37_09_backupiobroker.tar.gz
[DEBUG] [ftp] Send zigbee.10_2026_09_11-19_37_09_backupiobroker.tar.gz
[DEBUG] [ftp] Send yahka.0_2026_09_11-19_37_10_backupiobroker.tar.gz
[DEBUG] [ftp] done
[ERROR] [clean] Backup files not deleted from /opt/iobroker/backups because some errors.
[DEBUG] [clean] done
[DEBUG] [historyHTML] new history html values created
[DEBUG] [historyHTML] done
[DEBUG] [historyJSON] new history json values created
[DEBUG] [historyJSON] done
[DEBUG] [notification] Admin notification will be sent
[DEBUG] [notification] done\n"},{"1789084810018":"[DEBUG] [iobroker] host.raspberrypi 11162 objects saved
[DEBUG] [iobroker] host.raspberrypi 9168 states saved
[DEBUG] [iobroker] host.raspberrypi Validating backup ...
[DEBUG] [iobroker] host.raspberrypi \"config.json\" is valid
[DEBUG] [iobroker] host.raspberrypi \"objects.jsonl\" exists
[DEBUG] [iobroker] host.raspberrypi \"states.jsonl\" exists
[ERROR] [iobroker] host.raspberrypi Backup not created: The \"objects.jsonl\" file is corrupted: Unterminated string in JSON at position 32144 (line 1 column 32145)\n
[DEBUG] [iobroker] Cannot create backup: The \"objects.jsonl\" file is corrupted: Unterminated string in JSON at position 32144 (line 1 column 32145)
[DEBUG] [iobroker] done
[DEBUG] [redis] Start Redis Backup ...
[DEBUG] [redis] Created redistmp directory
[DEBUG] [redis] detected redis file: dump.rdb | file type: rdb
[DEBUG] [redis] Backup created: /opt/iobroker/backups/redis_2026_09_11-02_00_15_backupiobroker.tar.gz
[DEBUG] [redis] Try deleting the redis tmp directory: \"/opt/iobroker/backups/redistmp\"
[DEBUG] [redis] redis tmp directory \"/opt/iobroker/backups/redistmp\" successfully deleted
[DEBUG] [redis] done
[DEBUG] [zigbee] Found zigbee databases: zigbee.0, zigbee.10
[DEBUG] [zigbee] done
[DEBUG] [yahka] found yahka database: yahka.0
[DEBUG] [yahka] done
[DEBUG] [ftp] FTP connected.
[DEBUG] [ftp] Send iobroker_2026_09_11-02_00_10_backupiobroker.tar.gz
[ERROR] [ftp] File \"/opt/iobroker/backups/iobroker_2026_09_11-02_00_10_backupiobroker.tar.gz\" not found
[DEBUG] [ftp] Send redis_2026_09_11-02_00_15_backupiobroker.tar.gz
[DEBUG] [ftp] Send zigbee.0_2026_09_11-02_00_19_backupiobroker.tar.gz
[DEBUG] [ftp] Send zigbee.10_2026_09_11-02_00_19_backupiobroker.tar.gz
[DEBUG] [ftp] Send yahka.0_2026_09_11-02_00_20_backupiobroker.tar.gz
[DEBUG] [ftp] delete /ioBrokerBackup/redis_2026_08_21-02_00_15_backupiobroker.tar.gz
[DEBUG] [ftp] delete /ioBrokerBackup/zigbee.0_2026_08_21-02_00_20_backupiobroker.tar.gz
[DEBUG] [ftp] delete /ioBrokerBackup/zigbee.10_2026_08_21-02_00_20_backupiobroker.tar.gz
[DEBUG] [ftp] delete /ioBrokerBackup/yahka.0_2026_08_21-02_00_21_backupiobroker.tar.gz
[DEBUG] [ftp] done
[ERROR] [clean] Backup files not deleted from /opt/iobroker/backups because some errors.
[DEBUG] [clean] done
[DEBUG] [historyHTML] new history html values created
[DEBUG] [historyHTML] done
[DEBUG] [historyJSON] new history json values created
[DEBUG] [historyJSON] done
[DEBUG] [notification] Admin notification will be sent
[DEBUG] [notification] done\n"}]
Versions:
- Adapter version: 4.0.3
- JS-Controller version: 7.2.2
- Node version: 24.20.0
- Operating system: Debinan 12 (RaspBerry Pi)
Additional context
Add any other context about the problem here.
Describe the bug
The iobroker backup fails with an error message since updating to NodeJS 24.20.0 and iobroker.backitup 4.0.3
To Reproduce
Steps to reproduce the behavior:
Expected behavior
obtain a backup of ioBroker base settings
Screenshots & Logfiles
If applicable, add screenshots and logfiles to help explain your problem.
Note - there is no respective file - the iobroker is using redis for objects and stateside:
Versions:
Additional context
Add any other context about the problem here.