Unable to Visibly Mount Remote or Transfer Data - Ongoing Issue

What is the problem you are having with rclone?

Some months back, I had installed Rclone on a Windows 10 Pro laptop in order to connect to Google Drive. I had some initial difficulties, and I sought help here in the forums. After a few weeks of trying to get it running properly, I was never able able to mount it so that it was visible in Explorer nor was I able transfer any data to the remote. I was able to connect to it, and list the directory, but when attempting to transfer files, while it showed that it was transferring data, it never actually did so. I finally gave up and went back to manually transferring my content.

I wanted to give it another go, and this time, I tried connecting to my Premiumize account. I used the same set of commands and switches I used to to originally mount Google Drive when starting Rclone. The service started, and the drive mounted, but it again wasn't visible in Explorer. When I attempted to transfer data, it did the same thing as the first time. It showed that it was making an attempt, but no data ever transferred.

Run the command 'rclone version' and share the full output of the command.

C:\Rclone\rclone-v1.62.2-windows-amd64>rclone version
rclone v1.62.2

  • os/version: Microsoft Windows 10 Pro 22H2 (64 bit)
  • os/kernel: 10.0.19045.2604 Build 19045.2604.2604 (x86_64)
  • os/type: windows
  • os/arch: amd64
  • go/version: go1.20.2
  • go/linking: static
  • go/tags: cmount

This is the latest version of Rclone for Windows 10.

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

I'm currently trying to set this up on Premiumize, and from the knowledge I gain doing so, I'll later apply it to a Google Drive setup.

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

I started rclone w/ this command:

C:\Rclone\rclone-v1.62.2-windows-amd64>rclone mount --vfs-cache-mode full Premiumize:"files" * --network-mode --log-file="C:\Users\user\AppData\Roaming\rclone\rclone_log.json" --use-json-log --log-level DEBUG

I tried transferring data w/ this command:

c:\Rclone\rclone-v1.62.2-windows-amd64>rclone copy c:\test_files\BitrateCalc.exe -iP Premiumize:"files"

This was the output of this command:

rclone: copy "BitrateCalc.exe"?
y) Yes, this is OK (default)
n) No, skip this
s) Skip all copy operations with no more questions
!) Do all copy operations with no more questions
q) Exit rclone now.
Transferred:              0 B / 0 B, -, 0 B/s, ETA -
Transferred:            0 / 1, 0%
Elapsed time:      1m51.1s
Transferring:
 *                               BitrateCalc.exe: transferring2023/03/21 19:43:47 Failed to read line: EOF

c:\Rclone\rclone-v1.62.2-windows-amd64>

To note, the file automatically began transferring w/out waiting for me to input an answer to the question that was asked. As you can see, I stopped the transfer after nearly two minutes, b/c nothing was being transferred. It was only an 18MB file, so it should've transferred in a matter of seconds. I read through many man pages on the website, and I looked in the forums, but I'm still uncertain what I'm doing incorrectly, and I'm hoping that someone might point me in the proper direction. Thank you.

The rclone config contents with secrets removed.

Note: The Google Drive configuration is still part of the config file, b/c I never uninstalled Rclone from the first time I tried setting it up. That was on v1.62.1. In regard to Premiumize, I've only attempted to get it configured w/ v1.62.2.

[GoogleDrive]
type = drive
client_id = 243991548355-cuvd9ul4g6d368iuhvc5oa1i39itvcqo.apps.googleusercontent.com
client_secret = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
scope = drive
root_folder_id = 1aKoyglmArCYu9-wxc2y4WgvUYq6sSFKX
token = {"access_token":"ya29.a0Aa4xrXOzFy_3FnllNZYdCEfKs84XQlDZsXRuWq7KbL7_Crb_LNtPspoKZ177uLOoWSQ8UzTbEqgGh_evEwhYumWJQ_YcykZG2FxA1ZHK_15u-aOeN_V-aXYch2ug04eygMvfccnxLteG3VjaD-OLYMtFxmJWcm0aCgYKATASARASFQEjDvL95SjPzYzGNIDCeAuYQtVRdw0166","token_type":"Bearer","refresh_token":"1//06VCc5oheBisnCgYIARAAGAYSNwF-L9IrmjmIkpjwWyWYS0JG14FGwW8dwOw4hc7qBb-q7M8nm72GG5z023Z8XyH5RCe6vDOj3TU","expiry":"2022-09-24T22:12:16.1120361-07:00"}
team_drive = 

[Premiumize]
type = premiumizeme
token = {"access_token":"21a61f61a5b8e236cb9bd3fa0effc36c47c986a2","token_type":"Bearer","refresh_token":"ffccf81fd33fc1e2e37ab4e8ddf0f39d1c5eb67e","expiry":"2033-03-12T19:10:47.8751144-08:00"}

A log from the command with the -vv flag

