simatec / ioBroker.backitup

ioBroker.backitup allows you to backup and restore your ioBroker installation and other systems, such as databases, Zigbee, scripts and many more.
MIT License
70 stars 36 forks source link

Temporäre Verzeichnisse können nicht mehr gelöscht werden seit V 3.0.0 #1130

Closed juergiboy closed 2 months ago

juergiboy commented 5 months ago

Ich nutze die aktuellste Version 3.0.3 des Adapters und kürzlich ist mir aufgefallen, dass es Fehler beim Backup gibt. Die temporären Verzeichnisse können plötzlich nicht mehr gelöscht werden: grafik

Ich habe dann auch ein Backup im Debugmodus gemacht, aber auch da kommt nur der Hinweis die permissions zu prüfen.

Das Backup erfolgt auf einen an der Fritzbox angeschlossenen USB-Stick, bis V 2.11 funktionierte das auch ohne Probleme. Im Ergebnis sieht das dann so aus: grafik

Der auf der Fritz genutze User hat auch alle Rechte (sonst hätte es ja nie funktioniert): grafik

Die Backups werden trotzdem (bis auf eine Ausnahme) erfolgreich durchgeführt, einzig beim javascript verbleibt die script.json im Verzeichnis tmpScripts und im Sicherungsverzeichnis liegt nur eine leere Hülle.

Expected behavior
Die temporären Verzeichnisse werden, wie bisher, gelöscht.

Versions:

simatec commented 5 months ago

Bitte poste deine Config von Backitup als JSON. und bitte poste den Debuglog nicht als Bild

juergiboy commented 5 months ago

Hi, hier ist meine Config:

{
  "minimalEnabled": true,
  "minimalTime": "01:00",
  "minimalEveryXDays": "1",
  "minimalDeleteAfter": "5",
  "minimalNameSuffix": "",
  "redisMinimalEnabled": false,
  "mysqlMinimalEnabled": false,
  "mysqlQuick": false,
  "mysqlSingleTransaction": false,
  "ccuEnabled": true,
  "ccuTime": "01:30",
  "ccuEveryXDays": "3",
  "ccuDeleteAfter": "5",
  "ccuNameSuffix": "",
  "ccuHost": "192.168.10.11",
  "ccuUser": "Admin",
  "ccuPassword": "",
  "dropboxEnabled": false,
  "dropboxAccessToken": "",
  "dropboxDeleteOldBackup": false,
  "dropboxOwnDir": false,
  "dropboxMinimalDir": "/backupDir/iobroker",
  "dropboxCcuDir": "/backupDir/ccu",
  "dropboxDir": "/backupDir",
  "googledriveEnabled": false,
  "googledriveAccessJson": "",
  "googledriveDeleteOldBackup": false,
  "googledriveOwnDir": false,
  "googledriveMinimalDir": "/backupDir/iobroker",
  "googledriveCcuDir": "/backupDir/ccu",
  "googledriveDir": "/backupDir",
  "mySqlEnabled": true,
  "mySqlHost": "192.168.10.12",
  "mySqlPort": "3306",
  "mySqlName": "iobroker",
  "mySqlUser": "iobroker",
  "mySqlPassword": "ysevfGkop",
  "mySqlDeleteAfter": 5,
  "mySqlDumpExe": "/usr/bin/mysqldump",
  "cifsEnabled": true,
  "cifsMount": "192.168.2.2",
  "cifsUser": "iobroker_ftp",
  "cifsPassword": "",
  "cifsOwnDir": false,
  "cifsDomain": "",
  "cifsDir": "Juergens-Fritz/SanDisk-SanDisk3-2Gen1-01/Sicherung_ioBroker",
  "cifsCcuDir": "sharename/backupDir",
  "cifsMinimalDir": "sharename/backupDir",
  "cifsDeleteOldBackup": false,
  "connectType": "CIFS",
  "smbType": "vers=3.1.1",
  "sudoMount": true,
  "wakeOnLAN": false,
  "macAd": "20:DE:20:DE:20:DE",
  "wolWait": "25",
  "ftpEnabled": false,
  "ftpHost": "192.168.2.30",
  "ftpPort": "21",
  "ftpDir": "/backupDir",
  "ftpUser": "",
  "ftpPassword": "",
  "ftpOwnDir": false,
  "ftpCcuDir": "/backupDir/ccu",
  "ftpMinimalDir": "/backupDir/iobroker",
  "ftpDeleteOldBackup": false,
  "redisEnabled": false,
  "redisPath": "/var/lib/redis",
  "historyEnabled": false,
  "historyPath": "/opt/iobroker/history",
  "zigbeeEnabled": true,
  "notificationEnabled": false,
  "notificationsType": "Telegram",
  "telegramInstance": "",
  "telegramNoticeType": "longTelegramNotice",
  "telegramUser": "none",
  "telegramSilentNotice": false,
  "telegramOnlyError": false,
  "telegramWaitToSend": "0",
  "pushoverInstance": "",
  "pushoverNoticeType": "longPushoverNotice",
  "pushoverSilentNotice": false,
  "pushoverDeviceID": "",
  "pushoverOnlyError": false,
  "pushoverWaitToSend": "0",
  "emailReceiver": "xxx@xxx.com",
  "emailSender": "xxx@xxx.com",
  "emailInstance": "",
  "emailNoticeType": "longEmailNotice",
  "emailOnlyError": false,
  "emailWaitToSend": "0",
  "debugLevel": true,
  "historyEntriesNumber": "0",
  "restoreSource": "local",
  "startAllRestore": false,
  "whatsappInstance": "",
  "whatsappNoticeType": "longWhatsappNotice",
  "whatsappOnlyError": false,
  "whatsappWaitToSend": "0",
  "webdavEnabled": false,
  "webdavUsername": "username",
  "webdavPassword": "",
  "webdavURL": "https://example.com/remote.php/dav/files/username/",
  "webdavDeleteOldBackup": false,
  "webdavOwnDir": false,
  "webdavMinimalDir": "/backupDir/iobroker",
  "webdavCcuDir": "/backupDir/ccu",
  "webdavDir": "/backupDir",
  "influxDBEnabled": true,
  "influxDBHost": "192.168.10.12",
  "influxDBPort": "8086",
  "influxDBName": "iobroker",
  "influxDBDumpExe": "",
  "influxDBDeleteAfter": 5,
  "influxDBType": "remote",
  "grafanaEnabled": true,
  "grafanaHost": "192.168.10.13",
  "grafanaPort": "3000",
  "grafanaUsername": "admin",
  "grafanaPassword": "",
  "grafanaApiKey": "eyJrIjoiNUFrNHFuUWxQazBrY3VKV0hmNVVTd2MyMVdLTHl2MXIiLCJuIjoiQmFja3VwIiwiaWQiOjF9",
  "pgSqlHost": "",
  "pgSqlPort": "5432",
  "pgSqlName": "",
  "pgSqlUser": "",
  "pgSqlPassword": "",
  "pgSqlDeleteAfter": 5,
  "pgSqlDumpExe": "",
  "pgSqlEnabled": false,
  "redisAOFactive": false,
  "javascriptsPath": "/media/usb/scripts",
  "javascriptsEnabled": true,
  "jarvisEnabled": false,
  "sentry_enable": false,
  "deleteOldDataBase": false,
  "noserverino": true,
  "ccuUsehttps": true,
  "grafanaProtocol": "http",
  "ccuMulti": false,
  "ccuEvents": [],
  "ccuSignedCertificates": false,
  "webdavSignedCertificates": true,
  "mySqlMulti": false,
  "mySqlEvents": [],
  "influxDBMulti": false,
  "influxDBEvents": [],
  "pgSqlMulti": false,
  "pgSqlEvents": [],
  "yahkaEnabled": false,
  "hostType": "Single",
  "slaveInstance": [],
  "slaveNameSuffix": "",
  "stopSlaveAfter": false,
  "influxDBToken": "UT5O_EJ8ts62ZE5Xr-qjrcbJjPT7yG1SuSRmGOFosTTuhlp3li11BFed1eyPlUGIxFqG8fLwvtUjeZwVHPM-iQ==",
  "influxDBVersion": "2.x",
  "influxDBProtocol": "http",
  "redisType": "local",
  "redisHost": "",
  "redisPort": "6379",
  "redisUser": "",
  "redisPassword": "",
  "ignoreErrors": false,
  "dropboxAccessJson": "",
  "dropboxTokenType": "custom",
  "dropboxCodeChallenge": "",
  "signalInstance": "",
  "signalNoticeType": "longSignalNotice",
  "signalOnlyError": false,
  "signalWaitToSend": "0",
  "googledriveAccessTokens": "",
  "grafanaSignedCertificates": true,
  "onedriveEnabled": false,
  "onedriveAccessJson": "",
  "onedriveDeleteOldBackup": false,
  "onedriveOwnDir": false,
  "onedriveMinimalDir": "backupDir/iobroker",
  "onedriveCcuDir": "backupDir/ccu",
  "onedriveDir": "backupDir",
  "ftpSecure": false,
  "matrixInstance": "",
  "matrixNoticeType": "longMatrixNotice",
  "matrixOnlyError": false,
  "matrixWaitToSend": "0",
  "restoreTab": false,
  "noderedEnabled": false,
  "sqliteEnabled": false,
  "sqlitePath": "/opt/sqlite/data.db",
  "sqliteDumpExe": "",
  "zigbee2mqttPath": "/var/lib/docker/volumes/zigbee2mqtt/_data",
  "zigbee2mqttEnabled": false,
  "fileSizeError": "512",
  "fileSizeWarning": "1024",
  "ftpSignedCertificates": true,
  "onedriveLastTokenRenew": "",
  "discordInstance": "",
  "discordOnlyError": false,
  "discordWaitToSend": "0",
  "discordTarget": "",
  "wolPort": "9",
  "wolExtra": false,
  "cacheLoose": false,
  "esphomeEnabled": false,
  "gotifyInstance": "gotify.0",
  "gotifyNoticeType": "longGotifyNotice",
  "gotifyOnlyError": false,
  "gotifyWaitToSend": 0,
  "ccuCron": false,
  "ccuCronJob": "00 36 01 */3 * *",
  "iobrokerCron": false,
  "iobrokerCronJob": "00 48 02 */1 * *",
  "expertMount": "sudo mount -t cifs -o username=<username>,password=\"<password>\",noserverino,cache=loose,rw,uid=iobroker,gid=iobroker,file_mode=0777,dir_mode=0777,vers=3.1.1 //192.168.0.1/NAS/BACKUP /opt/iobroker/backups",
  "discordNoticeType": "longWhatsappNotice",
  "_nonSupportDockerDB": false
}

und hier ein aktuelles (Debug) Log eines Backuplaufes:

