RE: Audio Transcode Failing - roughnecknine0 - 2025-03-25
I restarted jellyfin LXC, stopped/started the service, and cleared browser cache but can't get the log to update with playback. All that shows in log is the following upon service start:
Code: [2025-03-24 18:25:30.040 -06:00] [WRN] The WebRootPath was not found: "/var/lib/jellyfin/wwwroot". Static files may be unavailable.
RE: Audio Transcode Failing - TheDreadPirate - 2025-03-25
I just re-read your first post. Is the LXC out of disk space?
Quote:12GB Bootdisk storage
RE: Audio Transcode Failing - roughnecknine0 - 2025-03-25
Nope; currently using 2.5GB/12GB. Media is on a separate drive.
RE: Audio Transcode Failing - Efficient_Good_5784 - 2025-03-25
Is the transcode directory on the same drive?
Even if it's just transcoding audio, the entire transcode needs to be stored somewhere.
It's possible and common for transcodes to take up as much space (or more) as the original video does.
So while you're transcoding something, it can run out of space causing the transcode to fail.
RE: Audio Transcode Failing - roughnecknine0 - 2025-03-25
(2025-03-25, 02:40 PM)Efficient_Good_5784 Wrote: Is the transcode directory on the same drive?
Even if it's just transcoding audio, the entire transcode needs to be stored somewhere.
It's possible and common for transcodes to take up as much space (or more) as the original video does.
So while you're transcoding something, it can run out of space causing the transcode to fail.
That was my original thinking as the transcode path *is* on the boot drive.
When the errors happened I glanced at my Proxmox dashboard on my phone and only saw 1/2 full. I wasn't really paying attention so can't remember if it was RAM or Storage that I looked at so this info is pointless.
But even so, if my available storage for transcode cache is ~8.5GB and the movie file is only 4GB (which it is), shouldn't that leave plenty of room?
If I was watching other transcoded media an hour or two before could that have filled the storage? I'm not sure how long transcodes are kept in the cache other than the overnight cleaning. I have "Delete Segments" disabled so it's possible the storage was full which is why I was encountering the brief error? If this is the case is Jellyfin "smart" enough to delete the old transcodes out of the cache to make room for what it is currently transcoding? If not then how was I able to continue viewing?
RE: Audio Transcode Failing - TheDreadPirate - 2025-03-25
Transcodes are only kept for the duration of the playback session. Once that playback session ends Jellyfin cleans up the transcode files. Only if Jellyfin were to crash hard would those files stick around. But a separate transcode cleanup job runs once a day that would clean those up eventually. Transcode files older than 24 hours are cleaned up when that job runs.
If you have limited storage for transcodes, I recommend enabling both delete segments and transcode throttling. That will significant reduce the amount of disk usage from transcodes.
RE: Audio Transcode Failing - roughnecknine0 - 2025-03-25
(2025-03-25, 03:09 PM)TheDreadPirate Wrote: Transcodes are only kept for the duration of the playback session. Once that playback session ends Jellyfin cleans up the transcode files. Only if Jellyfin were to crash hard would those files stick around. But a separate transcode cleanup job runs once a day that would clean those up eventually. Transcode files older than 24 hours are cleaned up when that job runs.
If you have limited storage for transcodes, I recommend enabling both delete segments and transcode throttling. That will significant reduce the amount of disk usage from transcodes.
So in that case the storage space shouldn't have been an issue for me in this instance. I'll increase disk size anyways.
However still can't figure out why nothing is logging properly.
RE: Audio Transcode Failing - TheDreadPirate - 2025-03-25
Can you share the output of "sudo systemctl show jellyfin"?
RE: Audio Transcode Failing - roughnecknine0 - 2025-03-25
Thanks for taking the time to help
Code: Type=simple
Restart=on-failure
NotifyAccess=none
RestartUSec=100ms
TimeoutStartUSec=15s
TimeoutStopUSec=15s
TimeoutAbortUSec=15s
TimeoutStartFailureMode=terminate
TimeoutStopFailureMode=terminate
RuntimeMaxUSec=infinity
WatchdogUSec=0
WatchdogTimestamp=n/a
WatchdogTimestampMonotonic=0
RootDirectoryStartOnly=no
RemainAfterExit=no
GuessMainPID=yes
SuccessExitStatus=0 143
MainPID=103
ControlPID=0
FileDescriptorStoreMax=0
NFileDescriptorStore=0
StatusErrno=0
Result=success
ReloadResult=success
CleanResult=success
UID=110
GID=118
NRestarts=0
OOMPolicy=stop
ExecMainStartTimestamp=Mon 2025-03-24 23:10:09 MDT
ExecMainStartTimestampMonotonic=22422888
ExecMainExitTimestamp=n/a
ExecMainExitTimestampMonotonic=0
ExecMainPID=103
ExecMainCode=0
ExecMainStatus=0
ExecStart={ path=/usr/bin/jellyfin ; argv[]=/usr/bin/jellyfin $JELLYFIN_WEB_OPT $JELLYFIN_FFMPEG_OPT $JELLYFIN_SERVICE_OPT $JELLYFIN_NOWEBAPP_OPT $JELLYFIN_ADD>
ExecStartEx={ path=/usr/bin/jellyfin ; argv[]=/usr/bin/jellyfin $JELLYFIN_WEB_OPT $JELLYFIN_FFMPEG_OPT $JELLYFIN_SERVICE_OPT $JELLYFIN_NOWEBAPP_OPT $JELLYFIN_A>
Slice=system.slice
ControlGroup=/system.slice/jellyfin.service
MemoryCurrent=3420618752
MemoryAvailable=infinity
CPUUsageNSec=4205059261000
TasksCurrent=20
IPIngressBytes=[no data]
IPIngressPackets=[no data]
IPEgressBytes=[no data]
IPEgressPackets=[no data]
IOReadBytes=18446744073709551615
IOReadOperations=18446744073709551615
IOWriteBytes=18446744073709551615
IOWriteOperations=18446744073709551615
Delegate=no
CPUAccounting=yes
CPUWeight=[not set]
StartupCPUWeight=[not set]
CPUShares=[not set]
StartupCPUShares=[not set]
CPUQuotaPerSecUSec=infinity
CPUQuotaPeriodUSec=infinity
IOAccounting=no
IOWeight=[not set]
StartupIOWeight=[not set]
BlockIOAccounting=no
BlockIOWeight=[not set]
StartupBlockIOWeight=[not set]
MemoryAccounting=yes
DefaultMemoryLow=0
DefaultMemoryMin=0
MemoryMin=0
MemoryLow=0
MemoryHigh=infinity
MemoryMax=infinity
MemorySwapMax=infinity
MemoryLimit=infinity
DevicePolicy=auto
TasksAccounting=yes
TasksMax=28501
IPAccounting=no
ManagedOOMSwap=auto
ManagedOOMMemoryPressure=auto
ManagedOOMMemoryPressureLimit=0
ManagedOOMPreference=none
EnvironmentFiles=/etc/default/jellyfin (ignore_errors=no)
UMask=0022
LimitCPU=infinity
LimitCPUSoft=infinity
LimitFSIZE=infinity
LimitFSIZESoft=infinity
LimitDATA=infinity
LimitDATASoft=infinity
LimitSTACK=infinity
LimitSTACKSoft=8388608
LimitCORE=infinity
LimitCORESoft=0
LimitRSS=infinity
LimitRSSSoft=infinity
LimitNOFILE=524288
LimitNOFILESoft=1024
LimitAS=infinity
LimitASSoft=infinity
LimitNPROC=95006
LimitNPROCSoft=95006
LimitMEMLOCK=8388608
LimitMEMLOCKSoft=8388608
LimitLOCKS=infinity
LimitLOCKSSoft=infinity
LimitSIGPENDING=95006
LimitSIGPENDINGSoft=95006
LimitMSGQUEUE=819200
LimitMSGQUEUESoft=819200
LimitNICE=0
LimitNICESoft=0
LimitRTPRIO=0
LimitRTPRIOSoft=0
LimitRTTIME=infinity
LimitRTTIMESoft=infinity
WorkingDirectory=/var/lib/jellyfin
OOMScoreAdjust=0
CoredumpFilter=0x33
Nice=0
IOSchedulingClass=2
IOSchedulingPriority=4
CPUSchedulingPolicy=0
CPUSchedulingPriority=0
CPUAffinityFromNUMA=no
NUMAPolicy=n/a
TimerSlackNSec=50000
CPUSchedulingResetOnFork=no
NonBlocking=no
StandardInput=null
StandardOutput=journal
StandardError=inherit
TTYReset=no
TTYVHangup=no
TTYVTDisallocate=no
SyslogPriority=30
SyslogLevelPrefix=yes
SyslogLevel=6
SyslogFacility=3
LogLevelMax=-1
LogRateLimitIntervalUSec=0
LogRateLimitBurst=0
SecureBits=0
CapabilityBoundingSet=cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_n>
User=jellyfin
Group=jellyfin
DynamicUser=no
RemoveIPC=no
PrivateTmp=no
PrivateDevices=no
ProtectClock=no
ProtectKernelTunables=no
ProtectKernelModules=no
ProtectKernelLogs=no
ProtectControlGroups=no
PrivateNetwork=no
PrivateUsers=no
PrivateMounts=no
PrivateIPC=no
ProtectHome=no
ProtectSystem=no
SameProcessGroup=no
UtmpMode=init
IgnoreSIGPIPE=yes
NoNewPrivileges=no
SystemCallErrorNumber=2147483646
LockPersonality=no
RuntimeDirectoryPreserve=no
RuntimeDirectoryMode=0755
StateDirectoryMode=0755
CacheDirectoryMode=0755
LogsDirectoryMode=0755
ConfigurationDirectoryMode=0755
TimeoutCleanUSec=infinity
MemoryDenyWriteExecute=no
RestrictRealtime=no
RestrictSUIDSGID=no
RestrictNamespaces=no
MountAPIVFS=no
KeyringMode=private
ProtectProc=default
ProcSubset=all
ProtectHostname=no
KillMode=control-group
KillSignal=15
RestartKillSignal=15
FinalKillSignal=9
SendSIGKILL=yes
SendSIGHUP=no
WatchdogSignal=6
Id=jellyfin.service
Names=jellyfin.service
Requires=sysinit.target system.slice
WantedBy=multi-user.target
Conflicts=shutdown.target
Before=multi-user.target shutdown.target
After=basic.target -.mount network-online.target sysinit.target system.slice systemd-journald.socket
RequiresMountsFor=/var/lib/jellyfin
Description=Jellyfin Media Server
LoadState=loaded
ActiveState=active
FreezerState=running
SubState=running
FragmentPath=/lib/systemd/system/jellyfin.service
DropInPaths=/etc/systemd/system/jellyfin.service.d/jellyfin.service.conf
UnitFileState=enabled
UnitFilePreset=enabled
StateChangeTimestamp=Mon 2025-03-24 23:10:09 MDT
StateChangeTimestampMonotonic=22422921
InactiveExitTimestamp=Mon 2025-03-24 23:10:09 MDT
InactiveExitTimestampMonotonic=22422921
ActiveEnterTimestamp=Mon 2025-03-24 23:10:09 MDT
ActiveEnterTimestampMonotonic=22422921
Type=simple
Restart=on-failure
NotifyAccess=none
RestartUSec=100ms
TimeoutStartUSec=15s
TimeoutStopUSec=15s
TimeoutAbortUSec=15s
TimeoutStartFailureMode=terminate
TimeoutStopFailureMode=terminate
RuntimeMaxUSec=infinity
WatchdogUSec=0
WatchdogTimestamp=n/a
WatchdogTimestampMonotonic=0
RootDirectoryStartOnly=no
RemainAfterExit=no
GuessMainPID=yes
SuccessExitStatus=0 143
MainPID=103
ControlPID=0
FileDescriptorStoreMax=0
NFileDescriptorStore=0
StatusErrno=0
Result=success
ReloadResult=success
CleanResult=success
UID=110
GID=118
NRestarts=0
OOMPolicy=stop
ExecMainStartTimestamp=Mon 2025-03-24 23:10:09 MDT
ExecMainStartTimestampMonotonic=22422888
ExecMainExitTimestamp=n/a
ExecMainExitTimestampMonotonic=0
ExecMainPID=103
ExecMainCode=0
ExecMainStatus=0
ExecStart={ path=/usr/bin/jellyfin ; argv[]=/usr/bin/jellyfin $JELLYFIN_WEB_OPT $JELLYFIN_FFMPEG_OPT $JELLYFIN_SERVICE_OPT $JELLYFIN_NOWEBAPP_OPT $JELLYFIN_ADD>
ExecStartEx={ path=/usr/bin/jellyfin ; argv[]=/usr/bin/jellyfin $JELLYFIN_WEB_OPT $JELLYFIN_FFMPEG_OPT $JELLYFIN_SERVICE_OPT $JELLYFIN_NOWEBAPP_OPT $JELLYFIN_A>
Slice=system.slice
ControlGroup=/system.slice/jellyfin.service
MemoryCurrent=3420618752
MemoryAvailable=infinity
CPUUsageNSec=4205059261000
TasksCurrent=20
IPIngressBytes=[no data]
IPIngressPackets=[no data]
IPEgressBytes=[no data]
IPEgressPackets=[no data]
IOReadBytes=18446744073709551615
IOReadOperations=18446744073709551615
IOWriteBytes=18446744073709551615
IOWriteOperations=18446744073709551615
Delegate=no
CPUAccounting=yes
CPUWeight=[not set]
StartupCPUWeight=[not set]
CPUShares=[not set]
StartupCPUShares=[not set]
CPUQuotaPerSecUSec=infinity
CPUQuotaPeriodUSec=infinity
IOAccounting=no
IOWeight=[not set]
StartupIOWeight=[not set]
BlockIOAccounting=no
BlockIOWeight=[not set]
StartupBlockIOWeight=[not set]
MemoryAccounting=yes
DefaultMemoryLow=0
DefaultMemoryMin=0
MemoryMin=0
MemoryLow=0
MemoryHigh=infinity
MemoryMax=infinity
MemorySwapMax=infinity
MemoryLimit=infinity
DevicePolicy=auto
TasksAccounting=yes
TasksMax=28501
IPAccounting=no
ManagedOOMSwap=auto
ManagedOOMMemoryPressure=auto
ManagedOOMMemoryPressureLimit=0
ManagedOOMPreference=none
EnvironmentFiles=/etc/default/jellyfin (ignore_errors=no)
UMask=0022
LimitCPU=infinity
LimitCPUSoft=infinity
LimitFSIZE=infinity
LimitFSIZESoft=infinity
LimitDATA=infinity
LimitDATASoft=infinity
LimitSTACK=infinity
LimitSTACKSoft=8388608
LimitCORE=infinity
LimitCORESoft=0
LimitRSS=infinity
LimitRSSSoft=infinity
LimitNOFILE=524288
LimitNOFILESoft=1024
LimitAS=infinity
LimitASSoft=infinity
LimitNPROC=95006
LimitNPROCSoft=95006
LimitMEMLOCK=8388608
LimitMEMLOCKSoft=8388608
LimitLOCKS=infinity
LimitLOCKSSoft=infinity
LimitSIGPENDING=95006
LimitSIGPENDINGSoft=95006
LimitMSGQUEUE=819200
LimitMSGQUEUESoft=819200
LimitNICE=0
LimitNICESoft=0
LimitRTPRIO=0
LimitRTPRIOSoft=0
LimitRTTIME=infinity
LimitRTTIMESoft=infinity
WorkingDirectory=/var/lib/jellyfin
OOMScoreAdjust=0
CoredumpFilter=0x33
Nice=0
IOSchedulingClass=2
IOSchedulingPriority=4
CPUSchedulingPolicy=0
CPUSchedulingPriority=0
CPUAffinityFromNUMA=no
NUMAPolicy=n/a
TimerSlackNSec=50000
CPUSchedulingResetOnFork=no
NonBlocking=no
StandardInput=null
StandardOutput=journal
StandardError=inherit
TTYReset=no
TTYVHangup=no
TTYVTDisallocate=no
SyslogPriority=30
SyslogLevelPrefix=yes
SyslogLevel=6
SyslogFacility=3
LogLevelMax=-1
LogRateLimitIntervalUSec=0
LogRateLimitBurst=0
SecureBits=0
CapabilityBoundingSet=cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_n>
User=jellyfin
Group=jellyfin
DynamicUser=no
RemoveIPC=no
PrivateTmp=no
PrivateDevices=no
ProtectClock=no
ProtectKernelTunables=no
ProtectKernelModules=no
ProtectKernelLogs=no
ProtectControlGroups=no
PrivateNetwork=no
PrivateUsers=no
PrivateMounts=no
PrivateIPC=no
ProtectHome=no
ProtectSystem=no
SameProcessGroup=no
UtmpMode=init
IgnoreSIGPIPE=yes
NoNewPrivileges=no
SystemCallErrorNumber=2147483646
LockPersonality=no
RuntimeDirectoryPreserve=no
RuntimeDirectoryMode=0755
StateDirectoryMode=0755
CacheDirectoryMode=0755
LogsDirectoryMode=0755
ConfigurationDirectoryMode=0755
TimeoutCleanUSec=infinity
MemoryDenyWriteExecute=no
RestrictRealtime=no
RestrictSUIDSGID=no
RestrictNamespaces=no
MountAPIVFS=no
KeyringMode=private
ProtectProc=default
ProcSubset=all
ProtectHostname=no
KillMode=control-group
KillSignal=15
RestartKillSignal=15
FinalKillSignal=9
SendSIGKILL=yes
SendSIGHUP=no
WatchdogSignal=6
Id=jellyfin.service
Names=jellyfin.service
Requires=sysinit.target system.slice
WantedBy=multi-user.target
Conflicts=shutdown.target
Before=multi-user.target shutdown.target
After=basic.target -.mount network-online.target sysinit.target system.slice systemd-journald.socket
RequiresMountsFor=/var/lib/jellyfin
Description=Jellyfin Media Server
LoadState=loaded
ActiveState=active
FreezerState=running
SubState=running
FragmentPath=/lib/systemd/system/jellyfin.service
DropInPaths=/etc/systemd/system/jellyfin.service.d/jellyfin.service.conf
UnitFileState=enabled
UnitFilePreset=enabled
StateChangeTimestamp=Mon 2025-03-24 23:10:09 MDT
StateChangeTimestampMonotonic=22422921
InactiveExitTimestamp=Mon 2025-03-24 23:10:09 MDT
InactiveExitTimestampMonotonic=22422921
ActiveEnterTimestamp=Mon 2025-03-24 23:10:09 MDT
ActiveEnterTimestampMonotonic=22422921
RestrictNamespaces=no
MountAPIVFS=no
KeyringMode=private
ProtectProc=default
ProcSubset=all
ProtectHostname=no
KillMode=control-group
KillSignal=15
RestartKillSignal=15
FinalKillSignal=9
SendSIGKILL=yes
SendSIGHUP=no
WatchdogSignal=6
Id=jellyfin.service
Names=jellyfin.service
Requires=sysinit.target system.slice
WantedBy=multi-user.target
Conflicts=shutdown.target
Before=multi-user.target shutdown.target
After=basic.target -.mount network-online.target sysinit.target system.slice systemd-journald.socket
RequiresMountsFor=/var/lib/jellyfin
Description=Jellyfin Media Server
LoadState=loaded
ActiveState=active
FreezerState=running
SubState=running
FragmentPath=/lib/systemd/system/jellyfin.service
DropInPaths=/etc/systemd/system/jellyfin.service.d/jellyfin.service.conf
UnitFileState=enabled
UnitFilePreset=enabled
StateChangeTimestamp=Mon 2025-03-24 23:10:09 MDT
StateChangeTimestampMonotonic=22422921
InactiveExitTimestamp=Mon 2025-03-24 23:10:09 MDT
InactiveExitTimestampMonotonic=22422921
ActiveEnterTimestamp=Mon 2025-03-24 23:10:09 MDT
ActiveEnterTimestampMonotonic=22422921
ActiveExitTimestamp=n/a
ActiveExitTimestampMonotonic=0
InactiveEnterTimestamp=n/a
InactiveEnterTimestampMonotonic=0
CanStart=yes
CanStop=yes
CanReload=no
CanIsolate=no
CanFreeze=yes
StopWhenUnneeded=no
RefuseManualStart=no
RefuseManualStop=no
AllowIsolate=no
DefaultDependencies=yes
OnSuccessJobMode=fail
OnFailureJobMode=replace
IgnoreOnIsolate=no
NeedDaemonReload=no
JobTimeoutUSec=infinity
JobRunningTimeoutUSec=infinity
JobTimeoutAction=none
ConditionResult=yes
AssertResult=yes
ConditionTimestamp=Mon 2025-03-24 23:10:09 MDT
ConditionTimestampMonotonic=22421294
AssertTimestamp=Mon 2025-03-24 23:10:09 MDT
AssertTimestampMonotonic=22421296
Transient=no
Perpetual=no
StartLimitIntervalUSec=10s
StartLimitBurst=5
StartLimitAction=none
FailureAction=none
SuccessAction=none
InvocationID=988cf66c60c149d8bebb59ff1e48f5ec
CollectMode=inactive
or via privatebin
RE: Audio Transcode Failing - TheDreadPirate - 2025-03-25
Everything looks right. Definite strange.
Do you see more logs when you run this command?
Code: sudo journalctl -u jellyfin -xe
|