{"level":"debug","msg":"Version \"v1.62.2\" starting with parameters [\"rclone\" \"mount\" \"--vfs-cache-mode\" \"full\" \"Premiumize:files\" \"*\" \"--network-mode\" \"--log-file=C:\\\\Users\\\\user\\\\AppData\\\\Roaming\\\\rclone\\\\rclone_log.json\" \"--use-json-log\" \"--log-level\" \"DEBUG\"]","object":"rclone","objectType":"string","source":"cmd/cmd.go:422","time":"2023-03-21T17:58:08.976544-07:00"}
{"level":"debug","msg":"Creating backend with remote \"Premiumize:files\"","source":"fs/newfs.go:27","time":"2023-03-21T17:58:08.977065-07:00"}
{"level":"debug","msg":"Using config file from \"C:\\\\Users\\\\user\\\\AppData\\\\Roaming\\\\rclone\\\\rclone.conf\"","source":"config/config.go:362","time":"2023-03-21T17:58:08.981327-07:00"}
{"level":"info","msg":"poll-interval is not supported by this remote","object":"premiumize.me root 'files'","objectType":"*premiumizeme.Fs","source":"vfs/vfs.go:222","time":"2023-03-21T17:58:09.502696-07:00"}
{"level":"debug","msg":"vfs cache: root is \"C:\\\\Users\\\\user\\\\AppData\\\\Local\\\\rclone\"","source":"vfscache/cache.go:87","time":"2023-03-21T17:58:09.502696-07:00"}
{"level":"debug","msg":"vfs cache: data root is \"\\\\\\\\?\\\\C:\\\\Users\\\\user\\\\AppData\\\\Local\\\\rclone\\\\vfs\\\\Premiumize\\\\files\"","source":"vfscache/cache.go:105","time":"2023-03-21T17:58:09.50359-07:00"}
{"level":"debug","msg":"vfs cache: metadata root is \"\\\\\\\\?\\\\C:\\\\Users\\\\user\\\\AppData\\\\Local\\\\rclone\\\\vfsMeta\\\\Premiumize\\\\files\"","source":"vfscache/cache.go:106","time":"2023-03-21T17:58:09.50359-07:00"}
{"level":"debug","msg":"Creating backend with remote \"C:/Users/user/AppData/Local/rclone/vfs/Premiumize/files\"","source":"fs/newfs.go:27","time":"2023-03-21T17:58:09.50359-07:00"}
{"level":"debug","msg":"fs cache: renaming cache item \"C:/Users/user/AppData/Local/rclone/vfs/Premiumize/files\" to be canonical \"//?/C:/Users/user/AppData/Local/rclone/vfs/Premiumize/files\"","source":"cache/cache.go:84","time":"2023-03-21T17:58:09.506601-07:00"}
{"level":"debug","msg":"Creating backend with remote \"C:/Users/user/AppData/Local/rclone/vfsMeta/Premiumize/files\"","source":"fs/newfs.go:27","time":"2023-03-21T17:58:09.506601-07:00"}
{"level":"debug","msg":"fs cache: renaming cache item \"C:/Users/user/AppData/Local/rclone/vfsMeta/Premiumize/files\" to be canonical \"//?/C:/Users/user/AppData/Local/rclone/vfsMeta/Premiumize/files\"","source":"cache/cache.go:84","time":"2023-03-21T17:58:09.507117-07:00"}
{"level":"warning","msg":"Assigning drive letter \"Z:\"","source":"cmount/mountpoint_windows.go:68","time":"2023-03-21T17:58:09.507636-07:00"}
{"level":"debug","msg":"Network mode mounting is enabled","source":"cmount/mountpoint_windows.go:196","time":"2023-03-21T17:58:09.507636-07:00"}
{"level":"debug","msg":"Mounting on \"Z:\" (\"\\\\server\\\\Premiumize files\")","source":"cmount/mount.go:157","time":"2023-03-21T17:58:09.507636-07:00"}
{"level":"debug","msg":"Mounting with options: [\"-o\" \"attr_timeout=1\" \"-o\" \"uid=-1\" \"-o\" \"gid=-1\" \"--FileSystemName=rclone\" \"--VolumePrefix=\\\\server\\\\Premiumize files\"]","object":"premiumize.me root 'files'","objectType":"*premiumizeme.Fs","source":"cmount/mount.go:167","time":"2023-03-21T17:58:09.507636-07:00"}
{"level":"info","msg":"vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0)","source":"vfscache/cache.go:777","time":"2023-03-21T17:58:09.507636-07:00"}
{"level":"debug","msg":"Init: ","object":"premiumize.me root 'files'","objectType":"*premiumizeme.Fs","source":"cmount/fs.go:184","time":"2023-03-21T17:58:09.513523-07:00"}
{"level":"debug","msg":"\u003eInit: ","object":"premiumize.me root 'files'","objectType":"*premiumizeme.Fs","source":"cmount/fs.go:186","time":"2023-03-21T17:58:09.513523-07:00"}
{"level":"debug","msg":"Statfs: ","object":"/","objectType":"string","source":"cmount/fs.go:279","time":"2023-03-21T17:58:09.513523-07:00"}
{"level":"debug","msg":"\u003eStatfs: stat={Bsize:4096 Frsize:4096 Blocks:275078163197 Bfree:274877906944 Bavail:274877906944 Files:1000000000 Ffree:1000000000 Favail:0 Fsid:0 Flag:0 Namemax:255}, errc=0","object":"/","objectType":"string","source":"cmount/fs.go:293","time":"2023-03-21T17:58:09.818751-07:00"}
{"level":"debug","msg":"Getattr: fh=0xFFFFFFFFFFFFFFFF","object":"/","objectType":"string","source":"cmount/fs.go:198","time":"2023-03-21T17:58:09.818751-07:00"}
{"level":"debug","msg":"\u003eGetattr: errc=0","object":"/","objectType":"string","source":"cmount/fs.go:203","time":"2023-03-21T17:58:09.818751-07:00"}
{"level":"debug","msg":"Readlink: ","object":"/","objectType":"string","source":"cmount/fs.go:515","time":"2023-03-21T17:58:09.818751-07:00"}
{"level":"debug","msg":"\u003eReadlink: linkPath=\"\", errc=-40","object":"/","objectType":"string","source":"cmount/fs.go:516","time":"2023-03-21T17:58:09.818751-07:00"}
The service rclone has been started.
{"level":"debug","msg":"Getattr: fh=0xFFFFFFFFFFFFFFFF","object":"/","objectType":"string","source":"cmount/fs.go:198","time":"2023-03-21T17:58:09.831078-07:00"}
{"level":"debug","msg":"\u003eGetattr: errc=0","object":"/","objectType":"string","source":"cmount/fs.go:203","time":"2023-03-21T17:58:09.831078-07:00"}
{"level":"debug","msg":"Getattr: fh=0xFFFFFFFFFFFFFFFF","object":"/","objectType":"string","source":"cmount/fs.go:198","time":"2023-03-21T17:58:09.831078-07:00"}
{"level":"debug","msg":"\u003eGetattr: errc=0","object":"/","objectType":"string","source":"cmount/fs.go:203","time":"2023-03-21T17:58:09.831078-07:00"}
{"level":"debug","msg":"Opendir: ","object":"/","objectType":"string","source":"cmount/fs.go:208","time":"2023-03-21T17:58:09.831078-07:00"}
{"level":"debug","msg":"OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx","object":"/","objectType":"string","source":"vfs/vfs.go:479","time":"2023-03-21T17:58:09.831078-07:00"}
{"level":"debug","msg":"\u003eOpenFile: fd=/ (r), err=\u003cnil\u003e","object":"/","objectType":"string","source":"vfs/vfs.go:503","time":"2023-03-21T17:58:09.831078-07:00"}
{"level":"debug","msg":"\u003eOpendir: errc=0, fh=0x0","object":"/","objectType":"string","source":"cmount/fs.go:213","time":"2023-03-21T17:58:09.831078-07:00"}
{"level":"debug","msg":"Releasedir: fh=0x0","object":"/","objectType":"string","source":"cmount/fs.go:273","time":"2023-03-21T17:58:09.831078-07:00"}
{"level":"debug","msg":"\u003eReleasedir: errc=0","object":"/","objectType":"string","source":"cmount/fs.go:274","time":"2023-03-21T17:58:09.831078-07:00"}
{"level":"debug","msg":"Getattr: fh=0xFFFFFFFFFFFFFFFF","object":"/","objectType":"string","source":"cmount/fs.go:198","time":"2023-03-21T17:58:09.831602-07:00"}
{"level":"debug","msg":"\u003eGetattr: errc=0","object":"/","objectType":"string","source":"cmount/fs.go:203","time":"2023-03-21T17:58:09.831602-07:00"}
{"level":"debug","msg":"Getattr: fh=0xFFFFFFFFFFFFFFFF","object":"/","objectType":"string","source":"cmount/fs.go:198","time":"2023-03-21T17:58:09.831602-07:00"}
{"level":"debug","msg":"\u003eGetattr: errc=0","object":"/","objectType":"string","source":"cmount/fs.go:203","time":"2023-03-21T17:58:09.831602-07:00"}
{"level":"debug","msg":"Opendir: ","object":"/","objectType":"string","source":"cmount/fs.go:208","time":"2023-03-21T17:58:09.831602-07:00"}
{"level":"debug","msg":"OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx","object":"/","objectType":"string","source":"vfs/vfs.go:479","time":"2023-03-21T17:58:09.831602-07:00"}
{"level":"debug","msg":"\u003eOpenFile: fd=/ (r), err=\u003cnil\u003e","object":"/","objectType":"string","source":"vfs/vfs.go:503","time":"2023-03-21T17:58:09.831602-07:00"}
{"level":"debug","msg":"\u003eOpendir: errc=0, fh=0x0","object":"/","objectType":"string","source":"cmount/fs.go:213","time":"2023-03-21T17:58:09.831602-07:00"}
{"level":"debug","msg":"Releasedir: fh=0x0","object":"/","objectType":"string","source":"cmount/fs.go:273","time":"2023-03-21T17:58:09.831602-07:00"}
{"level":"debug","msg":"\u003eReleasedir: errc=0","object":"/","objectType":"string","source":"cmount/fs.go:274","time":"2023-03-21T17:58:09.831602-07:00"}
{"level":"debug","msg":"Getattr: fh=0xFFFFFFFFFFFFFFFF","object":"/","objectType":"string","source":"cmount/fs.go:198","time":"2023-03-21T17:58:09.831602-07:00"}
{"level":"debug","msg":"\u003eGetattr: errc=0","object":"/","objectType":"string","source":"cmount/fs.go:203","time":"2023-03-21T17:58:09.831602-07:00"}
{"level":"debug","msg":"Getattr: fh=0xFFFFFFFFFFFFFFFF","object":"/","objectType":"string","source":"cmount/fs.go:198","time":"2023-03-21T17:58:09.831602-07:00"}
{"level":"debug","msg":"\u003eGetattr: errc=0","object":"/","objectType":"string","source":"cmount/fs.go:203","time":"2023-03-21T17:58:09.831602-07:00"}
{"level":"debug","msg":"Opendir: ","object":"/","objectType":"string","source":"cmount/fs.go:208","time":"2023-03-21T17:58:09.831602-07:00"}
{"level":"debug","msg":"OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx","object":"/","objectType":"string","source":"vfs/vfs.go:479","time":"2023-03-21T17:58:09.831602-07:00"}
{"level":"debug","msg":"\u003eOpenFile: fd=/ (r), err=\u003cnil\u003e","object":"/","objectType":"string","source":"vfs/vfs.go:503","time":"2023-03-21T17:58:09.831602-07:00"}
{"level":"debug","msg":"\u003eOpendir: errc=0, fh=0x0","object":"/","objectType":"string","source":"cmount/fs.go:213","time":"2023-03-21T17:58:09.831602-07:00"}
{"level":"debug","msg":"Releasedir: fh=0x0","object":"/","objectType":"string","source":"cmount/fs.go:273","time":"2023-03-21T17:58:09.832116-07:00"}
{"level":"debug","msg":"\u003eReleasedir: errc=0","object":"/","objectType":"string","source":"cmount/fs.go:274","time":"2023-03-21T17:58:09.832116-07:00"}
{"level":"info","msg":"vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0)","source":"vfscache/cache.go:777","time":"2023-03-21T17:59:09.518544-07:00"}
{"level":"info","msg":"vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0)","source":"vfscache/cache.go:777","time":"2023-03-21T18:00:09.510414-07:00"}
{"level":"info","msg":"vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0)","source":"vfscache/cache.go:777","time":"2023-03-21T18:01:09.509813-07:00"}
{"level":"info","msg":"vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0)","source":"vfscache/cache.go:777","time":"2023-03-21T18:02:09.514318-07:00"}
{"level":"info","msg":"vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0)","source":"vfscache/cache.go:777","time":"2023-03-21T18:03:09.515812-07:00"}
{"level":"info","msg":"vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0)","source":"vfscache/cache.go:777","time":"2023-03-21T18:04:09.518379-07:00"}
{"level":"info","msg":"vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0)","source":"vfscache/cache.go:777","time":"2023-03-21T18:05:09.516375-07:00"}
{"level":"info","msg":"vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0)","source":"vfscache/cache.go:777","time":"2023-03-21T18:06:09.510885-07:00"}
{"level":"info","msg":"vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0)","source":"vfscache/cache.go:777","time":"2023-03-21T18:07:09.513618-07:00"}

