
Library Scan breaks mount
Hello all! I have my media on a few Filen accounts shared between my family. This is done through an rclone union. Anyway my library scans work fine but after the scan is done on my tv mount the mount itself stops working. I think this might be due to filen (or rclone maybe?) not being able to handle a lot of files, maybe. This mostly happens with my TV shows but movies too sometimes.
When I restart the mount everything was ok tho.
I don’t mind having to do this, but I was wondering if there was a way to create a script that scans the library & restarts the mount, so I don’t have to do this manually? I will list my logs & my rclone script (it’s the same script for both tv and movies, so I’ll only link one) as well in case anyone can help with a more permanent solution. TIA!
the permissions look like this after / during the scan (before my folders have 775 permissions with my user (1000:1000, per docker):
d????????? ? ? ? ? ? tv
d????????? ? ? ? ? ? movies
Logs (I tried using pastebin but the file is apparently too long, sorry!)
Rclone systemd Unit:
[Unit]
Description=media service
After=network-online.target
Wants=network-online.target
AssertPathIsDirectory=/mnt/media/tv
Before=docker.service
[Service]
Type=notify
Environment=RCLONE_CONFIG=/home/teddy/.config/rclone/rclone.conf
RestartSec=10
ExecStart=/usr/bin/rclone mount tv: /mnt/media/tv \
--allow-other \
--allow-non-empty \
--dir-cache-time 5000h \
--syslog \
--poll-interval 10s \
--umask 002 \
--user-agent Filen \
--vfs-cache-mode writes \
--volname tv \
--vfs-cache-max-size 60G \
--vfs-read-chunk-size 128M \
--vfs-read-ahead 2G \
--vfs-cache-max-age 5000h \
--bwlimit-file 100M
ExecStop=/bin/fusermount -uz /mnt/media/tv
Restart=on-failure
User=teddy
Group=teddy
[Install]
WantedBy=multi-user.target