Random files showing as unavailable in Plex occassionaly

So I’ve been ignoring this for quite some time now but it is getting frustrating. When I look at my Plex library, there are quite a few random files that appear to be unavailable in Plex. I initially thought this was just a Plex issue until I started digging and found that while the directory is there on the mount, the actual file is missing (obviously available on Google Drive).

I am running version v1.44

Here are my mount scripts:

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

[Service]
Type=notify
ExecStart=/usr/bin/rclone mount remote:/Media /mnt/remote
–vfs-read-chunk-size 128M
–vfs-read-chunk-size-limit off
–cache-dir=/mnt/stagingstorage/rclone
–cache-chunk-path=/mnt/stagingstorage/rclone_chunkpath
–cache-db-path=/mnt/stagingstorage/rclone_db_cache
–allow-other
–bind x.x.x.x
–dir-cache-time 6h
–drive-chunk-size 32M
–log-level INFO
–log-file /mnt/localstorage/logs/rclone.log
–umask 000
–config /mnt/localstorage/rclone.config
ExecStop=/bin/fusermount -uz /mnt/remote

[Install]
WantedBy=gmedia.service

And the mergerfs:

[Unit]
Description = /mnt/gcache MergerFS mount
PartOf=gmedia.service
After=gcache.service
RequiresMountsFor=/mnt/stagingstorage

[Mount]
What = /mnt/stagingstorage/localstorage:/mnt/remote
Where = /mnt/gcache
Type = fuse.mergerfs
Options = use_ino,hard_remove,auto_cache,sync_read,allow_other,category.action=all,category.create=ff

[Install]
WantedBy=gmedia.service

I’d move to the latest stable version to start.

Can you share a log of what happens when you see a file missing?

I don’t see anything obvious that indicates that a file is missing. My guess is that it is Sonarr deleting the file and rclone taking some time to purge the cache of that directory to reflect the new file it has added?

EDIT: It actually sounds very familiar to this:

Are you deleting files outside of the cache? Can you share a log of what happens when it occurs?

No I’m not and I can’t see anything outside of the ordinary other than additions that are taking place. I’ll dump the log (It has just been cleared) at some point today but it happens throughout the day. If I look at Plex right now, there are several items that are unavailable but are in Google Drive.

Sonarr is using the /mnt/gcache which should delete the file via the rclone mount.

I run a pretty similar setup, but I don’t use the cache backend and definitely don’t see the issue.

I’m guessing it’s related to the cache backend but not sure as the bug posted above was related to deleting things outside of the cache.

If you can snag a log of it happening, that would help.

1 Like

I think I’m only using these:

–cache-dir=/mnt/stagingstorage/rclone
–cache-chunk-path=/mnt/stagingstorage/rclone_chunkpath
–cache-db-path=/mnt/stagingstorage/rclone_db_cache

I’m not actually using a cache backend?

Those flags only work on the cache backend so my assumption was you are using it.

In your rclone.conf, you’d have a type = cache in there.

Not sure if I should create a new thread on this or not, but I am having a similar issue. I am getting a file unavailable for one of my movies, the rest of my plex is fine. The file is there on my gdrive, but for some reason no matter what I try and do it will still show as unavailable. Adding that when emptying the trash, the file is there on plex but still shows as unavailable

Not sure what you mean.

If you empty trash, any scanned files that were marked unavailable are removed.

You’d need to share the logs and more data on the error.

I just came to post exactly the same issue. Its happening with TV shows, but I havent noticed it with any movies.
Nothing odd in the logs.
When I remount it, the files come back, and I can scan them again, but its wasting a tonne of time!

What do you mean? Can you share logs and more details?

My mount command is:

/usr/bin/rclone mount gcache: ~/gdrive/media --buffer-size 256M --allow-non-empty --read-only --dir-cache-time 72h --drive-chunk-size 32M --log-level INFO --timeout 1h --vfs-read-chunk-size 128M --vfs-read-chunk-size-limit off --log-file /home/plex/logs/gcache.txt

I’m using ubuntu 18.04

Running rclone 1.46

I have empty recycle bin turned off in plex.

In plex, a bunch of tv shows at random show the red garbage can.

If I check my mount, the files are missing. They are there on my google drive through. When I remount it they come back.