hi,
to keep things simple,
--- no point testing rclone mount until rclone copy works.
--- test using gdrive, not premiumize

can you copy a single file to gdrive and post full output.
--- do not use -I or --use-json-log
--- add -vv

I decided to start over by deleting everything, including the config and log files. I messed around w/ rclone a bit, and I was able to get an app transferred to GDrive. I then downloaded it and ran it to test its functionality, and it worked just fine. The following are the commands I ran w/ their associated output:

c:\Rclone\rclone-v1.62.2-windows-amd64>rclone about GDrive: -vv
2023/03/22 23:09:00 DEBUG : rclone: Version "v1.62.2" starting with parameters ["rclone" "about" "GDrive:" "-vv"]
2023/03/22 23:09:00 DEBUG : Creating backend with remote "GDrive:"
2023/03/22 23:09:00 DEBUG : Using config file from "C:\\Users\\user\\AppData\\Roaming\\rclone\\rclone.conf"
2023/03/22 23:09:00 DEBUG : Google drive root '': 'root_folder_id = 0AHRKL1DfxciiUk9PVA' - save this in the config to speed up startup
Total:   5 TiB
Used:    4.159 TiB
Free:    785.431 GiB
Trashed: 1.826 GiB
Other:   75.763 GiB
2023/03/22 23:09:00 DEBUG : 4 go routines active

