Fed up with plex - Still not working after a rebuild - Some films won't play

Totally new VM, fresh install of Ubuntu 20.04, then apt-get update / upgrade / dist-upgrade. Added the plex repository using “wget -q https://downloads.plex.tv/plex-keys/PlexSign.key -O - | sudo apt-key add -”

It all worked initially fine, but now some films refuse to play, 2 hours later. I’ve got it working previously by deleting the Codecs from the relevant director, here’s the contents after the total rebuild. What’s annoying is it did play initially and has now stopped with problem ones.

the files are sherd from SMB shares, that work fine, we also have a nvidea shield with kodi in the front room, it plays them without any issues as indeed did plex initially.

I’ve put some info below, but does anyone have any ideas - and for a paid product, via plex pass, I’d have expected Plex to help too. Here are the logs etc.

:/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Codecs/367b3d4-3673-linux-x86_64# ls -l
total 14364
-rw-r–r-- 1 plex plex 269528 Feb 7 10:40 libaac_encoder.so
-rw-r–r-- 1 plex plex 224184 Feb 7 12:31 libaac_lc_decoder.so
-rw-r–r-- 1 plex plex 175016 Feb 7 12:26 libac3_decoder.so
-rw-r–r-- 1 plex plex 347016 Feb 7 10:40 libdca_decoder.so
-rw-r–r-- 1 plex plex 1981496 Feb 7 10:35 libh264_decoder.so
-rw-r–r-- 1 plex plex 1588288 Feb 7 10:35 libhevc_decoder.so
-rw-r–r-- 1 plex plex 1892640 Feb 7 10:40 liblibx264_encoder.so
-rw-r–r-- 1 plex plex 187320 Feb 7 12:34 libmp3_decoder.so
-rw-r–r-- 1 plex plex 527712 Feb 7 10:35 libmpeg1video_decoder.so
-rw-r–r-- 1 plex plex 671456 Feb 7 10:39 libmpeg2video_decoder.so
-rw-r–r-- 1 plex plex 893624 Feb 7 10:35 libmpeg4_decoder.so
-rw-r–r-- 1 plex plex 664968 Feb 7 10:37 libmsmpeg4v3_decoder.so
-rw-r–r-- 1 plex plex 1312584 Feb 7 10:35 libvc1_decoder.so
-rw-r–r-- 1 plex plex 1801272 Feb 7 11:15 libvp9_decoder.so
-rw-r–r-- 1 plex plex 166824 Feb 7 13:26 libwmav2_decoder.so
-rw-r–r-- 1 plex plex 664968 Feb 7 10:43 libwmv1_decoder.so

The result of a df -h is;

udev 12G 0 12G 0% /dev
tmpfs 2.4G 1.2M 2.4G 1% /run
/dev/mapper/ubuntu–vg-ubuntu–lv 196G 30G 156G 17% /
tmpfs 12G 8.0K 12G 1% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 12G 0 12G 0% /sys/fs/cgroup
/dev/sda2 976M 104M 806M 12% /boot
/dev/loop0 55M 55M 0 100% /snap/core18/1705
/dev/loop2 28M 28M 0 100% /snap/snapd/7264
/dev/loop1 69M 69M 0 100% /snap/lxd/14804
/dev/loop3 32M 32M 0 100% /snap/snapd/10707
/dev/loop4 56M 56M 0 100% /snap/core18/1988
/dev/loop5 72M 72M 0 100% /snap/lxd/19164

I’ve attached the log files
Plex Media Server Logs_2021-02-07_15-01-27.zip (8.5 MB)

Thanks

It’s failing to work because you’ve added more media to watch than Linux can handle by default.

Linux default is up to 8192 directories.
You’ve given Plex more than that to watch.
It’s happening in your Music library section

