Jellyfin Forum
Where to put home videos? - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: General Questions (https://forum.jellyfin.org/f-general-questions)
+--- Thread: Where to put home videos? (/t-where-to-put-home-videos)

Pages: 1 2 3


RE: Where to put home videos? - ve6rah - 2024-07-16

Server is running on home assistant os, as an add-on in a docker container.
Permissions seem to be right in anywhere I can find to look.

What I'm not seeing is anyplace inside jellyfin to look for errors or try to figure out what's happening beyond random guesses?


RE: Where to put home videos? - TheDreadPirate - 2024-07-16

Dashboard > Logs. Find the latest server logs (not ffmpeg log) and copy and paste the entire contents to pastebin.

Is the content stored local to Jellyfin or on a NAS? And how are you verifying the permissions?


RE: Where to put home videos? - ve6rah - 2024-07-17

The content is stored on USB hard drives attached to the same computer. Due to a quirk in home assistant OS, they are mounted through SMB shares, however jellyfin sees them as local directories (/mnt/Lyre/Video/Other)

I dug through the logs for the server. There's nothing in it of relevance. All we get relating to the directory is “watching directory /mnt/Lyre/Video/Other" which looks identical to the line “watching directory /mnt/Lyre/Video/Movies" which is working perfectly. There are no errors, warnings, or exceptions. But the real head scratcher is that I moved those files into the movies folder where they had been originally, and they still don't reappear there even though I used to be able to see them before I moved them to other.

As for verifying permissions, I SSH'd into the server and verified the permissions, the "Other" folder, and the files within it are all owned by root root with permissions of rwxr-xr-x, the same as the videos in the "Movies" and "TV" folders which work properly. Without any error messages in the jellyfin log relating to being unable to access that folder, it doesn't appear to be a permissions issue. It's just treating it as if that folder is completely empty, despite the video files within it.


RE: Where to put home videos? - TheDreadPirate - 2024-07-17

The permissions on the SMB "server" make little/no difference on the remote machine. When you mount the SMB shares on the client you need to mount the SMB shares as the remote user ID that has permissions on the server.

https://askubuntu.com/questions/671831/mount-samba-share-allowing-users-to-read-write


RE: Where to put home videos? - ve6rah - 2024-07-17

I think you misinterpreted me. The share is /video, and includes all subfolders. Also, the share is mounted on the machine by processes outside of jellyfin, so jellyfin accesses it just as if it were a local folder and doesn't even know that it's an SMB share. The permissions I showed were for the folder as seen by jellyfin (If you want to call jellyfin "remote" then the permissions are what the SMB share is mounted as on the remote machine).

This is NOT a permissions issue, or none of my movies would work either as they are on the same share and have the same permissions on both the server and the host.


RE: Where to put home videos? - TheDreadPirate - 2024-07-17

To clarify what you've done so far, you ssh'd to the server that is hosting the SMB share to check permissions. And in the Jellyfin UI you've indicated that Jellyfin, the app, can't see it, correct?

Can you open a bash shell for the Jellyfin container and navigate through this mounted SMB share's paths to verify that the container is able to see the files? If the Jellyfin container can see it but the Jellyfin app can't, we'll work it from that angle. If the container can't see it, we have to work it from that angle.


RE: Where to put home videos? - ve6rah - 2024-07-17

This is what I'v been trying to tell you. from WITHIN THE JELLYFIN CONTAINER, the files are visible, and the permissions are 100% identical to the movies folder from the same share which is working properly. In fact these same files used to work in the movies folder in the movies library, but I tried to create a new separate library because I wanted these videos separate. Unfortunately when it didn't work, I tried moving the files back to the movies folder and movies library, but they are no longer being picked up there either.

Now that we know that this is NOT a permissions issue, can we move on to the next step in troubleshooting?


RE: Where to put home videos? - TheDreadPirate - 2024-07-17

I needed clarification because you did not specify whether it was the container shell or UI.

Lose the attitude.  I am a volunteer spending my free time to help you.

Open the following file.  The container path is /config/config/logging.default.json.

Change the following lines at the top of the file.

From

Code:
    "Serilog": {
        "MinimumLevel": {
            "Default": "Information",
            "Override": {
                "Microsoft": "Warning",
                "System": "Warning"
            }
        },

To

Code:
    "Serilog": {
        "MinimumLevel": {
            "Default": "Debug",
            "Override": {
                "Microsoft": "Debug",
                "System": "Debug"
            }
        },

Once you've made the changes, restart Jellyfin.  Now move the files you are having issues with, preferably, into a separate test library.  Scan the library, replace all metadata, wait for the scan to finish, then share the full jellyfin log via pastebin.  If it is too large, zip the log file and attach it to a forum post.  Censor any domain names and public IPs.


RE: Where to put home videos? - ve6rah - 2024-07-17

I apologize, I don't mean to take an attitude, and I really do appreciate any help you are providing. I guess my frustration with my inability to clearly communicate what I had already tried got to me.

Pastebin didn't like this much, so here's the zip.


.zip   jellyfinlog.zip (Size: 85.62 KB / Downloads: 340)

To help point in the right direction, the current attempt is a "music video" library called "Other video" and is set to index the folder "/mnt/Lyre/Video/Other"
I have also tried other types of library including "Movies", "Pictures", and "Mixed"


RE: Where to put home videos? - TheDreadPirate - 2024-07-17

Do you know which image HA is using for their add-on? It looks like the Linux Server image since it says the OS is Ubuntu 22.04.4. The official image reports Debian 12.

I'll have to spin up an LSIO container and do some testing. I just don't see any activity on the "Other" folder.