After running through the config to create the GDrive remote, I ran the above command to make certain that rclone was able to connect to the remote. When it ran properly, I attempted to transfer a file:

c:\Rclone\rclone-v1.62.2-windows-amd64>rclone copy C:\test_files\BitrateCalc.exe  GDrive: -vv
2023/03/22 23:20:24 DEBUG : rclone: Version "v1.62.2" starting with parameters ["rclone" "copy" "C:\\test_files\\BitrateCalc.exe" "GDrive:" "-vv"]
2023/03/22 23:20:24 DEBUG : Creating backend with remote "C:\\test_files\\BitrateCalc.exe"
2023/03/22 23:20:24 DEBUG : Using config file from "C:\\Users\\user\\AppData\\Roaming\\rclone\\rclone.conf"
2023/03/22 23:20:24 DEBUG : fs cache: adding new entry for parent of "C:\\test_files\\BitrateCalc.exe", "//?/C:/test_files"
2023/03/22 23:20:24 DEBUG : Creating backend with remote "GDrive:"
2023/03/22 23:20:24 DEBUG : Google drive root '': 'root_folder_id = 0AHRKL1DfxciiUk9PVA' - save this in the config to speed up startup
2023/03/22 23:20:25 DEBUG : BitrateCalc.exe: Need to transfer - File not found at Destination
2023/03/22 23:20:25 DEBUG : BitrateCalc.exe: Sending chunk 0 length 8388608
2023/03/22 23:20:31 DEBUG : BitrateCalc.exe: Sending chunk 8388608 length 8388608
2023/03/22 23:20:38 DEBUG : BitrateCalc.exe: Sending chunk 16777216 length 1893690
2023/03/22 23:20:40 DEBUG : BitrateCalc.exe: md5 = 18aab90bf8673eebcb96c01aef4e9ebb OK
2023/03/22 23:20:40 INFO  : BitrateCalc.exe: Copied (new)
2023/03/22 23:20:40 INFO  :
Transferred:       17.806 MiB / 17.806 MiB, 100%, 1.187 MiB/s, ETA 0s
Transferred:            1 / 1, 100%
Elapsed time:        15.9s

