I see file with "rclone lsd ecc.." but i don't see the files

What is the problem you are having with rclone?

That's my first post. SorrI see file with "rclone lsd ecc.." but i don't see the files

rclone v1.53.2

  • os/arch: linux/amd64
  • go version: go1.15.3

I'm using Google Drive with encryption

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

rclone lsd GD:

This is my rclone config:

[GD]
type = drive
client_id = xxx
client_secret = xxx
scope = drive
root_folder_id =
token = {"access_token":"xxx","token_type":"Bearer","refresh_token":"xxx","expiry":"2020-10-28T10:18:38.919496072Z"}
team_drive = xxx

[gcrypt]
type = crypt
remote = GD:
filename_encryption = standard
password = xxx

This is my rclone automount with systemd:

[Unit]
Description=RClone Service
Wants=network-online.target
After=network-online.target

[Service]
Type=notify
Environment=RCLONE_CONFIG=/home/marcodantonio/.config/rclone/rclone.conf
KillMode=none
RestartSec=5
ExecStart=/usr/bin/rclone mount gcrypt: /home/marcodantonio/GD \
# This is for allowing users other than the user running rclone access to the mount
--allow-other \
# Google Drive is a polling remote so this value can be set very high and any changes are detected via polling.
--dir-cache-time 1000h \
# The log level output 
--log-level INFO \
# I reduce the poll interval down to 15 seconds as this makes changes appear fast the API quotas per day are huge
--poll-interval 15s \
# This is setting the file permission on the mount to user and group have the same access and other can read
--umask 002 \
# This sets up the remote control daemon so you can issue rc commands locally
--rc \
# This is the default port it runs on
--rc-addr :5572 \
# no-auth is used as no one else uses my server and it is not a shared seedbox
--rc-no-auth \
# The local disk used for caching
--cache-dir=/home/marcodantonio/cache \
# This is used for caching files to local disk for streaming
--vfs-cache-mode full \
# This limits the cache size to the value below
--vfs-cache-max-size 30G \
# This limits the age in the cache if the size is reached and it removes the oldest files first
--vfs-cache-max-age 128h \
# This sets a per file bandwidth control and I limit this to a little bigger than my largest bitrate I'd want to play
--bwlimit-file 16M
ExecStop=/bin/fusermount -uz /home/marcodantonio/GD
ExecStartPost=/usr/bin/rclone rc vfs/refresh recursive=true --rc-addr 127.0.0.1:5572 _async=true
Restart=on-failure
User=marcodantonio
Group=sudo

[Install]
WantedBy=multi-user.target

If i run rclone lsd GD:/
-1 2020-10-27 10:51:47 -1 first folder
-1 2020-10-28 09:11:38 -1 2 folder
-1 2020-10-28 09:11:53 -1 3 folder
-1 2020-10-14 09:32:04 -1 4 folder
-1 2020-10-14 09:32:10 -1 5 folder

But i can't see my files trought ftp or plex interface (i need rclone for plex)

That should be remote = GD: otherwise you'll be storing all your data in a local directory called GD.

i have corrected the file and rebooted. But nothing changed... my GD folder is in home/marcodantonio/GD, is correct? Or the file is in another position and i can't find it?

Can you post what you changed and share the new log of the issue?

How i can see the log?

Run with the command with -vv --log-file rclone.log

i ran:

sudo /usr/bin/rclone mount gcrypt: /home/marcodantonio/GD --allow-other --dir-cache-time 1000h --log-level INFO --poll-interval 15s --umask 002 --rc --rc-no-auth --cache-dir=/home/marcodantonio/cache --vfs-cache-mode full --vfs-cache-max-size 30G --vfs-cache-max-age 128h --bwlimit-file 16M -vv --log-file rclone.log

the log is:

2020/10/28 12:46:29 Failed to start remote control: start server failed: listen tcp 127.0.0.1:5572: bind: address already in use
2020/10/28 12:48:23 Can't set -v and --log-level

Wait the first time i ran the program without -vv because i typed --vv
so i need first to stop the mount

It says:
2020/10/28 12:53:52 Can't set -v and --log-level

That means you already have something running on the same port so you'd have to stop the rclone process that's running.

You'd have to share exactly the command you are running as I can't see your screen :slight_smile:

i ran the command above:
sudo /usr/bin/rclone mount gcrypt: /home/marcodantonio/GD --allow-other --dir-cache-time 1000h --log-level INFO --poll-interval 15s --umask 002 --rc --rc-no-auth --cache-dir=/home/marcodantonio/cache --vfs-cache-mode full --vfs-cache-max-size 30G --vfs-cache-max-age 128h --bwlimit-file 16M -vv --log-file rclone.log

