What is the problem you are having with rclone?
Is there a way to get the ChangeNotify in INFO or NOTICE log-level?
The DEBUG level is working fine in general but produces a lot unneccessary info ( for my use case ).
Or maybe is there another way to trigger something external on changeNotify?
KR
Pete
What is your rclone version (output from rclone version
)
rclone v1.56.0
- os/version: debian 10.11 (64 bit)
- os/kernel: 4.19.0-17-amd64 (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.16.5
- go/linking: static
- go/tags: none
Which cloud storage system are you using? (eg Google Drive)
Google Drive
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
ExecStart=/usr/bin/rclone mount union: /mnt/union \
--allow-other \
--dir-cache-time 1000h \
--log-level DEBUG \
--log-file /var/log/rclone/runion.log \
--poll-interval 15s \
--user-agent Mozilla \
--rc \
--rc-web-gui \
--rc-addr MYIP:5572 \
--rc-user rcuser \
--rc-pass rcpass \
--rc-web-gui-no-open-browser \
--rc-serve \
--cache-dir /srv/cache \
--vfs-cache-mode full \
--vfs-cache-max-size 75G \
--vfs-cache-max-age 48h \
--tpslimit 10
The rclone config contents with secrets removed.
[data_11]
type = drive
client_id = ***
client_secret = ***
scope = drive
team_drive = ***
root_folder_id =
service_account_file = /root/.config/rclone/creds.json
impersonate = ***
[union_uncrypted]
type = union
upstreams = data_01::ro --> data_11::ro ( here are all listed, just removed for readability )
action_policy = epall
create_policy = rand
search_policy = epff
[union]
type = crypt
remote = union_uncrypted:
filename_encryption = standard
directory_name_encryption = true
password = ***
password2 = ***
A log from the command with the -vv
flag
2021/11/17 10:07:58 DEBUG : : >changeNotify:
2021/11/17 10:10:12 DEBUG : : changeNotify: relativePath="TV-1080P/Show/Season 01/File.mp4", type=1