Plexamp is not playing music just skipping to next track until the end of the playlist

Server Version#: 1.25.6.5577 (I’m running plex in docker with networking-type host.)
Player Version#:4.0.3

However the playback in Plex Web works and some tracks randomly work in plexamp (permissions are identical though).

Plexamp shows OPUS for mp3 tracks.

On the server I get: ERROR - [Transcoder] Unknown decoder ‘mp3’.

my /etc/fstab:
/dev/disk/by-uuid/xxxx /mnt/foo btrfs group,users,noatime,nodiratime,compress=lzo,nosuid,nodev,nofail,x-gvfs-show,x-gvfs-name=foo,rw,autodefrag 0 0

OPUS means that it’s transcoding; it’s failing because your server doesn’t appear to have been able to download the codec. there might be more information in the logs.

Thanks for your quick reply. Which files do you need (sorry I am new to plex) just Plex Media Server.log or something else and is it safe to share online?

Mar 07, 2022 19:15:26.190 [0x7f6014f59878] WARN - [FFMPEG] - Error loading external lib: Error loading shared library /config/Library/Application Support/Plex Media Server/Codecs/62cc2bc-4226-linux-x86_64/libmp3_decoder.so: Operation not permitted
Mar 07, 2022 19:15:26.212 [0x7f6014f59878] WARN - [FFMPEG] - Error loading external lib: Error loading shared library /config/Library/Application Support/Plex Media Server/Codecs/62cc2bc-4226-linux-x86_64/libmpc7_decoder.so: Operation not permitted
Mar 07, 2022 19:15:26.264 [0x7f6014f59878] WARN - [FFMPEG] - Error loading external lib: Error loading shared library /config/Library/Application Support/Plex Media Server/Codecs/62cc2bc-4226-linux-x86_64/libaac_lc_decoder.so: Operation not permitted
Mar 07, 2022 19:15:26.282 [0x7f6014f59878] WARN - [FFMPEG] - Error loading external lib: Error loading shared library /config/Library/Application Support/Plex Media Server/Codecs/62cc2bc-4226-linux-x86_64/libmp2_decoder.so: Operation not permitted
Mar 07, 2022 19:15:26.312 [0x7f6014f59878] WARN - [FFMPEG] - Error loading external lib: Error loading shared library /config/Library/Application Support/Plex Media Server/Codecs/62cc2bc-4226-linux-x86_64/libape_decoder.so: Operation not permitted
Mar 07, 2022 19:15:26.383 [0x7f6014f59878] WARN - [FFMPEG] - Error loading external lib: Error loading shared library /config/Library/Application Support/Plex Media Server/Codecs/62cc2bc-4226-linux-x86_64/libwmav2_decoder.so: Operation not permitted
Mar 07, 2022 19:15:26.438 [0x7f6014f59878] WARN - [FFMPEG] - Error loading external lib: Error loading shared library /config/Library/Application Support/Plex Media Server/Codecs/62cc2bc-4226-linux-x86_64/libmpeg1video_decoder.so: Operation not permitted
Mar 07, 2022 19:15:26.489 [0x7f6014f59878] WARN - [FFMPEG] - Error loading external lib: Error loading shared library /config/Library/Application Support/Plex Media Server/Codecs/62cc2bc-4226-linux-x86_64/libh264_decoder.so: Operation not permitted

Looks like you have a permissions issue.

I guess you are right, my Library Folder was created and is owned by root with drwxr-sr-x permissions. I changed ownership to 1000 aka my user on the system.

my docker compose yml has:
environment:
- PLEX_UID=1000
- PLEX_GID=1000
- UMASK_SET=022

is that a correct setup?

EDIT: sorry that did not work, also chmod 777 -R Library still results in the error?

WARN - [FFMPEG] - Error loading external lib: Error loading shared library /config/Library/Application Support/Plex Media Server/Codecs/62cc2bc-4226-linux-x86_64/libmp3_decoder.so: Operation not permitted

Even weirder is that: I can play some tracks that are mp3s on the plexamp and it also shows as MP3 in plexamp. Only when the transcode “kicks in” and it tries to convert, then the issue described occurs. So why can I play mp3s even though I don’t have access to the necessary lib.

That’s not weird at all, your server permission problems involve the transcoder. I can’t offer any suggestions, however, as I don’t run PMS inside docker.