and if i open the rclone.log there is:
2020/10/28 12:46:29 Failed to start remote control: start server failed: listen tcp 127.0.0.1:5572: bind: address already in use
2020/10/28 12:48:23 Can't set -v and --log-level
2020/10/28 12:53:52 Can't set -v and --log-level
2020/10/28 13:13:56 Can't set -v and --log-level

On screen i don't see anything
if i type rclone lsd GD:/ i see my file but i can't find it home/marcodantonio/GD

You'd have to remove

or remove -vv

or remove -vv and change INFO to DEBUG

-vv and --log-level DEBUG are the same thing.

correct.

Rclone log:
2020/10/28 13:19:30 DEBUG : rclone: Version "v1.53.2" starting with parameters ["/usr/bin/rclone" "mount" "gcrypt:" "/home/marcodantonio/GD" "--allow-other" "--dir-cache-time" "1000h" "--poll-interval" "15s" "--u>
2020/10/28 13:19:30 NOTICE: Serving remote control on http://127.0.0.1:5572/
2020/10/28 13:19:30 DEBUG : Creating backend with remote "gcrypt:"
2020/10/28 13:19:30 NOTICE: Config file "/root/.config/rclone/rclone.conf" not found - using defaults
2020/10/28 13:19:30 Failed to create file system for "gcrypt:": didn't find section in config file

but my config file is in home/marcodantonio/.config/rclone/rclone.conf

How i can fix that?

what user are you running rclone as, that user needs to have file permissions to see that file.
you can add this --config=/root/.config/rclone/rclone.conf to your command

first, make sure you can do a rclone ls GD:
then test with rclone ls gcrypt:
then try rclone mount

but my rclone config is saved in another place... i want to rclone to use home/marcodantonio/.config/rclone/rclone.config

then --config=/home/marcodantonio/.config/rclone/rclone.conf

this is the log:
2020/10/28 13:35:07 DEBUG : rclone: Version "v1.53.2" starting with parameters ["/usr/bin/rclone" "mount" "gcrypt:" "/home/marcodantonio/GD" "--allow-other" "--dir-cache-time" "1000h" "--poll-interval" "15s" "--u>
2020/10/28 13:35:07 NOTICE: Serving remote control on http://127.0.0.1:5572/
2020/10/28 13:35:07 DEBUG : Creating backend with remote "gcrypt:"
2020/10/28 13:35:07 DEBUG : Using config file from "/home/marcodantonio/.config/rclone/rclone.conf"
2020/10/28 13:35:07 DEBUG : Creating backend with remote "GD:"
2020/10/28 13:35:07 DEBUG : vfs cache: root is "/home/marcodantonio/cache/vfs/gcrypt"
2020/10/28 13:35:07 DEBUG : vfs cache: metadata root is "/home/marcodantonio/cache/vfs/gcrypt"
2020/10/28 13:35:07 DEBUG : Creating backend with remote "/home/marcodantonio/cache/vfs/gcrypt"
2020/10/28 13:35:07 DEBUG : Encrypted drive 'gcrypt:': Mounting on "/home/marcodantonio/GD"
2020/10/28 13:35:07 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0)
2020/10/28 13:35:07 DEBUG : : Root:
2020/10/28 13:35:07 DEBUG : : >Root: node=/, err=
2020/10/28 13:35:22 DEBUG : Google drive root '': Checking for changes on remote
2020/10/28 13:35:37 DEBUG : Google drive root '': Checking for changes on remote
2020/10/28 13:35:52 DEBUG : Google drive root '': Checking for changes on remote
2020/10/28 13:36:07 DEBUG : Google drive root '': Checking for changes on remote
2020/10/28 13:36:07 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0)
2020/10/28 13:36:22 DEBUG : Google drive root '': Checking for changes on remote
2020/10/28 13:36:37 DEBUG : Google drive root '': Checking for changes on remote
2020/10/28 13:36:52 DEBUG : Google drive root '': Checking for changes on remote
2020/10/28 13:37:07 DEBUG : Google drive root '': Checking for changes on remote
2020/10/28 13:37:07 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0)
2020/10/28 13:37:08 INFO : Signal received: interrupt
2020/10/28 13:37:08 DEBUG : vfs cache: cleaner exiting
2020/10/28 13:37:08 INFO : Exiting...

Interrupted to see logs with nano, from here appears to me that it work, but i can't see files in GD folder

Looks like something/you stopped rclone so that's most likely why you can't see it.

nono i checked when rclone is running
For example now is running, but i can't see my files