SOLVED: File or directory not found - user permission - 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: File or directory not found - user permission (/t-solved-file-or-directory-not-found-user-permission) |
File or directory not found - user permission - Michael Tot Korsgaard - 2024-12-23 Earlier today I moved my movies to a new folder, and now I can't see to play my movies. They still show in the menu, but upon start it informs me that there is an error. I suspect that this is caused by a missing / wrong user permissions but I'm not sure how to go about this? This is my folder setup: Code: lrwxrwxrwx 1 root root 41 Dec 23 17:43 jellyfin_bin -> /media/storage_box/jellyfin/jellyfin_lib// As a reference, here's my ffmpeg log: Code: {"Protocol":0,"Id":"229f3fe9c79c280261159297e858eb14","Path":"/jellyfin_lib/movies/\u00D8rkenens S\u00F8nner (1994)/\u00D8rkenens S\u00F8nner (1994).mp4","EncoderPath":null,"EncoderProtocol":null,"Type":0,"Container":"mov,mp4,m4a,3gp,3g2,mj2","Size":2419989089,"Name":"\u00D8rkenens S\u00F8nner (1994)","IsRemote":false,"ETag":"b9b3d68dcae6332bc7015814179245cd","RunTimeTicks":62669850000,"ReadAtNativeFramerate":false,"IgnoreDts":false,"IgnoreIndex":false,"GenPtsInput":false,"SupportsTranscoding":true,"SupportsDirectStream":true,"SupportsDirectPlay":true,"IsInfiniteStream":false,"UseMostCompatibleTranscodingProfile":false,"RequiresOpening":false,"OpenToken":null,"RequiresClosing":false,"LiveStreamId":null,"BufferMs":null,"RequiresLooping":false,"SupportsProbing":true,"VideoType":0,"IsoType":null,"Video3DFormat":null,"MediaStreams":[{"Codec":"h264","CodecTag":"avc1","Language":"eng","ColorRange":null,"ColorSpace":null,"ColorTransfer":null,"ColorPrimaries":null,"DvVersionMajor":null,"DvVersionMinor":null,"DvProfile":null,"DvLevel":null,"RpuPresentFlag":null,"ElPresentFlag":null,"BlPresentFlag":null,"DvBlSignalCompatibilityId":null,"Rotation":null,"Comment":null,"TimeBase":"1/30000","CodecTimeBase":null,"Title":null,"VideoRange":1,"VideoRangeType":1,"VideoDoViTitle":null,"AudioSpatialFormat":0,"LocalizedUndefined":null,"LocalizedDefault":null,"LocalizedForced":null,"LocalizedExternal":null,"LocalizedHearingImpaired":null,"DisplayTitle":"576p H264 SDR","NalLengthSize":"4","IsInterlaced":false,"IsAVC":true,"ChannelLayout":null,"BitRate":2987734,"BitDepth":8,"RefFrames":1,"PacketLength":null,"Channels":null,"SampleRate":null,"IsDefault":true,"IsForced":false,"IsHearingImpaired":false,"Height":576,"Width":720,"AverageFrameRate":29.97003,"RealFrameRate":29.97003,"ReferenceFrameRate":29.97003,"Profile":"High","Type":1,"AspectRatio":"4:3","Index":0,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Path":null,"PixelFormat":"yuv420p","Level":31,"IsAnamorphic":false},{"Codec":"aac","CodecTag":"mp4a","Language":"eng","ColorRange":null,"ColorSpace":null,"ColorTransfer":null,"ColorPrimaries":null,"DvVersionMajor":null,"DvVersionMinor":null,"DvProfile":null,"DvLevel":null,"RpuPresentFlag":null,"ElPresentFlag":null,"BlPresentFlag":null,"DvBlSignalCompatibilityId":null,"Rotation":null,"Comment":null,"TimeBase":"1/48000","CodecTimeBase":null,"Title":null,"VideoRange":0,"VideoRangeType":0,"VideoDoViTitle":null,"AudioSpatialFormat":0,"LocalizedUndefined":null,"LocalizedDefault":"Default","LocalizedForced":null,"LocalizedExternal":"External","LocalizedHearingImpaired":null,"DisplayTitle":"English - AAC - 5.1 - Default","NalLengthSize":null,"IsInterlaced":false,"IsAVC":false,"ChannelLayout":"5.1","BitRate":96000,"BitDepth":null,"RefFrames":null,"PacketLength":null,"Channels":6,"SampleRate":48000,"IsDefault":true,"IsForced":false,"IsHearingImpaired":false,"Height":null,"Width":null,"AverageFrameRate":null,"RealFrameRate":null,"ReferenceFrameRate":null,"Profile":"LC","Type":0,"AspectRatio":null,"Index":1,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Path":null,"PixelFormat":null,"Level":0,"IsAnamorphic":null}],"MediaAttachments":[],"Formats":[],"Bitrate":3089190,"FallbackMaxStreamingBitrate":null,"Timestamp":null,"RequiredHttpHeaders":{},"TranscodingUrl":null,"TranscodingSubProtocol":0,"TranscodingContainer":null,"AnalyzeDurationMs":null,"DefaultAudioStreamIndex":null,"DefaultSubtitleStreamIndex":null,"HasSegments":false} RE: File or directory not found - user permission - TheDreadPirate - 2024-12-23 Is this remote storage? If so, what kind? RE: File or directory not found - user permission - Michael Tot Korsgaard - 2024-12-23 It's a Hetzner Storage Box which I've mounted to my Hetzner Ubuntu server. Not sure if that answers your question? My server is running Ubuntu 20.04.1 LTS RE: File or directory not found - user permission - TheDreadPirate - 2024-12-24 I just noticed in your first post that you included a symlink. Is Jellyfin going through the symlink to access its library? You should the permissions for part of the path, but not all the way to the end. Code: ls -ld /jellyfin_lib /jellyfin_lib/movies /jellyfin_lib/movies/"Ørkenens Sønner (1994)" I also noticed that the library is pointing at "jellyfin_lib" but your symlink is "jellyfin_bin". RE: File or directory not found - user permission - Michael Tot Korsgaard - 2024-12-24 I do feel like a nub right now. It was indeed because the symlink was misnamed and I just never noticed. Thank you so much for pointing it out. |