I moved last week, and finally got around to plugging in the raspberry pi today, connect it via Ethernet, and plug in my external HDD. When I tried to test it out though, I can still sign in and access my whole library but nothing will actually play. I’m not really good at this stuff but I’d appreciate any help (and patience) you guys would be willing to give me. As mentioned, I’ve got it set up on a raspberry pi. It all worked fine before the move. If anyone has dealt with this before I’d appreciate some tips. At the old place I set up a static IP for it too if that helps at all.

  • abominable_panda@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    8 days ago

    This seems to be a file permission issue

    On console can you do

    ls -la
    

    Inside the media folder and see the owner user, owner group and permission?

    If you want to do quick and dirty test do

    chmod 777 <filename>
    

    Then try and play that file.

    If that works, try 775 and then 755 to tighten the permissions a bit

    • BurntWits@sh.itjust.worksOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      8 days ago

      My pc is still boxed away somewhere so I’m trying to get this done on mobile currently and the console is just not having it, so if no one else’s tips help I’ll give this a try when I unbury my pc again. I’ll write another comment if I need more help. Thanks.

      • ScoffingLizard@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        2
        ·
        edit-2
        8 days ago

        Try to see what mounts you have currently. I guess you need to make sure your /jellyfin is sym linked to /home/user/music or where ever media stuff is. So if it was your external drive you would need a symbolic link with /jellyfin and /mnt/drive name/music or whatever.

        Also, like someone said earlier, you can make a /etc/fstab entry so your device mounts the same every time, but you need to use the specific UUID and not like /dev/sda or whatever. Sym link should always work then. That’s the only thing I can think of that would cause an error after a move unless you have needed changes in Jellyfin group. Maybe be sure that your media is accessible to jellyfin.

        Hope some of this helps. I don’t have my notes and I forget even basic things so check syntax.

        Relevant commands: (Use blkid for UUID I think) /dev/SDB is just an example. Get the specific info from mount -a or fdisk -l.

        1. What do I have mounted?
        2. What is my drive info?
        3. Mount my stuff with info from fdisc -l.
        4. Show me stuff is now mounted.
        5. Now give me UUID so I can put in fstab and mount on boot and so the /dev/sdx naming doesn’t change every time.
        mount -a
        
        fdisc -l
        
        sudo mount /dev/sda /mnt
        
        mount -a 
        
        blkid
        

        Grab UUID and go put in /etc/fstab in place of the /dev/sdb type format.

        Symbolic link is just: ln -s source destination Might need to check syntax though.

        ln -s /jellyfin /mnt/drivename/music
        

        Let me know if need help with the fstab entry. I just can’t recall it off the top of my head. The format is too long. Hopefully my explanation was easy to follow though. Also, I can’t recall but I think when you replace /dev/sdx format, you need to put:

        UUID=
        

        before the long ID.

        • BurntWits@sh.itjust.worksOP
          link
          fedilink
          English
          arrow-up
          2
          ·
          8 days ago

          Awesome, thanks for the write up. I’m not sure I’ll have time tonight but I’ll try this out when I get the chance. I appreciate the help, and I’ll let you know if I need any more assistance.