2024-06-18 19:50:04.076 - debug: backitup.0 (175302) Redis Objects: Use Redis connection: 127.0.0.1:9001
2024-06-18 19:50:04.099 - debug: backitup.0 (175302) Objects client ready ... initialize now
2024-06-18 19:50:04.100 - debug: backitup.0 (175302) Objects create System PubSub Client
2024-06-18 19:50:04.101 - debug: backitup.0 (175302) Objects create User PubSub Client
2024-06-18 19:50:04.127 - debug: backitup.0 (175302) Objects client initialize lua scripts
2024-06-18 19:50:04.130 - debug: backitup.0 (175302) Objects connected to redis: 127.0.0.1:9001
2024-06-18 19:50:04.150 - debug: backitup.0 (175302) Redis States: Use Redis connection: 127.0.0.1:9000
2024-06-18 19:50:04.158 - debug: backitup.0 (175302) States create System PubSub Client
2024-06-18 19:50:04.158 - debug: backitup.0 (175302) States create User PubSub Client
2024-06-18 19:50:04.218 - debug: backitup.0 (175302) States connected to redis: 127.0.0.1:9000
2024-06-18 19:50:04.241 - debug: backitup.0 (175302) Plugin sentry Do not initialize Plugin (enabled=false)
2024-06-18 19:50:04.285 - debug: backitup.0 (175302) Plugin sentry destroyed because not initialized correctly
2024-06-18 19:50:04.410 - info: backitup.0 (175302) starting. Version 3.0.3 in /opt/iobroker/node_modules/iobroker.backitup, node: v18.20.3, js-controller: 6.0.1
2024-06-18 19:50:04.417 - debug: backitup.0 (175302) BackItUp has recognized a linux system
2024-06-18 19:50:04.441 - info: backitup.0 (175302) [iobroker] backup will be activated at 01:00 every 1 day(s)
2024-06-18 19:50:04.470 - debug: backitup.0 (175302) [iobroker] 10 00 01 */1 * *
2024-06-18 19:50:04.470 - info: backitup.0 (175302) [ccu] backup will be activated at 01:30 every 3 day(s)
2024-06-18 19:50:04.473 - debug: backitup.0 (175302) [ccu] 10 30 01 */3 * *
2024-06-18 19:50:04.479 - debug: backitup.0 (175302) cifs-mount command: "sudo mount -t cifs -o username=iobroker_ftp,password=****,noserverino,rw,uid=iobroker,gid=iobroker,file_mode=0777,dir_mode=0777,vers=3.1.1 //192.168.2.2Juergens-Fritz/SanDisk-SanDisk3-2Gen1-01/Sicherung_ioBroker /opt/iobroker/backups"
2024-06-18 19:50:05.473 - debug: backitup.0 (175302) mount successfully completed
2024-06-18 19:50:09.221 - debug: backitup.0 (175302) detect backup file 1 from NAS: iobroker_2024_06_14-20_41_12_backupiobroker.tar.gz
2024-06-18 19:50:09.221 - debug: backitup.0 (175302) detect backup file 2 from NAS: iobroker_2024_06_15-01_00_21_backupiobroker.tar.gz
2024-06-18 19:50:09.221 - debug: backitup.0 (175302) detect backup file 3 from NAS: iobroker_2024_06_16-01_00_21_backupiobroker.tar.gz
2024-06-18 19:50:09.221 - debug: backitup.0 (175302) detect backup file 4 from NAS: iobroker_2024_06_17-01_00_21_backupiobroker.tar.gz
2024-06-18 19:50:09.221 - debug: backitup.0 (175302) detect backup file 5 from NAS: iobroker_2024_06_18-01_00_21_backupiobroker.tar.gz
2024-06-18 19:50:09.222 - debug: backitup.0 (175302) detect last backup file: iobroker_2024_06_18-01_00_21_backupiobroker.tar.gz
2024-06-18 19:50:14.424 - debug: backitup.0 (175302) mount activ... umount in 2 Seconds!!
2024-06-18 19:50:16.709 - debug: backitup.0 (175302) umount successfully completed
2024-06-18 19:50:21.943 - debug: backitup.0 (175302) Backup has started ...
2024-06-18 19:50:31.944 - debug: backitup.0 (175302) [iobroker/mount] cifs-mount command: "sudo mount -t cifs -o username=iobroker_ftp,password=****,noserverino,rw,uid=iobroker,gid=iobroker,file_mode=0777,dir_mode=0777,vers=3.1.1 //192.168.2.2/Juergens-Fritz/SanDisk-SanDisk3-2Gen1-01/Sicherung_ioBroker /opt/iobroker/backups"
2024-06-18 19:50:32.944 - debug: backitup.0 (175302) [iobroker/mount] mount successfully completed
2024-06-18 19:50:32.945 - debug: backitup.0 (175302) [iobroker/mount] done
2024-06-18 19:50:34.619 - debug: backitup.0 (175302) [iobroker/iobroker] host.iobroker 12073 states saved
2024-06-18 19:50:35.524 - debug: backitup.0 (175302) [iobroker/iobroker] host.iobroker 14528 objects saved
2024-06-18 19:50:47.383 - debug: backitup.0 (175302) [iobroker/iobroker] Backup created: /opt/iobroker/backups/iobroker_2024_06_18-19_50_33_backupiobroker.tar.gz
2024-06-18 19:50:47.385 - debug: backitup.0 (175302) [iobroker/iobroker] This backup can only be restored with js-controller version up from 4.1
2024-06-18 19:50:48.413 - debug: backitup.0 (175302) [iobroker/iobroker] done
2024-06-18 19:50:48.564 - debug: backitup.0 (175302) [iobroker/influxDB] InfluxDB-Backup started ...
2024-06-18 19:50:48.565 - debug: backitup.0 (175302) [iobroker/influxDB] Start InfluxDB Backup ...
2024-06-18 19:50:49.284 - debug: backitup.0 (175302) [iobroker/influxDB] InfluxDB Backup tmp directory created
2024-06-18 19:52:32.728 - debug: backitup.0 (175302) [iobroker/influxDB] Packed 9MB so far...
2024-06-18 19:52:42.527 - debug: backitup.0 (175302) [iobroker/influxDB] Packed 23MB so far...
2024-06-18 19:52:52.659 - debug: backitup.0 (175302) [iobroker/influxDB] Packed 42MB so far...
2024-06-18 19:53:02.530 - debug: backitup.0 (175302) [iobroker/influxDB] Packed 61MB so far...
2024-06-18 19:53:12.537 - debug: backitup.0 (175302) [iobroker/influxDB] Packed 80MB so far...
2024-06-18 19:53:22.578 - debug: backitup.0 (175302) [iobroker/influxDB] Packed 97MB so far...
2024-06-18 19:53:32.564 - debug: backitup.0 (175302) [iobroker/influxDB] Packed 114MB so far...
2024-06-18 19:53:42.529 - debug: backitup.0 (175302) [iobroker/influxDB] Packed 132MB so far...
2024-06-18 19:53:52.534 - debug: backitup.0 (175302) [iobroker/influxDB] Packed 148MB so far...
2024-06-18 19:54:02.577 - debug: backitup.0 (175302) [iobroker/influxDB] Packed 165MB so far...
2024-06-18 19:54:12.533 - debug: backitup.0 (175302) [iobroker/influxDB] Packed 182MB so far...
2024-06-18 19:54:22.651 - debug: backitup.0 (175302) [iobroker/influxDB] Packed 195MB so far...
2024-06-18 19:54:29.661 - debug: backitup.0 (175302) [iobroker/influxDB] Backup created: /opt/iobroker/backups/influxDB_2024_06_18-19_50_48_backupiobroker.tar.gz
2024-06-18 19:54:29.925 - debug: backitup.0 (175302) [iobroker/influxDB] Try deleting the InfluxDB tmp directory: "/opt/iobroker/backups/influxDB_2024_06_18-19_50_48_backupiobroker"
2024-06-18 19:55:33.192 - error: backitup.0 (175302) [iobroker/influxDB] The temporary directory "/opt/iobroker/backups/influxDB_2024_06_18-19_50_48_backupiobroker" could not be deleted. Please check the directory permissions and delete the directory manually
2024-06-18 19:55:33.193 - error: backitup.0 (175302) [iobroker/influxDB] The temporary directory "/opt/iobroker/backups/influxDB_2024_06_18-19_50_48_backupiobroker" could not be deleted. Please check the directory permissions and delete the directory manually
2024-06-18 19:55:33.193 - debug: backitup.0 (175302) [iobroker/influxDB] InfluxDB-Backup for is finish
2024-06-18 19:55:33.193 - debug: backitup.0 (175302) [iobroker/influxDB] done
2024-06-18 19:55:33.344 - debug: backitup.0 (175302) [iobroker/mysql] MySql-Backup started ...
2024-06-18 19:56:45.660 - debug: backitup.0 (175302) [iobroker/mysql] Packed 10MB so far...
2024-06-18 19:56:55.656 - debug: backitup.0 (175302) [iobroker/mysql] Packed 21MB so far...
2024-06-18 19:56:57.896 - debug: backitup.0 (175302) [iobroker/mysql] MySql File deleted!
2024-06-18 19:56:57.897 - debug: backitup.0 (175302) [iobroker/mysql] MySql-Backup for is finish
2024-06-18 19:56:57.897 - debug: backitup.0 (175302) [iobroker/mysql] done
2024-06-18 19:56:58.651 - debug: backitup.0 (175302) [iobroker/zigbee] found zigbee database: zigbee.0,zigbee.1
2024-06-18 19:56:58.651 - debug: backitup.0 (175302) [iobroker/zigbee] done
2024-06-18 19:56:58.953 - debug: backitup.0 (175302) [iobroker/grafana] Start Grafana Backup ...
2024-06-18 19:56:59.425 - debug: backitup.0 (175302) [iobroker/grafana] Try deleting the Grafana tmp directory: "/opt/iobroker/backups/grafana_tmp"
2024-06-18 19:57:08.559 - error: backitup.0 (175302) [iobroker/grafana] The temporary directory "/opt/iobroker/backups/grafana_tmp" could not be deleted. Please check the directory permissions and delete the directory manually
2024-06-18 19:57:08.560 - error: backitup.0 (175302) [iobroker/grafana] The temporary directory "/opt/iobroker/backups/grafana_tmp" could not be deleted. Please check the directory permissions and delete the directory manually
2024-06-18 19:57:10.577 - debug: backitup.0 (175302) [iobroker/grafana] start Grafana request ...
2024-06-18 19:57:10.598 - debug: backitup.0 (175302) [iobroker/grafana] Grafana is available ... Status: 200
2024-06-18 19:57:13.453 - debug: backitup.0 (175302) [iobroker/grafana] found Dashboard: energy-usage
2024-06-18 19:57:13.460 - debug: backitup.0 (175302) [iobroker/grafana] found Dashboard: strom
2024-06-18 19:57:13.472 - debug: backitup.0 (175302) [iobroker/grafana] found Dashboard: wasser
2024-06-18 19:57:13.486 - debug: backitup.0 (175302) [iobroker/grafana] found Dashboard: steckdosen-daten
2024-06-18 19:57:13.499 - debug: backitup.0 (175302) [iobroker/grafana] found Dashboard: pv-tagesstatistik
2024-06-18 19:57:13.510 - debug: backitup.0 (175302) [iobroker/grafana] found Dashboard: werte
2024-06-18 19:57:13.515 - debug: backitup.0 (175302) [iobroker/grafana] found Dashboard: pv-uebersicht
2024-06-18 19:57:27.513 - debug: backitup.0 (175302) [iobroker/grafana] start Grafana backup compress ...
2024-06-18 19:57:54.139 - debug: backitup.0 (175302) [iobroker/grafana] Backup created: /opt/iobroker/backups/grafana_2024_06_18-19_57_30_backupiobroker.tar.gz
2024-06-18 19:57:54.139 - debug: backitup.0 (175302) [iobroker/grafana] Try deleting the Grafana tmp directory: "/opt/iobroker/backups/grafana_tmp"
2024-06-18 19:58:21.421 - error: backitup.0 (175302) [iobroker/grafana] The temporary directory "/opt/iobroker/backups/grafana_tmp" could not be deleted. Please check the directory permissions and delete the directory manually
2024-06-18 19:58:21.422 - error: backitup.0 (175302) [iobroker/grafana] The temporary directory "/opt/iobroker/backups/grafana_tmp" could not be deleted. Please check the directory permissions and delete the directory manually
2024-06-18 19:58:21.422 - debug: backitup.0 (175302) [iobroker/grafana] done
2024-06-18 19:58:22.287 - debug: backitup.0 (175302) [iobroker/javascripts] Try deleting the old javascript_tmp directory: "/opt/iobroker/backups/tmpScripts"
2024-06-18 19:58:23.683 - debug: backitup.0 (175302) [iobroker/javascripts] Javascript tmp directory "/opt/iobroker/backups/tmpScripts" cannot deleted ... Error: ENOTEMPTY: directory not empty, rmdir '/opt/iobroker/backups/tmpScripts'
2024-06-18 19:58:30.040 - debug: backitup.0 (175302) [iobroker/javascripts] found Script: Astrozeiten
2024-06-18 19:58:30.141 - debug: backitup.0 (175302) [iobroker/javascripts] found Script: Garage_Status
2024-06-18 19:58:30.242 - debug: backitup.0 (175302) [iobroker/javascripts] found Script: Garage_schliessen
2024-06-18 19:58:30.342 - debug: backitup.0 (175302) [iobroker/javascripts] found Script: Heizung_Bad_OnOff
2024-06-18 19:58:30.443 - debug: backitup.0 (175302) [iobroker/javascripts] found Script: Heizung_Buero_OnOff
2024-06-18 19:58:30.544 - debug: backitup.0 (175302) [iobroker/javascripts] found Script: Heizung_Esszimmer_OnOff
2024-06-18 19:58:30.645 - debug: backitup.0 (175302) [iobroker/javascripts] found Script: Heizung_Kyra_OnOff
2024-06-18 19:58:30.745 - debug: backitup.0 (175302) [iobroker/javascripts] found Script: HmIP_Kommunikation_Entstoerung
2024-06-18 19:58:30.846 - debug: backitup.0 (175302) [iobroker/javascripts] found Script: Thermostat_Bad_Fensterstatus
2024-06-18 19:58:30.947 - debug: backitup.0 (175302) [iobroker/javascripts] found Script: Thermostat_DG_rechts_Fensterstatus
2024-06-18 19:58:31.048 - debug: backitup.0 (175302) [iobroker/javascripts] found Script: Thermostat_Kyra_Fensterstatus
2024-06-18 19:58:31.149 - debug: backitup.0 (175302) [iobroker/javascripts] found Script: Thermostat_Lock_Schalten
2024-06-18 19:58:31.250 - debug: backitup.0 (175302) [iobroker/javascripts] found Script: Thermostat_Lock_Status
2024-06-18 19:58:31.351 - debug: backitup.0 (175302) [iobroker/javascripts] found Script: Buero_Licht
2024-06-18 19:58:31.452 - debug: backitup.0 (175302) [iobroker/javascripts] found Script: FB_Wohnzimmer
2024-06-18 19:58:31.553 - debug: backitup.0 (175302) [iobroker/javascripts] found Script: Flurlicht_oben
2024-06-18 19:58:31.654 - debug: backitup.0 (175302) [iobroker/javascripts] found Script: Taster_Bad
2024-06-18 19:58:31.756 - debug: backitup.0 (175302) [iobroker/javascripts] found Script: Treppenlicht_an
2024-06-18 19:58:31.856 - debug: backitup.0 (175302) [iobroker/javascripts] found Script: Muelltage
2024-06-18 19:58:31.970 - debug: backitup.0 (175302) [iobroker/javascripts] found Script: NAS_Shutdown_Button1
2024-06-18 19:58:32.070 - debug: backitup.0 (175302) [iobroker/javascripts] found Script: NAS_Steckdose_aus
2024-06-18 19:58:32.171 - debug: backitup.0 (175302) [iobroker/javascripts] found Script: NAS_Steckdose_ein_Button1
2024-06-18 19:58:32.272 - debug: backitup.0 (175302) [iobroker/javascripts] found Script: PV_Autarkie
2024-06-18 19:58:32.373 - debug: backitup.0 (175302) [iobroker/javascripts] found Script: PV_Eigenverbrauch
2024-06-18 19:58:32.473 - debug: backitup.0 (175302) [iobroker/javascripts] found Script: PV_Ertrag_Maximum
2024-06-18 19:58:32.573 - debug: backitup.0 (175302) [iobroker/javascripts] found Script: PV_Werte
2024-06-18 19:58:32.674 - debug: backitup.0 (175302) [iobroker/javascripts] found Script: VIS_Steuerung
2024-06-18 19:58:32.774 - debug: backitup.0 (175302) [iobroker/javascripts] found Script: WR_Batterieleistung
2024-06-18 19:58:32.875 - debug: backitup.0 (175302) [iobroker/javascripts] found Script: WR_Betriebsmodus
2024-06-18 19:58:32.976 - debug: backitup.0 (175302) [iobroker/javascripts] found Script: WR_Status
2024-06-18 19:58:33.077 - debug: backitup.0 (175302) [iobroker/javascripts] found Script: WR_Wirkleistung_Summe
2024-06-18 19:58:33.178 - debug: backitup.0 (175302) [iobroker/javascripts] found Script: Rollo_Bad
2024-06-18 19:58:33.278 - debug: backitup.0 (175302) [iobroker/javascripts] found Script: Rollo_Buero
2024-06-18 19:58:33.379 - debug: backitup.0 (175302) [iobroker/javascripts] found Script: Stromverbrauch
2024-06-18 19:58:33.480 - debug: backitup.0 (175302) [iobroker/javascripts] found Script: Stromverbrauch_laufend_WR
2024-06-18 19:58:33.581 - debug: backitup.0 (175302) [iobroker/javascripts] found Script: Stromzaehler_Wertepruefung
2024-06-18 19:58:33.682 - debug: backitup.0 (175302) [iobroker/javascripts] found Script: Synology_Adapter_Start_Stop
2024-06-18 19:58:33.783 - debug: backitup.0 (175302) [iobroker/javascripts] found Script: Tagestemperaturen
2024-06-18 19:58:33.884 - debug: backitup.0 (175302) [iobroker/javascripts] found Script: Kommando
2024-06-18 19:58:33.985 - debug: backitup.0 (175302) [iobroker/javascripts] found Script: Menu
2024-06-18 19:58:34.086 - debug: backitup.0 (175302) [iobroker/javascripts] found Script: Adapter_Status
2024-06-18 19:58:34.187 - debug: backitup.0 (175302) [iobroker/javascripts] found Script: Aussentueren_Status
2024-06-18 19:58:34.288 - debug: backitup.0 (175302) [iobroker/javascripts] found Script: Batterie_Status
2024-06-18 19:58:34.389 - debug: backitup.0 (175302) [iobroker/javascripts] found Script: Fenster_Liste
2024-06-18 19:58:34.490 - debug: backitup.0 (175302) [iobroker/javascripts] found Script: Verbindung_Status
2024-06-18 19:58:34.590 - debug: backitup.0 (175302) [iobroker/javascripts] found Script: uptime_iobroker_instanz
2024-06-18 19:58:34.691 - debug: backitup.0 (175302) [iobroker/javascripts] found Script: uptime_vu
2024-06-18 19:58:34.792 - debug: backitup.0 (175302) [iobroker/javascripts] found Script: versionen_iobroker
2024-06-18 19:58:34.893 - debug: backitup.0 (175302) [iobroker/javascripts] found Script: Wasserverbrauch
2024-06-18 19:58:34.994 - debug: backitup.0 (175302) [iobroker/javascripts] found Script: Zeiten
2024-06-18 19:58:35.094 - debug: backitup.0 (175302) [iobroker/javascripts] found Script: Datenpunkt_anlegen
2024-06-18 19:58:35.195 - debug: backitup.0 (175302) [iobroker/javascripts] found Script: FB_Kyra
2024-06-18 19:58:35.296 - debug: backitup.0 (175302) [iobroker/javascripts] found Script: Multiplex_schalten_Abend
2024-06-18 19:58:35.397 - debug: backitup.0 (175302) [iobroker/javascripts] found Script: Multiplex_schalten_Morgen
2024-06-18 19:58:35.497 - debug: backitup.0 (175302) [iobroker/javascripts] found Script: Poolpumpe
2024-06-18 19:58:35.597 - debug: backitup.0 (175302) [iobroker/javascripts] found Script: RF_Bad
2024-06-18 19:58:35.698 - debug: backitup.0 (175302) [iobroker/javascripts] found Script: Wetter_Material
2024-06-18 19:58:35.800 - debug: backitup.0 (175302) [iobroker/javascripts] found Script: Zigbee_Watchdog
2024-06-18 19:58:35.900 - debug: backitup.0 (175302) [iobroker/javascripts] found Script: x_monitor_Test
2024-06-18 19:58:36.001 - debug: backitup.0 (175302) [iobroker/javascripts] found Script: Rollo_Schlaf_Stand
2024-06-18 19:58:36.102 - debug: backitup.0 (175302) [iobroker/javascripts] found Script: Urlaub_Licht
2024-06-18 19:58:36.203 - debug: backitup.0 (175302) [iobroker/javascripts] found Script: fenster
2024-06-18 19:58:36.304 - debug: backitup.0 (175302) [iobroker/javascripts] found Script: Anwesenheit
2024-06-18 19:58:36.405 - debug: backitup.0 (175302) [iobroker/javascripts] found Script: DeepSleep
2024-06-18 19:58:36.506 - debug: backitup.0 (175302) [iobroker/javascripts] found Script: EG_Alarm
2024-06-18 19:58:36.607 - debug: backitup.0 (175302) [iobroker/javascripts] found Script: Fenster_EG_Alarm
2024-06-18 19:58:36.708 - debug: backitup.0 (175302) [iobroker/javascripts] found Script: Klingel
2024-06-18 19:58:36.809 - debug: backitup.0 (175302) [iobroker/javascripts] found Script: Listen_Funktionen
2024-06-18 19:58:36.970 - debug: backitup.0 (175302) [iobroker/javascripts] found Script: Pelletstand_neu
2024-06-18 19:58:37.071 - debug: backitup.0 (175302) [iobroker/javascripts] found Script: Rollo_Schlafzimmer
2024-06-18 19:58:37.171 - debug: backitup.0 (175302) [iobroker/javascripts] found Script: Solaranzeige
2024-06-18 19:58:37.271 - debug: backitup.0 (175302) [iobroker/javascripts] found Script: Sonnenaufgang
2024-06-18 19:58:37.371 - debug: backitup.0 (175302) [iobroker/javascripts] found Script: Synology_Shutdown
2024-06-18 19:58:37.472 - debug: backitup.0 (175302) [iobroker/javascripts] found Script: Taster_Schlafzimmer_Bett
2024-06-18 19:58:37.573 - debug: backitup.0 (175302) [iobroker/javascripts] found Script: Weihnacht
2024-06-18 19:58:37.674 - debug: backitup.0 (175302) [iobroker/javascripts] found Script: x_SSH_test
2024-06-18 19:58:37.775 - debug: backitup.0 (175302) [iobroker/javascripts] found Script: x_ausprobieren
2024-06-18 19:58:37.876 - debug: backitup.0 (175302) [iobroker/javascripts] found Script: x_probieren
2024-06-18 19:58:37.977 - debug: backitup.0 (175302) [iobroker/javascripts] found Script: x_telegram_Test
2024-06-18 19:58:38.077 - debug: backitup.0 (175302) [iobroker/javascripts] found Script: x_test_sendTo
2024-06-18 19:58:38.178 - debug: backitup.0 (175302) [iobroker/javascripts] found Script: anwesenheit
2024-06-18 19:58:38.279 - debug: backitup.0 (175302) [iobroker/javascripts] found Script: backup_erstellen
2024-06-18 19:58:38.380 - debug: backitup.0 (175302) [iobroker/javascripts] found Script: bewegungsmelder
2024-06-18 19:58:38.481 - debug: backitup.0 (175302) [iobroker/javascripts] found Script: fritzbox
2024-06-18 19:58:38.582 - debug: backitup.0 (175302) [iobroker/javascripts] found Script: iobroker-pi_api_sync
2024-06-18 19:58:38.682 - debug: backitup.0 (175302) [iobroker/javascripts] found Script: kamera__berwachung
2024-06-18 19:58:38.783 - debug: backitup.0 (175302) [iobroker/javascripts] found Script: reboot_skript
2024-06-18 19:58:38.884 - debug: backitup.0 (175302) [iobroker/javascripts] found Script: remote_abfragen
2024-06-18 19:58:38.985 - debug: backitup.0 (175302) [iobroker/javascripts] found Script: ressourcen_berechnungen
2024-06-18 19:58:39.085 - debug: backitup.0 (175302) [iobroker/javascripts] found Script: shutdown
2024-06-18 19:58:39.186 - debug: backitup.0 (175302) [iobroker/javascripts] found Script: system_ctr_vis
2024-06-18 19:58:39.287 - debug: backitup.0 (175302) [iobroker/javascripts] found Script: ccu
2024-06-18 19:58:39.388 - debug: backitup.0 (175302) [iobroker/javascripts] found Script: esx_nuc
2024-06-18 19:58:39.489 - debug: backitup.0 (175302) [iobroker/javascripts] found Script: iobroker
2024-06-18 19:58:39.590 - debug: backitup.0 (175302) [iobroker/javascripts] found Script: iobroker-pi
2024-06-18 19:58:39.691 - debug: backitup.0 (175302) [iobroker/javascripts] found Script: iobroker_instanz
2024-06-18 19:58:39.792 - debug: backitup.0 (175302) [iobroker/javascripts] found Script: iobroker_pi_instanz
2024-06-18 19:58:39.893 - debug: backitup.0 (175302) [iobroker/javascripts] found Script: motioneye
2024-06-18 19:58:39.993 - debug: backitup.0 (175302) [iobroker/javascripts] found Script: nut-server
2024-06-18 19:58:40.094 - debug: backitup.0 (175302) [iobroker/javascripts] found Script: omv
2024-06-18 19:58:40.195 - debug: backitup.0 (175302) [iobroker/javascripts] found Script: pihole
2024-06-18 19:58:40.296 - debug: backitup.0 (175302) [iobroker/javascripts] found Script: qnap_archiv
2024-06-18 19:58:40.397 - debug: backitup.0 (175302) [iobroker/javascripts] found Script: qnap_b
2024-06-18 19:58:40.497 - debug: backitup.0 (175302) [iobroker/javascripts] found Script: raspberry-matic
2024-06-18 19:58:40.597 - debug: backitup.0 (175302) [iobroker/javascripts] found Script: sonoff_bewaesserung
2024-06-18 19:58:40.698 - debug: backitup.0 (175302) [iobroker/javascripts] found Script: sophos
2024-06-18 19:58:40.799 - debug: backitup.0 (175302) [iobroker/javascripts] found Script: synology
2024-06-18 19:58:40.900 - debug: backitup.0 (175302) [iobroker/javascripts] found Script: unifi_ap_eg
2024-06-18 19:58:41.001 - debug: backitup.0 (175302) [iobroker/javascripts] found Script: unifi_ap_og
2024-06-18 19:58:41.102 - debug: backitup.0 (175302) [iobroker/javascripts] found Script: unifi_ap_pavillon
2024-06-18 19:58:41.203 - debug: backitup.0 (175302) [iobroker/javascripts] found Script: unifi_controller
2024-06-18 19:58:41.304 - debug: backitup.0 (175302) [iobroker/javascripts] found Script: unifi_switch_rack
2024-06-18 19:58:41.405 - debug: backitup.0 (175302) [iobroker/javascripts] found Script: unifi_switch_wohnzimmer
2024-06-18 19:58:41.505 - debug: backitup.0 (175302) [iobroker/javascripts] found Script: vu_wohnzimmer
2024-06-18 19:58:41.606 - debug: backitup.0 (175302) [iobroker/javascripts] found Script: win10
2024-06-18 19:58:41.707 - debug: backitup.0 (175302) [iobroker/javascripts] found Script: winnas
2024-06-18 19:58:41.808 - debug: backitup.0 (175302) [iobroker/javascripts] found Script: usv_shutdown
2024-06-18 19:58:41.971 - debug: backitup.0 (175302) [iobroker/javascripts] found Script: vis_status
2024-06-18 19:58:42.071 - debug: backitup.0 (175302) [iobroker/javascripts] found Script: wlan_failover
2024-06-18 19:58:42.171 - debug: backitup.0 (175302) [iobroker/javascripts] found Script: zeiten_v01
2024-06-18 19:58:42.272 - debug: backitup.0 (175302) [iobroker/javascripts] found Script: x_test_tasmota_command
2024-06-18 19:58:42.373 - debug: backitup.0 (175302) [iobroker/javascripts] found Script: Deko_Büro
2024-06-18 19:58:42.474 - debug: backitup.0 (175302) [iobroker/javascripts] found Script: Heizung_Wohnzimmer_OnOff
2024-06-18 19:58:42.574 - debug: backitup.0 (175302) [iobroker/javascripts] found Script: Heizung_Schlafzimmer_OnOff
2024-06-18 19:58:42.675 - debug: backitup.0 (175302) [iobroker/javascripts] found Script: Thermostat_Fenster_Status
2024-06-18 19:58:42.776 - debug: backitup.0 (175302) [iobroker/javascripts] found Script: Thermostat_WC_Fensterstatus
2024-06-18 19:58:42.876 - debug: backitup.0 (175302) [iobroker/javascripts] found Script: Thermostat_DG_links_Fensterstatus
2024-06-18 19:58:42.977 - debug: backitup.0 (175302) [iobroker/javascripts] found Script: Thermostat_Buero_Fensterstatus
2024-06-18 19:58:43.078 - debug: backitup.0 (175302) [iobroker/javascripts] found Script: JSTVIS_aktivieren
2024-06-18 19:58:43.179 - debug: backitup.0 (175302) [iobroker/javascripts] found Script: Arbeitslicht_Kueche
2024-06-18 19:58:43.280 - debug: backitup.0 (175302) [iobroker/javascripts] found Script: Licht_WC
2024-06-18 19:58:43.381 - debug: backitup.0 (175302) [iobroker/javascripts] found Script: Bewegung_Urlaub
2024-06-18 19:58:43.481 - debug: backitup.0 (175302) [iobroker/javascripts] found Script: influx_test
2024-06-18 19:58:43.582 - debug: backitup.0 (175302) [iobroker/javascripts] found Script: awtrix_test
2024-06-18 19:58:43.682 - debug: backitup.0 (175302) [iobroker/javascripts] found Script: Ulanzi_1
2024-06-18 19:58:43.783 - debug: backitup.0 (175302) [iobroker/javascripts] found Script: Gefrierschrank
2024-06-18 19:58:45.224 - debug: backitup.0 (175302) [iobroker/javascripts] Try deleting the Javascript tmp directory: "/opt/iobroker/backups/tmpScripts"
2024-06-18 19:58:46.613 - debug: backitup.0 (175302) [iobroker/javascripts] Javascript tmp directory "/opt/iobroker/backups/tmpScripts" cannot deleted ... Error: ENOTEMPTY: directory not empty, rmdir '/opt/iobroker/backups/tmpScripts'
2024-06-18 19:58:46.614 - debug: backitup.0 (175302) [iobroker/javascripts] Backup created: /opt/iobroker/backups/javascripts_2024_06_18-19_58_21_backupiobroker.tar.gz
2024-06-18 19:58:46.614 - debug: backitup.0 (175302) [iobroker/javascripts] done
2024-06-18 19:58:47.516 - debug: backitup.0 (175302) [iobroker/cifs] used copy path: /Juergens-Fritz/SanDisk-SanDisk3-2Gen1-01/Sicherung_ioBroker
2024-06-18 19:58:47.517 - debug: backitup.0 (175302) [iobroker/cifs] done
2024-06-18 19:58:48.119 - error: backitup.0 (175302) [iobroker/clean] Backup files not deleted from /opt/iobroker/backups because some errors.
2024-06-18 19:58:48.119 - debug: backitup.0 (175302) [iobroker/clean] done
2024-06-18 19:58:48.277 - debug: backitup.0 (175302) [iobroker/umount] mount active, umount is started ...
2024-06-18 19:58:53.559 - debug: backitup.0 (175302) [iobroker/umount] umount successfully completed
2024-06-18 19:58:53.560 - debug: backitup.0 (175302) [iobroker/umount] done
2024-06-18 19:58:53.716 - debug: backitup.0 (175302) [iobroker/historyHTML] new history html values created
2024-06-18 19:58:53.763 - debug: backitup.0 (175302) [iobroker/historyHTML] done
2024-06-18 19:58:53.920 - debug: backitup.0 (175302) [iobroker/historyJSON] new history json values created
2024-06-18 19:58:53.921 - debug: backitup.0 (175302) [iobroker/historyJSON] done
2024-06-18 19:58:56.277 - debug: backitup.0 (175302) [iobroker/notification] Admin notification will be sent
2024-06-18 19:58:56.277 - debug: backitup.0 (175302) [iobroker/notification] done
2024-06-18 19:58:56.428 - debug: backitup.0 (175302) [iobroker] exec: done

