• 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 SOLVED: System updates resetting permissions?

     
    • 0 Vote(s) - 0 Average

    SOLVED: System updates resetting permissions?

    bigggtuna
    Offline

    Junior Member

    Posts: 16
    Threads: 7
    Joined: 2023 Jun
    Reputation: 0
    #1
    2023-06-19, 10:59 PM
    I just ran some updates on my Ubuntu (22.04) server and Jellyfin was updated. This somehow affected the user and access it has, as it lost access to my media drives. I had to re-promote the jellyfin user to the correct groups and permissions and restart the service. It needed to scan the llibraries again and I lost all of the changes to images and metadata that I made. I realized I didn't have 'Nfo' checked under 'Metadata savers', will this solve the metadata issue if the service restarts again? I also already did have the option to save artwork into media folders, so I thought this would have kept my uploaded images. How can I ensure that the metadata and images are saved if this happens again?

    Also if anyone knows how to prevent it from needing to rescan at all that would be appreciated too!
    Go to solution
    skribe
    Offline

    Community Moderator

    Posts: 147
    Threads: 0
    Joined: 2023 Jun
    Reputation: 5
    #2
    2023-06-20, 12:34 AM
    This is not a normal issue. My intuition is that your media drives are mounted in an ill-advised location like /home where permissions are more at the mercy of the system. The NFO metadata might help as a workaround, but this issue should not be happening. No workaround should be necessary.

    The server log from before and after this issue happened might also be helpful. As would additional details about your configuration.
    bigggtuna
    Offline

    Junior Member

    Posts: 16
    Threads: 7
    Joined: 2023 Jun
    Reputation: 0
    #3
    2023-06-20, 02:40 AM
    (2023-06-20, 12:34 AM)skribe Wrote: This is not a normal issue. My intuition is that your media drives are mounted in an ill-advised location like /home where permissions are more at the mercy of the system. The NFO metadata might help as a workaround, but this issue should not be happening. No workaround should be necessary.

    My media drives are mounted on /media/[user]/. Should I mount them elsewhere in fstab? Will I need to edit metadata again once I swap to the new mount location?
    Venson
    Offline

    Moderator, Server Dev, XBox Maintainer

    Posts: 379
    Threads: 7
    Joined: 2023 Jun
    Reputation: 15
    Country:Germany
    #4
    2023-06-20, 06:38 AM
    (2023-06-20, 02:40 AM)bigggtuna Wrote:
    (2023-06-20, 12:34 AM)skribe Wrote: This is not a normal issue. My intuition is that your media drives are mounted in an ill-advised location like /home where permissions are more at the mercy of the system. The NFO metadata might help as a workaround, but this issue should not be happening. No workaround should be necessary.

    My media drives are mounted on /media/[user]/. Should I mount them elsewhere in fstab? Will I need to edit metadata again once I swap to the new mount location?

    That might be part of your permission issues. Most mount drives under /mnt/NAME and then use subfolders for TV and movies like /mnt/NAME/TV. Yes after you moved your media folder you have to reconfigure your libraries and rescan you media
    typos are finders, keepers.
    Next Jellyfin release 10.11.0 will be Soon™
    Soon™ is an unregistered trademark of Jellyfin International
    bigggtuna
    Offline

    Junior Member

    Posts: 16
    Threads: 7
    Joined: 2023 Jun
    Reputation: 0
    #5
    2023-06-20, 03:26 PM
    (2023-06-20, 06:38 AM)Venson Wrote:
    (2023-06-20, 02:40 AM)bigggtuna Wrote:
    (2023-06-20, 12:34 AM)skribe Wrote: This is not a normal issue. My intuition is that your media drives are mounted in an ill-advised location like /home where permissions are more at the mercy of the system. The NFO metadata might help as a workaround, but this issue should not be happening. No workaround should be necessary.

    My media drives are mounted on /media/[user]/. Should I mount them elsewhere in fstab? Will I need to edit metadata again once I swap to the new mount location?

    That might be part of your permission issues. Most mount drives under /mnt/NAME and then use subfolders for TV and movies like /mnt/NAME/TV. Yes after you moved your media folder you have to reconfigure your libraries and rescan you media

    Ok, thanks. Unfortunately I spent more time that I would have liked to re-applying the metadata changes, so I am not keen on doing that all again so soon. Everything is working as intended now, and I will mount the drive to a more appropriate location next time this happens. Thanks again!
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    • 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