Error loading external lib failed to map segment from shared object

Hi all,
I’m running Plex container ghcr.io/linuxserver/plex:bionic on a raspberry pi 2.

When I restart the container I see some WARN complaining:

Apr 18, 2021 10:10:41.497 [0x74179010] WARN - [FFMPEG] - Error loading external lib: /config/Library/Application Support/Plex Media Server/Codecs/73e06c8-3759-linux-armv7hf_neon/libflv_decoder.so: failed to map segment from shared object
Apr 18, 2021 10:10:41.539 [0x74179010] WARN - [FFMPEG] - Error loading external lib: /config/Library/Application Support/Plex Media Server/Codecs/73e06c8-3759-linux-armv7hf_neon/libmsmpeg4v3_decoder.so: failed to map segment from shared object
Apr 18, 2021 10:10:41.541 [0x74179010] WARN - [FFMPEG] - Error loading external lib: /config/Library/Application Support/Plex Media Server/Codecs/73e06c8-3759-linux-armv7hf_neon/libmp2_decoder.so: failed to map segment from shared object
Apr 18, 2021 10:10:41.559 [0x74179010] WARN - [FFMPEG] - Error loading external lib: /config/Library/Application Support/Plex Media Server/Codecs/73e06c8-3759-linux-armv7hf_neon/libwmv3_decoder.so: failed to map segment from shared object

Any suggestion?

Thanks

I suspect the later versions of Plex are having an issue with the bionic base. The best solution to this would be switch back to latest then fix the libseccomp2 error (which I assume you have otherwise you wouldn’t be running bionic)

Thanks, I will try to move back to “latest”.

I’m sorry but I don’t remember why I moved to “bionic” some months ago, but was due an issue (that I cannot remember right now)

EDIT:
Same issue also with latest (I saw in console that a new image gets pulled)

