zerobyte
zerobyte copied to clipboard
Error mounting rclone volume
I was able to setup a repository with an rclone onedrive remote. However the volume creation doesn't work.
I might have misinterpreted the docs or maybe something is broken. Anyway here are the revelant configs.
zerobyte | 2025-12-15T20:52:47.068244118Z info > Executing rclone: rclone mount OneDrive-Backup:/test /var/lib/zerobyte/volumes/6u1Jb/_data --daemon --vfs-cache-mode writes --allow-non-empty --allow-other
zerobyte | 2025-12-15T20:52:49.627445092Z 2025/12/15 20:52:49 ERROR : Daemon timed out. Failed to terminate daemon pid 754: os: process already finished
zerobyte | 2025-12-15T20:52:49.627537869Z 2025/12/15 20:52:49 CRITICAL: Fatal error: daemon exited with error code 1
zerobyte | 2025-12-15T20:52:49.640016799Z error > Error mounting rclone volume { zerobyte | 2025-12-15T20:52:49.640091617Z "error": "Failed to mount rclone volume: 2025/12/15 20:52:49 ERROR : Daemon timed out. Failed to terminate daemon pid 754: os: process already finished\n2025/12/15 20:52:49 CRITICAL: Fatal error: daemon exited with error code 1\n"
zerobyte | 2025-12-15T20:52:49.640162448Z }
docker-compose.yml:
services:
zerobyte:
image: ghcr.io/nicotsx/zerobyte:v0.18
container_name: zerobyte
restart: unless-stopped
cap_add:
- SYS_ADMIN
ports:
- "4096:4096"
devices:
- /dev/fuse:/dev/fuse
environment:
- TZ=Europe/London # Set your timezone here
volumes:
- /etc/localtime:/etc/localtime:ro
- /var/lib/zerobyte:/var/lib/zerobyte
- /mnt/imaginary:/mnt/imaginary:ro
- ~/.config/rclone:/root/.config/rclone
$ more ~/.config/rclone/rclone.conf
[OneDrive-Backup]one/rclone.conf
type = onedrive
token = {"access_token":"REDACTED","expiry":"2025-12-15T21:11:05.619777Z","expires_in":3599}
drive_id = REDACTED
drive_type = personal
rclone remote is accessible
$ rclone lsd OneDrive-Backup:
-1 2025-12-15 20:30:25 6 backups
I have the same problem. It can't mount the rclone remote as a volume, but it CAN backup and restore from it, at least!
Closing this. As I have a system working now. I was confused by the form and I think attempting something that was not sensible