Ich hoffe du kannst damit was anfangen.

simatec commented 5 months ago

Bitte schalte für die Fritzbox in den NAS Einstellungen die Option „Cache Loose“ an

juergiboy commented 4 months ago

Das hat leider keine Änderung gebracht.

simatec commented 4 months ago

In v3.0.x hat sich am mount nix geändert. Bitte gehe mal zurück auf 2.11.0 und teste es erneut Ich gehe von einem Problem mit Schreibrechten aus

juergiboy commented 4 months ago

Das mit den Schreibrechten klingt sicher plausibel, allerdings hat sich weder bei der Fritz noch bei dem User etwas geändert.

Und ist es dann plausibel, dass zwar alle Backups gemacht und geschrieben werden, aber nur die temporären Verzeichnisse nicht gelöscht werden können? (Und die script.json nicht unter richtigem Namen abgelegt wird)

Ich habe jetzt gerade auf die Version 2.11 downgegraded, da läuft der Adapter gar nicht mehr sondern macht nur ein Restart loop:

2024-06-22 19:39:12.383  - info: backitup.0 (194174) Got terminate signal TERMINATE_YOURSELF
2024-06-22 19:39:12.385  - info: backitup.0 (194174) cleaned everything up...
2024-06-22 19:39:12.385  - info: backitup.0 (194174) terminating
2024-06-22 19:39:12.386  - info: backitup.0 (194174) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
2024-06-22 19:39:12.425  - info: host.iobroker stopInstance system.adapter.backitup.0 send kill signal
2024-06-22 19:39:12.532  - info: host.iobroker iobroker NPM version: 10.7.0
2024-06-22 19:39:12.533  - info: host.iobroker iobroker Installing iobroker.backitup@2.11.0... (System call)
2024-06-22 19:39:12.887  - info: backitup.0 (194174) terminating
2024-06-22 19:39:12.974  - info: host.iobroker instance system.adapter.backitup.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
2024-06-22 19:39:17.208  - info: host.iobroker iobroker added 1 package, and changed 1 package in 5s
2024-06-22 19:39:17.210  - info: host.iobroker iobroker
2024-06-22 19:39:17.212  - info: host.iobroker iobroker 274 packages are looking for funding
2024-06-22 19:39:17.214  - info: host.iobroker iobroker   run `npm fund` for details
2024-06-22 19:39:18.630  - info: host.iobroker iobroker Update "system.adapter.backitup.0"
2024-06-22 19:39:18.874  - info:  host.iobroker iobroker upload [21] backitup.admin  /opt/iobroker/node_modules/iobroker.backitup/admin/adapter-settings.js  adapter-settings.js application/javascript
2024-06-22 19:39:18.879  - info:  host.iobroker iobroker upload [20] backitup.admin  /opt/iobroker/node_modules/iobroker.backitup/admin/backitup.png  backitup.png image/png
2024-06-22 19:39:18.881  - info:  host.iobroker iobroker upload [19] backitup.admin  /opt/iobroker/node_modules/iobroker.backitup/admin/backitup.svg  backitup.svg image/svg+xml
2024-06-22 19:39:18.884  - info:  host.iobroker iobroker upload [18] backitup.admin  /opt/iobroker/node_modules/iobroker.backitup/admin/i18n/de/translations.json  i18n/de/translations.json application/json
2024-06-22 19:39:18.888  - info:  host.iobroker iobroker upload [17] backitup.admin  /opt/iobroker/node_modules/iobroker.backitup/admin/i18n/en/translations.json  i18n/en/translations.json application/json
2024-06-22 19:39:18.891  - info:  host.iobroker iobroker upload [16] backitup.admin  /opt/iobroker/node_modules/iobroker.backitup/admin/i18n/es/translations.json  i18n/es/translations.json application/json
2024-06-22 19:39:18.893  - info:  host.iobroker iobroker upload [15] backitup.admin  /opt/iobroker/node_modules/iobroker.backitup/admin/i18n/fr/translations.json  i18n/fr/translations.json application/json
2024-06-22 19:39:18.896  - info:  host.iobroker iobroker upload [14] backitup.admin  /opt/iobroker/node_modules/iobroker.backitup/admin/i18n/it/translations.json  i18n/it/translations.json application/json
2024-06-22 19:39:18.899  - info:  host.iobroker iobroker upload [13] backitup.admin  /opt/iobroker/node_modules/iobroker.backitup/admin/i18n/nl/translations.json  i18n/nl/translations.json application/json
2024-06-22 19:39:18.902  - info:  host.iobroker iobroker upload [12] backitup.admin  /opt/iobroker/node_modules/iobroker.backitup/admin/i18n/pl/translations.json  i18n/pl/translations.json application/json
2024-06-22 19:39:18.904  - info:  host.iobroker iobroker upload [11] backitup.admin  /opt/iobroker/node_modules/iobroker.backitup/admin/i18n/pt/translations.json  i18n/pt/translations.json application/json
2024-06-22 19:39:18.907  - info:  host.iobroker iobroker upload [10] backitup.admin  /opt/iobroker/node_modules/iobroker.backitup/admin/i18n/ru/translations.json  i18n/ru/translations.json application/json
2024-06-22 19:39:18.910  - info:  host.iobroker iobroker upload [9] backitup.admin  /opt/iobroker/node_modules/iobroker.backitup/admin/i18n/uk/translations.json  i18n/uk/translations.json application/json
2024-06-22 19:39:18.912  - info:  host.iobroker iobroker upload [8] backitup.admin  /opt/iobroker/node_modules/iobroker.backitup/admin/i18n/zh-cn/translations.json  i18n/zh-cn/translations.json application/json
2024-06-22 19:39:18.915  - info:  host.iobroker iobroker upload [7] backitup.admin  /opt/iobroker/node_modules/iobroker.backitup/admin/index.html index.html  text/html
2024-06-22 19:39:18.918  - info:  host.iobroker iobroker upload [6] backitup.admin  /opt/iobroker/node_modules/iobroker.backitup/admin/index_m.html  index_m.html text/html
2024-06-22 19:39:18.921  - info:  host.iobroker iobroker upload [5] backitup.admin  /opt/iobroker/node_modules/iobroker.backitup/admin/index_m.js index_m.js  application/javascript
2024-06-22 19:39:18.923  - info:  host.iobroker iobroker upload [4] backitup.admin  /opt/iobroker/node_modules/iobroker.backitup/admin/style.css style.css  text/css
2024-06-22 19:39:18.926  - info:  host.iobroker iobroker upload [3] backitup.admin  /opt/iobroker/node_modules/iobroker.backitup/admin/tab_m.css tab_m.css  text/css
2024-06-22 19:39:18.929  - info:  host.iobroker iobroker upload [2] backitup.admin  /opt/iobroker/node_modules/iobroker.backitup/admin/tab_m.html tab_m.html  text/html
2024-06-22 19:39:18.933  - info:  host.iobroker iobroker upload [1] backitup.admin  /opt/iobroker/node_modules/iobroker.backitup/admin/tab_m.js tab_m.js  application/javascript
2024-06-22 19:39:18.936  - info:  host.iobroker iobroker upload [0] backitup.admin  /opt/iobroker/node_modules/iobroker.backitup/admin/words.js words.js  application/javascript
2024-06-22 19:39:18.939  - info: host.iobroker iobroker host.iobroker Adapter "system.adapter.backitup.0" is started
2024-06-22 19:39:18.992  - info: host.iobroker "system.adapter.backitup.0" enabled
2024-06-22 19:39:19.250  - info: host.iobroker instance system.adapter.backitup.0 started with pid 244138
2024-06-22 19:39:20.047  - info: host.iobroker iobroker exit 0
2024-06-22 19:39:20.153  - info:  backitup.0 (244138) starting. Version 2.11.0 in  /opt/iobroker/node_modules/iobroker.backitup, node: v18.20.3,  js-controller: 6.0.1
2024-06-22 19:39:20.184  - info: backitup.0 (244138) [iobroker] backup will be activated at 01:00 every 1 day(s)
2024-06-22 19:39:20.233  - info: backitup.0 (244138) [ccu] backup will be activated at 01:30 every 3 day(s)
2024-06-22 19:39:20.242  - error:  backitup.0 (244138) Unhandled promise rejection. 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().
2024-06-22 19:39:20.243  - error:  backitup.0 (244138) unhandled promise rejection: The argument 'command'  must be a string without null bytes. Received 'sudo mount -t cifs -o  username=iobroker_ftp,password="\x10\x1FRV\x11K\x05_T\x1F\x07P\x05YV\x05\x06\x03UW\\TR\x02\x02T\x0BR\x02W...
2024-06-22 19:39:20.243  - error:  backitup.0 (244138) TypeError [ERR_INVALID_ARG_VALUE]: The argument  'command' must be a string without null bytes. Received 'sudo mount -t  cifs -o  username=iobroker_ftp,password="\x10\x1FRV\x11K\x05_T\x1F\x07P\x05YV\x05\x06\x03UW\\TR\x02\x02T\x0BR\x02W...
at new NodeError (node:internal/errors:405:5)
at validateArgumentNullCheck (node:child_process:973:11)
at normalizeExecArgs (node:child_process:191:3)
at Object.exec (node:child_process:233:16)
at mount (/opt/iobroker/node_modules/iobroker.backitup/lib/list/cifs.js:165:23)
at Object.list (/opt/iobroker/node_modules/iobroker.backitup/lib/list/cifs.js:11:13)
at module.exports (/opt/iobroker/node_modules/iobroker.backitup/lib/list.js:76:36)
at /opt/iobroker/node_modules/iobroker.backitup/main.js:1414:17
at new Promise ()
at /opt/iobroker/node_modules/iobroker.backitup/main.js:1413:46
2024-06-22 19:39:20.244  - error:  backitup.0 (244138) Exception-Code: ERR_INVALID_ARG_VALUE: The argument  'command' must be a string without null bytes. Received 'sudo mount -t  cifs -o  username=iobroker_ftp,password="\x10\x1FRV\x11K\x05_T\x1F\x07P\x05YV\x05\x06\x03UW\\TR\x02\x02T\x0BR\x02W...
2024-06-22 19:39:20.245  - info: backitup.0 (244138) cleaned everything up...
2024-06-22 19:39:20.246  - info: backitup.0 (244138) terminating
2024-06-22 19:39:20.246  - warn: backitup.0 (244138) Terminated (UNCAUGHT_EXCEPTION): Without reason
2024-06-22 19:39:20.747  - info: backitup.0 (244138) terminating
2024-06-22 19:39:20.804  - error: host.iobroker instance system.adapter.backitup.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
2024-06-22 19:39:20.805  - info: host.iobroker Restart adapter system.adapter.backitup.0 because enabled
2024-06-22 19:39:51.068  - info: host.iobroker instance system.adapter.backitup.0 started with pid 244153
2024-06-22 19:39:51.918  - info:  backitup.0 (244153) starting. Version 2.11.0 in  /opt/iobroker/node_modules/iobroker.backitup, node: v18.20.3,  js-controller: 6.0.1
2024-06-22 19:39:51.991  - info: backitup.0 (244153) [iobroker] backup will be activated at 01:00 every 1 day(s)
2024-06-22 19:39:52.015  - info: backitup.0 (244153) [ccu] backup will be activated at 01:30 every 3 day(s)
2024-06-22 19:39:52.025  - error:  backitup.0 (244153) Unhandled promise rejection. 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().
2024-06-22 19:39:52.025  - error:  backitup.0 (244153) unhandled promise rejection: The argument 'command'  must be a string without null bytes. Received 'sudo mount -t cifs -o  username=iobroker_ftp,password="\x10\x1FRV\x11K\x05_T\x1F\x07P\x05YV\x05\x06\x03UW\\TR\x02\x02T\x0BR\x02W...
2024-06-22 19:39:52.026  - error:  backitup.0 (244153) TypeError [ERR_INVALID_ARG_VALUE]: The argument  'command' must be a string without null bytes. Received 'sudo mount -t  cifs -o  username=iobroker_ftp,password="\x10\x1FRV\x11K\x05_T\x1F\x07P\x05YV\x05\x06\x03UW\\TR\x02\x02T\x0BR\x02W...
at new NodeError (node:internal/errors:405:5)
at validateArgumentNullCheck (node:child_process:973:11)
at normalizeExecArgs (node:child_process:191:3)
at Object.exec (node:child_process:233:16)
at mount (/opt/iobroker/node_modules/iobroker.backitup/lib/list/cifs.js:165:23)
at Object.list (/opt/iobroker/node_modules/iobroker.backitup/lib/list/cifs.js:11:13)
at module.exports (/opt/iobroker/node_modules/iobroker.backitup/lib/list.js:76:36)
at /opt/iobroker/node_modules/iobroker.backitup/main.js:1414:17
at new Promise ()
at /opt/iobroker/node_modules/iobroker.backitup/main.js:1413:46
2024-06-22 19:39:52.026  - error:  backitup.0 (244153) Exception-Code: ERR_INVALID_ARG_VALUE: The argument  'command' must be a string without null bytes. Received 'sudo mount -t  cifs -o  username=iobroker_ftp,password="\x10\x1FRV\x11K\x05_T\x1F\x07P\x05YV\x05\x06\x03UW\\TR\x02\x02T\x0BR\x02W...
2024-06-22 19:39:52.028  - info: backitup.0 (244153) cleaned everything up...
2024-06-22 19:39:52.028  - info: backitup.0 (244153) terminating
2024-06-22 19:39:52.029  - warn: backitup.0 (244153) Terminated (UNCAUGHT_EXCEPTION): Without reason
2024-06-22 19:39:52.529  - info: backitup.0 (244153) terminating
2024-06-22 19:39:52.581  - error: host.iobroker instance system.adapter.backitup.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
2024-06-22 19:39:52.581  - info: host.iobroker Restart adapter system.adapter.backitup.0 because enabled
2024-06-22 19:40:22.825  - info: host.iobroker instance system.adapter.backitup.0 started with pid 244168
2024-06-22 19:40:23.614  - info:  backitup.0 (244168) starting. Version 2.11.0 in  /opt/iobroker/node_modules/iobroker.backitup, node: v18.20.3,  js-controller: 6.0.1
2024-06-22 19:40:23.648  - info: backitup.0 (244168) [iobroker] backup will be activated at 01:00 every 1 day(s)
2024-06-22 19:40:23.672  - info: backitup.0 (244168) [ccu] backup will be activated at 01:30 every 3 day(s)
2024-06-22 19:40:23.683  - error:  backitup.0 (244168) Unhandled promise rejection. 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().
2024-06-22 19:40:23.683  - error:  backitup.0 (244168) unhandled promise rejection: The argument 'command'  must be a string without null bytes. Received 'sudo mount -t cifs -o  username=iobroker_ftp,password="\x10\x1FRV\x11K\x05_T\x1F\x07P\x05YV\x05\x06\x03UW\\TR\x02\x02T\x0BR\x02W...
2024-06-22 19:40:23.684  - error:  backitup.0 (244168) TypeError [ERR_INVALID_ARG_VALUE]: The argument  'command' must be a string without null bytes. Received 'sudo mount -t  cifs -o  username=iobroker_ftp,password="\x10\x1FRV\x11K\x05_T\x1F\x07P\x05YV\x05\x06\x03UW\\TR\x02\x02T\x0BR\x02W...
at new NodeError (node:internal/errors:405:5)
at validateArgumentNullCheck (node:child_process:973:11)
at normalizeExecArgs (node:child_process:191:3)
at Object.exec (node:child_process:233:16)
at mount (/opt/iobroker/node_modules/iobroker.backitup/lib/list/cifs.js:165:23)
at Object.list (/opt/iobroker/node_modules/iobroker.backitup/lib/list/cifs.js:11:13)
at module.exports (/opt/iobroker/node_modules/iobroker.backitup/lib/list.js:76:36)
at /opt/iobroker/node_modules/iobroker.backitup/main.js:1414:17
at new Promise ()
at /opt/iobroker/node_modules/iobroker.backitup/main.js:1413:46
2024-06-22 19:40:23.684  - error:  backitup.0 (244168) Exception-Code: ERR_INVALID_ARG_VALUE: The argument  'command' must be a string without null bytes. Received 'sudo mount -t  cifs -o  username=iobroker_ftp,password="\x10\x1FRV\x11K\x05_T\x1F\x07P\x05YV\x05\x06\x03UW\\TR\x02\x02T\x0BR\x02W...
2024-06-22 19:40:23.687  - info: backitup.0 (244168) cleaned everything up...
2024-06-22 19:40:23.688  - info: backitup.0 (244168) terminating
2024-06-22 19:40:23.688  - warn: backitup.0 (244168) Terminated (UNCAUGHT_EXCEPTION): Without reason
2024-06-22 19:40:24.189  - info: backitup.0 (244168) terminating
2024-06-22 19:40:24.246  - error: host.iobroker instance system.adapter.backitup.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
2024-06-22 19:40:24.246  - info: host.iobroker Restart adapter system.adapter.backitup.0 because enabled
2024-06-22 19:40:24.246  - warn: host.iobroker Do not restart adapter system.adapter.backitup.0 because restart loop detected
2024-06-22 19:40:29.035  - info: host.iobroker instance system.adapter.dwd.0 started with pid 244183
2024-06-22 19:40:30.674  - info: host.iobroker instance system.adapter.dwd.0 having pid 244183 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
simatec commented 4 months ago

