I should have said new “Plex Music Library” (in the Plex server settings). But you can also try to “Scan Library Files”. I just thought with only 6 albums scanned at the moment, it does not hurt to remove your existing Plex Music Library and start with a clean new one.
What I have seen in your logs indicates PMS is able to see / access your files but is just unable to process the files correctly. Your above ls outputs also indicate any Linux user should be allowed to at least read all files on your drive.
Your PMS runs as Linux user plex so only focus on what plex can see. A simple test to verify the access of Linux user plex to your files is to open a shell as user plex with sudo -u plex /usr/bin/bash. In this command prompt you are now plex. Just navigate to any album you do not see in Plex wit cd and try to access any mp3 with file <insert here the filename of any mp3>. file is just a small tool to identify the file type of any file.
I’ve removed the Music folder and reset it in Plex. It is scanning but still seems to be only recognizing the same six albums.
When I open a shell as plex, and use cd for the album we checked above, I get:
plex@ravenclaw:/mnt/pmsmedia/music/Mattias Martinson/Hela Universum Tillber Dig$ ls
‘01 Att Få Se Dig.mp3’ ‘08 Jesus Fyll Oss.mp3’
‘02 VI Har En Gud Och Fader.mp3’ ‘09 Helig Är Du Gud.mp3’
‘03 Gud Du Är Min Gud.mp3’ ‘10 Gud Och Ingen Annan.mp3’
‘04 Vill Du Vandra Med Mig Varje Dag.mp3’ ‘11 Det Är Du.mp3’
‘05 Hela Universum Tillber Dig.mp3’ ‘12 Ödmjukhetens Konung.mp3’
‘06 Du Är Gud.mp3’ ‘13 Du Bär På Något Som Berör Mig.mp3’
‘07 Tacksam.mp3’
For the “file” command, I get this. Is it the expected outcome?
/mnt/pmsmedia/music/Mattias Martinson/Hela Universum Tillber Dig/01 Att Få Se Dig.mp3: data
Definitively not This file is 100% not an mp3. Probably encrypted or with DRM? Where did you get the files from? At least now we know why Plex is unable to index your files
Either something went wrong during the file transfer or the files still use the old DRM format of iTunes. But the files would have to be extremely old.
You can also utilize the file command on your Mac and it will probably tell you something more than just “data”.
When I try it with a newer file (done about 2 weeks ago) - “/mnt/pmsmedia/music/The Miles Davis Quintet" - it just opens up a “>” command line. I’ve tried it using the ls -ahl while in “pi” and the file or cd while in as “plex”
I am not completely sure what you are talking about but I assume you want to share /mnt/pmsmedia with your Mac. Please read Sharing a folder for use by Windows in the following document. I suspect you already have a [share] entry in your samba config, so use another name for your new share. I do not like the public=yes setting in the guide, but you can add a login at a later time. Your new entry could look like this:
[pmsmedia]
path = /mnt/pmsmedia
read only = no
public = yes
writable = yes
Do not forget to restart your samba server: sudo systemctl restart smbd
Shared drive update:
When logged in as “guest,” I can see pmsmedia on my shared folders from my MacOS. And the sub folders and their contents.
But I can’t change anything.
When I log in at “pi,” I can see the pmsmedia folder. But nothing in it shows. At all.
Is it something in the smb.config? Here’s what I used
[pmsmedia]]
Comment = plex media
path=/mnt/pmsmedia
browsable=yes
writeable=yes
only guest=no
public=no
writable=yes
create mask=0777
director mask=0777
guest ok = yes