I'm not clear on the entirety of the readout, but rclone did connect to the remote, and transfer a viable file. However, it didn't create a log file. And, prior to running this command, I had tried to create the log file w/ a stand-alone command, and that didn't work, either:

c:\Rclone\rclone-v1.62.2-windows-amd64>rclone --log-file="C:\Users\user\AppData\Roaming\rclone_log.txt" --log-level DEBUG -vv

c:\Rclone\rclone-v1.62.2-windows-amd64>

I'm not certain what the problem was, but at this point, if I can get the log file created, I just need to mount the drive, then map it in Windows.

that is not a valid, no command, no source, no dest.
you need to append --log-level=DEBUG --log-level=...

I want to make sure that I understand what you're saying. There has to be a command passed to rclone, along w/ a source and destination, in order to create the log file, but I don't know what command to use, if I'm not mounting or transferring data.

whatever command you want copy/sync/move/delete/etc....

rclone copy C:\test_files\BitrateCalc.exe GDrive: --log-level DEBUG --log-file="C:\Users\user\AppData\Roaming\rclone_log.txt"
the command is copy
the source is C:\test_files\BitrateCalc.exe
the dest is GDrive:

Sorry, I should clarify. What I meant to communicate was, if I've already tested the functionality of the connection and ability to transfer data, is there a way to simply create the log file w/out manipulating data in any way? Or, do I have to "copy/sync/move/delete/etc." some piece of data in order to create the log file?

try --dry-run

I used the --dry-run switch w/ mixed results, but I was finally able to get both the copy and move commands to function properly. However, no matter what I did, I could neither get the log file created nor written to. I tried multiple commands, such as copy, move, and moveto, but I still wasn't able to create the log file. When I manually created the it, I was still unable to get rclone to write to it. For instance, this was one of the commands I tried:

C:\Rclone\rclone-v1.62.2-windows-amd64>rclone move "C:\test_files\BitrateCalc.exe" "GDrive:00 - Rclone Backups" -P --log-level DEBUG --log-file="C:\Users\user\AppData\Roaming\rclone_log.txt"
Transferred:       17.806 MiB / 17.806 MiB, 100%, 2.225 MiB/s, ETA 0s
Checks:                 2 / 2, 100%
Deleted:                1 (files), 0 (dirs)
Renamed:                1
Transferred:            1 / 1, 100%
Elapsed time:         9.6s

C:\Rclone\rclone-v1.62.2-windows-amd64>

I ran the above command both before manually creating a log file and after, but in both instances, rclone seemed to take no action in regard to it. I'm uncertain what I'm doing wrong, but I'm also uncertain as to why rclone isn't kicking out an error message, if I'm using an incorrect command. I'm out of ideas on getting the log file created, so if you could help me w/ this, I'd greatly appreciate it. In the interim, I'll move on to getting rclone working w/ a Premiumize remote, as well as getting it mounted in Windows. Thank you.

