Rclone in docker-sympose v2 @ OMV 5.5 / Debian Kernel 5.5.1 AMD64

What is the problem you are having with rclone?

restart loop in docker container, assigned port vanishes most of the time

...but synching appears working in test (see logs, nothing suspicious), even though as the port is not adressed regularily, sometimes connecting to remote results in errors (but not reproducible and synching works soon again with the next serveral restarts), but it just doesn't seem to work smoothly with all the start-overs and thus I want to make sure that rclones synching is not messing up things one day...

What is your rclone version (output from rclone version)

1.52.0

Which OS you are using and how many bits (eg Windows 7, 64 bit)

OMV 5.5.1 / Debian Kernel 5.5.1 AMD 64, running docker compose v.2

Which cloud storage system are you using? (eg Google Drive)

DropBox & OneDrive

The command you were trying to run (eg rclone copy /tmp remote:tmp)

docker-compose V.2
rclone_rclone:
    image: rclone/rclone
    container_name: rclone-dropbox    
    environment:
      - PHP_TZ=Europe/Berlin
      - PUID=998
      - PGID=100
    volumes:
      - /var/lib/docker/volumes/rcloneDB:/config/rclone
      - /var/lib/docker/volumes/rcloneDB:/logs
      - /srv/dev-disk-by-label-USB2/CloudDrives/DropBox:/DropBox
    ports:
      - "5574:5574"
    command: sync DropBox:/ /DropBox --log-level INFO --auto-confirm --error-on-no-transfer --check-first
    restart: unless-stopped

The rclone config contents with secrets removed.

[OneDrive]
type = onedrive
token = {"access_token":"xxx"}
drive_id = xxxx
drive_type = personal

[DropBox]
type = dropbox
token = {"access_token":"xxx","token_type":"bearer","expiry":"0001-01-01T00:00:00Z"}

A log from the command with the -vv flag

2020/06/04 15:52:33 INFO  : Local file system at /DropBox: Running all checks before starting transfers


2020/06/04 15:52:39 INFO  : Local file system at /DropBox: Checks finished, now starting transfers


2020/06/04 15:52:39 INFO  : There was nothing to transfer


2020/06/04 15:52:39 INFO  : 


Transferred:   	         0 / 0 Bytes, -, 0 Bytes/s, ETA -


Checks:               392 / 392, 100%


apsed time:         0.0s

Ah, rclone sync runs once then stops. It isn't a continuous syncing thing (yet).

So you'll need to schedule it to run regularly somehow.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.