[felix@gemini rsyslog.d]$ cat 30-rclone.conf
# Example: Log mail server control messages to mail-queue.log
if $programname == ‘rclone’
then /var/log/rclone.log
& stop
Hey all, I’ve been following this post and the one @Animosity022 posted on converting from plexdrive. So just to confirm, I only need the one mount point then? I’m just used to encrypted and decrypted mounts with plexdrive. I “think” it’s working, but how do I tell? I have logging set to INFO, but don’t see anything related to cache items in the logs. I also don’t see anything in the upload temp FS directory. Any help is appreciated.
What was decided on Chunk size? 5MB, 8, or 10MB?
I did see gcache connect to plex and now the token in populated in my .rclone.conf file.
last I get an error in the log, but it’s still working?
2018/04/07 17:03:59 mount helper error: fusermount: failed to open /etc/mtab: Permission denied
Log File below
2018/04/07 17:03:57 NOTICE: Serving remote control on http://localhost:5572/
2018/04/07 17:03:58 INFO : gcache: Cache DB path: /home/plex/.cache/rclone/cache-backend/gcache.db
2018/04/07 17:03:58 INFO : gcache: Cache chunk path: /home/plex/.cache/rclone/cache-backend/gcache
2018/04/07 17:03:58 INFO : gcache: Chunk Memory: true
2018/04/07 17:03:58 INFO : gcache: Chunk Size: 5M
2018/04/07 17:03:58 INFO : gcache: Chunk Total Size: 32G
2018/04/07 17:03:58 INFO : gcache: Chunk Clean Interval: 1m0s
2018/04/07 17:03:58 INFO : gcache: Workers: 8
2018/04/07 17:03:58 INFO : gcache: File Age: 168h0m0s
2018/04/07 17:03:58 INFO : gcache: Upload Temp Rest Time: 1h0m0s
2018/04/07 17:03:58 INFO : gcache: Upload Temp FS: /home/plex/rclone-cache
2018/04/07 17:03:58 INFO : gcache: Cache DB path: /home/plex/.cache/rclone/cache-backend/gcache.db
2018/04/07 17:03:58 INFO : gcache: Cache chunk path: /home/plex/.cache/rclone/cache-backend/gcache
2018/04/07 17:03:58 INFO : gcache: Chunk Memory: true
2018/04/07 17:03:58 INFO : gcache: Chunk Size: 5M
2018/04/07 17:03:58 INFO : gcache: Chunk Total Size: 32G
2018/04/07 17:03:58 INFO : gcache: Chunk Clean Interval: 1m0s
2018/04/07 17:03:58 INFO : gcache: Workers: 8
2018/04/07 17:03:58 INFO : gcache: File Age: 168h0m0s
2018/04/07 17:03:58 INFO : gcache: Upload Temp Rest Time: 1h0m0s
2018/04/07 17:03:58 INFO : gcache: Upload Temp FS: /home/plex/rclone-cache
2018/04/07 17:03:59 INFO : Encrypted drive ‘gmedia:’: Modify window is 1ms
2018/04/07 17:03:59 mount helper error: fusermount: failed to open /etc/mtab: Permission denied
2018/04/07 17:04:32 INFO : gcache: Connected to Plex server: http://127.0.0.1:32400
I’ve noticed no real different in chunk size during playback. I’ve toyed around with 5/10/15/20/25 and going too big seems to make a slower start. There was another post saying 1M was faster for scanning, but I haven’t tried that myself.
I’ve stuck at 5M for now and we’ll see as for me, it made sense to go a little smaller and see if that overall helps with starting.
@Animosity022 appreciate the help. One last question and I believe I’m all configured. I was attempting to move this into systemd for autostart. What value do I utilize for unit portion as it relates to my plex startup script? Is it the name of the actual script?
My startup script for plex is plexmediaserver.service so is the value below correct?
I notice if plex is down and I manually start rclone it doesn’t appear to check this value…Is it only upon reboot?
[Unit]
Description=RClone Service
AssertPathIsDirectory=/home/plex
After=plexmediaserver.target network-online.target
Wants=network-online.target