Dann gehe mal wieder auf die 3.0.5 und lösche erstmal alle Ordner auf der Fritzbox manuell. Auch alle anderen Dateien in dem Ordner löschen und nur die Backups drin lassen. Danach starte dein System und die Fritzbox einmal neu

simatec commented 4 months ago

Bitte um Feedback...

juergiboy commented 4 months ago

Ich bin wieder auf 3.0.5 und habe alles neu gestartet. Die temporären Verzeichnisse habe ich vorher gelöscht. Leider hat das keine Veränderung gebracht, die neu erstellten temporären Verzeichnisse bleiben wieder stehen.

simatec commented 4 months ago

Dann poste bitte mal deine Einstellungen auf der Fitzbox. Also alles was NAS betrifft. User, Rechte, NAS, USB. Des Weiteren posten bitte mal den Inhalt von /opt/iobroker/backups mit ls -lah Das ganze bitte einmal mit und ohne eingehängten mount

juergiboy commented 4 months ago

Ok, dann wollen wir mal. Die Fritz-Einstellungen gehen aber nur als Bild: Screenshot 2024-06-27 at 21-02-57 FRITZ!Box 7490 Screenshot 2024-06-27 at 21-01-48 FRITZ!Box 7490 Screenshot 2024-06-27 at 21-01-25 FRITZ!Box 7490

