Unable to add music

Server Version#: 1.27.0.5849-99e933842
Player Version#: Plex Web 4.82.1

This is probably going to be another thread here that just gets completely ignored and I never get any resolution to, but here goes…

I created a brand new empty Music library with the default settings and a single folder “/data/Music”. The folder and all files are readable by the Plex process. When I tell Plex to scan the folder for new files, it DOES see the files in the scanner logs, but never adds them actually in to Plex.

If I try to use Scanner: Plex Music Scanner instead of Scanner: Plex Music, it will actually add the files, but no album art gets loaded. Not to mention it immediately asks me to "Upgrade to the new Plex Music scanner!

plex-music-fail.txt (64.2 KB)

For linux, my first go-to is to make sure your permissions are correct.
Linux Permissions Guide | Plex Support

The Plex process is running as 1000:1000 and I’ve set all dirs to 775 and files to 664 by running the following commands:

find /data/Music -exec chown 1000:1000 {} ;
find /data/Music -type d -exec chmod 775 {} ;
find /data/Music -type f -exec chmod 664 {} ;

/data is also owned by 1000:1000 and is 775

Would it be possible to see the entire ZIP file?

The rest of the work for matching and adding will be contained in the agents’ logs.

Ok, so in attempting to download the zip file, I was receiving a 500 Internal Server Error. Looking at the web console, it said basically it couldn’t write to /tmp. I fixed the /tmp folder permissions and that let me add music to my library! Crazy that there were no errors related to that in the logs for actually adding the music =\

1 Like

Well, phooey. I was just about to post a genius next step that had absolutely nothing to do with that. :slight_smile:

Glad you found the problem.

I think this actually fixes the other issue I’ve been having for years now too. Roku Ultra fails at 13% for some movies

Thanks for the quick responses. Might be a good idea to add info about checking /tmp to the permissions guide.

The OS sets the permissions to 777 by default when the kernel boots. (All users can write to /tmp)

Do you have something which might modify that?

I’m running plex in the container and I mount a different folder to my containers tmp path. I’ve had issues with other containers filling up my host systems space so I isolate them all now.

When you use containers, it makes sense that you need to be certain all permissions, especially where /tmp gets mapped, has permission as the container UID:GID.

That’s just one of the caveats. (lots of little details)

Oh ya, I’m well aware of limitations of containers and this did work a one point years ago so I’m not sure when or what changed it. The hard part here is just that there were no relevant errors to track down, if the zip process didn’t produce the error it did, I may never have figured it out

Also, it looks like it was NOT the solution to my other problem unfortunately :frowning: Roku Ultra fails at 13% for some movies

Any advice on how to go about fixing my movies getting stuck on 13%? Is there a collection of video files I can use to determine codec incompatibilities maybe?

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