SOLVED: Jellyfin getting confused by symlinks? - Printable Version +- Jellyfin Forum (https://forum.jellyfin.org) +-- Forum: Support (https://forum.jellyfin.org/f-support) +--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting) +--- Thread: SOLVED: Jellyfin getting confused by symlinks? (/t-solved-jellyfin-getting-confused-by-symlinks) |
Jellyfin getting confused by symlinks? - elbekko - 2024-05-10 Hi, trying to install Jellyfin for the first time, and having some issues. Setup: Synology DS 1517+, DSM7.1.1, Jellyfin 10.8.13 running in a Docker container, using this image. I can add certain folders fine for indexing, but Jellyfin appears to have a problem with folders that have a symlink pointing to them? It's very strange. At some point, because Plex didn't want to scan the same folder twice, I set up a symlink to my DownloadStation folder, so it could pick up both movies and TV shows. This worked fine. Jellyfin sees both folders (DownloadStation and DownloadStation_link1): But when clicking on the DownloadStation folder, the selection isn't saved, and the following is logged: Code: [2024-05-10 08:15:18.232 +00:00] [ERR] [66] Jellyfin.Server.Middleware.ExceptionMiddleware: Error processing request: "Too many levels of symbolic links : '/mnt/Disk/Downloads/DownloadStation/DownloadStation_link1'". URL "GET" "/Environment/DirectoryContents". When I add it manually, the following is logged when indexing: Code: [2024-05-08 06:28:14.272 +00:00] [ERR] [86] MediaBrowser.Controller.Entities.BaseItem: Error refreshing owned items for "/mnt/Disk/Downloads/DownloadStation" Now, note how it's complaining about the linked folder, although it's the main folder I'm selecting... very strange. Everything seems to be normal on the filesystem (shell inside the Docker container): Code: root@jellyfin-jellyfin1:/mnt/Disk/Downloads# ls -l I've also tried mounting the DownloadStation folder directly in Docker, and the same error occurs when selecting it in Jellyfin Any ideas? I'd rather not have to change the setup too much to not break Plex just yet. RE: Jellyfin getting confused by symlinks? - gnattu - 2024-05-10 Why you are having DownloadStation_link1 inside the DownloadStation folder and pointing to DownloadStation itself? It is an infinite loop isn't it? RE: Jellyfin getting confused by symlinks? - elbekko - 2024-05-10 Oh motherf... Thanks for that, no idea how that ever got there, it's supposed to be alongside it. Removed that link and now it works. Guess I need to get my eyes checked /facepalm |