What is the problem you are having with rclone?
Files being created are showing as created > 6 months ago.
dulanic@mediaserver:/mnt/gd/nextcloud$ date
Wed Jul 7 03:28:21 PM UTC 2021
dulanic@mediaserver:/mnt/gd/nextcloud$ ll
Permissions Size User Date Modified Name
.rw-r--r-- 15 dulanic 14 Jan 14:51 dfsdfsdsfd.md
.rw-r--r-- 4 dulanic 14 Jan 14:51 New text document.md
.rw-r--r-- 1 dulanic 14 Jan 14:51 Readme.md
.rw-r--r-- 0 dulanic 14 Jan 14:51 test.txt
.rw-r--r-- 0 dulanic 14 Jan 14:51 testing.txt
What is your rclone version (output from rclone version
)
v1.55.1
Which OS you are using and how many bits (eg Windows 7, 64 bit)
Ubuntu 21.04
Which cloud storage system are you using? (eg Google Drive)
GDrive
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
I mounted with this, I do see no-modtime, but that should impact mod time only not create time. I also tried direct creation of the files using touch.
[Unit]
Description=RClone Service
Wants=network-online.target
After=network-online.target
[Service]
Type=notify
Environment=RCLONE_CONFIG=/home/dulanic/.config/rclone/rclone.conf
KillMode=none
RestartSec=5
ExecStart=/usr/bin/rclone mount decrypt:Media /mnt/gd \
--allow-other \
--attr-timeout 1000h \
--buffer-size 128M \
--dir-cache-time 1000h \
--log-level INFO \
--no-modtime \
--vfs-cache-mode full \
--cache-tmp-upload-path /mnt/btrfs/rclone \
--cache-dir=/mnt/btrfs/rclone/cache \
--vfs-cache-max-size 100G \
--cache-tmp-wait-time 1s \
--poll-interval 15s \
--log-file /var/log/rclone.log \
--allow-non-empty \
--timeout 1h \
--umask 022
ExecStop=/usr/bin/fusermount -uz /mnt/gd
Restart=on-failure
User=dulanic
Group=dulanic
[Install]
WantedBy=multi-user.target
rclone -vv touch decrypt:Media/nextcloud/testing.txt
The rclone config contents with secrets removed.
[gd]
type = drive
client_id = *redacted*
client_secret = *redacted*
scope = drive
token = {"access_token":"*redacted*","token_type":"Bearer","refresh_token":"*redacted*","expiry":"2021-07-07T15:31:20.337203251Z"}
root_folder_id = 0AB8ReLBTV-y1Uk9PVA
[decrypt]
type = crypt
remote = gd:Media
filename_encryption = standard
directory_name_encryption = true
password = *redacted*
[nc]
type = webdav
url = https://nextcloud.dulanic.com/remote.php/dav/files/dulanic/
vendor = nextcloud
user = dulanic
pass = *redacted*
A log from the command with the -vv
flag
dulanic@mediaserver:/mnt/gd/nextcloud$ rclone -vv touch decrypt:Media/nextcloud/testing.txt
2021/07/07 15:27:18 DEBUG : Using config file from "/home/dulanic/.config/rclone/rclone.conf"
2021/07/07 15:27:18 DEBUG : rclone: Version "v1.55.1" starting with parameters ["rclone" "-vv" "touch" "decrypt:Media/nextcloud/testing.txt"]
2021/07/07 15:27:18 DEBUG : Creating backend with remote "decrypt:Media/nextcloud/"
2021/07/07 15:27:18 DEBUG : Creating backend with remote "gd:Media/k27ti189mhh81aujfcjfe7ct90/6m4g7skjv0dorfobi6uro1g14s"
2021/07/07 15:27:19 DEBUG : testing.txt: MD5 = a07ba64b942a6cb336f60498a4dd4fc7 OK
2021/07/07 15:27:19 DEBUG : 4 go routines active