• 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: Collection problem

    Pages (2): 1 2 Next »

     
    • 0 Vote(s) - 0 Average

    SOLVED: Collection problem

    Collection problem with recent updates
    Afgin
    Offline

    Junior Member

    Posts: 16
    Threads: 2
    Joined: 2023 Jul
    Reputation: 0
    Country:Finland
    #1
    2024-05-22, 05:13 AM
    Hello!


    I have been using jellyfin server on my ubuntu machine for several years now, with little to no problems. 
    Updating it frequently, to keep it up to date.

    A week ago I made an update to newest version. Now all my movies from my custom collections flung out of the collections.
    I haven't used the automatic collection thing at all. I have always manually made my own. 

    So then I spent few hours organizing all back to their correct collections.

    Today I updated it again, and restarted the server, and the same happened again.

    Is this a known bug, or something I don't understand? 
    Could't find any info on this problem.


    I'll try to give more information if needed. Any help would be appreciated. Super frustrating problem.
    Go to solution
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2024-05-22, 02:09 PM (This post was last modified: 2024-05-22, 02:09 PM by TheDreadPirate. Edited 1 time in total.)
    Did you upgrade to 10.9.2? There were some collections specific bug fixes in that version.

    Do you still have the server logs from when this happened? If so, can you share them via pastebin?
    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]
    Afgin
    Offline

    Junior Member

    Posts: 16
    Threads: 2
    Joined: 2023 Jul
    Reputation: 0
    Country:Finland
    #3
    2024-05-22, 03:18 PM
    (2024-05-22, 02:09 PM)TheDreadPirate Wrote: Did you upgrade to 10.9.2?  There were some collections specific bug fixes in that version.

    Do you still have the server logs from when this happened?  If so, can you share them via pastebin?


    Hi!

    Currently updated to 10.9.2 version

    I tested it out a bit. Restarting jellyfin service didn't vanish stuff from collections, but by restarting the system it did once again. 

    Sorry I'm not that familiar with those log files and stuff. I'm gonna try to figure it out, and get them for you.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2024-05-22, 03:32 PM
    The server logs are in /var/log/jellyfin/ or in the UI in Dashboard > Logs (left task bar at the bottom). Copy and paste the entire contents of your log file into pastebin.
    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]
    Afgin
    Offline

    Junior Member

    Posts: 16
    Threads: 2
    Joined: 2023 Jul
    Reputation: 0
    Country:Finland
    #5
    2024-05-22, 03:49 PM (This post was last modified: 2024-05-22, 06:42 PM by Afgin. Edited 1 time in total.)
    (2024-05-22, 03:32 PM)TheDreadPirate Wrote: The server logs are in /var/log/jellyfin/ or in the UI in Dashboard > Logs (left task bar at the bottom).  Copy and paste the entire contents of your log file into pastebin.



    This is somewhere after the last reboot. 
    Hope this helps. 

    Something to do with the paths. Dunno what's it about, since the paths do work and media plays correctly.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #6
    2024-05-22, 03:55 PM (This post was last modified: 2024-05-22, 03:56 PM by TheDreadPirate.)
    It looks like Jellyfin is starting before your drives are mounted. This is why this problem doesn't happen when you restart jellyfin but it does happen when you reboot.

    Read this forum post.

    https://forum.jellyfin.org/t-jellyfin-de...dia-filles

    You will probably need implement the same solution and modify the jellyfin service file to wait for the drive to mount before starting.
    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]
    Afgin
    Offline

    Junior Member

    Posts: 16
    Threads: 2
    Joined: 2023 Jul
    Reputation: 0
    Country:Finland
    #7
    2024-05-22, 04:07 PM
    (2024-05-22, 03:55 PM)TheDreadPirate Wrote: It looks like Jellyfin is starting before your drives are mounted.  This is why this problem doesn't happen when you restart jellyfin but it does happen when you reboot.

    Read this forum post.

    https://forum.jellyfin.org/t-jellyfin-de...dia-filles

    You will probably need implement the same solution and modify the jellyfin service file to wait for the drive to mount before starting.


    I see what you mean. 
    To be honest I have had a certain problem for a long time. The thing is I never figured out a way to auto mount the HDD I have connected via sata. I tried some methods suggested in the interwebs, but none of em worked. HDD stood asleep until I click the Icon. 

    So after awhile I just accepted my fate, and when I reboot I gotta manually click for it to wake up. 

    External drives work automatically.

    So in order to do your fix, I'd first have to try to fix that problem first.

    But the thing is. There was never any problem with the collection thing before the latest updates. So what changed? 
    Is there an easy way to revert back to older version?

    Maybe I'll just stick to it if it works. Slightly-frowning-face
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #8
    2024-05-22, 04:19 PM
    Unless you have a backup, you cannot downgrade.

    The proper solution is to mount the drive via /etc/fstab

    https://askubuntu.com/questions/154180/h...on-startup

    Having the hard drive configured in fstab will auto mount the drive on boot and that will happen before Jellyfin starts.
    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]
    Afgin
    Offline

    Junior Member

    Posts: 16
    Threads: 2
    Joined: 2023 Jul
    Reputation: 0
    Country:Finland
    #9
    2024-05-22, 04:50 PM
    (2024-05-22, 04:19 PM)TheDreadPirate Wrote: Unless you have a backup, you cannot downgrade.

    The proper solution is to mount the drive via /etc/fstab

    https://askubuntu.com/questions/154180/h...on-startup

    Having the hard drive configured in fstab will auto mount the drive on boot and that will happen before Jellyfin starts.


    Your theory was correct. I tried it by disabling jellyfin service, and then manually turning it on after reboot and when drives are online. 
    Then it doesn't lose collection data.

    To be honest I'm thinking of manually starting the service in the future rather than trying to configure all that stuff. 
    That fstab page is the one I tried different solutions with none of them working for me. Probably cause I suck at this.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #10
    2024-05-22, 04:53 PM
    We can work through that.

    What is the output of this command?

    Code:
    sudo cat /proc/mounts | egrep "/media/mutka/Seagatetwo|/media/mutka/Exos1"
    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]
    Pages (2): 1 2 Next »

    « 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