u/ellismjones

Library Scan breaks mount

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
u/ellismjones — 8 hours ago

MyAnonamouse interview

So this is my first private tracker. My server & torrent client are hosted on Ubuntu Server. Aside from that the only things I have to access the interview are my phone & my iPad.

All my devices are on the same network. Should I be allowed to do the interview on my iPad or would that be an issue? TIA :)

reddit.com
u/ellismjones — 1 day ago
▲ 2 r/sonarr+1 crossposts

Radarr/Sonarr rewriting permissions?

Hi all, I apologise in advance for the repeated question, but I’m in a bit of a bind. I’m mounting my media (stored in Filen), through rclone, and using Radarr in docker.

My folder permissions originally are 775, and I can access everything okay, but when I run a scan on either Radarr or Sonarr it all changes.

ls -la /mnt/media
total 20
drwxrwxr-x 2 teddy teddy 4096 May 15 16:54 audiobooks
drwxrwxr-x 2 teddy teddy 4096 May 15 17:28 books
drwxr-xr-x 1 teddy teddy    0 May 16 10:30 comics
d????????? ? ?     ?        ?            ? movies
drwxrwxr-x 2 teddy teddy 4096 May 15 18:07 music
drwxr-xr-x 1 teddy teddy    0 May 16 10:56 tv

Listing my docker-compose container & rclone systemd config in case it helps.

Docker-compose:

services:
  radarr:
    image: lscr.io/linuxserver/radarr:latest
    container_name: radarr
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Europe/lisbon
    volumes:
      - /home/teddy/.config/arr-suite/radarr:/config
      - /mnt/media/movies:/movies #optional
      - /home/teddy/downloads/media:/downloads #optional
    ports:
      - 7878:7878
    restart: unless-stopped

Rclone Unit:

[Unit]
Description=media service
After=network-online.target
Wants=network-online.target
AssertPathIsDirectory=/mnt/media/movies
Before=docker.service

[Service]
Type=notify
Environment=RCLONE_CONFIG=/home/teddy/.config/rclone/rclone.conf
RestartSec=10
ExecStart=/usr/bin/rclone mount movies: /mnt/media/movies \
   --allow-other \
   --dir-perms 0775
   --allow-non-empty
   --dir-cache-time 5000h \
   --syslog \
   --poll-interval 10s \
   --umask 002 \
   --user-agent Filen \
   --vfs-cache-mode writes \
   --volname movies \
   --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/movies
Restart=on-failure
User=teddy
Group=teddy

[Install]
WantedBy=multi-user.target

I also enabled folder permissions on radarr itself, but it hasn’t helped either. I would appreciate any help. TIA :)

EDIT: This is what shows in the logs during the scan.

2026-05-16 12:11:17.2|Error|ImportDecisionMaker|Couldn't import file. /movies/The Hunger Games (2012)/The Hunger Games (2012).mp4

[v6.1.1.10360] System.IO.FileNotFoundException: File doesn't exist: /movies/The Hunger Games (2012)/The Hunger Games (2012).mp4
reddit.com
u/ellismjones — 5 days ago