Can't upload posters to Linux PLEX server, permissions issue?

Server Version#: 1.32.6.7557
Player Version#: 1.79.1.3984-879339ed

Hello,

I am running PLEX on Ubuntu Linux and would like to be able to upload custom posters for TV series / episodes.

When I try to upload a poster, I get a message “there was an error uploading this artwork.”

Of note, I have also tried using local media assets to solve this problem and can’t get PLEX to recognize them despite following all the naming conventions laid out on the site.

I pasted the relevant log output below. It seems like permission is being denied to create the necessary .bundle file. I’m not sure how to fix this, can anybody help?

Thanks in advance for any insights you can provide.

LOG:

Oct 12, 2023 15:40:04.328 [140062806887224] DEBUG - Request: [192.168.1.77:50689 (Subnet)] POST /library/metadata/35394/posters (3 live) #63914 TLS GZIP Signed-in Token (devon.s1) (GORGOROTH)
Oct 12, 2023 15:40:04.330 [140062806887224] DEBUG - [Req#63914] Got a media asset upload with 328753 bytes.
Oct 12, 2023 15:40:04.342 [140062806887224] ERROR - Got exception from request handler: boost::filesystem::create_directories: Permission denied [system:13]: “/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Metadata/TV Shows/9/933a6e51ba22bda18f1f9db8e02fc0fb46a3859.bundle/Uploads/posters/seasons/1/episodes/57”, “/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Metadata/TV Shows/9/933a6e51ba22bda18f1f9db8e02fc0fb46a3859.bundle”
Oct 12, 2023 15:40:04.342 [140063012764472] DEBUG - Completed: [192.168.1.77:50689] 500 POST /library/metadata/35394/posters (3 live) #63914 TLS GZIP 13ms 405 bytes (pipelined: 5)

If you’re using the default plex username (ls -la /var/lib/plexmediaserver will show you)

Assuming PMS runs as plex:plex

sudo bash
cd /var/lib/plexmediaserver
chown -R plex:plex . &
find . -type d -exec chmod 755 {} \; &
find . -type f -exec chmod 644 {} \; &
wait

When the prompt returns, restart PMS and try again.

It worked! Thank you so much :slight_smile:

@devon_s1

Be careful in the future.

Something / someone got into your /var/lib/plexmediaserver and broke ownership / permissions.

Given the main problem is now fixed, I suggest ‘refresh metadata’ to fix anything else broken along the way

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