Hello,
i was really inspired from the following setup. [my-best-rclone-config-mount-for-plex/7441]
Now i sit here for about 5 hours but i dont get it running.
I really hope that someone can help me out to fix the problem.
I work on Debian and my Plex Server is running without any problems, my normal gDrives working since about 3 years on my other servers without any problems and they are filled with many TB stuff, but right now i am not able to stream cause i have buffering every 15 seconds when i try to stream 4k, so i started searching for better settings with caching.
I googled the settings above, but i dont get it running.
My rclone.conf is the following:
"
[google4-gcache]
type = cache
remote = google4:storage4-cached
plex_url = http://localhost:32400
plex_username = myPlexMail
plex_password = myPlexPassword
chunk_size = 16M
plex_token = myPlexToken
db_path = /mnt/rclone-cache
chunk_path = /mnt/rclone-cache
info_age = 2d
chunk_total_size = 10G
db_purge = true
[google4]
type = drive
scope = drive
token = MyGoogleDriveToken
use_trash = false
chunk_size = 16M
[storage4-cached]
type = crypt
remote = google4:storage4
filename_encryption = standard
directory_name_encryption = true
password = MyFirstPassword
password2 = MySecondPassword
"
I set the stuff above up, then i started creating my rclone.sevice file and placed it into: "/etc/systemd/system"
"
[Service]
Description=Google Drive (rclone)
AssertPathIsDirectory=/mnt/google-drive/storage4
After=plexdrive.service
[Service]
ExecStart=/usr/bin/rclone mount google4-gcache: /mnt/cloud_drive/storage4 \
--config=/root/.config/rclone/rclone.conf \
--allow-other \
--buffer-size 128M \
--dir-cache-time 72h \
--log-level INFO \
--log-file /root/plex_cache_mount.log \
--cache-chunk-path=/mnt/rclone-cache \
--cache-db-path=/mnt/rclone-cache \
--poll-interval 15s \
--timeout 1h \
--bind 127.0.0.1 \
--gid=1000 \
--uid=1000 \
--umask 002 \
--fast-list
[Install]
WantedBy=default.target
"
I tried running it with "systemctl rclone start" and i get it "running".
Whatever i tried i got the following errors In the logfile, i never got access to my encrypted drive.
Last error log i post here:
"2020/04/15 00:09:41 Failed to create file system for "storage-gcache:": didn't find section in config file
2020/04/15 00:10:04 ERROR : plex: websocket.Dial ws://localhost:32400/:/websockets/notifications?X-Plex-Token=myPlexToken: bad status
2020/04/15 00:10:04 INFO : google4-gcache: Cache DB path: /mnt/rclone-cache/google4-gcache.db
2020/04/15 00:10:04 INFO : google4-gcache: Cache chunk path: /mnt/rclone-cache/google4-gcache
2020/04/15 00:10:04 INFO : google4-gcache: Chunk Memory: true
2020/04/15 00:10:04 INFO : google4-gcache: Chunk Size: 16M
2020/04/15 00:10:04 INFO : google4-gcache: Chunk Total Size: 10G
2020/04/15 00:10:04 INFO : google4-gcache: Chunk Clean Interval: 1m0s
2020/04/15 00:10:04 INFO : google4-gcache: Workers: 4
2020/04/15 00:10:04 INFO : google4-gcache: File Age: 2d
2020/04/15 00:10:04 INFO : Google drive root 'storage4-cached': Failed to get StartPageToken: Get https://www.googleapis.com/drive/v3/changes/startPageToken?alt=json&prettyPrint=false&supportsAllDrives=true: dial tcp 127.0.0.1:0->172.xxx.xx.xx:443: connect: invalid argument
About my setup.
Following specs are on this server:
root@hostname ~ # cat /etc/*release
PRETTY_NAME="Debian GNU/Linux 9 (stretch)"
NAME="Debian GNU/Linux"
VERSION_ID="9"
VERSION="9 (stretch)"
I have the following specs on my dedicated server:
x64 Operating System
AMD Opteron(tm) Processor 6172 - 2*12 Cores
RAM: 24 GB
Connection: 1Gbit
rClone Version:
root@hostname ~ # rclone --version
rclone v1.51.0
- os/arch: linux/amd64
- go version: go1.13.7
Thank you in advance and sorry for my bad english, i am not a native speaker.
Best Regards,
rode