Jump to content

Debian | Error SubtitleFontsManager when transcoding videos.


Recommended Posts

Posted (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 by aelzki
Added more logs
Posted

Do we have an update about this? thanks!!!

Posted
Just now, aelzki said:

Do we have an update about this? thanks!!!

HI, yes @softworkz is looking into this. Thanks.

Posted

@aelzki - Does the folder /var/lib/emby/metadata/SubtitleFonts exist? What's in it?

 

Posted

Could you please post a server log that includes Emby server starting up?

Posted
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.

Posted
9 hours ago, softworkz said:

Could you please post a server log that includes Emby server starting up?

Here it is

embyserver.txt

Posted
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?

Posted

@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

 

Posted
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

  • Like 1
  • Thanks 1
Posted
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.

Posted
On 10/16/2022 at 4:28 PM, aelzki said:

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.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...