NEWS
iob Backup via Backitup an Synology
-
Hallo zusammen,
ich habe auch das Problem, dass ich über NFS nicht zugreifen kann.
Das Verzeichnis ist aber auf VM in Proxmox gemountet und direkt über Proxmox habe ich auch Zugriff auf das Verzeichnis.root@iobrokerproxmox:~# showmount -e 192.168.178.50 Export list for 192.168.178.50: /volume1/Backitup 192.168.178.5,192.168.178.84In diesem Fall /volume1/Backitup mit der IP 192.168.167.84 und Proxmox direkt die 192.168.178.5
In IoBroker bekomme ich folgende Fehlermeldung:
2020-01-10 21:43:19.674 - error: host.iobrokerproxmox Caught by controller[0]: { Error: EACCES: permission denied, scandir '/opt/iobroker/backups' 2020-01-10 21:43:19.674 - error: host.iobrokerproxmox Caught by controller[0]: at Object.readdirSync (fs.js:790:3) 2020-01-10 21:43:19.674 - error: host.iobrokerproxmox Caught by controller[0]: at nasList (/opt/iobroker/node_modules/iobroker.backitup/lib/list/cifs.js:47:29) 2020-01-10 21:43:19.674 - error: host.iobrokerproxmox Caught by controller[0]: at error (/opt/iobroker/node_modules/iobroker.backitup/lib/list/cifs.js:15:17) 2020-01-10 21:43:19.675 - error: host.iobrokerproxmox Caught by controller[0]: at child_process.exec (/opt/iobroker/node_modules/iobroker.backitup/lib/list/cifs.js:180:17) 2020-01-10 21:43:19.675 - error: host.iobrokerproxmox Caught by controller[0]: at ChildProcess.exithandler (child_process.js:301:5) 2020-01-10 21:43:19.675 - error: host.iobrokerproxmox Caught by controller[0]: at ChildProcess.emit (events.js:198:13) 2020-01-10 21:43:19.675 - error: host.iobrokerproxmox Caught by controller[0]: at maybeClose (internal/child_process.js:982:16) 2020-01-10 21:43:19.675 - error: host.iobrokerproxmox Caught by controller[0]: at Socket.stream.socket.on (internal/child_process.js:389:11) 2020-01-10 21:43:19.675 - error: host.iobrokerproxmox Caught by controller[0]: at Socket.emit (events.js:198:13) 2020-01-10 21:43:19.675 - error: host.iobrokerproxmox Caught by controller[0]: at Pipe._handle.close (net.js:607:12) 2020-01-10 21:43:19.675 - error: host.iobrokerproxmox Caught by controller[0]: errno: -13, 2020-01-10 21:43:19.675 - error: host.iobrokerproxmox Caught by controller[0]: syscall: 'scandir', 2020-01-10 21:43:19.675 - error: host.iobrokerproxmox Caught by controller[0]: code: 'EACCES', 2020-01-10 21:43:19.675 - error: host.iobrokerproxmox Caught by controller[0]: path: '/opt/iobroker/backups' } 2020-01-10 21:43:19.675 - info: host.iobrokerproxmox instance system.adapter.backitup.0 terminated with code 0 (NO_ERROR) 2020-01-10 21:43:19.675 - info: host.iobrokerproxmox Restart adapter system.adapter.backitup.0 because enabled 2020-01-10 21:43:49.682 - info: host.iobrokerproxmox instance system.adapter.backitup.0 started with pid 29268 2020-01-10 21:43:51.590 - info: backitup.0 (29268) starting. Version 1.3.6 in /opt/iobroker/node_modules/iobroker.backitup, node: v10.18.0 2020-01-10 21:43:51.611 - info: backitup.0 (29268) [iobroker] backup was activated at 02:00 every 1 day(s) 2020-01-10 21:43:51.648 - error: backitup.0 (29268) Error: Command failed: mount 192.168.178.50:/volume1/Backitup/backitup /opt/iobroker/backups mount: only root can do that 2020-01-10 21:43:51.652 - error: backitup.0 (29268) uncaught exception: EACCES: permission denied, scandir '/opt/iobroker/backups' 2020-01-10 21:43:51.652 - error: backitup.0 (29268) Error: EACCES: permission denied, scandir '/opt/iobroker/backups'Hier die Einstellungen im Adapter:

