If you have not already, we suggest setting your Plex username to something else rather than email which is displayed on your posts in forum. You can change the username at https://app.plex.tv/desktop#!/account
Welcome to our forums! Please take a few moments to read through our Community Guidelines (also conveniently linked in the header at the top of each page). There, you'll find guidelines on conduct, tips on getting the help you may be searching for, and more!

How to access music files on permanently mounted HDD?

Thinking of replacing Kodi if I can get Plex to work. Spent 4 hours or so trying to get Plex to load music from my permanently attached HDD. I installed Plex server on a Pi 3 today, 4/15. The HDD is used as network storage and is available to all Pi's on my network. Permissions have been set for anyone to read and/or write to the HDD. This has been working fine from the other Pi's. Plex sees the HDD but when I scan, it sees no music files (there are thousands). The HDD has an entry in fstab and mounts properly with ntfs-3g file type. I changed the Plex media server user to pi. Pi is the owner of the HDD. Hopefully I'm just missing something in the instructions but don't see what. I've looked at lots of web comments on various forums but nothing jumps out. Thanks for any help.

Answers

  • uglymagoouglymagoo Posts: 898Members, Plex Pass, Plex Ninja, TunerTester Plex Ninja

    @svmystique said:
    I changed the Plex media server user to pi. Pi is the owner of the HDD.

    How did you do this? The correct way is to customize the systemd service:

    http://forums.plex.tv/discussion/286395/customizing-your-plex-configuration

    However, changing the user to pi is not necessary at all and not recommended. Just correctly mount your NTFS drive like discussed in the below guide. The drive is readable and writeable by everyone by default.

    http://forums.plex.tv/discussion/279063/using-ext-or-ntfs-drives-internal-or-external-on-linux.

    Official instructions for Plex Media Server on the Raspberry Pi 2 and 3 / Banana Pi / ODROID / many more : armhf and arm64 Debian Repository
    My PMS hardware: RPi 2, NVIDIA Shield TV, Intel Xeon

  • svmystiquesvmystique Posts: 2Members

    The HDD is mounted and Plex sees it. But when I scan for music Plex returns no items found. The HDD is mounted and readable and writeable by everyone. I have tried both user = pi and user = plex and no difference. I therefore think there is something I am missing with respect to the scanning process. Thanks for your input and any additional suggestions.

  • uglymagoouglymagoo Posts: 898Members, Plex Pass, Plex Ninja, TunerTester Plex Ninja
    edited April 20

    It's (nearly) always a permissions problem :) Please open a bash shell with user plex and try to navigate the directories down to the actual files and also check that you can read the files. If this does work, we will shift the focus to the scanner.

    # open a shell as user plex
    sudo -u plex /bin/bash
    # try to navigate to a music directory, example given
    cd /mnt/share/music/artist1/album1/
    # try to read the file 'test.mp3'
    file test.mp3
    

    Edit: If the above experiment does work, we require the Server Logs to spot the error in the music scanner.

    https://support.plex.tv/articles/200250417-plex-media-server-log-files/

    Official instructions for Plex Media Server on the Raspberry Pi 2 and 3 / Banana Pi / ODROID / many more : armhf and arm64 Debian Repository
    My PMS hardware: RPi 2, NVIDIA Shield TV, Intel Xeon

Sign In or Register to comment.