as mentioned above, add --log-level=DEBUG

Ooooh, I missed the = sign. My bad. I'll try that again. I uninstalled an older version of WinFsp, and I'm reinstalling the current version after a restart. I'll try to get GDrive mounted, then I'll work on Premiumize. Thank you for your assistance. :slight_smile:

1 Like

the = is not required, as this should work --log-level DEBUG

fwiw, no need to restart after installing/changing/removing winfsp. just be sure the service is not running each time.

Ok, I was pretty certain that I hadn't used an = in the past when creating the log file, but since it's not working w/out it, I'll try it w/ it. To note, I only restarted after uninstalling WinFsp, b/c it said that it was necessary. I'm going to create the remote for Premiumize right now, get it working, then try mounting both it and GDrive. I'll report back w/ what happens. Thank you, again!

Before I run w/ this, one other question: In regard to the =, whether it should be needed or not, shouldn't the log file have been created, anyhow? I'm assuming that I'm wrong in how I'm thinking about this, but I'm wondering where my thinking went wrong. Given the command that I used, I would've expected one of three results to occur.

  1. The command, as I used it, should've worked, but it didn't.
  2. The command, for whatever reason it didn't work, should've returned some error message, although that didn't happen, either.
  3. Given that the problem may be that an = is required in this case, for whatever reason, it would seem that the command to create the log file itself was correct, in which case, I would've assumed that the log file would've been created, and the level would've defaulted to whatever the default reporting is.

Yet, none of these three things occurred. I would've assumed that the third scenario was the most likely, unless rclone wasn't specified to work this way.

It does work as you have a typo. You'd have to share the full output of what you are typed.

[felix@gemini ~]$ rclone about GD: -vv --log-file blah.log
2023/03/26 16:30:37 DEBUG : Setting --config "/opt/rclone/rclone.conf" from environment variable RCLONE_CONFIG="/opt/rclone/rclone.conf"
Total:   16 GiB
Used:    1.863 GiB
Free:    10.646 GiB
Trashed: 930 B
Other:   3.491 GiB
[felix@gemini ~]$ cat blah.log
2023/03/26 16:30:37 DEBUG : rclone: Version "v1.62.2" starting with parameters ["rclone" "about" "GD:" "-vv" "--log-file" "blah.log"]
2023/03/26 16:30:37 DEBUG : Creating backend with remote "GD:"
2023/03/26 16:30:37 DEBUG : Using config file from "/opt/rclone/rclone.conf"
2023/03/26 16:30:37 DEBUG : GD: Loaded invalid token from config file - ignoring
2023/03/26 16:30:37 DEBUG : Saving config "token" in section "GD" of the config file
2023/03/26 16:30:37 DEBUG : Keeping previous permissions for config file: -rwxrwxr-x
2023/03/26 16:30:37 DEBUG : GD: Saved new token in config file
2023/03/26 16:30:37 DEBUG : 6 go routines active
[felix@gemini ~]$
[felix@gemini ~]$ rclone about GD: -vv --log-file=blah2.log
2023/03/26 16:30:49 DEBUG : Setting --config "/opt/rclone/rclone.conf" from environment variable RCLONE_CONFIG="/opt/rclone/rclone.conf"
Total:   16 GiB
Used:    1.863 GiB
Free:    10.646 GiB
Trashed: 930 B
Other:   3.491 GiB
[felix@gemini ~]$ cat blah2.log
2023/03/26 16:30:49 DEBUG : rclone: Version "v1.62.2" starting with parameters ["rclone" "about" "GD:" "-vv" "--log-file=blah2.log"]
2023/03/26 16:30:49 DEBUG : Creating backend with remote "GD:"
2023/03/26 16:30:49 DEBUG : Using config file from "/opt/rclone/rclone.conf"
2023/03/26 16:30:49 DEBUG : 4 go routines active

Again, have to share the complete output as you have a mistake somewhere.

Again, have to share the complete output as there is a mistake somewhere.

To clarify, I didn't share any output, b/c there wasn't any output. That's why I didn't post anything. I've run the log file commands repeatedly, and I've not received any output at all. It's as if it's accepting the command but not doing anything w/ it. I just tried again w/ the =, and the same exact thing happened. It accepted the command, gave me no output related to the log file, and didn't create the log file.

C:\Rclone\rclone-v1.62.2-windows-amd64>rclone move "C:\test_files\BitrateCalc.exe" Premiumize:files -P --log-level=DEBUG --log-file="C:\Users\user\AppData\Roaming\rclone_log.txt"
Transferred:       35.612 MiB / 35.612 MiB, 100%, 372.149 KiB/s, ETA 0s
Checks:                 2 / 2, 100%
Deleted:                1 (files), 0 (dirs)
Renamed:                1
Transferred:            1 / 1, 100%
Elapsed time:      6m44.1s