The files that go missing seem to be at random.

Here is the log, but there is nothing to see in it.

The first 3 lines seem to be new. (probably from playing with my mount) I’m not using FUSE, as its just a mount (downloading happens somewhere else)

2019/03/03 17:51:34 Fatal error: failed to umount FUSE fs: exit status 1: fusermount: failed to unmount /home/plex/gdrive/media: Device or resource busy
2019/03/03 17:52:58 NOTICE: Config file “/.rclone.conf” not found - using defaults
2019/03/03 17:52:58 Failed to create file system for “gcache:”: didn’t find section in config file
2019/03/03 17:53:32 INFO : gcache: Cache DB path: /home/plex/.cache/rclone/cache-backend/gcache.db
2019/03/03 17:53:32 INFO : gcache: Cache chunk path: /home/plex/.cache/rclone/cache-backend/gcache
2019/03/03 17:53:32 INFO : gcache: Chunk Memory: true
2019/03/03 17:53:32 INFO : gcache: Chunk Size: 10M
2019/03/03 17:53:32 INFO : gcache: Chunk Total Size: 10G
2019/03/03 17:53:32 INFO : gcache: Chunk Clean Interval: 1m0s
2019/03/03 17:53:32 INFO : gcache: Workers: 4
2019/03/03 17:53:32 INFO : gcache: File Age: 1d
2019/03/03 17:55:33 INFO : movies/Pretty Broken (2018)/Pretty Broken (2019).mkv: received cache expiry notification
2019/03/03 17:55:34 INFO : movies/Stray (2018): received cache expiry notification
2019/03/03 17:56:36 INFO : cache-cleanup: chunks 59, est. size: 586.515M
2019/03/03 17:57:33 INFO : movies/The Blackwell Ghost 2 (2018): received cache expiry notification
2019/03/03 17:57:36 INFO : cache-cleanup: chunks 31, est. size: 298.864M
2019/03/03 17:58:36 INFO : cache-cleanup: chunks 16, est. size: 150.297M
2019/03/03 17:59:33 INFO : 4K/Hidden Universe (2013)/Hidden Universe (2013).mkv: received cache expiry notification
2019/03/03 18:01:33 INFO : tv/Love After Lockup/Season 2/Love After Lockup - 2X13 - Sorry, Not Sorry.mp4: received cache expiry notification
2019/03/03 18:01:34 INFO : movies/Pretty Broken (2018)/Pretty Broken (2019).mkv: received cache expiry notification
2019/03/03 18:02:36 INFO : cache-cleanup: chunks 1, est. size: 4.621M
2019/03/03 18:03:33 INFO : tv/Love After Lockup/Season 2/Love After Lockup - 2X13 - Sorry, Not Sorry.mp4: received cache expiry notification
2019/03/03 18:03:36 INFO : cache-cleanup: chunks 34, est. size: 334.621M
2019/03/03 18:05:33 INFO : movies/Bambi (1942)/Bambi (1942).mkv: received cache expiry notification
2019/03/03 18:06:33 INFO : tv/Love After Lockup/Season 2/Love After Lockup - 2X13 - Sorry, Not Sorry.mp4: received cache expiry notification
2019/03/03 18:13:33 INFO : tv/Love After Lockup/Season 2/Love After Lockup - 2X13 - Sorry, Not Sorry.mp4: received cache expiry notification
2019/03/03 18:14:33 INFO : movies/Bambi (1942)/Bambi (1942).mkv: received cache expiry notification
2019/03/03 18:16:33 INFO : movies/Fantastic Beasts The Crimes of Grindelwald (2018)/Fantastic Beasts The Crimes of Grindelwald (2018).mkv: received cache expiry notification
2019/03/03 18:23:33 INFO : 4K/Hidden Universe (2013)/Hidden Universe (2013).mkv: received cache expiry notification
2019/03/03 18:25:33 INFO : movies/Instant Family (2018)/Instant Family (2018).mkv: received cache expiry notification
2019/03/03 18:35:38 INFO : cache-cleanup: chunks 19, est. size: 180.567M
2019/03/03 18:36:39 INFO : cache-cleanup: chunks 79, est. size: 789.134M
2019/03/03 18:37:39 INFO : cache-cleanup: chunks 2, est. size: 19.134M
2019/03/03 18:38:39 INFO : cache-cleanup: chunks 2, est. size: 9.134M
2019/03/03 18:39:39 INFO : cache-cleanup: chunks 2, est. size: 16.984M
2019/03/03 18:40:39 INFO : cache-cleanup: chunks 29, est. size: 283.597M
2019/03/03 18:41:39 INFO : cache-cleanup: chunks 2, est. size: 13.597M
2019/03/03 18:42:39 INFO : cache-cleanup: chunks 1, est. size: 3.597M
2019/03/03 18:43:39 INFO : cache-cleanup: chunks 2, est. size: 13.597M
2019/03/03 18:44:40 INFO : cache-cleanup: chunks 1, est. size: 3.597M
2019/03/03 18:45:33 INFO : movies/Fantastic Beasts The Crimes of Grindelwald (2018)/Fantastic Beasts The Crimes of Grindelwald (2018).mkv: received cache expiry notification
2019/03/03 18:45:34 INFO : : received cache expiry notification
2019/03/03 18:45:34 INFO : 4K: received cache expiry notification
2019/03/03 18:45:40 INFO : cache-cleanup: chunks 2, est. size: 13.597M
2019/03/03 18:46:33 INFO : 4K: received cache expiry notification
2019/03/03 18:46:40 INFO : cache-cleanup: chunks 1, est. size: 3.597M
2019/03/03 18:47:40 INFO : cache-cleanup: chunks 2, est. size: 13.597M
2019/03/03 18:48:34 INFO : movies/Instant Family (2018)/Instant Family (2018).mkv: received cache expiry notification
2019/03/03 18:48:40 INFO : cache-cleanup: chunks 2, est. size: 13.597M
2019/03/03 18:49:40 INFO : cache-cleanup: chunks 1, est. size: 3.597M
2019/03/03 18:51:40 INFO : cache-cleanup: chunks 1, est. size: 3.597M
2019/03/03 18:52:33 INFO : movies/Green Book (2018)/Green Book (2018).mkv: received cache expiry notification
2019/03/03 18:52:33 INFO : 4K: received cache expiry notification
2019/03/03 18:52:34 INFO : : received cache expiry notification
2019/03/03 18:52:40 INFO : cache-cleanup: chunks 1, est. size: 3.597M
2019/03/03 18:53:40 INFO : cache-cleanup: chunks 1, est. size: 3.597M
2019/03/03 18:54:33 INFO : : received cache expiry notification
2019/03/03 18:54:40 INFO : cache-cleanup: chunks 2, est. size: 13.597M
2019/03/03 18:55:33 INFO : 4K/A Few Good Men (1992)/A Few Good Men (1992).mkv: received cache expiry notification
2019/03/03 18:55:40 INFO : cache-cleanup: chunks 2, est. size: 13.597M
2019/03/03 18:56:40 INFO : cache-cleanup: chunks 1, est. size: 3.597M
2019/03/03 18:57:40 INFO : cache-cleanup: chunks 2, est. size: 13.597M
2019/03/03 18:58:40 INFO : cache-cleanup: chunks 2, est. size: 13.597M
2019/03/03 18:59:41 INFO : cache-cleanup: chunks 1, est. size: 3.597M
2019/03/03 19:00:41 INFO : cache-cleanup: chunks 10, est. size: 93.597M
2019/03/03 19:01:41 INFO : cache-cleanup: chunks 2, est. size: 13.597M
2019/03/03 19:02:41 INFO : cache-cleanup: chunks 1, est. size: 3.597M
2019/03/03 19:03:41 INFO : cache-cleanup: chunks 2, est. size: 13.597M
2019/03/03 19:04:41 INFO : cache-cleanup: chunks 1, est. size: 3.597M
2019/03/03 19:05:41 INFO : cache-cleanup: chunks 40, est. size: 393.597M
2019/03/03 19:06:41 INFO : cache-cleanup: chunks 3, est. size: 23.597M
2019/03/03 19:07:33 INFO : movies/RED 2 (2013)/RED 2 (2013).mkv: received cache expiry notification
2019/03/03 19:07:41 INFO : cache-cleanup: chunks 4, est. size: 33.597M
2019/03/03 19:08:42 INFO : cache-cleanup: chunks 5, est. size: 43.597M
2019/03/03 19:09:42 INFO : cache-cleanup: chunks 5, est. size: 43.597M
2019/03/03 19:10:33 INFO : movies/Vox Lux (2018)/Vox Lux (2018).mkv: received cache expiry notification
2019/03/03 19:10:42 INFO : cache-cleanup: chunks 5, est. size: 43.597M
2019/03/03 19:11:34 INFO : 4K/Bad Boys (1995)/Bad Boys (1995).mkv: received cache expiry notification
2019/03/03 19:11:42 INFO : cache-cleanup: chunks 4, est. size: 33.597M
2019/03/03 19:12:42 INFO : cache-cleanup: chunks 3, est. size: 23.597M
2019/03/03 19:13:42 INFO : cache-cleanup: chunks 3, est. size: 23.597M
2019/03/03 19:14:33 INFO : : received cache expiry notification
2019/03/03 19:14:42 INFO : cache-cleanup: chunks 7, est. size: 69.229M
2019/03/03 19:15:43 INFO : cache-cleanup: chunks 79, est. size: 781.331M
2019/03/03 19:16:33 INFO : movies/Pretty Broken (2018)/Pretty Broken (2019).mkv: received cache expiry notification
2019/03/03 19:16:43 INFO : cache-cleanup: chunks 15, est. size: 141.331M
2019/03/03 19:17:43 INFO : cache-cleanup: chunks 3, est. size: 21.331M
2019/03/03 19:18:33 INFO : movies/Pretty Broken (2018)/Pretty Broken (2019).mkv: received cache expiry notification
2019/03/03 19:18:43 INFO : cache-cleanup: chunks 3, est. size: 21.331M
2019/03/03 19:19:43 INFO : cache-cleanup: chunks 3, est. size: 21.331M
2019/03/03 19:20:43 INFO : cache-cleanup: chunks 2, est. size: 11.331M
2019/03/03 19:21:34 INFO : movies/Pretty Broken (2018)/Pretty Broken (2019).mkv: received cache expiry notification
2019/03/03 19:21:43 INFO : cache-cleanup: chunks 3, est. size: 21.331M
2019/03/03 19:22:43 INFO : cache-cleanup: chunks 2, est. size: 11.331M
2019/03/03 19:24:33 INFO : movies/Bambi (1942)/Bambi (1942).mkv: received cache expiry notification
2019/03/03 19:24:43 INFO : cache-cleanup: chunks 2, est. size: 11.331M
2019/03/03 19:25:43 INFO : cache-cleanup: chunks 2, est. size: 11.331M
2019/03/03 19:26:33 INFO : movies/Bambi (1942)/Bambi (1942).mkv: received cache expiry notification
2019/03/03 19:26:43 INFO : cache-cleanup: chunks 2, est. size: 11.331M
2019/03/03 19:27:33 INFO : movies/Prisoners (2013)/Prisoners (2013).mkv: received cache expiry notification
2019/03/03 19:27:43 INFO : cache-cleanup: chunks 2, est. size: 11.331M
2019/03/03 19:28:43 INFO : cache-cleanup: chunks 2, est. size: 11.331M
2019/03/03 19:29:43 INFO : cache-cleanup: chunks 2, est. size: 11.331M
2019/03/03 19:30:43 INFO : cache-cleanup: chunks 3, est. size: 21.331M
2019/03/03 19:31:43 INFO : cache-cleanup: chunks 2, est. size: 11.331M
2019/03/03 19:32:34 INFO : movies/Victor Young Perez (2013): received cache expiry notification
2019/03/03 19:32:34 INFO : movies/Living Space (2018): received cache expiry notification
2019/03/03 19:32:44 INFO : cache-cleanup: chunks 2, est. size: 11.331M
2019/03/03 19:33:44 INFO : cache-cleanup: chunks 1, est. size: 1.331M
2019/03/03 19:34:33 INFO : : received cache expiry notification
2019/03/03 19:34:44 INFO : cache-cleanup: chunks 2, est. size: 11.331M
2019/03/03 19:35:44 INFO : cache-cleanup: chunks 6, est. size: 52.024M
2019/03/03 19:36:33 INFO : movies/Living Space (2018)/Living Space (2018).avi: received cache expiry notification
2019/03/03 19:36:44 INFO : cache-cleanup: chunks 11, est. size: 102.024M
2019/03/03 19:40:44 INFO : cache-cleanup: chunks 29, est. size: 283.276M
2019/03/03 19:41:34 INFO : movies/Victor Young Perez (2013)/Victor Young Perez (2013).mkv: received cache expiry notification
2019/03/03 19:47:33 INFO : movies/Vox Lux (2018)/Vox Lux (2018).mkv: received cache expiry notification
2019/03/03 19:48:44 INFO : cache-cleanup: chunks 46, est. size: 459.524M
2019/03/03 19:49:44 INFO : cache-cleanup: chunks 46, est. size: 457.763M
2019/03/03 19:50:34 INFO : movies/Living Space (2018)/Living Space (2018).avi: received cache expiry notification
2019/03/03 19:50:45 INFO : cache-cleanup: chunks 11, est. size: 107.763M
2019/03/03 19:51:33 INFO : movies/Living Space (2018)/Living Space (2018).avi: received cache expiry notification
2019/03/03 19:51:45 INFO : cache-cleanup: chunks 11, est. size: 107.763M
2019/03/03 19:52:45 INFO : cache-cleanup: chunks 12, est. size: 117.763M
2019/03/03 19:53:45 INFO : cache-cleanup: chunks 10, est. size: 97.763M
2019/03/03 19:54:45 INFO : cache-cleanup: chunks 11, est. size: 107.763M
2019/03/03 19:55:33 INFO : 4K/The Nutcracker and the Four Realms (2018)/The Nutcracker and the Four Realms (2018).mkv: received cache expiry notification
2019/03/03 19:55:45 INFO : cache-cleanup: chunks 11, est. size: 107.763M
2019/03/03 19:56:45 INFO : cache-cleanup: chunks 10, est. size: 97.763M
2019/03/03 19:57:45 INFO : cache-cleanup: chunks 11, est. size: 107.763M
2019/03/03 19:58:45 INFO : cache-cleanup: chunks 4, est. size: 37.763M
2019/03/03 19:59:33 INFO : movies/Instant Family (2018)/Instant Family (2018).mkv: received cache expiry notification
2019/03/03 20:00:33 INFO : movies/Instant Family (2018)/Instant Family (2018).mkv: received cache expiry notification
2019/03/03 20:01:45 INFO : cache-cleanup: chunks 4, est. size: 37.763M
2019/03/03 20:02:33 INFO : movies/Instant Family (2018)/Instant Family (2018).mkv: received cache expiry notification
2019/03/03 20:02:45 INFO : cache-cleanup: chunks 4, est. size: 37.756M
2019/03/03 20:03:45 INFO : cache-cleanup: chunks 13, est. size: 127.756M
2019/03/03 20:04:34 INFO : movies/Captain America - The First Avenger (2011): received cache expiry notification
2019/03/03 20:04:34 INFO : movies/Instant Family (2018)/Instant Family (2018).mkv: received cache expiry notification
2019/03/03 20:05:33 INFO : 4K/Hidden Universe (2013)/Hidden Universe (2013).mkv: received cache expiry notification
2019/03/03 20:06:33 INFO : 4K/Hidden Universe (2013)/Hidden Universe (2013).mkv: received cache expiry notification
2019/03/03 20:06:33 INFO : movies/Victor Young Perez (2013)/Victor Young Perez (2013).mkv: received cache expiry notification
2019/03/03 20:07:33 INFO : 4K/Hidden Universe (2013)/Hidden Universe (2013).mkv: received cache expiry notification
2019/03/03 20:08:45 INFO : cache-cleanup: chunks 1, est. size: 7.756M
2019/03/03 20:09:34 INFO : movies/Fantastic Beasts The Crimes of Grindelwald (2018)/Fantastic Beasts The Crimes of Grindelwald (2018).mkv: received cache expiry notification
2019/03/03 20:09:45 INFO : cache-cleanup: chunks 9, est. size: 87.756M
2019/03/03 20:10:46 INFO : cache-cleanup: chunks 10, est. size: 97.756M
2019/03/03 20:11:33 INFO : movies/Bambi (1942)/Bambi (1942).mkv: received cache expiry notification
2019/03/03 20:11:34 INFO : movies/Fantastic Beasts The Crimes of Grindelwald (2018)/Fantastic Beasts The Crimes of Grindelwald (2018).mkv: received cache expiry notification
2019/03/03 20:11:46 INFO : cache-cleanup: chunks 9, est. size: 87.756M
2019/03/03 20:12:46 INFO : cache-cleanup: chunks 9, est. size: 87.756M
2019/03/03 20:13:46 INFO : cache-cleanup: chunks 10, est. size: 97.756M
2019/03/03 20:14:33 INFO : movies/Captain America - The First Avenger (2011)/Captain America The First Avenger (2011).mkv: received cache expiry notification
2019/03/03 20:14:46 INFO : cache-cleanup: chunks 10, est. size: 97.756M
2019/03/03 20:15:46 INFO : cache-cleanup: chunks 6, est. size: 57.756M