This doesn’t directly answer your question, but you might find some of these issues are avoided or at least much simpler to resolve by using Podman rather than Docker. Generally speaking, Podman is docker compatible (identical yaml structure and CLI, OCI-compatible), but it’s rootless, daemonless, and can execute under your current user.

Appreciate the hint however I am reluctant to migrate, but I will keep this in mind.

I guess I could exec into the container and try to see what the plex user can do !?

Hmm I am stuck, I can create/modify files just fine inside the container as the plex user:

plex@myserver:~/Library/Application Support/Plex Media Server/Codecs/62cc2bc-4226-linux-x86_64$ touch foobar.txt
plex@myserver:~/Library/Application Support/Plex Media Server/Codecs/62cc2bc-4226-linux-x86_64$ ls -al
total 2904
drwxrwsrwx 1 plex plex     320 Mar  8 10:05 .
drwxrwsrwx 1 plex plex      70 Mar  7 13:39 ..
-rw-r--r-- 1 plex plex       0 Mar  8 10:05 foobar.txt
-rwxrwxrwx 1 plex plex  194360 Mar  7 14:10 libaac_lc_decoder.so
-rwxrwxrwx 1 plex plex   95856 Mar  7 14:14 libape_decoder.so
-rwxrwxrwx 1 plex plex 1652640 Mar  7 15:29 libh264_decoder.so
-rwxrwxrwx 1 plex plex  131688 Mar  7 14:12 libmp2_decoder.so
-rwxrwxrwx 1 plex plex  131688 Mar  7 14:06 libmp3_decoder.so
-rwxrwxrwx 1 plex plex  110536 Mar  7 14:07 libmpc7_decoder.so
-rwxrwxrwx 1 plex plex  498512 Mar  7 15:09 libmpeg1video_decoder.so
-rwxrwxrwx 1 plex plex  141856 Mar  7 14:18 libwmav2_decoder.so

If I exit the container and go to the Library folder, then I find foobar as owned by my user (UID 1000) and the foobar file has -rw-r–r–

I meant I can play this file in plexamp:

-rwxrwxr-- 1 myuser myuser 6887827 12. Apr 2015 ‘Adam Freeland - Tectonics - 01 - Chronologic.mp3’

but not this file:

-rwxrwxr-- 1 myuser myuser 4715633 12. Apr 2015 01-alice_russell-turn_and_run-arigold.mp3

Why does plexamp try to decode the alice russel track as opus, but not the other one ? Not the main issue though …

add the exec option into your mount statement (or delete the users option). the codec libraries need to be able to execute to load.

I already tried adding exec. Maybe I also have to remove users, one second! And thanks for this suggestion!

Thanks so much that was indeed the problem! “users” overwrote “exec”.

Sorry for hijacking your thread. I’m have the same issue I believe. I am brand new to PlexAmp. I’ve had the pass for 6+ months and just now getting started. I have my music library in the app and everything is there. But when I go to play the song/album it skips fast forward to the next song until it reaches the end and nothing. I thought this would be a settings in the app. But after reading your thread I am completely lost. My music/photos is filed in my WD NAS PR2100. I’ve been running the NAS since mid 2020. This is all new to me since I left the iCloud for myCloud. I want to be able to use the PlexAmp app on my Sonos when I’m home and be able to use it when I’m traveling, hopefully soon. Thx.

Post a Plexamp log and we’ll tell you what the issue is :slight_smile:

Apologize for responding back so late. Have been dealing with personal issue for the last week.
How/where do I find the Plexamp log? I tried looking on my app. Could not find it on the app or on my windows.

In mobile app it’s settings > advanced > debugging.

On desktop it’s Plexamp.log located… somewhere depending on your OS. Plexamp debug logs & how to extract them

I’m having the same issue. The Plex Media Server app (1.25.7) is installed on a Mac Mini running macOS 11.5 (Big Sur) and I’m accessing my music via Plexamp 4.0.3. It was working fine. Then one day it simply started skipping songs. In some cases, it will skip every song in an album. I haven’t made any changes to the Mac Mini so I have no idea what caused this. Any suggestions?

Yes, post a log of it happening so we might stand a chance of seeing what’s going on :sweat_smile:

I tried it again using my iPhone and got the same results. Here is the log file. :rofl:

Plexamp.log.txt (35.7 KB)