What is the problem you are having with rclone?
I want to mount my SeaDrive libraries to my NAS with a docker container. The config works from my windows desktop computer, but I can't get it work with docker.
Run the command 'rclone version' and share the full output of the command.
rclone v1.63.0
- os/version: alpine 3.18.2 (64 bit)
- os/kernel: 5.13.x (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.20.5
- go/linking: static
- go/tags: none
Which cloud storage system are you using? (eg Google Drive)
Want to acces SeaDrive from my Asustor NAS via Docker
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
rclone mount seafile:/ /seafile
The rclone config contents with secrets removed.
[seafile]
type = seafile
url = https://cloud.myserver.com
user = user@domain.com
pass = longHashedPassword
My Docker compose
version: '3'
services:
rclone:
image: rclone/rclone:latest
container_name: rclone
restart: unless-stopped
volumes:
- ./config:/config/rclone
- ./seafile:/seafile
command: "mount seafile:/ /seafile"
cap_add:
- SYS_ADMIN
devices:
- /dev/fuse:/dev/fuse
environment:
- PUID=1000
- PGID=100
A log from the command with the -vv
flag
After starting my docker-compose the docker container is showing the following error:
2023/07/11 13:43:03 Fatal error: failed to mount FUSE fs: directory already mounted, use --allow-non-empty to mount anyway: /seafile
When I use in additon --allow-non-empty
there no error message, but also ./seafile
is still empty. On Windows it workes like a charm with:
rclone.exe mount seafile:/ C:\temp\rclone\seafile
I also tried mount seafile:
instead of mount seafile:/
, but same result.
What am I doing wrong?