What’s an example of a file that’s showing unavailable in Plex?

Can you check the file system when it’s mounted and ls -al the file there?

You seem to not have a config file?

2019/03/03 17:52:58 Failed to create file system for “gcache:”: didn’t find section in config file

You are using 2 machines you said?

You’d need to match up the logs as you would need to be in DEBUG so you can see if the one drive updates 1 minute after it was added to the other.

I’m not saying there couldn’t be a bug, but need to align the logs to actually file something if we want to figure out how to get it fixed. I thought the last set of polling items was corrected.

The only thing I see open is back to deleting something outside of the mount.

So like having it mounted on one machine and deleting it from a different machine.

1 Like

Here is what I am seeing on my side:

2019/03/03 09:16:56 DEBUG : : >Statfs: stat={Blocks:4294967295 Bfree:4294967295 Bavail:4294967295 Files:1000000000 Ffree:1000000000 Bsize:4096 Namelen:255 Frsize:4096}, err=<nil>

2019/03/03 09:16:56 DEBUG : Movies/Le Samouraï 1967/: ReadDirAll:

2019/03/03 09:16:56 DEBUG : Cache remote gcache:: list ‘Movies/Le Samouraï 1967’

2019/03/03 09:16:56 DEBUG : Movies/Le Samouraï 1967: list: warm 1 from cache for: Movies/Le Samouraï 1967, expiring on: 2019-03-03 10:13:32.595548 -0600 CST