Ich habe leider keine Ahnung was das Problem ist. Ich glaube, dass soweit alles passen sollte.
Vielen Dank für eine Rückantwort.
eve
-
Hallo zusammen,
ich habe auch das Problem, dass ich über NFS nicht zugreifen kann.
Das Verzeichnis ist aber auf VM in Proxmox gemountet und direkt über Proxmox habe ich auch Zugriff auf das Verzeichnis.root@iobrokerproxmox:~# showmount -e 192.168.178.50 Export list for 192.168.178.50: /volume1/Backitup 192.168.178.5,192.168.178.84In diesem Fall /volume1/Backitup mit der IP 192.168.167.84 und Proxmox direkt die 192.168.178.5
In IoBroker bekomme ich folgende Fehlermeldung:
2020-01-10 21:43:19.674 - error: host.iobrokerproxmox Caught by controller[0]: { Error: EACCES: permission denied, scandir '/opt/iobroker/backups' 2020-01-10 21:43:19.674 - error: host.iobrokerproxmox Caught by controller[0]: at Object.readdirSync (fs.js:790:3) 2020-01-10 21:43:19.674 - error: host.iobrokerproxmox Caught by controller[0]: at nasList (/opt/iobroker/node_modules/iobroker.backitup/lib/list/cifs.js:47:29) 2020-01-10 21:43:19.674 - error: host.iobrokerproxmox Caught by controller[0]: at error (/opt/iobroker/node_modules/iobroker.backitup/lib/list/cifs.js:15:17) 2020-01-10 21:43:19.675 - error: host.iobrokerproxmox Caught by controller[0]: at child_process.exec (/opt/iobroker/node_modules/iobroker.backitup/lib/list/cifs.js:180:17) 2020-01-10 21:43:19.675 - error: host.iobrokerproxmox Caught by controller[0]: at ChildProcess.exithandler (child_process.js:301:5) 2020-01-10 21:43:19.675 - error: host.iobrokerproxmox Caught by controller[0]: at ChildProcess.emit (events.js:198:13) 2020-01-10 21:43:19.675 - error: host.iobrokerproxmox Caught by controller[0]: at maybeClose (internal/child_process.js:982:16) 2020-01-10 21:43:19.675 - error: host.iobrokerproxmox Caught by controller[0]: at Socket.stream.socket.on (internal/child_process.js:389:11) 2020-01-10 21:43:19.675 - error: host.iobrokerproxmox Caught by controller[0]: at Socket.emit (events.js:198:13) 2020-01-10 21:43:19.675 - error: host.iobrokerproxmox Caught by controller[0]: at Pipe._handle.close (net.js:607:12) 2020-01-10 21:43:19.675 - error: host.iobrokerproxmox Caught by controller[0]: errno: -13, 2020-01-10 21:43:19.675 - error: host.iobrokerproxmox Caught by controller[0]: syscall: 'scandir', 2020-01-10 21:43:19.675 - error: host.iobrokerproxmox Caught by controller[0]: code: 'EACCES', 2020-01-10 21:43:19.675 - error: host.iobrokerproxmox Caught by controller[0]: path: '/opt/iobroker/backups' } 2020-01-10 21:43:19.675 - info: host.iobrokerproxmox instance system.adapter.backitup.0 terminated with code 0 (NO_ERROR) 2020-01-10 21:43:19.675 - info: host.iobrokerproxmox Restart adapter system.adapter.backitup.0 because enabled 2020-01-10 21:43:49.682 - info: host.iobrokerproxmox instance system.adapter.backitup.0 started with pid 29268 2020-01-10 21:43:51.590 - info: backitup.0 (29268) starting. Version 1.3.6 in /opt/iobroker/node_modules/iobroker.backitup, node: v10.18.0 2020-01-10 21:43:51.611 - info: backitup.0 (29268) [iobroker] backup was activated at 02:00 every 1 day(s) 2020-01-10 21:43:51.648 - error: backitup.0 (29268) Error: Command failed: mount 192.168.178.50:/volume1/Backitup/backitup /opt/iobroker/backups mount: only root can do that 2020-01-10 21:43:51.652 - error: backitup.0 (29268) uncaught exception: EACCES: permission denied, scandir '/opt/iobroker/backups' 2020-01-10 21:43:51.652 - error: backitup.0 (29268) Error: EACCES: permission denied, scandir '/opt/iobroker/backups'Hier die Einstellungen im Adapter:

Ich habe leider keine Ahnung was das Problem ist. Ich glaube, dass soweit alles passen sollte.
Vielen Dank für eine Rückantwort.
eve
@eve11
Lasse mal den Installer Fix laufen.
Des Weiteren sieht es mir so aus, als ob du kein sudo installiert hast. Kann das sein?
root mount ist zwar in Backitup aktiviert, aber wird im Befehl nicht verarbeitet.
Speiche die Config ggfs. nochmal.