Die Ausgabe von backups ohne mount:

juergen@iobroker:/opt/iobroker/backups$ ls -lah
insgesamt 8,0K
drwxrwxr-x+ 2 iobroker iobroker 4,0K 11. Nov 2023  .
drwxrwxr-x+ 6 iobroker iobroker 4,0K 11. Jun 20:18 ..
juergen@iobroker:/opt/iobroker/backups$

und hier mit mount kurz nach einer Sicherung:

juergen@iobroker:/opt/iobroker/backups$ ls -lah
insgesamt 863M
drwxrwxrwx  2 iobroker iobroker    0 27. Jun 21:40 .
drwxrwxr-x+ 6 iobroker iobroker 4,0K 11. Jun 20:18 ..
-rwxrwxrwx  1 iobroker iobroker  24K 24. Jun 01:11 grafana_2024_06_24-01_11_51_backupiobroker.tar.gz
-rwxrwxrwx  1 iobroker iobroker  24K 25. Jun 01:06 grafana_2024_06_25-01_06_12_backupiobroker.tar.gz
-rwxrwxrwx  1 iobroker iobroker  24K 26. Jun 01:05 grafana_2024_06_26-01_05_27_backupiobroker.tar.gz
-rwxrwxrwx  1 iobroker iobroker  24K 27. Jun 01:05 grafana_2024_06_27-01_05_45_backupiobroker.tar.gz
-rwxrwxrwx  1 iobroker iobroker  24K 27. Jun 21:40 grafana_2024_06_27-21_40_30_backupiobroker.tar.gz
drwxrwxrwx  2 iobroker iobroker    0 24. Jun 01:11 grafana_tmp
-rwxrwxrwx  1 iobroker iobroker 5,6M 25. Jun 01:30 homematic_2024_06_25-01_30_22_3.75.6.20240316_backupiobroker.tar.sbk
-rwxrwxrwx  1 iobroker iobroker 206M 24. Jun 01:07 influxDB_2024_06_24-01_00_31_backupiobroker.tar.gz
-rwxrwxrwx  1 iobroker iobroker 208M 25. Jun 01:04 influxDB_2024_06_25-01_00_30_backupiobroker.tar.gz
-rwxrwxrwx  1 iobroker iobroker 208M 26. Jun 01:03 influxDB_2024_06_26-01_00_31_backupiobroker.tar.gz
drwxrwxrwx  2 iobroker iobroker    0 27. Jun 21:36 influxDB_2024_06_27-21_34_58_backupiobroker
-rwxrwxrwx  1 iobroker iobroker  24M 24. Jun 01:00 iobroker_2024_06_24-01_00_20_backupiobroker.tar.gz
-rwxrwxrwx  1 iobroker iobroker  24M 25. Jun 01:00 iobroker_2024_06_25-01_00_20_backupiobroker.tar.gz
-rwxrwxrwx  1 iobroker iobroker  24M 26. Jun 01:00 iobroker_2024_06_26-01_00_20_backupiobroker.tar.gz
-rwxrwxrwx  1 iobroker iobroker  24M 27. Jun 01:00 iobroker_2024_06_27-01_00_20_backupiobroker.tar.gz
-rwxrwxrwx  1 iobroker iobroker  24M 27. Jun 21:34 iobroker_2024_06_27-21_34_46_backupiobroker.tar.gz
-rwxrwxrwx  1 iobroker iobroker   88 24. Jun 01:12 javascripts_2024_06_24-01_11_58_backupiobroker.tar.gz
-rwxrwxrwx  1 iobroker iobroker   88 25. Jun 01:06 javascripts_2024_06_25-01_06_19_backupiobroker.tar.gz
-rwxrwxrwx  1 iobroker iobroker   88 26. Jun 01:05 javascripts_2024_06_26-01_05_34_backupiobroker.tar.gz
-rwxrwxrwx  1 iobroker iobroker   88 27. Jun 01:06 javascripts_2024_06_27-01_05_51_backupiobroker.tar.gz
-rwxrwxrwx  1 iobroker iobroker  24M 24. Jun 01:11 mysql_2024_06_24-01_07_30_backupiobroker.tar.gz
-rwxrwxrwx  1 iobroker iobroker  24M 25. Jun 01:06 mysql_2024_06_25-01_04_46_backupiobroker.tar.gz
-rwxrwxrwx  1 iobroker iobroker  24M 26. Jun 01:05 mysql_2024_06_26-01_04_02_backupiobroker.tar.gz
-rwxrwxrwx  1 iobroker iobroker  24M 27. Jun 01:04 mysql_2024_06_27-01_01_52_backupiobroker.tar.gz
-rwxrwxrwx  1 iobroker iobroker  24M 27. Jun 21:40 mysql_2024_06_27-21_36_16_backupiobroker.tar.gz
drwxrwxrwx  2 iobroker iobroker    0 24. Jun 01:11 tmpScripts
-rwxrwxrwx  1 iobroker iobroker  750 25. Jun 01:06 zigbee.0_2024_06_25-01_06_06_backupiobroker.tar.gz
-rwxrwxrwx  1 iobroker iobroker  750 26. Jun 01:05 zigbee.0_2024_06_26-01_05_23_backupiobroker.tar.gz
-rwxrwxrwx  1 iobroker iobroker  750 27. Jun 01:05 zigbee.0_2024_06_27-01_04_52_backupiobroker.tar.gz
-rwxrwxrwx  1 iobroker iobroker  750 27. Jun 21:40 zigbee.0_2024_06_27-21_40_25_backupiobroker.tar.gz
-rwxrwxrwx  1 iobroker iobroker 6,3K 24. Jun 01:11 zigbee.1_2024_06_24-01_11_47_backupiobroker.tar.gz
-rwxrwxrwx  1 iobroker iobroker 6,3K 25. Jun 01:06 zigbee.1_2024_06_25-01_06_06_backupiobroker.tar.gz
-rwxrwxrwx  1 iobroker iobroker 6,3K 26. Jun 01:05 zigbee.1_2024_06_26-01_05_23_backupiobroker.tar.gz
-rwxrwxrwx  1 iobroker iobroker 6,3K 27. Jun 01:05 zigbee.1_2024_06_27-01_04_52_backupiobroker.tar.gz
-rwxrwxrwx  1 iobroker iobroker 6,3K 27. Jun 21:40 zigbee.1_2024_06_27-21_40_25_backupiobroker.tar.gz
juergen@iobroker:/opt/iobroker/backups$
simatec commented 4 months ago