C:\Rclone\rclone-v1.62.2-windows-amd64>

Just like w/ GDrive, the file transferred, but no log file was created. What you see above was the entirety of the output from the command I entered. After creating the Premiumize remote, this is the new config file:

[GDrive]
type = drive
client_id = 243991548355-cuvd9ul4g6d368iuhvc5oa1i39itvcqo.apps.googleusercontent.com
client_secret = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
scope = drive
token = {"access_token":"ya29.a0Ael9sCMSK7c_Jffs9XICzIsPhpxtLThjU8eWWVW0epYKnsD29QjdOT2y76ksxuiqcoBJl3vgZIBWXgW-Zi-Nc0F8lYMSMDiikamPo-LB3IheKhQh0z3dv3_UfPOaBZsFoYo1W7eJMBofhTWs9TrgzH2wcUusv6VoaCgYKAZoSARESFQF4udJhiD5SCdiPiVWfoEAjSRkI3Q0167","token_type":"Bearer","refresh_token":"1//06C01O5rbHxkHCgYIARAAGAYSNwF-L9Irl8jIfsoOMicBoh8echDV3r5Xn4CuqeSqFdi-_Kf2Fm4p4nuRdcQLqTRzV1RSFEaHg-8","expiry":"2023-03-26T05:33:15.1307307-07:00"}
team_drive = 

[Premiumize]
type = premiumizeme
token = {"access_token":"20ed4f4588c838d630a5ecf05d85a23c2338fdb1","token_type":"Bearer","refresh_token":"7f09f0b978706780b951fbf52f79e83e13ea06c1","expiry":"2033-03-23T13:29:05.4840442-07:00"}

I can't see as you haven't shared any contents of the folder.

Make it simple and write to the folder you are in with a simple test.

rclone about GDrive: -vv --log-file blah.log

and

type blah.log

Would you please clarify for me? The contents of which directory? The one I'm trying to create the log file in? The only file in that directory is rclone.conf.

As requested, I ran the commands you suggested:

C:\Rclone\rclone-v1.62.2-windows-amd64>rclone about GDrive: -vv --log-file blah.log
Total:   5 TiB
Used:    4.307 TiB
Free:    634.058 GiB
Trashed: 105.641 GiB
Other:   75.763 GiB

C:\Rclone\rclone-v1.62.2-windows-amd64>type blah.log
2023/03/26 14:46:22 DEBUG : rclone: Version "v1.62.2" starting with parameters ["rclone" "about" "GDrive:" "-vv" "--log-file" "blah.log"]
2023/03/26 14:46:22 DEBUG : Creating backend with remote "GDrive:"
2023/03/26 14:46:22 DEBUG : Using config file from "C:\\Users\\user\\AppData\\Roaming\\rclone\\rclone.conf"
2023/03/26 14:46:22 DEBUG : GDrive: Loaded invalid token from config file - ignoring
2023/03/26 14:46:22 DEBUG : Saving config "token" in section "GDrive" of the config file
2023/03/26 14:46:23 DEBUG : Keeping previous permissions for config file: -rw-rw-rw-
2023/03/26 14:46:23 DEBUG : GDrive: Saved new token in config file
2023/03/26 14:46:23 DEBUG : Google drive root '': 'root_folder_id = 0AHRKL1DfxciiUk9PVA' - save this in the config to speed up startup
2023/03/26 14:46:23 DEBUG : 6 go routines active

C:\Rclone\rclone-v1.62.2-windows-amd64>dir
 Volume in drive C is Windows
 Volume Serial Number is 3E45-0B27

 Directory of C:\Rclone\rclone-v1.62.2-windows-amd64

03/26/23  02:46 PM    <DIR>          .
03/26/23  02:46 PM    <DIR>          ..
03/26/23  02:46 PM               824 blah.log
03/16/23  02:56 AM             1,456 git-log.txt
03/16/23  02:47 AM         2,008,600 rclone.1
03/16/23  02:59 AM        49,853,952 rclone.exe
03/16/23  02:47 AM         2,158,094 README.html
03/16/23  02:47 AM         1,777,393 README.txt
               6 File(s)     55,800,319 bytes
               2 Dir(s)  136,848,211,968 bytes free

C:\Rclone\rclone-v1.62.2-windows-amd64>

Since it created the file w/out issue and found the config file along the path that I'd originally tried to create the log file in, I'm uncertain why I was unable to create the log file previously. I'm going to delete this current log file, then rerun your command w/ the original path I'd wanted.

Ok, I was able to create the log file along the path where I wanted it in the first place by using the following command:

C:\Rclone\rclone-v1.62.2-windows-amd64>rclone about GDrive: -vv --log-level DEBUG --log-file="C:\Users\user\AppData\Roaming\rclone\rclone_log.txt"

It provided no cmd line output, as it redirected stdout to the log file:

C:\Rclone\rclone-v1.62.2-windows-amd64>type "C:\Users\user\AppData\Roaming\rclone\rclone_log.txt"
2023/03/26 15:13:14 Can't set -v and --log-level