2019/03/03 09:16:56 DEBUG : Movies/Le Samouraï 1967: list: cached entries: [Movies/Le Samouraï 1967/Le Samouraï 1967 Criterion Collection 1080p Blu-ray Remux AVC DTS-HD MA 1.0 - KRaLiMaRKo.mkv]

2019/03/03 09:16:56 DEBUG : Movies/Le Samouraï 1967/: >ReadDirAll: item=1, err=<nil>

2019/03/03 09:16:56 DEBUG : Movies/Le Samouraï 1967/: Lookup: name=“Le Samouraï 1967 Criterion Collection 1080p Blu-ray Remux AVC DTS-HD MA 1.0 - KRaLiMaRKo.mkv”

2019/03/03 09:16:56 DEBUG : Movies/Le Samouraï 1967/: >Lookup: node=Movies/Le Samouraï 1967/Le Samouraï 1967 Criterion Collection 1080p Blu-ray Remux AVC DTS-HD MA 1.0 - KRaLiMaRKo.mkv, err=<nil>

2019/03/03 09:16:56 DEBUG : Movies/Le Samouraï 1967/Le Samouraï 1967 Criterion Collection 1080p Blu-ray Remux AVC DTS-HD MA 1.0 - KRaLiMaRKo.mkv: Attr:

2019/03/03 09:16:56 DEBUG : Movies/Le Samouraï 1967/Le Samouraï 1967 Criterion Collection 1080p Blu-ray Remux AVC DTS-HD MA 1.0 - KRaLiMaRKo.mkv: >Attr: a=valid=1s ino=0 size=28783521537 mode=-rw-r–r--, err=<nil>

2019/03/03 09:16:56 DEBUG : : Statfs:

2019/03/03 09:16:56 DEBUG : : >Statfs: stat={Blocks:4294967295 Bfree:4294967295 Bavail:4294967295 Files:1000000000 Ffree:1000000000 Bsize:4096 Namelen:255 Frsize:4096}, err=<nil>

2019/03/03 09:16:56 DEBUG : Movies/: ReadDirAll:

2019/03/03 09:16:56 DEBUG : Movies/: >ReadDirAll: item=327, err=<nil>

2019/03/03 09:16:56 DEBUG : : Statfs:

2019/03/03 09:16:56 DEBUG : : >Statfs: stat={Blocks:4294967295 Bfree:4294967295 Bavail:4294967295 Files:1000000000 Ffree:1000000000 Bsize:4096 Namelen:255 Frsize:4096}, err=<nil>

2019/03/03 09:16:56 DEBUG : Movies/: ReadDirAll:

2019/03/03 09:16:56 DEBUG : Movies/: >ReadDirAll: item=327, err=<nil>

2019/03/03 09:16:56 DEBUG : : Statfs:

2019/03/03 09:16:56 DEBUG : : >Statfs: stat={Blocks:4294967295 Bfree:4294967295 Bavail:4294967295 Files:1000000000 Ffree:1000000000 Bsize:4096 Namelen:255 Frsize:4096}, err=<nil>

2019/03/03 09:16:56 DEBUG : Movies/Le Samouraï 1967/: ReadDirAll:

2019/03/03 09:16:56 DEBUG : Movies/Le Samouraï 1967/: >ReadDirAll: item=1, err=<nil>

2019/03/03 09:16:56 DEBUG : Movies/: Lookup: name=“Le Samouraï 1967”

2019/03/03 09:16:56 DEBUG : Movies/: >Lookup: node=<nil>, err=no such file or directory

2019/03/03 09:16:56 DEBUG : Movies/: Lookup: name=“Le Samouraï 1967”

2019/03/03 09:16:56 DEBUG : Movies/: >Lookup: node=<nil>, err=no such file or directory

2019/03/03 09:16:56 DEBUG : : Statfs:

2019/03/03 09:16:56 DEBUG : : >Statfs: stat={Blocks:4294967295 Bfree:4294967295 Bavail:4294967295 Files:1000000000 Ffree:1000000000 Bsize:4096 Namelen:255 Frsize:4096}, err=<nil>