Feb 07, 2021 14:58:01.689 [0x7fb7f0a0c700] DEBUG - [Notify] Now watching "/mnt/music/Paul McCartney/Flowers in the dirt"
Feb 07, 2021 14:58:01.704 [0x7fb7f0a0c700] DEBUG - [Notify] Now watching "/mnt/music/Paul McCartney/Kisses On The Bottom"
Feb 07, 2021 14:58:01.716 [0x7fb7f0a0c700] DEBUG - [Notify] Now watching "/mnt/music/Paul Oakenfold"
Feb 07, 2021 14:58:01.728 [0x7fb7f0a0c700] DEBUG - [Notify] Now watching "/mnt/music/Paul Oakenfold/Bunkka"
Feb 07, 2021 14:58:01.744 [0x7fb7f0a0c700] DEBUG - [Notify] Now watching "/mnt/music/Paul Simon"
Feb 07, 2021 14:58:01.745 [0x7fb7f0a0c700] DEBUG - [Notify] Now watching "/mnt/music/Paul Simon/Greatest Hits- Shining Like a National Guitar"
Feb 07, 2021 14:58:01.757 [0x7fb7f0a0c700] DEBUG - [Notify] Now watching "/mnt/music/Paul Simon/In the Blue Light (2018)"
Feb 07, 2021 14:58:01.773 [0x7fb7f0a0c700] ERROR - [Notify] Failed to add watch for "/mnt/music/Paul Simon/Stranger to Stranger (2016)" (28: No space left on device)
Feb 07, 2021 14:58:01.785 [0x7fb7f0a0c700] ERROR - [Notify] Failed to add watch for "/mnt/music/Paul Weller" (28: No space left on device)
Feb 07, 2021 14:58:01.786 [0x7fb7f0a0c700] ERROR - [Notify] Failed to add watch for "/mnt/music/Paul Weller/A Kind Revolution [2017]" (28: No space left on device)
Feb 07, 2021 14:58:01.794 [0x7fb7f0a0c700] ERROR - [Notify] Failed to add watch for "/mnt/music/Paul Weller/A Kind Revolution [2017][1]" (28: No space left on device)
Feb 07, 2021 14:58:01.805 [0x7fb7f0a0c700] ERROR - [Notify] Failed to add watch for "/mnt/music/Paul Weller/Days of Speed" (28: No space left on device)
Feb 07, 2021 14:58:01.817 [0x7fb7f0a0c700] ERROR - [Notify] Failed to add watch for "/mnt/music/Paul Weller/Paul Weller - Wake Up The Nation" (28: No space left on device)
Feb 07, 2021 14:58:01.825 [0x7fb7f0a0c700] ERROR - [Notify] Failed to add watch for "/mnt/music/Paul Weller/Paul Weller-Fly On The Wall" (28: No space left on device)
Feb 07, 2021 14:58:01.826 [0x7fb7f0a0c700] ERROR - [Notify] Failed to add watch for "/mnt/music/Paul Weller/Paul Weller-Fly On The Wall/disc 1" (28: No space left on device)
Feb 07, 2021 14:58:01.837 [0x7fb7f0a0c700] ERROR - [Notify] Failed to add watch for "/mnt/music/Paul Weller/Paul Weller-Fly On The Wall/disc 2" (28: No space left on device)
Feb 07, 2021 14:58:01.850 [0x7fb7f0a0c700] ERROR - [Notify] Failed to add watch for "/mnt/music/Paul Weller/Paul Weller-Fly On The Wall/disc 3" (28: No space left on device)
Feb 07, 2021 14:58:01.851 [0x7fb7f0a0c700] ERROR - [Notify] Failed to add watch for "/mnt/music/Paul Weller/Saturns Pattern (2015)" (28: No space left on device)
Feb 07, 2021 14:58:01.868 [0x7fb7f0a0c700] ERROR - [Notify] Failed to add watch for "/mnt/music/Paul Weller/Wild Wood (1993)" (28: No space left on device)
Feb 07, 2021 14:58:01.889 [0x7fb7f0a0c700] ERROR - [Notify] Failed to add watch for "/mnt/music/Pearl Jam - Rearviewmirror 1" (28: No space left on device)
Feb 07, 2021 14:58:01.890 [0x7fb7f0a0c700] ERROR - [Notify] Failed to add watch for "/mnt/music/Pearl Jam - Rearviewmirror 1/Backspacer (2009)" (28: No space left on device)
Feb 07, 2021 14:58:01.899 [0x7fb7f0a0c700] ERROR - [Notify] Failed to add watch for "/mnt/music/Pearl Jam - Rearviewmirror 1/Binaural (2000)" (28: No space left on device)
Feb 07, 2021 14:58:01.904 [0x7fb7f0a0c700] ERROR - [Notify] Failed to add watch for "/mnt/music/Pearl Jam - Rearviewmirror 1/No Code (1996)" (28: No space left on device)
Feb 07, 2021 14:58:01.913 [0x7fb7f0a0c700] ERROR - [Notify] Failed to add watch for "/mnt/music/Pearl Jam - Rearviewmirror 1/Pearl Jam (2006)" (28: No space left on device)
Feb 07, 2021 14:58:01.914 [0x7fb7f0a0c700] ERROR - [Notify] Failed to add watch for "/mnt/music/Pearl Jam - Rearviewmirror 1/Riot Act (2002)" (28: No space left on device)
Feb 07, 2021 14:58:01.916 [0x7fb7f0a0c700] ERROR - [Notify] Failed to add watch for "/mnt/music/Pearl Jam - Rearviewmirror 1/Ten (1991)" (28: No space left on device)
Feb 07, 2021 14:58:01.932 [0x7fb7f0a0c700] ERROR - [Notify] Failed to add watch for "/mnt/music/Pearl Jam - Rearviewmirror 1/Vitalogy (1994)" (28: No space left on device)

The procedure to remedy this is:

Thank you, ChuckPA, I could kiss you XX (Fear not, I am a happily married)

I set the fs.inotify.max_user_watches to 65536, It had 12,648 directories already, so I figured it would future proof it :slight_smile:

Have a great evening

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