@Grothesk242 Hast du ne Idee, warum hier die tmp Ordner nicht gelöscht werden können? Ich hätte das FAT System in Verdacht…

Grothesk242 commented 4 months ago

Nicht wirklich. Ich würde aber schon mal die drei Verzeichnisse da von Hand löschen. Also grafana_tmp, influxDB_2024_06_27-21_34_58_backupiobroker und tmpScripts FAT kann ein Problem sein, das kennt ja keine Unix-Rechte und wird von CIFS nur übersetzt. Ich würde für so ein Datengrab auch immer ein Linux-Dateisystem verwenden, hier dann wohl 'ext4'.

simatec commented 4 months ago

Ja da bin ich deiner Meinung... @juergiboy formatiere den Stick mal in ext4. und wie schon weiter oben geschrieben, entferne bitte die Ordner mal manuell

juergiboy commented 4 months ago

Hi Leute, die temporären Ordner habe ich schon x-mal gelöscht, sie entstehen ja immer wieder neu. Das ändert leider nix. ext4?? Ich will ja gerne alles versuchen, das wird nur mit einem Windowsrechner etwas schwieriger. Ich schaue mal wie ich das probiert kriege. Aber kann mir denn jemand erklären warum das Problem dann so plötzlich auftritt? Der Stick war schon immer in FAT32 und es hat ja jahrelang funktioniert.