Can you share more details on work flow and setup? The more information that you can provide on how it’s setup and how that file go there, the better we can figure it out.

Did you add that file on another machine?
Did you delete the file somewhere else?
What version are you running?
What’s your mount settings?

Pretty simple workflow compared to what I have seen on here, but I am also a noob.

I just have gdrive and gcache setup, no crypt

All files are uploaded directly to gdrive from chrome (I am not sure if there is a better way, I have just always done it that way.) What I was trying to do was change the file to a higher resolution file. So there was a 720p file, but I uploaded a 1080p and removed the 720p file and that’s when this started to happen.

File has not been added on another machine

File was deleted on gdrive

1.45

rclone mount -vvv --allow-non-empty gcache: /Users/User/gcache

And your rclone.conf without the keys / password?

[gdrive]
type = drive
scope = drive
token =
client_id = google.com
client_secret =
use_trash = false
chunk_size = 16M

[gcache]

type = cache

remote = gdrive:

plex_url = http://127.0.0.1:32400/web/index.html

plex_username =

plex_password = *** ENCRYPTED ***

chunk_size = 16M

info_age = 2h0m0s

chunk_total_size = 20G

workers = 6

tmp_wait_time = 1m0s

chunk_no_memory = true

plex_token =

If you have the full log from when you added the file and when you went to search for it, that would be good.

If you can recreate it, capture the log with the add and the remove and share that as there should be some events in there.

Any reason you have the info age so low as 2 hours isn’t much? Can you move to the 1.46 stable as well as that’s what I was testing on.

If I repeat your workflow, you manually copy a file using the browser to your GD. Rclone should pick up that file within a minute and it’s added.

When you remove a file, you do that from the Web Browser too? If so you should also see a polling for changes messages for that as well and it should expire it out of the cache.

To get some bang for the buck, you should really up the age to like 48 hours and add in the --dir-cache-time and make that like 44 hours.

That helps in terms of speed and less API hits.

Also, the plex integration really slows things down as all scans and such only use 1 worker. I’d keep that off imo.