So, I corrected that and reran the original command:

C:\Rclone\rclone-v1.62.2-windows-amd64>rclone about GDrive: --log-level DEBUG --log-file="C:\Users\user\AppData\Roaming\rclone\rclone_log.txt"
Total:   5 TiB
Used:    4.307 TiB
Free:    634.058 GiB
Trashed: 105.641 GiB
Other:   75.763 GiB

I'm now going to work on getting these remotes mounted, since I wasn't able to get to it before. Thank you for your assistance.

I finally figured out the mounting issue! The problem was, I was using an elevated cmd prompt. I tried using the workaround found in this post, but I wasn't sure what the servername was. In the config, it's saved as GDrive, but I tried a couple variations w/ that and couldn't get it to work, so I dropped down to an unelevated prompt and mounted it successfully.

C:\Rclone\rclone-v1.62.2-windows-amd64>rclone mount GDrive: * --vfs-cache-mode full --network-mode -vv
2023/03/26 16:38:23 DEBUG : rclone: Version "v1.62.2" starting with parameters ["rclone" "mount" "GDrive:" "*" "--vfs-cache-mode" "full" "--network-mode" "-vv"]
2023/03/26 16:38:23 DEBUG : Creating backend with remote "GDrive:"
2023/03/26 16:38:23 DEBUG : Using config file from "C:\\Users\\user\\AppData\\Roaming\\rclone\\rclone.conf"
2023/03/26 16:38:23 DEBUG : Google drive root '': 'root_folder_id = 0AHRKL1DfxciiUk9PVA' - save this in the config to speed up startup
2023/03/26 16:38:24 DEBUG : vfs cache: root is "C:\\Users\\user\\AppData\\Local\\rclone"
2023/03/26 16:38:24 DEBUG : vfs cache: data root is "\\\\?\\C:\\Users\\user\\AppData\\Local\\rclone\\vfs\\GDrive"
2023/03/26 16:38:24 DEBUG : vfs cache: metadata root is "\\\\?\\C:\\Users\\user\\AppData\\Local\\rclone\\vfsMeta\\GDrive"
2023/03/26 16:38:24 DEBUG : Creating backend with remote "C:/Users/user/AppData/Local/rclone/vfs/GDrive/"
2023/03/26 16:38:24 DEBUG : fs cache: renaming cache item "C:/Users/user/AppData/Local/rclone/vfs/GDrive/" to be canonical "//?/C:/Users/user/AppData/Local/rclone/vfs/GDrive"
2023/03/26 16:38:24 DEBUG : Creating backend with remote "C:/Users/user/AppData/Local/rclone/vfsMeta/GDrive/"
2023/03/26 16:38:24 DEBUG : fs cache: renaming cache item "C:/Users/user/AppData/Local/rclone/vfsMeta/GDrive/" to be canonical "//?/C:/Users/user/AppData/Local/rclone/vfsMeta/GDrive"
2023/03/26 16:38:24 NOTICE: Assigning drive letter "Z:"
2023/03/26 16:38:24 DEBUG : Network mode mounting is enabled
2023/03/26 16:38:24 DEBUG : Mounting on "Z:" ("\\server\\GDrive")
2023/03/26 16:38:24 DEBUG : Google drive root '': Mounting with options: ["-o" "attr_timeout=1" "-o" "uid=-1" "-o" "gid=-1" "--FileSystemName=rclone" "--VolumePrefix=\\server\\GDrive"]
2023/03/26 16:38:24 INFO  : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0)
2023/03/26 16:38:24 DEBUG : Google drive root '': Init:
2023/03/26 16:38:24 DEBUG : Google drive root '': >Init:
2023/03/26 16:38:24 DEBUG : /: Statfs:
2023/03/26 16:38:24 DEBUG : /: >Statfs: stat={Bsize:4096 Frsize:4096 Blocks:1342177280 Bfree:166214481 Bavail:166214481 Files:1000000000 Ffree:1000000000 Favail:0 Fsid:0 Flag:0 Namemax:255}, errc=0
2023/03/26 16:38:24 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2023/03/26 16:38:24 DEBUG : /: >Getattr: errc=0
2023/03/26 16:38:24 DEBUG : /: Readlink:
2023/03/26 16:38:24 DEBUG : /: >Readlink: linkPath="", errc=-40
2023/03/26 16:38:24 DEBUG : /: Getxattr: name="non-existant-a11ec902d22f4ec49003af15282d3b00"
2023/03/26 16:38:24 DEBUG : /: >Getxattr: errc=-40, value=""
The service rclone has been started.

To test out the efficacy of this, I copied some files from my local HDD to the GDrive share, and they're currently transferring, b/c I see it in one of the open cmd windows, since the mount command was used w/ the -vv switch. However, I would like to see the progress of these transfers the same way I could w/ the -P switch. Is there any way to do this w/ transfers already in progress?