Grothesk242 commented 4 months ago

Operating system: Debian

Warum formatierst du es nicht damit? Kleine Hinweise dazu hier: https://forum.iobroker.net/topic/44674/ext4-dateisystem-am-fritznas-betreiben

juergiboy commented 4 months ago

Ich habe es mit einem Tool gemacht: grafik

Leider bringt auch das keine Veränderung: grafik Die Temp-Verzeichnisse sammeln sich wieder.

Was mir noch aufgefallen ist: Eigentlich sollen nur die letzten 5 Sicherungen erhalten bleiben, aber das Löschen älterer Sicherungen scheint auch nicht mehr zu funktionieren. Auf dem Stick davor waren es schon 9...

Also anlegen, schreiben - kein Problem, nur löschen geht nicht mehr.

simatec commented 4 months ago

Bitte zeige den Debuglog von Backitup... Bei manuellen Backups werden keine Backups gelöscht

juergiboy commented 4 months ago

Bei manuellen Backups werden keine Backups gelöscht

Ja, das ist mir bekannt, es waren aber 8 davon nicht manuell.

Hier ist das gewünschte Log, es zeigt nicht wirklich Unterschiede zu vorher:

2024-07-02 19:34:50.919 - debug: backitup.0 (417004) Redis Objects: Use Redis connection: 127.0.0.1:9001
2024-07-02 19:34:50.937 - debug: backitup.0 (417004) Objects client ready ... initialize now
2024-07-02 19:34:50.937 - debug: backitup.0 (417004) Objects create System PubSub Client
2024-07-02 19:34:50.938 - debug: backitup.0 (417004) Objects create User PubSub Client
2024-07-02 19:34:50.964 - debug: backitup.0 (417004) Objects client initialize lua scripts
2024-07-02 19:34:50.967 - debug: backitup.0 (417004) Objects connected to redis: 127.0.0.1:9001
2024-07-02 19:34:50.987 - debug: backitup.0 (417004) Redis States: Use Redis connection: 127.0.0.1:9000
2024-07-02 19:34:50.995 - debug: backitup.0 (417004) States create System PubSub Client
2024-07-02 19:34:50.995 - debug: backitup.0 (417004) States create User PubSub Client
2024-07-02 19:34:51.054 - debug: backitup.0 (417004) States connected to redis: 127.0.0.1:9000
2024-07-02 19:34:51.082 - debug: backitup.0 (417004) Plugin sentry Do not initialize Plugin (enabled=false)
2024-07-02 19:34:51.125 - debug: backitup.0 (417004) Plugin sentry destroyed because not initialized correctly
2024-07-02 19:34:51.255 - info: backitup.0 (417004) starting. Version 3.0.8 in /opt/iobroker/node_modules/iobroker.backitup, node: v18.20.3, js-controller: 6.0.1
2024-07-02 19:34:51.262 - debug: backitup.0 (417004) BackItUp has recognized a linux system
2024-07-02 19:34:51.283 - info: backitup.0 (417004) [iobroker] backup will be activated at 01:00 every 1 day(s)
2024-07-02 19:34:51.307 - debug: backitup.0 (417004) [iobroker] 10 00 01 */1 * *
2024-07-02 19:34:51.307 - info: backitup.0 (417004) [ccu] backup will be activated at 01:30 every 3 day(s)
2024-07-02 19:34:51.310 - debug: backitup.0 (417004) [ccu] 10 30 01 */3 * *
2024-07-02 19:34:51.315 - debug: backitup.0 (417004) cifs-mount command: "sudo mount -t cifs -o username=iobroker_ftp,password=****,noserverino,cache=loose,rw,forceuid,uid=iobroker,forcegid,gid=iobroker,file_mode=0777,dir_mode=0777,vers=3.1.1 //192.168.2.2Juergens-Fritz/JetFlash-Transcend32GB-01/Sicherung_ioBroker /opt/iobroker/backups"
2024-07-02 19:34:51.522 - debug: backitup.0 (417004) mount successfully completed
2024-07-02 19:34:53.596 - debug: backitup.0 (417004) detect backup file 1 from NAS: iobroker_2024_07_01-21_50_38_backupiobroker.tar.gz
2024-07-02 19:34:53.597 - debug: backitup.0 (417004) detect backup file 2 from NAS: iobroker_2024_07_02-01_00_20_backupiobroker.tar.gz
2024-07-02 19:34:53.597 - debug: backitup.0 (417004) detect last backup file: iobroker_2024_07_02-01_00_20_backupiobroker.tar.gz
2024-07-02 19:35:01.269 - debug: backitup.0 (417004) mount activ... umount in 2 Seconds!!
2024-07-02 19:35:03.307 - debug: backitup.0 (417004) umount successfully completed
2024-07-02 19:35:14.078 - debug: backitup.0 (417004) Backup has started ...
2024-07-02 19:35:24.079 - debug: backitup.0 (417004) [iobroker/mount] cifs-mount command: "sudo mount -t cifs -o username=iobroker_ftp,password=****,noserverino,cache=loose,rw,forceuid,uid=iobroker,forcegid,gid=iobroker,file_mode=0777,dir_mode=0777,vers=3.1.1 //192.168.2.2/Juergens-Fritz/JetFlash-Transcend32GB-01/Sicherung_ioBroker /opt/iobroker/backups"
2024-07-02 19:35:24.191 - debug: backitup.0 (417004) [iobroker/mount] mount successfully completed
2024-07-02 19:35:24.191 - debug: backitup.0 (417004) [iobroker/mount] done
2024-07-02 19:35:24.343 - debug: backitup.0 (417004) [iobroker/iobroker] ioPath: /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js
2024-07-02 19:35:25.906 - debug: backitup.0 (417004) [iobroker/iobroker] host.iobroker 12227 states saved
2024-07-02 19:35:26.723 - debug: backitup.0 (417004) [iobroker/iobroker] host.iobroker 14715 objects saved
2024-07-02 19:35:34.563 - debug: backitup.0 (417004) [iobroker/iobroker] Backup created: /opt/iobroker/backups/iobroker_2024_07_02-19_35_24_backupiobroker.tar.gz
2024-07-02 19:35:34.565 - debug: backitup.0 (417004) [iobroker/iobroker] This backup can only be restored with js-controller version up from 4.1
2024-07-02 19:35:35.608 - debug: backitup.0 (417004) [iobroker/iobroker] done
2024-07-02 19:35:35.759 - debug: backitup.0 (417004) [iobroker/influxDB] InfluxDB-Backup started ...
2024-07-02 19:35:35.760 - debug: backitup.0 (417004) [iobroker/influxDB] Start InfluxDB Backup ...
2024-07-02 19:35:39.599 - debug: backitup.0 (417004) [iobroker/influxDB] InfluxDB Backup tmp directory created
2024-07-02 19:36:14.011 - info: host.iobroker instance system.adapter.daswetter.0 started with pid 417093
2024-07-02 19:36:17.829 - info: host.iobroker instance system.adapter.daswetter.0 having pid 417093 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
2024-07-02 19:38:08.681 - debug: backitup.0 (417004) [iobroker/influxDB] Packed 12MB so far...
2024-07-02 19:39:08.681 - debug: backitup.0 (417004) [iobroker/influxDB] Packed 187MB so far...
2024-07-02 19:39:15.532 - debug: backitup.0 (417004) [iobroker/influxDB] Backup created: /opt/iobroker/backups/influxDB_2024_07_02-19_35_35_backupiobroker.tar.gz
2024-07-02 19:39:15.532 - debug: backitup.0 (417004) [iobroker/influxDB] Try deleting the InfluxDB tmp directory: "/opt/iobroker/backups/influxDB_2024_07_02-19_35_35_backupiobroker"
2024-07-02 19:39:21.433 - error: backitup.0 (417004) [iobroker/influxDB] The temporary directory "/opt/iobroker/backups/influxDB_2024_07_02-19_35_35_backupiobroker" could not be deleted. Please check the directory permissions and delete the directory manually
2024-07-02 19:39:21.434 - error: backitup.0 (417004) [iobroker/influxDB] The temporary directory "/opt/iobroker/backups/influxDB_2024_07_02-19_35_35_backupiobroker" could not be deleted. Please check the directory permissions and delete the directory manually
2024-07-02 19:39:21.434 - debug: backitup.0 (417004) [iobroker/influxDB] InfluxDB-Backup for is finish
2024-07-02 19:39:21.434 - debug: backitup.0 (417004) [iobroker/influxDB] done
2024-07-02 19:39:21.585 - debug: backitup.0 (417004) [iobroker/mysql] MySql-Backup started ...
2024-07-02 19:40:22.010 - info: host.iobroker instance system.adapter.dwd.0 started with pid 417155
2024-07-02 19:40:23.757 - info: host.iobroker instance system.adapter.dwd.0 having pid 417155 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
2024-07-02 19:40:34.891 - debug: backitup.0 (417004) [iobroker/mysql] Packed 2MB so far...
2024-07-02 19:40:54.889 - debug: backitup.0 (417004) [iobroker/mysql] Packed 20MB so far...
2024-07-02 19:40:58.441 - debug: backitup.0 (417004) [iobroker/mysql] MySql File deleted!
2024-07-02 19:40:58.442 - debug: backitup.0 (417004) [iobroker/mysql] MySql-Backup for is finish
2024-07-02 19:40:58.442 - debug: backitup.0 (417004) [iobroker/mysql] done
2024-07-02 19:40:59.195 - debug: backitup.0 (417004) [iobroker/zigbee] found zigbee database: zigbee.0,zigbee.1
2024-07-02 19:40:59.195 - debug: backitup.0 (417004) [iobroker/zigbee] done
2024-07-02 19:40:59.497 - debug: backitup.0 (417004) [iobroker/grafana] Start Grafana Backup ...
2024-07-02 19:41:01.831 - debug: backitup.0 (417004) [iobroker/grafana] Try deleting the Grafana tmp directory: "/opt/iobroker/backups/grafana_tmp"
2024-07-02 19:41:02.359 - error: backitup.0 (417004) [iobroker/grafana] The temporary directory "/opt/iobroker/backups/grafana_tmp" could not be deleted. Please check the directory permissions and delete the directory manually
2024-07-02 19:41:02.360 - error: backitup.0 (417004) [iobroker/grafana] The temporary directory "/opt/iobroker/backups/grafana_tmp" could not be deleted. Please check the directory permissions and delete the directory manually
2024-07-02 19:41:02.453 - debug: backitup.0 (417004) [iobroker/grafana] start Grafana request ...
2024-07-02 19:41:02.475 - debug: backitup.0 (417004) [iobroker/grafana] Grafana is available ... Status: 200
2024-07-02 19:41:02.648 - debug: backitup.0 (417004) [iobroker/grafana] found Dashboard: energy-usage
2024-07-02 19:41:02.696 - debug: backitup.0 (417004) [iobroker/grafana] found Dashboard: wasser
2024-07-02 19:41:03.540 - debug: backitup.0 (417004) [iobroker/grafana] start Grafana backup compress ...
2024-07-02 19:41:20.824 - debug: backitup.0 (417004) [iobroker/grafana] Backup created: /opt/iobroker/backups/grafana_2024_07_02-19_41_03_backupiobroker.tar.gz
2024-07-02 19:41:20.825 - debug: backitup.0 (417004) [iobroker/grafana] Try deleting the Grafana tmp directory: "/opt/iobroker/backups/grafana_tmp"
2024-07-02 19:41:21.628 - error: backitup.0 (417004) [iobroker/grafana] The temporary directory "/opt/iobroker/backups/grafana_tmp" could not be deleted. Please check the directory permissions and delete the directory manually
2024-07-02 19:41:21.628 - error: backitup.0 (417004) [iobroker/grafana] The temporary directory "/opt/iobroker/backups/grafana_tmp" could not be deleted. Please check the directory permissions and delete the directory manually
2024-07-02 19:41:21.628 - debug: backitup.0 (417004) [iobroker/grafana] done
2024-07-02 19:41:22.096 - debug: backitup.0 (417004) [iobroker/javascripts] Try deleting the old javascript_tmp directory: "/opt/iobroker/backups/tmpScripts"
2024-07-02 19:41:22.192 - debug: backitup.0 (417004) [iobroker/javascripts] Javascript tmp directory "/opt/iobroker/backups/tmpScripts" cannot deleted ... Error: ENOTEMPTY: directory not empty, rmdir '/opt/iobroker/backups/tmpScripts'
2024-07-02 19:41:24.045 - debug: backitup.0 (417004) [iobroker/javascripts] found Script: Astrozeiten
2024-07-02 19:41:37.909 - debug: backitup.0 (417004) [iobroker/javascripts] found Script: Rollos
2024-07-02 19:41:38.119 - debug: backitup.0 (417004) [iobroker/javascripts] Try deleting the Javascript tmp directory: "/opt/iobroker/backups/tmpScripts"
2024-07-02 19:41:38.212 - debug: backitup.0 (417004) [iobroker/javascripts] Javascript tmp directory "/opt/iobroker/backups/tmpScripts" cannot deleted ... Error: ENOTEMPTY: directory not empty, rmdir '/opt/iobroker/backups/tmpScripts'
2024-07-02 19:41:38.212 - debug: backitup.0 (417004) [iobroker/javascripts] Backup created: /opt/iobroker/backups/javascripts_2024_07_02-19_41_22_backupiobroker.tar.gz
2024-07-02 19:41:38.212 - debug: backitup.0 (417004) [iobroker/javascripts] done
2024-07-02 19:41:39.115 - debug: backitup.0 (417004) [iobroker/cifs] used copy path: /Juergens-Fritz/JetFlash-Transcend32GB-01/Sicherung_ioBroker
2024-07-02 19:41:39.115 - debug: backitup.0 (417004) [iobroker/cifs] done
2024-07-02 19:41:39.717 - error: backitup.0 (417004) [iobroker/clean] Backup files not deleted from /opt/iobroker/backups because some errors.
2024-07-02 19:41:39.718 - debug: backitup.0 (417004) [iobroker/clean] done
2024-07-02 19:41:39.871 - debug: backitup.0 (417004) [iobroker/historyHTML] new history html values created
2024-07-02 19:41:39.918 - debug: backitup.0 (417004) [iobroker/historyHTML] done
2024-07-02 19:41:40.138 - debug: backitup.0 (417004) [iobroker/historyJSON] new history json values created
2024-07-02 19:41:40.139 - debug: backitup.0 (417004) [iobroker/historyJSON] done
2024-07-02 19:41:40.294 - debug: backitup.0 (417004) [iobroker/umount] mount active, umount is started ...
2024-07-02 19:41:45.347 - debug: backitup.0 (417004) [iobroker/umount] umount successfully completed
2024-07-02 19:41:45.347 - debug: backitup.0 (417004) [iobroker/umount] done
2024-07-02 19:41:47.704 - debug: backitup.0 (417004) [iobroker/notification] Admin notification will be sent
2024-07-02 19:41:47.705 - debug: backitup.0 (417004) [iobroker/notification] done
2024-07-02 19:41:47.855 - debug: backitup.0 (417004) [iobroker] exec: done
Grothesk242 commented 4 months ago

