New Files not showing with Mount Command but show in ls command

\\

What is the problem you are having with rclone? New files are not showing

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

rclone v1.63.1

  • os/version: ubuntu 22.04 (64 bit)

  • os/kernel: 5.15.0-76-generic (x86_64)

  • os/type: linux

  • os/arch: amd64

  • go/version: go1.20.6

  • go/linking: static

  • go/tags: none

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

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

\\\ [Unit]
Description=RClone Service
Wants=network-online.target
After=network-online.target
[Service]
Type=notify
Environment=RCLONE_CONFIG=/home/jim/.config/rclone/rclone.conf
ExecStart=/usr/bin/rclone mount --cache-dir=/home/mike/cache --vfs-cache-mode full --vfs-cache-max-size 60G --vfs-cache-max-age 48h --timeout 1h --dir-cache-time 72h --allow-other gdrive:/media>
ExecStop=/bin/fusermount -uz /home/mike/gdrive
Restart=on-failure
RestartSec=20s
User=mike
Group=mike
[Install]
WantedBy=multi-user.target

\\\

The rclone config contents with secrets removed.

[gdrive]
type = drive
client_id = removed
client_secret = removed
scope = drive
chunk_size = 16Mi
token = removed
team_drive =

Sorry I don't have logs activated. I will activate if I have to. More context to my problem I have the exact same setup on another box on a slightly older version of rclone 1.61 and it works perfect and has for years. My newest setup is having this issue

If i do rclone ls command - I can see the new files there. But for some reason they are not showing via the systemd mount command. I can see all the older files. I use rclone + mergerfs to fuse the files but merger is not the issue from what I can tell. It's something to do with my mount command. Please help! Thanks all

It takes up to 1 min before changes in remote are picked up by gdrive mount.

Try below commands sequence to confirm if things work or not:

ls /home/mike/gdrive/test.txt

echo "hello world" | rclone rcat gdrive:test.txt;sleep 61;ls /home/mike/gdrive/test.txt

So I assume should I have a test.txt file already there?

Also I'm not sure about the minute time. But new files are not showing up at all, as in days. Unless I restart rclone.

Then capture debug log from mount command for few minutes and post here.

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