Rclone + encryption + Google Drive + Plex + Windows Serveur 2016

What exactly are you doing when you get this message? Why is Rclone trying to change the size of files? I don't ever see this one.

Does this happen when you move files from the local disk to the mount? Are you logged in as admin? I don't copy or move anything from local disk into the mount. I only move things around in the mount after they're already uploaded.

I don't use scheduled tasks or Rclone as a service, because I like to see what's happening at all times. So I run my commands from batch files, and the resulting DOS window stays open permanently until I close it manually. My batch for the read-only mount (the one that Plex reads from), for example, is:

@echo off
title Rclone Mount READ ONLY
D:\Programs\Rclone\rclone mount --attr-timeout 5000h --dir-cache-time 5000h --drive-pacer-burst 200 --drive-pacer-min-sleep 10ms --poll-interval 0 --rc --read-only --user-agent ******* --vfs-read-chunk-size 1M -v Google_Drive_Crypt: G:
pause

Not sure why running the scanner via script would take longer than running it via the GUI. It's not something I've ever done, though. Have you looked at the scanner logs in the Plex data folder to see if there's any difference?

when using a scheduled task, to see what rclone is doing, need to use a log file, `--log-level=INFO --log-file=c:\path\to\folder\log.txt

when running a task as system user, the user profile location changes and thus the default location of the rclone config file.

for example, let's say i open two command prompts.

  • one command prompt running as my username
  • one command prompt running as system user.

notice that the location of the config file changes.

C:\Users\user01>whoami
en08\user01

C:\Users\user01>echo %userprofile%
C:\Users\user01

C:\Users\user01>c:\data\rclone\scripts\rclone.exe config file
Configuration file doesn't exist, but rclone will use this path:
C:\Users\user01\AppData\Roaming\rclone\rclone.conf
C:\Windows\system32>whoami
nt authority\system

C:\Windows\system32>echo %userprofile%
C:\Windows\system32\config\systemprofile

C:\Windows\system32>c:\data\rclone\scripts\rclone.exe config file
Configuration file doesn't exist, but rclone will use this path:
C:\Windows\system32\config\systemprofile\AppData\Roaming\rclone\rclone.conf

so harcode the location of the config file

  • --config=C:\Users\user01\AppData\Roaming\rclone\rclone.conf
    or
  • use a environment variable
    @set RCLONE_CONFIG=C:\Users\user01\AppData\Roaming\rclone\rclone.conf
    or
  • what i do - keep the rclone.conf file in the same folder as rclone.exe.
    https://rclone.org/docs/#config-config-file
Rclone will look for an existing configuration file in any of the following locations, in priority order:
1. rclone.conf (in program directory, where rclone executable is)
2. %APPDATA%/rclone/rclone.conf (only on Windows)
3. $XDG_CONFIG_HOME/rclone/rclone.conf (on all systems, including Windows)
4. ~/.config/rclone/rclone.conf (see below for explanation of ~ symbol)
5. ~/.rclone.conf
2 Likes

Hello,

I had followed all your instructions before your answer and it had not worked.
I did the same this morning and this time it worked :-D.
Thank you again for your very detailed answers.

Rclone had a very good community.

Good day,

When I get this message I just don't do anything because the copy is working.
I don't know why I got this message.

No I have not yet tested from my local drive.
I got this error message (rarely) when I move from my NAS (in samba) to the Rclone mount folder.
I got the same error message from my network drive that works with Mountain Duck to the rclone folder.
I copy files that are already downloaded (and not currently downloading).
I'm administrator.

I don't know too.
I will have to analyze the log file.

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