NEWS
[gelöst]BackitUp: [ERROR] [iobroker] - permission denied
-
Hallo,
ein erfolgreiches Neues Jahr zusammen!Backitup erzeugt Fehlermeldung:
Started iobroker ... [DEBUG] [mount] start with {"mountType":"CIFS","type":"storage","source":"cifs","mount":"//192.168.2.200","debugging":true,"fileDir":"/opt/iobroker/node_modules/iobroker.backitup","wakeOnLAN":false,"macAd":"20:DE:20:DE:20:DE","wolTime":"25","smb":"vers=1.0","sudo":true,"cifsDomain":"","clientInodes":false,"deleteOldBackup":true,"ownDir":false,"bkpType":"Minimal","dir":"Backup","dirMinimal":"sharename/backupDir","user":"iobroker_backup","pass":"****"} [DEBUG] [mount] - noserverino option: false [DEBUG] [mount] - cifs-mount command: "sudo mount -t cifs -o username=iobroker_backup,password=****,rw,file_mode=0777,dir_mode=0777,vers=1.0 //192.168.2.200/Backup /opt/iobroker/backups" [DEBUG] [mount] - mount successfully completed [DEBUG] [mount] - done [DEBUG] [iobroker] start with {"type":"creator","time":"02:00","debugging":true,"slaveBackup":"Single","everyXDays":"1","nameSuffix":"IObroker_Standard_Backup","deleteBackupAfter":0,"cifs":{"enabled":true,"mountType":"CIFS","type":"storage","source":"cifs","mount":"//192.168.2.200","debugging":true,"fileDir":"/opt/iobroker/node_modules/iobroker.backitup","wakeOnLAN":false,"macAd":"20:DE:20:DE:20:DE","wolTime":"25","smb":"vers=1.0","sudo":true,"cifsDomain":"","clientInodes":false,"deleteOldBackup":true,"ownDir":false,"bkpType":"Minimal","dir":"/Backup","dirMinimal":"sharename/backupDir","user":"iobroker_backup","pass":"****","context":{"fileNames":[],"errors":{},"done":["mount"],"types":[]},"adapter":null,"influxDBEvents":[],"mySqlEvents":[],"pgSqlEvents":[]},"dir":"/opt/iobroker","historyHTML":{"enabled":true,"type":"message","entriesNumber":"25","systemLang":"de"},"historyJSON":{"enabled":true,"type":"message","entriesNumber":"25","systemLang":"de"},"telegram":{"enabled":true,"notificationsType":"E-Mail","type":"message","instance":"","SilentNotice":false,"NoticeType":"longTelegramNotice","User":"none","onlyError":false,"telegramWaiting":0,"hostName":"IObroker_Standard_Backup","systemLang":"de"},"email":{"enabled":true,"notificationsType":"E-Mail","type":"message","instance":"","NoticeType":"longEmailNotice","emailReceiver":"arehder@yahoo.com","emailSender":"arehder@yahoo.com","onlyError":false,"emailWaiting":0,"hostName":"IObroker_Standard_Backup","systemLang":"de"},"pushover":{"enabled":true,"notificationsType":"E-Mail","type":"message","instance":"","SilentNotice":false,"NoticeType":"longPushoverNotice","deviceID":"","onlyError":false,"pushoverWaiting":0,"hostName":"IObroker_Standard_Backup","systemLang":"de"},"whatsapp":{"enabled":true,"notificationsType":"E-Mail","type":"message","instance":"","NoticeType":"longWhatsappNotice","onlyError":false,"whatsappWaiting":0,"hostName":"IObroker_Standard_Backup","systemLang":"de"},"backupDir":"/opt/iobroker/backups"} [DEBUG] [iobroker] - host.ioBroker-RasPi 3227 states saved [DEBUG] [iobroker] - host.ioBroker-RasPi 3922 objects saved [ERROR] [iobroker] - host.ioBroker-RasPi Cannot pack directory /opt/iobroker/node_modules/iobroker.js-controller/tmp/backup: Error: EACCES: permission denied, open '/opt/iobroker/backups/iobroker_2022_01_02-18_34_19_IObroker_Standard_Backup_backupiobroker.tar.gz' [DEBUG] [iobroker] - done [DEBUG] [cifs] - done [DEBUG] [cifs] start with {"mountType":"CIFS","type":"storage","source":"cifs","mount":"//192.168.2.200","debugging":true,"fileDir":"/opt/iobroker/node_modules/iobroker.backitup","wakeOnLAN":false,"macAd":"20:DE:20:DE:20:DE","wolTime":"25","smb":"vers=1.0","sudo":true,"cifsDomain":"","clientInodes":false,"deleteOldBackup":true,"ownDir":false,"bkpType":"Minimal","dir":"/Backup","dirMinimal":"sharename/backupDir","user":"iobroker_backup","pass":"****","backupDir":"/opt/iobroker/backups","influxDBEvents":[],"mySqlEvents":[],"pgSqlEvents":[],"deleteBackupAfter":0} [DEBUG] [clean] - done [DEBUG] [email] - done [DEBUG] [email] start with {"type":"creator","time":"02:00","debugging":true,"slaveBackup":"Single","everyXDays":"1","nameSuffix":"IObroker_Standard_Backup","deleteBackupAfter":0,"cifs":{"enabled":true,"mountType":"CIFS","type":"storage","source":"cifs","mount":"//192.168.2.200","debugging":true,"fileDir":"/opt/iobroker/node_modules/iobroker.backitup","wakeOnLAN":false,"macAd":"20:DE:20:DE:20:DE","wolTime":"25","smb":"vers=1.0","sudo":true,"cifsDomain":"","clientInodes":false,"deleteOldBackup":true,"ownDir":false,"bkpType":"Minimal","dir":"/Backup","dirMinimal":"sharename/backupDir","user":"iobroker_backup","pass":"****","context":{"fileNames":["/opt/iobroker/backups/iobroker_2022_01_02-18_34_19_IObroker_Standard_Backup_backupiobroker.tar.gz"],"errors":{},"done":["mount","iobroker"],"types":["iobroker"]},"adapter":null,"influxDBEvents":[],"mySqlEvents":[],"pgSqlEvents":[]},"dir":"/opt/iobroker","historyHTML":{"enabled":true,"type":"message","entriesNumber":"25","systemLang":"de"},"historyJSON":{"enabled":true,"type":"message","entriesNumber":"25","systemLang":"de"},"telegram":{"enabled":true,"notificationsType":"E-Mail","type":"message","instance":"","SilentNotice":false,"NoticeType":"longTelegramNotice","User":"none","onlyError":false,"telegramWaiting":0,"hostName":"IObroker_Standard_Backup","systemLang":"de"},"email":{"enabled":true,"notificationsType":"E-Mail","type":"message","instance":"","NoticeType":"longEmailNotice","emailReceiver":"arehder@yahoo.com","emailSender":"arehder@yahoo.com","onlyError":false,"emailWaiting":0,"hostName":"IObroker_Standard_Backup","systemLang":"de","time":"02. Januar 2022 um 18:34 Uhr"},"pushover":{"enabled":true,"notificationsType":"E-Mail","type":"message","instance":"","SilentNotice":false,"NoticeType":"longPushoverNotice","deviceID":"","onlyError":false,"pushoverWaiting":0,"hostName":"IObroker_Standard_Backup","systemLang":"de"},"whatsapp":{"enabled":true,"notificationsType":"E-Mail","type":"message","instance":"","NoticeType":"longWhatsappNotice","onlyError":false,"whatsappWaiting":0,"hostName":"IObroker_Standard_Backup","systemLang":"de"},"backupDir":"/opt/iobroker/backups","influxDBEvents":[],"mySqlEvents":[],"pgSqlEvents":[]} [DEBUG] [historyHTML] - new history html values created [DEBUG] [historyHTML] - done [DEBUG] [historyHTML] start with {"type":"creator","time":"02:00","debugging":true,"slaveBackup":"Single","everyXDays":"1","nameSuffix":"IObroker_Standard_Backup","deleteBackupAfter":0,"cifs":{"enabled":true,"mountType":"CIFS","type":"storage","source":"cifs","mount":"//192.168.2.200","debugging":true,"fileDir":"/opt/iobroker/node_modules/iobroker.backitup","wakeOnLAN":false,"macAd":"20:DE:20:DE:20:DE","wolTime":"25","smb":"vers=1.0","sudo":true,"cifsDomain":"","clientInodes":false,"deleteOldBackup":true,"ownDir":false,"bkpType":"Minimal","dir":"/Backup","dirMinimal":"sharename/backupDir","user":"iobroker_backup","pass":"****","context":{"fileNames":["/opt/iobroker/backups/iobroker_2022_01_02-18_34_19_IObroker_Standard_Backup_backupiobroker.tar.gz"],"errors":{},"done":["mount","iobroker"],"types":["iobroker"]},"adapter":null,"influxDBEvents":[],"mySqlEvents":[],"pgSqlEvents":[]},"dir":"/opt/iobroker","historyHTML":{"enabled":true,"type":"message","entriesNumber":"25","systemLang":"de","time":"02. Januar 2022 um 18:34 Uhr"},"historyJSON":{"enabled":true,"type":"message","entriesNumber":"25","systemLang":"de"},"telegram":{"enabled":true,"notificationsType":"E-Mail","type":"message","instance":"","SilentNotice":false,"NoticeType":"longTelegramNotice","User":"none","onlyError":false,"telegramWaiting":0,"hostName":"IObroker_Standard_Backup","systemLang":"de"},"email":{"enabled":true,"notificationsType":"E-Mail","type":"message","instance":"","NoticeType":"longEmailNotice","emailReceiver":"arehder@yahoo.com","emailSender":"arehder@yahoo.com","onlyError":false,"emailWaiting":0,"hostName":"IObroker_Standard_Backup","systemLang":"de"},"pushover":{"enabled":true,"notificationsType":"E-Mail","type":"message","instance":"","SilentNotice":false,"NoticeType":"longPushoverNotice","deviceID":"","onlyError":false,"pushoverWaiting":0,"hostName":"IObroker_Standard_Backup","systemLang":"de"},"whatsapp":{"enabled":true,"notificationsType":"E-Mail","type":"message","instance":"","NoticeType":"longWhatsappNotice","onlyError":false,"whatsappWaiting":0,"hostName":"IObroker_Standard_Backup","systemLang":"de"},"backupDir":"/opt/iobroker/backups","influxDBEvents":[],"mySqlEvents":[],"pgSqlEvents":[]} [DEBUG] [historyJSON] - new history json values created [DEBUG] [historyJSON] - done [DEBUG] [umount] - mount activ, umount is started ... [DEBUG] [historyJSON] start with {"type":"creator","time":"02:00","debugging":true,"slaveBackup":"Single","everyXDays":"1","nameSuffix":"IObroker_Standard_Backup","deleteBackupAfter":0,"cifs":{"enabled":true,"mountType":"CIFS","type":"storage","source":"cifs","mount":"//192.168.2.200","debugging":true,"fileDir":"/opt/iobroker/node_modules/iobroker.backitup","wakeOnLAN":false,"macAd":"20:DE:20:DE:20:DE","wolTime":"25","smb":"vers=1.0","sudo":true,"cifsDomain":"","clientInodes":false,"deleteOldBackup":true,"ownDir":false,"bkpType":"Minimal","dir":"/Backup","dirMinimal":"sharename/backupDir","user":"iobroker_backup","pass":"****","context":{"fileNames":["/opt/iobroker/backups/iobroker_2022_01_02-18_34_19_IObroker_Standard_Backup_backupiobroker.tar.gz"],"errors":{},"done":["mount","iobroker"],"types":["iobroker"]},"adapter":null,"influxDBEvents":[],"mySqlEvents":[],"pgSqlEvents":[]},"dir":"/opt/iobroker","historyHTML":{"enabled":true,"type":"message","entriesNumber":"25","systemLang":"de"},"historyJSON":{"enabled":true,"type":"message","entriesNumber":"25","systemLang":"de","time":"02. Januar 2022 um 18:34 Uhr"},"telegram":{"enabled":true,"notificationsType":"E-Mail","type":"message","instance":"","SilentNotice":false,"NoticeType":"longTelegramNotice","User":"none","onlyError":false,"telegramWaiting":0,"hostName":"IObroker_Standard_Backup","systemLang":"de"},"email":{"enabled":true,"notificationsType":"E-Mail","type":"message","instance":"","NoticeType":"longEmailNotice","emailReceiver":"arehder@yahoo.com","emailSender":"arehder@yahoo.com","onlyError":false,"emailWaiting":0,"hostName":"IObroker_Standard_Backup","systemLang":"de"},"pushover":{"enabled":true,"notificationsType":"E-Mail","type":"message","instance":"","SilentNotice":false,"NoticeType":"longPushoverNotice","deviceID":"","onlyError":false,"pushoverWaiting":0,"hostName":"IObroker_Standard_Backup","systemLang":"de"},"whatsapp":{"enabled":true,"notificationsType":"E-Mail","type":"message","instance":"","NoticeType":"longWhatsappNotice","onlyError":false,"whatsappWaiting":0,"hostName":"IObroker_Standard_Backup","systemLang":"de"},"backupDir":"/opt/iobroker/backups","influxDBEvents":[],"mySqlEvents":[],"pgSqlEvents":[]} [DEBUG] [umount] start with {"mountType":"CIFS","type":"storage","source":"cifs","mount":"//192.168.2.200","debugging":true,"fileDir":"/opt/iobroker/node_modules/iobroker.backitup","wakeOnLAN":false,"macAd":"20:DE:20:DE:20:DE","wolTime":"25","smb":"vers=1.0","sudo":true,"cifsDomain":"","clientInodes":false,"deleteOldBackup":true,"ownDir":false,"bkpType":"Minimal","dir":"/Backup","dirMinimal":"sharename/backupDir","user":"iobroker_backup","pass":"****","backupDir":"/opt/iobroker/backups","influxDBEvents":[],"mySqlEvents":[],"pgSqlEvents":[]} [DEBUG] [umount] - umount successfully completed [DEBUG] [umount] - done [EXIT] 9Wenn ich das backup von der Kosole starte, bekomme ich keine Fehler:
pi@ioBroker-RasPi:/opt/iobroker/backups $ iobroker backup host.ioBroker-RasPi 3227 states saved host.ioBroker-RasPi 3922 objects saved Backup created: /opt/iobroker/backups/2022_01_02-18_38_53_backupiobroker.tar.gzpi@ioBroker-RasPi:/opt/iobroker/backups $ ls -l insgesamt 5256 -rw-rwxrw-+ 1 iobroker iobroker 2688087 Jan 2 17:14 2022_01_02-17_14_31_backupiobroker.tar.gz -rw-rw-rw-+ 1 iobroker iobroker 2688747 Jan 2 18:39 2022_01_02-18_38_53_backupiobroker.tar.gzHabe den fixer laufen lassen:
pi@ioBroker-RasPi:/opt/iobroker/backups $ iobroker fix library: loaded Library version=2021-12-27 ========================================================================== Welcome to the ioBroker installation fixer! Script version: 2021-12-27 You might need to enter your password a couple of times. ========================================================================== ========================================================================== Installing prerequisites (1/3) ========================================================================== Holen:1 http://raspbian.raspberrypi.org/raspbian stretch InRelease [15,0 kB] OK:2 http://archive.raspberrypi.org/debian stretch InRelease OK:3 https://deb.nodesource.com/node_14.x stretch InRelease Es wurden 15,0 kB in 1 s geholt (10,7 kB/s). Paketlisten werden gelesen... Fertig Installed gcc-c++ ========================================================================== Checking ioBroker user and directory permissions (2/3) ========================================================================== Created /etc/sudoers.d/iobroker Fixing directory permissions... ========================================================================== Checking autostart (3/3) ========================================================================== Enabling autostart... Autostart enabled! ========================================================================== Your installation was fixed successfully Run iobroker start to start ioBroker again! ==========================================================================Hat jemand eine Idee, wie man den Zugriffsfehler beseitige kann?
-
Hallo,
ein erfolgreiches Neues Jahr zusammen!Backitup erzeugt Fehlermeldung:
Started iobroker ... [DEBUG] [mount] start with {"mountType":"CIFS","type":"storage","source":"cifs","mount":"//192.168.2.200","debugging":true,"fileDir":"/opt/iobroker/node_modules/iobroker.backitup","wakeOnLAN":false,"macAd":"20:DE:20:DE:20:DE","wolTime":"25","smb":"vers=1.0","sudo":true,"cifsDomain":"","clientInodes":false,"deleteOldBackup":true,"ownDir":false,"bkpType":"Minimal","dir":"Backup","dirMinimal":"sharename/backupDir","user":"iobroker_backup","pass":"****"} [DEBUG] [mount] - noserverino option: false [DEBUG] [mount] - cifs-mount command: "sudo mount -t cifs -o username=iobroker_backup,password=****,rw,file_mode=0777,dir_mode=0777,vers=1.0 //192.168.2.200/Backup /opt/iobroker/backups" [DEBUG] [mount] - mount successfully completed [DEBUG] [mount] - done [DEBUG] [iobroker] start with {"type":"creator","time":"02:00","debugging":true,"slaveBackup":"Single","everyXDays":"1","nameSuffix":"IObroker_Standard_Backup","deleteBackupAfter":0,"cifs":{"enabled":true,"mountType":"CIFS","type":"storage","source":"cifs","mount":"//192.168.2.200","debugging":true,"fileDir":"/opt/iobroker/node_modules/iobroker.backitup","wakeOnLAN":false,"macAd":"20:DE:20:DE:20:DE","wolTime":"25","smb":"vers=1.0","sudo":true,"cifsDomain":"","clientInodes":false,"deleteOldBackup":true,"ownDir":false,"bkpType":"Minimal","dir":"/Backup","dirMinimal":"sharename/backupDir","user":"iobroker_backup","pass":"****","context":{"fileNames":[],"errors":{},"done":["mount"],"types":[]},"adapter":null,"influxDBEvents":[],"mySqlEvents":[],"pgSqlEvents":[]},"dir":"/opt/iobroker","historyHTML":{"enabled":true,"type":"message","entriesNumber":"25","systemLang":"de"},"historyJSON":{"enabled":true,"type":"message","entriesNumber":"25","systemLang":"de"},"telegram":{"enabled":true,"notificationsType":"E-Mail","type":"message","instance":"","SilentNotice":false,"NoticeType":"longTelegramNotice","User":"none","onlyError":false,"telegramWaiting":0,"hostName":"IObroker_Standard_Backup","systemLang":"de"},"email":{"enabled":true,"notificationsType":"E-Mail","type":"message","instance":"","NoticeType":"longEmailNotice","emailReceiver":"arehder@yahoo.com","emailSender":"arehder@yahoo.com","onlyError":false,"emailWaiting":0,"hostName":"IObroker_Standard_Backup","systemLang":"de"},"pushover":{"enabled":true,"notificationsType":"E-Mail","type":"message","instance":"","SilentNotice":false,"NoticeType":"longPushoverNotice","deviceID":"","onlyError":false,"pushoverWaiting":0,"hostName":"IObroker_Standard_Backup","systemLang":"de"},"whatsapp":{"enabled":true,"notificationsType":"E-Mail","type":"message","instance":"","NoticeType":"longWhatsappNotice","onlyError":false,"whatsappWaiting":0,"hostName":"IObroker_Standard_Backup","systemLang":"de"},"backupDir":"/opt/iobroker/backups"} [DEBUG] [iobroker] - host.ioBroker-RasPi 3227 states saved [DEBUG] [iobroker] - host.ioBroker-RasPi 3922 objects saved [ERROR] [iobroker] - host.ioBroker-RasPi Cannot pack directory /opt/iobroker/node_modules/iobroker.js-controller/tmp/backup: Error: EACCES: permission denied, open '/opt/iobroker/backups/iobroker_2022_01_02-18_34_19_IObroker_Standard_Backup_backupiobroker.tar.gz' [DEBUG] [iobroker] - done [DEBUG] [cifs] - done [DEBUG] [cifs] start with {"mountType":"CIFS","type":"storage","source":"cifs","mount":"//192.168.2.200","debugging":true,"fileDir":"/opt/iobroker/node_modules/iobroker.backitup","wakeOnLAN":false,"macAd":"20:DE:20:DE:20:DE","wolTime":"25","smb":"vers=1.0","sudo":true,"cifsDomain":"","clientInodes":false,"deleteOldBackup":true,"ownDir":false,"bkpType":"Minimal","dir":"/Backup","dirMinimal":"sharename/backupDir","user":"iobroker_backup","pass":"****","backupDir":"/opt/iobroker/backups","influxDBEvents":[],"mySqlEvents":[],"pgSqlEvents":[],"deleteBackupAfter":0} [DEBUG] [clean] - done [DEBUG] [email] - done [DEBUG] [email] start with {"type":"creator","time":"02:00","debugging":true,"slaveBackup":"Single","everyXDays":"1","nameSuffix":"IObroker_Standard_Backup","deleteBackupAfter":0,"cifs":{"enabled":true,"mountType":"CIFS","type":"storage","source":"cifs","mount":"//192.168.2.200","debugging":true,"fileDir":"/opt/iobroker/node_modules/iobroker.backitup","wakeOnLAN":false,"macAd":"20:DE:20:DE:20:DE","wolTime":"25","smb":"vers=1.0","sudo":true,"cifsDomain":"","clientInodes":false,"deleteOldBackup":true,"ownDir":false,"bkpType":"Minimal","dir":"/Backup","dirMinimal":"sharename/backupDir","user":"iobroker_backup","pass":"****","context":{"fileNames":["/opt/iobroker/backups/iobroker_2022_01_02-18_34_19_IObroker_Standard_Backup_backupiobroker.tar.gz"],"errors":{},"done":["mount","iobroker"],"types":["iobroker"]},"adapter":null,"influxDBEvents":[],"mySqlEvents":[],"pgSqlEvents":[]},"dir":"/opt/iobroker","historyHTML":{"enabled":true,"type":"message","entriesNumber":"25","systemLang":"de"},"historyJSON":{"enabled":true,"type":"message","entriesNumber":"25","systemLang":"de"},"telegram":{"enabled":true,"notificationsType":"E-Mail","type":"message","instance":"","SilentNotice":false,"NoticeType":"longTelegramNotice","User":"none","onlyError":false,"telegramWaiting":0,"hostName":"IObroker_Standard_Backup","systemLang":"de"},"email":{"enabled":true,"notificationsType":"E-Mail","type":"message","instance":"","NoticeType":"longEmailNotice","emailReceiver":"arehder@yahoo.com","emailSender":"arehder@yahoo.com","onlyError":false,"emailWaiting":0,"hostName":"IObroker_Standard_Backup","systemLang":"de","time":"02. Januar 2022 um 18:34 Uhr"},"pushover":{"enabled":true,"notificationsType":"E-Mail","type":"message","instance":"","SilentNotice":false,"NoticeType":"longPushoverNotice","deviceID":"","onlyError":false,"pushoverWaiting":0,"hostName":"IObroker_Standard_Backup","systemLang":"de"},"whatsapp":{"enabled":true,"notificationsType":"E-Mail","type":"message","instance":"","NoticeType":"longWhatsappNotice","onlyError":false,"whatsappWaiting":0,"hostName":"IObroker_Standard_Backup","systemLang":"de"},"backupDir":"/opt/iobroker/backups","influxDBEvents":[],"mySqlEvents":[],"pgSqlEvents":[]} [DEBUG] [historyHTML] - new history html values created [DEBUG] [historyHTML] - done [DEBUG] [historyHTML] start with {"type":"creator","time":"02:00","debugging":true,"slaveBackup":"Single","everyXDays":"1","nameSuffix":"IObroker_Standard_Backup","deleteBackupAfter":0,"cifs":{"enabled":true,"mountType":"CIFS","type":"storage","source":"cifs","mount":"//192.168.2.200","debugging":true,"fileDir":"/opt/iobroker/node_modules/iobroker.backitup","wakeOnLAN":false,"macAd":"20:DE:20:DE:20:DE","wolTime":"25","smb":"vers=1.0","sudo":true,"cifsDomain":"","clientInodes":false,"deleteOldBackup":true,"ownDir":false,"bkpType":"Minimal","dir":"/Backup","dirMinimal":"sharename/backupDir","user":"iobroker_backup","pass":"****","context":{"fileNames":["/opt/iobroker/backups/iobroker_2022_01_02-18_34_19_IObroker_Standard_Backup_backupiobroker.tar.gz"],"errors":{},"done":["mount","iobroker"],"types":["iobroker"]},"adapter":null,"influxDBEvents":[],"mySqlEvents":[],"pgSqlEvents":[]},"dir":"/opt/iobroker","historyHTML":{"enabled":true,"type":"message","entriesNumber":"25","systemLang":"de","time":"02. Januar 2022 um 18:34 Uhr"},"historyJSON":{"enabled":true,"type":"message","entriesNumber":"25","systemLang":"de"},"telegram":{"enabled":true,"notificationsType":"E-Mail","type":"message","instance":"","SilentNotice":false,"NoticeType":"longTelegramNotice","User":"none","onlyError":false,"telegramWaiting":0,"hostName":"IObroker_Standard_Backup","systemLang":"de"},"email":{"enabled":true,"notificationsType":"E-Mail","type":"message","instance":"","NoticeType":"longEmailNotice","emailReceiver":"arehder@yahoo.com","emailSender":"arehder@yahoo.com","onlyError":false,"emailWaiting":0,"hostName":"IObroker_Standard_Backup","systemLang":"de"},"pushover":{"enabled":true,"notificationsType":"E-Mail","type":"message","instance":"","SilentNotice":false,"NoticeType":"longPushoverNotice","deviceID":"","onlyError":false,"pushoverWaiting":0,"hostName":"IObroker_Standard_Backup","systemLang":"de"},"whatsapp":{"enabled":true,"notificationsType":"E-Mail","type":"message","instance":"","NoticeType":"longWhatsappNotice","onlyError":false,"whatsappWaiting":0,"hostName":"IObroker_Standard_Backup","systemLang":"de"},"backupDir":"/opt/iobroker/backups","influxDBEvents":[],"mySqlEvents":[],"pgSqlEvents":[]} [DEBUG] [historyJSON] - new history json values created [DEBUG] [historyJSON] - done [DEBUG] [umount] - mount activ, umount is started ... [DEBUG] [historyJSON] start with {"type":"creator","time":"02:00","debugging":true,"slaveBackup":"Single","everyXDays":"1","nameSuffix":"IObroker_Standard_Backup","deleteBackupAfter":0,"cifs":{"enabled":true,"mountType":"CIFS","type":"storage","source":"cifs","mount":"//192.168.2.200","debugging":true,"fileDir":"/opt/iobroker/node_modules/iobroker.backitup","wakeOnLAN":false,"macAd":"20:DE:20:DE:20:DE","wolTime":"25","smb":"vers=1.0","sudo":true,"cifsDomain":"","clientInodes":false,"deleteOldBackup":true,"ownDir":false,"bkpType":"Minimal","dir":"/Backup","dirMinimal":"sharename/backupDir","user":"iobroker_backup","pass":"****","context":{"fileNames":["/opt/iobroker/backups/iobroker_2022_01_02-18_34_19_IObroker_Standard_Backup_backupiobroker.tar.gz"],"errors":{},"done":["mount","iobroker"],"types":["iobroker"]},"adapter":null,"influxDBEvents":[],"mySqlEvents":[],"pgSqlEvents":[]},"dir":"/opt/iobroker","historyHTML":{"enabled":true,"type":"message","entriesNumber":"25","systemLang":"de"},"historyJSON":{"enabled":true,"type":"message","entriesNumber":"25","systemLang":"de","time":"02. Januar 2022 um 18:34 Uhr"},"telegram":{"enabled":true,"notificationsType":"E-Mail","type":"message","instance":"","SilentNotice":false,"NoticeType":"longTelegramNotice","User":"none","onlyError":false,"telegramWaiting":0,"hostName":"IObroker_Standard_Backup","systemLang":"de"},"email":{"enabled":true,"notificationsType":"E-Mail","type":"message","instance":"","NoticeType":"longEmailNotice","emailReceiver":"arehder@yahoo.com","emailSender":"arehder@yahoo.com","onlyError":false,"emailWaiting":0,"hostName":"IObroker_Standard_Backup","systemLang":"de"},"pushover":{"enabled":true,"notificationsType":"E-Mail","type":"message","instance":"","SilentNotice":false,"NoticeType":"longPushoverNotice","deviceID":"","onlyError":false,"pushoverWaiting":0,"hostName":"IObroker_Standard_Backup","systemLang":"de"},"whatsapp":{"enabled":true,"notificationsType":"E-Mail","type":"message","instance":"","NoticeType":"longWhatsappNotice","onlyError":false,"whatsappWaiting":0,"hostName":"IObroker_Standard_Backup","systemLang":"de"},"backupDir":"/opt/iobroker/backups","influxDBEvents":[],"mySqlEvents":[],"pgSqlEvents":[]} [DEBUG] [umount] start with {"mountType":"CIFS","type":"storage","source":"cifs","mount":"//192.168.2.200","debugging":true,"fileDir":"/opt/iobroker/node_modules/iobroker.backitup","wakeOnLAN":false,"macAd":"20:DE:20:DE:20:DE","wolTime":"25","smb":"vers=1.0","sudo":true,"cifsDomain":"","clientInodes":false,"deleteOldBackup":true,"ownDir":false,"bkpType":"Minimal","dir":"/Backup","dirMinimal":"sharename/backupDir","user":"iobroker_backup","pass":"****","backupDir":"/opt/iobroker/backups","influxDBEvents":[],"mySqlEvents":[],"pgSqlEvents":[]} [DEBUG] [umount] - umount successfully completed [DEBUG] [umount] - done [EXIT] 9Wenn ich das backup von der Kosole starte, bekomme ich keine Fehler:
pi@ioBroker-RasPi:/opt/iobroker/backups $ iobroker backup host.ioBroker-RasPi 3227 states saved host.ioBroker-RasPi 3922 objects saved Backup created: /opt/iobroker/backups/2022_01_02-18_38_53_backupiobroker.tar.gzpi@ioBroker-RasPi:/opt/iobroker/backups $ ls -l insgesamt 5256 -rw-rwxrw-+ 1 iobroker iobroker 2688087 Jan 2 17:14 2022_01_02-17_14_31_backupiobroker.tar.gz -rw-rw-rw-+ 1 iobroker iobroker 2688747 Jan 2 18:39 2022_01_02-18_38_53_backupiobroker.tar.gzHabe den fixer laufen lassen:
pi@ioBroker-RasPi:/opt/iobroker/backups $ iobroker fix library: loaded Library version=2021-12-27 ========================================================================== Welcome to the ioBroker installation fixer! Script version: 2021-12-27 You might need to enter your password a couple of times. ========================================================================== ========================================================================== Installing prerequisites (1/3) ========================================================================== Holen:1 http://raspbian.raspberrypi.org/raspbian stretch InRelease [15,0 kB] OK:2 http://archive.raspberrypi.org/debian stretch InRelease OK:3 https://deb.nodesource.com/node_14.x stretch InRelease Es wurden 15,0 kB in 1 s geholt (10,7 kB/s). Paketlisten werden gelesen... Fertig Installed gcc-c++ ========================================================================== Checking ioBroker user and directory permissions (2/3) ========================================================================== Created /etc/sudoers.d/iobroker Fixing directory permissions... ========================================================================== Checking autostart (3/3) ========================================================================== Enabling autostart... Autostart enabled! ========================================================================== Your installation was fixed successfully Run iobroker start to start ioBroker again! ==========================================================================Hat jemand eine Idee, wie man den Zugriffsfehler beseitige kann?
@axel56 sagte in BackitUp: [ERROR] [iobroker] - permission denied:
Wenn ich das backup von der Kosole starte, bekomme ich keine Fehler:
Da mountest du ja auch keine smb-Freigabe mit vers=1.0.
Stell da den smb-Dialekt ein, den dein Server spricht. Vermutlich eine Version 3. -
@axel56 sagte in BackitUp: [ERROR] [iobroker] - permission denied:
Wenn ich das backup von der Kosole starte, bekomme ich keine Fehler:
Da mountest du ja auch keine smb-Freigabe mit vers=1.0.
Stell da den smb-Dialekt ein, den dein Server spricht. Vermutlich eine Version 3.@thomas-braun wie kann ich denn den smb-Dialekt einstellen? Hab da leider keine Ahnung