Apr 18, 2021 10:55:28.809 [0x74220010] WARN - [FFMPEG] - Error loading external lib: /config/Library/Application Support/Plex Media Server/Codecs/73e06c8-3759-linux-armv7hf_neon/liblibx264_encoder.so: failed to map segment from shared object
Apr 18, 2021 10:55:28.821 [0x74220010] WARN - [FFMPEG] - Error loading external lib: /config/Library/Application Support/Plex Media Server/Codecs/73e06c8-3759-linux-armv7hf_neon/libaac_decoder.so: failed to map segment from shared object
Apr 18, 2021 10:55:28.837 [0x74220010] WARN - [FFMPEG] - Error loading external lib: /config/Library/Application Support/Plex Media Server/Codecs/73e06c8-3759-linux-armv7hf_neon/libh263_decoder.so: failed to map segment from shared object
Apr 18, 2021 10:55:28.851 [0x74220010] WARN - [FFMPEG] - Error loading external lib: /config/Library/Application Support/Plex Media Server/Codecs/73e06c8-3759-linux-armv7hf_neon/libamrnb_decoder.so: failed to map segment from shared object
Apr 18, 2021 10:55:28.860 [0x74220010] WARN - [FFMPEG] - Error loading external lib: /config/Library/Application Support/Plex Media Server/Codecs/73e06c8-3759-linux-armv7hf_neon/libac3_decoder.so: failed to map segment from shared object
Apr 18, 2021 10:55:28.879 [0x74220010] WARN - [FFMPEG] - Error loading external lib: /config/Library/Application Support/Plex Media Server/Codecs/73e06c8-3759-linux-armv7hf_neon/libhevc_decoder.so: failed to map segment from shared object
Apr 18, 2021 10:55:28.886 [0x74220010] WARN - [FFMPEG] - Error loading external lib: /config/Library/Application Support/Plex Media Server/Codecs/73e06c8-3759-linux-armv7hf_neon/libmpeg4_decoder.so: failed to map segment from shared object
Apr 18, 2021 10:55:28.891 [0x74220010] WARN - [FFMPEG] - Error loading external lib: /config/Library/Application Support/Plex Media Server/Codecs/73e06c8-3759-linux-armv7hf_neon/libmpeg2video_decoder.so: failed to map segment from shared object
Apr 18, 2021 10:55:28.895 [0x74220010] WARN - [FFMPEG] - Error loading external lib: /config/Library/Application Support/Plex Media Server/Codecs/73e06c8-3759-linux-armv7hf_neon/libdca_decoder.so: failed to map segment from shared object
Apr 18, 2021 10:55:28.916 [0x74220010] WARN - [FFMPEG] - Error loading external lib: /config/Library/Application Support/Plex Media Server/Codecs/73e06c8-3759-linux-armv7hf_neon/libh264_decoder.so: failed to map segment from shared object
Apr 18, 2021 10:55:28.918 [0x74220010] WARN - [FFMPEG] - Error loading external lib: /config/Library/Application Support/Plex Media Server/Codecs/73e06c8-3759-linux-armv7hf_neon/libaac_encoder.so: failed to map segment from shared object
Apr 18, 2021 10:55:28.921 [0x74220010] WARN - [FFMPEG] - Error loading external lib: /config/Library/Application Support/Plex Media Server/Codecs/73e06c8-3759-linux-armv7hf_neon/libmp3_decoder.so: failed to map segment from shared object
Apr 18, 2021 10:55:28.925 [0x74220010] WARN - [FFMPEG] - Error loading external lib: /config/Library/Application Support/Plex Media Server/Codecs/73e06c8-3759-linux-armv7hf_neon/libflv_decoder.so: failed to map segment from shared object
Apr 18, 2021 10:55:28.967 [0x74220010] WARN - [FFMPEG] - Error loading external lib: /config/Library/Application Support/Plex Media Server/Codecs/73e06c8-3759-linux-armv7hf_neon/libmsmpeg4v3_decoder.so: failed to map segment from shared object
Apr 18, 2021 10:55:28.970 [0x74220010] WARN - [FFMPEG] - Error loading external lib: /config/Library/Application Support/Plex Media Server/Codecs/73e06c8-3759-linux-armv7hf_neon/libmp2_decoder.so: failed to map segment from shared object
Apr 18, 2021 10:55:28.987 [0x74220010] WARN - [FFMPEG] - Error loading external lib: /config/Library/Application Support/Plex Media Server/Codecs/73e06c8-3759-linux-armv7hf_neon/libwmv3_decoder.so: failed to map segment from shared object

No improvements using latest

No changes moving back to "latest’

Any suggestions?

Thanks

Please post your docker-compose / info on how you’ve deployed the container etc.

I’m running the docker image on a Raspberry Pi2 B

I use this script to run the container:

#!/bin/bash

docker stop plex;
docker rm plex;
docker pull ghcr.io/linuxserver/plex:latest; 
docker run \
    --name=/plex \
    --env="PLEX_MEDIA_SERVER_INFO_DEVICE=Docker Container (LinuxServer.io)" \
    --env="PUID=1XXX" \
    --env="PGID=1YY" \
    --env="VERSION=docker" \
    --network "host" \
    --volume="/myhome/username/plex_database:/config/Library/Application Support/Plex Media Server/Plug-in Support/Databases:rw" \
    --volume="/myhome/username/local_drive/docker_plex/config:/config:rw" \
    --volume="/myhome/username/local_drive/videoediting_storage:/data/videoediting_storage:rw" \
    --volume="/myhome/username/local_drive/Foto_Video/Foto:/data/pictures:rw" \
    --volume="/myhome/username/local_drive/Foto_Video/Tmp_foto:/data/pictures_tmp:rw" \
    --volume="/myhome/username/local_drive/Serie:/data/tvshows:rw" \
    --volume="/myhome/username/plex_transcode:/transcode:rw" \
    --restart="unless-stopped" \
    --detach=true \
    ghcr.io/linuxserver/plex:latest;
docker image prune -f;

@j0nnymoe since you wrote about docker-compose, you suggest to use docker-compose instead of docker run?

Yea we recommend docker-compose as a deployment method rather than using docker runs.

Ok, I’'l check for how to use docker-compose instead of docker run.

Could this solve the issue I’m having?
Looks related to something inside the container, or not?