aelzki 3 Posted October 16, 2022 Posted October 16, 2022 (edited) Hi I am having issues with font not found when transcoding media. Sample error code: Quote 2022-10-17 06:23:46.474 Error SubtitleFontsManager: Error copying file from /var/lib/emby/metadata/SubtitleFonts/arial.892680.ttf to /var/lib/emby/transcoding-temp/AF6C04/AF6C04_Fonts/arial.ttf *** Error Report *** Version: 4.7.8.0 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.19.7-2-pve (build@proxmox) (gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2) #1 SMP PREEMPT_DYNAMIC PVE Framework: .NET 6.0.8 OS/Process: x64/x64 Runtime: opt/emby-server/system/System.Private.CoreLib.dll Processor count: 8 Data path: /var/lib/emby Application path: /opt/emby-server/system System.IO.DirectoryNotFoundException: System.IO.DirectoryNotFoundException: Could not find a part of the path '/var/lib/emby/metadata/SubtitleFonts/arial.892680.ttf'. at Interop.CheckIo(Error error, String path, Boolean isDirectory, Func`2 errorRewriter) at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String path, OpenFlags flags, Int32 mode) at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize) at System.IO.FileSystem.CopyFile(String sourceFullPath, String destFullPath, Boolean overwrite) at Emby.Server.MediaEncoding.Subtitles.Fonts.SubtitleFontsManager.CreateTranscodingFontsDir(MediaSourceInfo mediaSource, String targetDir, CancellationToken cancellationToken) Source: System.Private.CoreLib TargetSite: Void CheckIo(Error, System.String, Boolean, System.Func`2[Interop+ErrorInfo,Interop+ErrorInfo]) embyserver (1).txt embyserver.txt ffmpeg-transcode-b5435aea-85ab-4e64-bee0-9a742f1d8e68_1.txt Edited October 16, 2022 by aelzki Added more logs
Luke 42078 Posted October 17, 2022 Posted October 17, 2022 Hi, @softworkz will take a look at this. Thanks.
aelzki 3 Posted October 19, 2022 Author Posted October 19, 2022 Do we have an update about this? thanks!!!
Luke 42078 Posted October 19, 2022 Posted October 19, 2022 Just now, aelzki said: Do we have an update about this? thanks!!! HI, yes @softworkz is looking into this. Thanks.
softworkz 5066 Posted October 19, 2022 Posted October 19, 2022 @aelzki - Does the folder /var/lib/emby/metadata/SubtitleFonts exist? What's in it?
softworkz 5066 Posted October 19, 2022 Posted October 19, 2022 Could you please post a server log that includes Emby server starting up?
aelzki 3 Posted October 19, 2022 Author Posted October 19, 2022 9 hours ago, softworkz said: @aelzki - Does the folder /var/lib/emby/metadata/SubtitleFonts exist? What's in it? @softworkz it does not exist. Tried to create the directory, but the error is the same. This only happens when transcoding. Will post the server logs in a bit.
aelzki 3 Posted October 19, 2022 Author Posted October 19, 2022 9 hours ago, softworkz said: Could you please post a server log that includes Emby server starting up? Here it is embyserver.txt
softworkz 5066 Posted October 19, 2022 Posted October 19, 2022 7 hours ago, aelzki said: @softworkz it does not exist. Tried to create the directory, but the error is the same. This only happens when transcoding. Will post the server logs in a bit. Most likely it's a permissions issue then. Probably Emby wasn't allowed to create the folder and now that you've created it, it's not allowed to write into it. Can you maximize access permission for that folder?
aelzki 3 Posted October 20, 2022 Author Posted October 20, 2022 @softworkz I have emby run as root using the steps here: I also chown -R root:root /var/lib/emby/ and it shows the same error
aelzki 3 Posted October 20, 2022 Author Posted October 20, 2022 4 hours ago, softworkz said: Most likely it's a permissions issue then. Probably Emby wasn't allowed to create the folder and now that you've created it, it's not allowed to write into it. Can you maximize access permission for that folder? 4 minutes ago, aelzki said: @softworkz I have emby run as root using the steps here: I also chown -R root:root /var/lib/emby/ and it shows the same error Issue now solved. After reapplying chown to the directory without the trailing slash at the end (/var/lib/emby) it creates the subtitlefonts on the metadata folder 1 1
softworkz 5066 Posted October 20, 2022 Posted October 20, 2022 35 minutes ago, aelzki said: Issue now solved. After reapplying chown to the directory without the trailing slash at the end (/var/lib/emby) it creates the subtitlefonts on the metadata folder I'm glad to hear that it's solved. I'm sorry about the obscure behavior, the server should have been logging an error about this.
tmurd87 8 Posted October 20, 2022 Posted October 20, 2022 On 10/16/2022 at 4:28 PM, aelzki said: Hi I am having issues with font not found when transcoding media. Sample error code: embyserver (1).txt 44 kB · 2 downloads embyserver.txt 47.7 kB · 3 downloads ffmpeg-transcode-b5435aea-85ab-4e64-bee0-9a742f1d8e68_1.txt 31.24 kB · 3 downloads little off topic, but how are you liking the driver pass through using proxmox and the p400 running smooth? I dropped in 1660 supers unlocked of course.
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