• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Support Troubleshooting Media Scanning & Identification Jellyfind stopped recognizing my library after Linux update

     
    • 0 Vote(s) - 0 Average

    Jellyfind stopped recognizing my library after Linux update

    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #6
    2025-01-24, 06:11 PM
    I spoke with a jellyfin dev who uses rclone. You need to add --default-permissions to your rclone command. Otherwise rclone won't enforce linux permissions.

    They also recommended you create a service instead of relying on nohup.

    They provided an example service file.

    Code:
    # /etc/systemd/system/rclone.service
    [Unit]
    Description=Google Drive (rclone)
    Requires=systemd-networkd.service
    After=network-online.target
    Wants=network-online.target
    AssertPathIsDirectory=/media/cloud/

    [Service]
    Type=notify
    KillMode=none
    Environment=RCLONE_CONFIG=/opt/rclone/rclone.conf
    RestartSec=5
    ExecStart=/usr/bin/rclone mount gdrivecrypt: /media/cloud \
        --allow-other \
        --default-permissions \
        --uid 1005 \
        --gid 1007 \
        --dir-perms 777 \
        --file-perms 666 \
        --umask 002 \
        --log-file /opt/rclone/logs/rclone.log \
        --log-level NOTICE \
        --dir-cache-time 5000h \
        --drive-pacer-min-sleep 10ms \
        --drive-pacer-burst 200 \
        --poll-interval 30s \
        --cache-dir=/opt/rclone/cache \
        --drive-chunk-size 32M \
        --vfs-cache-mode full \
        --vfs-cache-max-size 350G \
        --vfs-cache-max-age 15m \
        --vfs-cache-poll-interval 5m \
        --vfs-read-ahead 2G \
        --vfs-read-chunk-size 32M \
        --vfs-read-chunk-size-limit off \
        --vfs-write-back 10m \
        --bwlimit 8650k:off \
        --transfers 3 \
        --rc \
        --rc-addr :5572 \
        --rc-web-gui \
        --rc-user USER \
        --rc-pass PASS \
        --bwlimit-file 20M
    ExecStop=/bin/fusermount -uz /media/cloud
    ExecStartPost=/usr/bin/rclone rc vfs/refresh recursive=true --rc-addr 127.0.0.1:5572 --rc-user=USER --rc-pass=PASS _async=true
    Restart=on-failure
    User=rclone
    Group=rclone

    [Install]
    WantedBy=multi-user.target
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    « Next Oldest | Next Newest »

    Users browsing this thread:


    Messages In This Thread
    Jellyfind stopped recognizing my library after Linux update - by Daniel_King - 2025-01-24, 01:04 PM
    RE: Jellyfind stopped recognizing my library after Linux update - by TheDreadPirate - 2025-01-24, 02:19 PM
    RE: Jellyfind stopped recognizing my library after Linux update - by Daniel_King - 2025-01-24, 03:42 PM
    RE: Jellyfind stopped recognizing my library after Linux update - by TheDreadPirate - 2025-01-24, 03:56 PM
    RE: Jellyfind stopped recognizing my library after Linux update - by Daniel_King - 2025-01-24, 04:38 PM
    RE: Jellyfind stopped recognizing my library after Linux update - by TheDreadPirate - 2025-01-24, 06:11 PM
    RE: Jellyfind stopped recognizing my library after Linux update - by Daniel_King - 2025-01-24, 09:02 PM
    RE: Jellyfind stopped recognizing my library after Linux update - by TheDreadPirate - 2025-01-24, 09:48 PM
    RE: Jellyfind stopped recognizing my library after Linux update - by Daniel_King - 2025-02-14, 11:44 AM
    RE: Jellyfind stopped recognizing my library after Linux update - by TheDreadPirate - 2025-02-14, 02:26 PM
    RE: Jellyfind stopped recognizing my library after Linux update - by Daniel_King - 2025-03-06, 12:01 AM
    RE: Jellyfind stopped recognizing my library after Linux update - by TheDreadPirate - 2025-03-06, 01:59 PM
    RE: Jellyfind stopped recognizing my library after Linux update - by Daniel_King - 2025-03-06, 04:08 PM
    RE: Jellyfind stopped recognizing my library after Linux update - by TheDreadPirate - 2025-03-07, 03:45 PM
    RE: Jellyfind stopped recognizing my library after Linux update - by Daniel_King - 2025-03-10, 12:57 AM
    RE: Jellyfind stopped recognizing my library after Linux update - by Daniel_King - 2025-03-16, 11:50 PM

    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode