(Solved) Plex Integration

Pretty standard config and I re-entered my auth a few times to make sure the token was updating. I can see the ‘device’ in my plex devices.

[gcache]
type = cache
remote = GD:media
plex_url = http://192.168.1.30:32400
plex_username = user
plex_password = something
plex_token = token
chunk_total_size = 32G

This is the same URL / Username that works properly for Tautilla as I can see my server status so I know the URL is good.

The only thing i see plex related in my logs:

[felix@gemini ~]$ grep -i plex /var/log/rclone.log
Mar 31 23:16:49 gemini rclone[32382]: plex: stopped Plex watcher
Mar 31 23:16:49 gemini rclone[32382]: plex: stopped Plex watcher
Mar 31 23:21:16 gemini rclone[16770]: plex: stopped Plex watcher
Mar 31 23:21:16 gemini rclone[16770]: plex: stopped Plex watcher
Apr  2 07:25:13 gemini rclone[27552]: plex: stopped Plex watcher
Apr  2 07:25:13 gemini rclone[27552]: plex: stopped Plex watcher
Apr  2 07:29:10 gemini rclone[30719]: plex: stopped Plex watcher
Apr  2 07:29:10 gemini rclone[30719]: plex: stopped Plex watcher
Apr  2 07:30:29 gemini rclone[5674]: plex: stopped Plex watcher
Apr  2 07:30:29 gemini rclone[5674]: plex: stopped Plex watcher

Is there something I’m missing on configuring the plex integration or something else I should check?

It seems like if I delete everything out of my config plex related, it will work for the first time when I connect back in.

Apr  2 07:47:30 gemini rclone[5771]: gcache: Connected to Plex server: http://192.168.1.30:32400
Apr  2 07:47:30 gemini rclone[5771]: : Statfs:
Apr  2 07:47:30 gemini rclone[5771]: : >Statfs: stat={Blocks:274877906944 Bfree:274877906944 Bavail:274877906944 Files:1000000000 Ffree:1000000000 Bsize:4096 Namelen:255 Frsize:4096}, err=<nil>

but if I stop and restart it, it doesn’t show back up in the logs and I only see the stopping message.

That log appears when you stop the rclone process. Are you doing that?

Yes, I was trying to test via playing somethingn and I didn’t see any new connections in the debug log.

The only thing I saw in the log plex related was when I stopped the rclone process.

I was expecting to see something along the lines of ‘connected’ when I started the rclone process back up. I was looking for the logs showing that it increased / changed the cache workers.

I don’t think anything special appears when you connect (maybe it should).

Try to play something from Plex from the mounted folder. There should be a log “… confirmed by external reader” after some time with -v

Awesome. That answers it. I’m seeing that and can see the workers scaled up properly as well.

Thanks for the quick reply!

Apr  2 08:35:24 gemini rclone[11122]: tnvepu36qiohcun8v84ddhsam0/mqn4j0i09mj3cu8dtcbhtqtba1mm3pc6hpberhev9e8ogqkprpvg/s1n45b77epf025rbv68ti34ub8lpnr20hsjldu98oft3kcm04t6bpc21lm8lqtperfletuc4ohuq4: confirmed reading by external reader
Apr  2 08:35:24 gemini rclone[11122]: tnvepu36qiohcun8v84ddhsam0/mqn4j0i09mj3cu8dtcbhtqtba1mm3pc6hpberhev9e8ogqkprpvg/s1n45b77epf025rbv68ti34ub8lpnr20hsjldu98oft3kcm04t6bpc21lm8lqtperfletuc4ohuq4: scale workers to 8
Apr  2 08:35:24 gemini rclone[11122]: worker-1 <s1n45b77epf025rbv68ti34ub8lpnr20hsjldu98oft3kcm04t6bpc21lm8lqtperfletuc4ohuq4>: downloaded chunk 31457280
Apr  2 08:35:24 gemini rclone[11122]: worker-6 <s1n45b77epf025rbv68ti34ub8lpnr20hsjldu98oft3kcm04t6bpc21lm8lqtperfletuc4ohuq4>: downloaded chunk 41943040
Apr  2 08:35:24 gemini rclone[11122]: worker-5 <s1n45b77epf025rbv68ti34ub8lpnr20hsjldu98oft3kcm04t6bpc21lm8lqtperfletuc4ohuq4>: downloaded chunk 73400320
Apr  2 08:35:25 gemini rclone[11122]: worker-0 <s1n45b77epf025rbv68ti34ub8lpnr20hsjldu98oft3kcm04t6bpc21lm8lqtperfletuc4ohuq4>: downloaded chunk 10485760
Apr  2 08:35:25 gemini rclone[11122]: worker-4 <s1n45b77epf025rbv68ti34ub8lpnr20hsjldu98oft3kcm04t6bpc21lm8lqtperfletuc4ohuq4>: downloaded chunk 62914560
Apr  2 08:35:25 gemini rclone[11122]: worker-2 <s1n45b77epf025rbv68ti34ub8lpnr20hsjldu98oft3kcm04t6bpc21lm8lqtperfletuc4ohuq4>: downloaded chunk 52428800
Apr  2 08:35:25 gemini rclone[11122]: worker-3 <s1n45b77epf025rbv68ti34ub8lpnr20hsjldu98oft3kcm04t6bpc21lm8lqtperfletuc4ohuq4>: downloaded chunk 20971520
Apr  2 08:35:26 gemini rclone[11122]: worker-7 <s1n45b77epf025rbv68ti34ub8lpnr20hsjldu98oft3kcm04t6bpc21lm8lqtperfletuc4ohuq4>: downloaded chunk 83886080
Apr  2 08:35:29 gemini rclone[11122]: worker-1 <s1n45b77epf025rbv68ti34ub8lpnr20hsjldu98oft3kcm04t6bpc21lm8lqtperfletuc4ohuq4>: downloaded chunk 94371840
Apr  2 08:35:35 gemini rclone[11122]: worker-5 <s1n45b77epf025rbv68ti34ub8lpnr20hsjldu98oft3kcm04t6bpc21lm8lqtperfletuc4ohuq4>: downloaded chunk 115343360
Apr  2 08:35:41 gemini rclone[11122]: worker-6 <s1n45b77epf025rbv68ti34ub8lpnr20hsjldu98oft3kcm04t6bpc21lm8lqtperfletuc4ohuq4>: downloaded chunk 104857600
Apr  2 08:35:44 gemini rclone[11122]: worker-0 <s1n45b77epf025rbv68ti34ub8lpnr20hsjldu98oft3kcm04t6bpc21lm8lqtperfletuc4ohuq4>: downloaded chunk 125829120