xontik 5 Posted May 24, 2022 Posted May 24, 2022 Hi ! I have an issue with some files, it drive me crazy :3 The log tells me that the file can’t be found, but it’s there and I can read it with vlc . Permissions are the same as every other file that read correctly. issue started since 4.7 update could it be related to the update process ? What could be the reason for the io exception ? Already tried : - library scan - Emby restart - Host restart - Episode reimport Thanks , Have a nice day embyserver.txt
Happy2Play 9780 Posted May 24, 2022 Posted May 24, 2022 Can you post the ffmpeg log also but there appears to be a transcoding issue. ProcessRun 'StreamTranscode 605b44' Process exited with code 137 - Failed There is a permissions issue as you have 21 of these. Quote 2022-05-24 00:46:19.327 Error ProviderManager: UnauthorizedAccessException: Emby Server is being write access to /data/mergerfs1/media/Shows/The Office (US)/Season 06/The Office (US).s06e01.Gossip-thumb.jpg. Please check your file permissions. Unrelated but needs to report to plugin developer. 2022-05-24 00:29:09.934 Error UserDataManager: Error in event handler *** Error Report *** Version: 4.7.0.60 Command line: /opt/emby-server/system/EmbyServer.dll -programdata /var/lib/emby -ffdetect /opt/emby-server/bin/ffdetect -ffmpeg /opt/emby-server/bin/ffmpeg -ffprobe /opt/emby-server/bin/ffprobe -restartexitcode 3 -updatepackage emby-server-deb_{version}_amd64.deb Operating system: Linux version 5.4.0-110-generic (buildd@ubuntu) (gcc version 9.4.0 (Ubuntu 9.4.0-1ubuntu1~20.04.1)) #124-Ubuntu SMP Thu Apr 14 19:46:19 UTC 2022 Framework: .NET 6.0.2 OS/Process: x64/x64 Runtime: opt/emby-server/system/System.Private.CoreLib.dll Processor count: 14 Data path: /var/lib/emby Application path: /opt/emby-server/system System.MissingMethodException: System.MissingMethodException: Method not found: 'Void MediaBrowser.Controller.Entities.BaseItem.set_Rating(System.Nullable`1<Double>)'. at SmartPlaylist.EntryPoint._userDataManager_UserDataSaved(Object sender, UserDataSaveEventArgs e) at MediaBrowser.Common.Events.EventHelper.FireEventIfNotNull[T](EventHandler`1 handler, Object sender, T args, ILogger logger) Source: SmartPlaylist TargetSite: Void _userDataManager_UserDataSaved(System.Object, MediaBrowser.Controller.Library.UserDataSaveEventArgs)
xontik 5 Posted May 24, 2022 Author Posted May 24, 2022 Thanks for your time, I fixed the write permissions issues for thumbnails, but unrelated i think. For the plugin issues I'll get in touch with the devs I attached last 3 transcoding logs that failed (all on mobile) and 2 that worked: - One on mobile from another file - One on desktop on the file that fail on mobile Digging a little more, everything works fine on a desktop computer for the same files.. On mobile, all my other media works ffmpeg-transcode-50147be5-f6ce-4d6e-a78a-d9995d9b6ead_1.txt ffmpeg-transcode-2d2cf603-02a8-4ed4-bf54-efd7f208cdad_1.txt ffmpeg-transcode-fc787ec4-3cc9-4a40-92bd-0b77907e9be5_1.txt ffmpeg-transcode-8a86c1a5-95bf-42d5-a180-b88421dd09a0_1.txt ffmpeg-transcode-84b98ade-911f-4a93-bbe8-14af10fe74ab_1.txt
Happy2Play 9780 Posted May 24, 2022 Posted May 24, 2022 @softworkzcan you comment "System.IO.IOException: System.IO.IOException: Broken pipe"?
xontik 5 Posted May 24, 2022 Author Posted May 24, 2022 (edited) Even with hardware transcoding disabled i got the same error : System.IO.FileNotFoundException: System.IO.FileNotFoundException: Unable to find the specified file. I tried with chmod 777 and chown on the file, on the parent dir, nothing seems to make it change Edit: If i try to transcode from a pc 5lower bandwidth) it works fine... the same file from Emby for iOS or Safari mobile or chrome mobile, it fail with this same error. I really don t understand, i ll try to rollback from 4.7 and see if the issue is still there Edit 2: Works fine after rollback in 4.6.7. How can I help you figure it out ? Edited May 24, 2022 by xontik
Solution softworkz 5066 Posted May 24, 2022 Solution Posted May 24, 2022 Please remove all non-emby plugins (especially "SmartPlaylist" and "PlaybackReporting") and retry (after restarting Emby) If the issue persists, please reproduce the issue in the folowing way: Activate debug logging (under Logging) Restart Emby Server Make a single playback attempt Post the server log and the ffmpeg log(s) created during that time Thanks
xontik 5 Posted May 24, 2022 Author Posted May 24, 2022 Can i do that in another fresh installed instance i dont want to interrupt my users again ?
softworkz 5066 Posted May 24, 2022 Posted May 24, 2022 7 hours ago, Happy2Play said: @softworkzcan you comment "System.IO.IOException: System.IO.IOException: Broken pipe"? Pipes are a means of inter-process communication. In this case, Emby tries to send a 'q' character to ffmpeg for stopping it while the ffmpeg process has probably ended already. This is something that normally doesn't happen. Probably there's a plugin causing an error which breaks the normal code flow.
softworkz 5066 Posted May 24, 2022 Posted May 24, 2022 1 minute ago, xontik said: Can i do that in another fresh installed instance i dont want to interrupt my users again ? Sure. But probably you won't see the issue then (as I suspect it's due to plugins)..
xontik 5 Posted May 24, 2022 Author Posted May 24, 2022 Okay i’ll try on the main instance tomorrow and come back with the logs if the issues is still there with plugins disabled.
xontik 5 Posted May 30, 2022 Author Posted May 30, 2022 Hi, comming back with some good news ! Works perfectly fine on 4.7.1.0 :yeah: I deactivated suggested plugins, and will reactivate one by one AND I had some file corruption that snapraid resolved for me this weekend, it could ave been that too. Thanks a lot ! 2
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now