Plex transcode randomly fails due to file not found

Server Version#: 1.41.3.9314
Plex seemingly randomly will error out of transcoding and fail playback. Errors indicate no such file or directory. Many times will play entire files with no issue. Sometimes fails once, sometimes will fail three or four times in a single 30 minute episode. Here are some relevant error logs:

Jan 19, 2025 03:00:42.139 [139730025737016] ERROR - [Req#23a2a/Transcode/f5ca07fb-b545-40a2-98da-445978262d5e-28/732c4394-10b7-4b67-a9cc-1aff39c7f501] Failed to calculate available disk spa
ce for path '"/plexout/Transcode/Sessions/plex-transcode-f5ca07fb-b545-40a2-98da-445978262d5e-28-732c4394-10b7-4b67-a9cc-1aff39c7f501"': 2 (No such file or directory)
Jan 19, 2025 03:00:42.140 [139730023447352] ERROR - [Req#23a3c/Transcode/f5ca07fb-b545-40a2-98da-445978262d5e-28/732c4394-10b7-4b67-a9cc-1aff39c7f501] [stream_segment,ssegment @ 0x7f7bfe746
080] Failed to open segment 'media-00346.ts'
Jan 19, 2025 03:00:42.140 [139730004216632] ERROR - [Req#23a3f/Transcode/f5ca07fb-b545-40a2-98da-445978262d5e-28/732c4394-10b7-4b67-a9cc-1aff39c7f501] av_interleaved_write_frame(): No such 
file or directory
Jan 19, 2025 03:00:42.241 [139729999170360] ERROR - [Req#23a40/Transcode/f5ca07fb-b545-40a2-98da-445978262d5e-28/732c4394-10b7-4b67-a9cc-1aff39c7f501] Error writing trailer of media-%05d.ts
: Invalid argument
Jan 19, 2025 03:00:42.243 [139730096700216] DEBUG - Jobs: '/usr/lib/plexmediaserver/Plex Transcoder' exit code for process 1302 is 1 (failure)
Jan 19, 2025 03:00:42.244 [139729951652664] DEBUG - Killing job.

Seems maybe it’s sometimes losing access to the volume intermittently? I’m not really sure.

Running in docker on fedora host.

Here’s my compose entry:

  plex:
    image: linuxserver/plex
    container_name: plex
    environment:
      - PUID=1000
      - PGID=1001
      - TZ=America/Chicago
      - VERSION=docker
    volumes:
      - ./plex/config:/config
      - /mnt/mhd:/mnt/mhd
      - /dev/shm:/plexout
    ports:
      - 32400:32400
    restart: unless-stopped

Transcode directory is set to /plexout ( which is /dev/shm of host )

Attaching what I assume is the full debug session log in case that’s of any use.

session.log (529.9 KB)

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.