Warum wird denn da zweimal gemountet?

2024-07-02 19:34:51.315 - debug: backitup.0 (417004) cifs-mount command: "sudo mount -t cifs -o username=iobroker_ftp,password=****,noserverino,cache=loose,rw,forceuid,uid=iobroker,forcegid,gid=iobroker,file_mode=0777,dir_mode=0777,vers=3.1.1 //192.168.2.2Juergens-Fritz/JetFlash-Transcend32GB-01/Sicherung_ioBroker /opt/iobroker/backups"
2024-07-02 19:34:51.522 - debug: backitup.0 (417004) mount successfully completed

2024-07-02 19:35:24.079 - debug: backitup.0 (417004) [iobroker/mount] cifs-mount command: "sudo mount -t cifs -o username=iobroker_ftp,password=****,noserverino,cache=loose,rw,forceuid,uid=iobroker,forcegid,gid=iobroker,file_mode=0777,dir_mode=0777,vers=3.1.1 //192.168.2.2/Juergens-Fritz/JetFlash-Transcend32GB-01/Sicherung_ioBroker /opt/iobroker/backups"
2024-07-02 19:35:24.191 - debug: backitup.0 (417004) [iobroker/mount] mount successfully completed

Die Hosts unterscheiden sich auch: //192.168.2.2Juergens-Fritz //192.168.2.2/Juergens-Fritz Alles merkwürdig...

juergiboy commented 4 months ago

Der erste Mount fand wohl statt, als ich den Adapter mit 'debug' neu gestartet habe. Der zweite dann beim Start des Backups kurz darauf.

Soweit klar, aber warum die unterschiedlich sind ist seltsam...

simatec commented 4 months ago

Die Hosts unterscheiden sich auch

Das ist nur ein Fehler in der Logausgabe des Befehls ... Kann ignoriert werden.

simatec commented 4 months ago

@juergiboy Lass uns mal auf deine Rechte lokal schauen. Wie schaut es mit den Userrechten in /opt/iobroker/backups aus

ls -lah /opt/iobroker/backups

juergiboy commented 4 months ago

Dabei kommt das heraus:

juergen@iobroker:~$ ls -lah /opt/iobroker/backups
insgesamt 8,0K
drwxrwxr-x+ 2 iobroker iobroker 4,0K 11. Nov 2023  .
drwxrwxr-x+ 6 iobroker iobroker 4,0K 11. Jun 20:18 ..
juergen@iobroker:~$
simatec commented 4 months ago

Und mit eingehängten mount?

simatec commented 4 months ago

Also die Userrechte scheinen zu passen. Bitte versuche mal folgendes zum testen. Lösche alle alten Ordner auf dem NAS. Führe ein iob fix durch und versuche im Anschluss ein Backup zu erstellen. Schaue, ob nach dem Fix die Ordner gelöscht wurden. Falls nicht, deaktiviere mal die NAS-Option und führe ein Backup durch. Schaue dann in /opt/iobroker/backups, ob auch dort Ordner nicht gelöscht werden.

Sollten hier alle Ordner gelöscht sein, poste bitte alle Einstellungen zu deinem Fritzbox-NAS. und die vollständige Ausgabe von iob diag

juergiboy commented 4 months ago

Ok, ich habe den fix laufen lassen, das brachte keine Veränderung. Dann habe ich den Backup ohne mount gestartet - und siehe da - die Ordner werden gelöscht.

Die Einstellungen zum NAS hatte ich weiter oben ja schon alle reingestellt, die haben sich nicht verändert.

Die Ausgabe vom iob_diag hänge ich als Datei an, das sind über 500 Zeilen. iob_diag.log

simatec commented 4 months ago

Die Einstellungen zum NAS hatte ich weiter oben ja schon alle reingestellt, die haben sich nicht verändert.

Ich denke da fehlt noch was. Wie sehen die Rechte der einzelnen Ordner aus?

https://github.com/simatec/ioBroker.backitup/wiki/Diverse-Anleitungen-f%C3%BCr-ioBroker.backitup#cifs-smb-freigaben-unter-fritznas-7-auf-einer-fritzbox

Eventuell auch mal einen anderen Stick testen. Es könnte auch ein Defekt vorliegen

juergiboy commented 4 months ago

Was fehlt denn noch? Ich wüsste nicht, dass ich auf der Fritz Rechte auf Dateien oder Ordner einrichten (oder auslesen) kann. Der Backup-User bekommt nur pauschal Lese- und Schreibrechte auf das NAS. Aber ich lerne gerne dazu, wenn das doch irgendwie geht.

Das ist inzwischen schon der dritte Stick, einen Defekt können wir also wohl (leider) ausschließen.

juergiboy commented 4 months ago

Das hat vielleicht nichts damit zu tun, aber ich bekomme immer wieder diese Warnung im Log vom admin:

backitup  has an invalid jsonConfig:  [{"instancePath":"/items/_options","schemaPath":"#/properties/items/patternProperties/%5E.%2B/allOf/8/then/required","keyword":"required","params":{"missingProperty":"items"},"message":"must  have required property  'items'"},{"instancePath":"","schemaPath":"#/if","keyword":"if","params":{"failingKeyword":"then"},"message":"must  match \"then\" schema"}]
Grothesk242 commented 4 months ago

Hast du mal ein weniger komplexes PW versucht? Hier kommt irgendwie was seltsames um's Eck:

2024-06-22 19:40:23.683  - error:  backitup.0 (244168) unhandled promise rejection: The argument 'command'  must be a string without null bytes. Received 'sudo mount -t cifs -o  username=iobroker_ftp,password="\x10\x1FRV\x11K\x05_T\x1F\x07P\x05YV\x05\x06\x03UW\\TR\x02\x02T\x0BR\x02W...
simatec commented 4 months ago

Das hat vielleicht nichts damit zu tun, aber ich bekomme immer wieder diese Warnung im Log vom admin:

backitup  has an invalid jsonConfig:  [{"instancePath":"/items/_options","schemaPath":"#/properties/items/patternProperties/%5E.%2B/allOf/8/then/required","keyword":"required","params":{"missingProperty":"items"},"message":"must  have required property  'items'"},{"instancePath":"","schemaPath":"#/if","keyword":"if","params":{"failingKeyword":"then"},"message":"must  match \"then\" schema"}]

Die Warnung kommt vom Admin und kann ignoriert werden

simatec commented 4 months ago

Ich würde dir empfehlen, dass du mal auf Node 20 wechselt. Grundsätzlich muss bei dir irgendwas schief laufen. Es ist kein Bug von Backitup

simatec commented 3 months ago

Gibt es hier einen aktuellen Stand, sonst würden ich das Issue schließen, da keine Reaktion kommt