-
@thomas-braun wie kann ich denn den smb-Dialekt einstellen? Hab da leider keine Ahnung

@axel56 In den Einstellungen des Backitup-Adapters. Bei dir steht da v1 drin. Was dein smb-Server quasselt weiß ich nicht, ich würde aber mal mit 3.1.1 anfangen und nach unten gehen, wenn du das nicht weißt.
-
@axel56 In den Einstellungen des Backitup-Adapters. Bei dir steht da v1 drin. Was dein smb-Server quasselt weiß ich nicht, ich würde aber mal mit 3.1.1 anfangen und nach unten gehen, wenn du das nicht weißt.
@thomas-braun Danke, das war ein Volltreffer!
Ich sichere die backups auf meiner NAS (Synology DSM 4.3). Dort war der Dienst SMB 2 nicht aktiviert.
Im Backitup Adapter habe ich den SMB-Typ von 1.0 auf 2.0 gestellt.
Das Backup funktioniert und wird auf das NAS kopiert.
-
@thomas-braun Danke, das war ein Volltreffer!
Ich sichere die backups auf meiner NAS (Synology DSM 4.3). Dort war der Dienst SMB 2 nicht aktiviert.
Im Backitup Adapter habe ich den SMB-Typ von 1.0 auf 2.0 gestellt.
Das Backup funktioniert und wird auf das NAS kopiert.
@axel56 Wenn es geht würde ich auf die Version 3 gehen.
-
@axel56 Wenn es geht würde ich auf die Version 3 gehen.
@thomas-braun Jawoll - SMB 3.0 geht auch.
Hey! Du scheinst an dieser Unterhaltung interessiert zu sein, hast aber noch kein Konto.
Hast du es satt, bei jedem Besuch durch die gleichen Beiträge zu scrollen? Wenn du dich für ein Konto anmeldest, kommst du immer genau dorthin zurück, wo du zuvor warst, und kannst dich über neue Antworten benachrichtigen lassen (entweder per E-Mail oder Push-Benachrichtigung). Du kannst auch Lesezeichen speichern und Beiträge positiv bewerten, um anderen Community-Mitgliedern deine Wertschätzung zu zeigen.
Mit deinem Input könnte dieser Beitrag noch besser werden 💗
Registrieren Anmelden