# Plex for Raspberry Pi issues - Cannot find content

**URL:** <https://forums.plex.tv/t/plex-for-raspberry-pi-issues-cannot-find-content/779225>\
**Category:** Plex Media Server\
**Tags:** server-linux, server-linux-arm\
**Created:** [March 4, 2022, 1:34am UTC](https://forums.plex.tv/t/plex-for-raspberry-pi-issues-cannot-find-content/779225 "2022-03-04T01:34:14Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![mercuryrsng](https://avatars.discourse-cdn.com/v4/letter/m/d2c977/32.png) [@mercuryrsng](https://forums.plex.tv/u/mercuryrsng)\
**Post date:** [March 4, 2022, 1:34am UTC](https://forums.plex.tv/t/plex-for-raspberry-pi-issues-cannot-find-content/779225/1 "2022-03-04T01:34:14Z")

</div>

Server Version#: 4.69.1  
Player Version#:

Hi all. So I have set up Plex on a couple of Raspberry Pi’s for some people but with this recent install, I am having a hell of a time with a particular folder. I have followed typical guides on PiMyLlifeUp have always had success, but I am stuck today.

I have permanently mounted the external hard drive using a process outlined here:

[https://forums.plex.tv/t/using-ext-ntfs-or-other-format-drives-internal-or-external-on-linux/198544](https://forums.plex.tv/t/using-ext-ntfs-or-other-format-drives-internal-or-external-on-linux/198544)  
I have used this method a couple of times and never have had an issue.

I have two folders in question. One for TV Shows and one for Movies. They are both sub folders within a USB hard drive’s root folder. There is no difference between these folders other than the content. When I create a TV Show library and add the TV Shows folder, the content adds fine. I should make a mention that when I am adding this folder to my Plex library, I can see all of the sub folders. Every TV show that I have in there is contained within their own named folders and Plex sees them.

When I attempt to create the Movies library and choose the Movies folder, not only do I not see any sub folders but there is also no content in Plex after I do so. It’s as if it cannot read anything in this folder. But, when I mounted and set permissions, I set them for the entire hard drive folder system from the top down.

As a side note, if I were to add the root folder of the external hard drive to any library type, it finds EVERYTHING. This is only happening when I am adding the Movies folder. This is very frustrating.

Can anyone help me?

---

<div class="post-metadata">

**Author:** ![Blytsplyk](https://avatars.discourse-cdn.com/v4/letter/b/0ea827/32.png) [@Blytsplyk](https://forums.plex.tv/u/Blytsplyk)\
**Post date:** [March 4, 2022, 5:24pm UTC](https://forums.plex.tv/t/plex-for-raspberry-pi-issues-cannot-find-content/779225/2 "2022-03-04T17:24:51Z")

</div>

You can fully open up permissions by running the following commands as root:

1. find /starting\_dir -type d -exec chmod 777 {} ;
2. find /starting\_dir -type f -exec chmod 644 {} ;

That ‘should’ allow plex to read everything but not necessarily manage it (because the ownership may be different and we did not assign write permissions to ‘group’ or ‘other’)

If you want plex to be able to manage your library (i.e. recordings, file deletions, etc.), as root:

find /starting\_dir -exec chown plex:plex {} ;

Note: The curly braces and backslash-semicolon are required. They are positional place holders and end of line markers, respectively.

Personally, in keeping with my paranoid nature, I keep my ‘main’ libraries under different ownership and do not set the group or other write permissions.

---

<div class="post-metadata">

**Author:** ![mercuryrsng](https://avatars.discourse-cdn.com/v4/letter/m/d2c977/32.png) [@mercuryrsng](https://forums.plex.tv/u/mercuryrsng)\
**Post date:** [March 5, 2022, 5:13pm UTC](https://forums.plex.tv/t/plex-for-raspberry-pi-issues-cannot-find-content/779225/3 "2022-03-05T17:13:37Z")

</div>

Thank you for the response.  
I am making an assumption that ‘/starting\_dir’ is the name of the folder that I want to open up permissions with? In my case, I used ‘/mnt’ because that is the name of my folder where my Plex data is in.

When I run the first command, I get this error message (with all of the text so you can see my entry):

```auto
pi@raspberrypi:~ $ sudo sh
# find /mnt -type d -exec chmod 777 {};
find: missing argument to `-exec'

```

---

<div class="post-metadata">

**Author:** ![ChuckPa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/chuckpa/32/79710_2.png) [@ChuckPa](https://forums.plex.tv/u/ChuckPa)\
**Post date:** [March 5, 2022, 5:50pm UTC](https://forums.plex.tv/t/plex-for-raspberry-pi-issues-cannot-find-content/779225/4 "2022-03-05T17:50:06Z")

</div>

```auto
find /mnt -type d -exec chmod 777 {}\;

```

You need to escape the `;` so it is passed into `find`.

Before going hog-wild, and turning off all permissions (which should never be necessary on Linux)

1. unmount the drive
2. Make sure `/mnt/hdd_name` (or any mount point) is `755` permissions.
3. Now mount again and check its root dir for ‘755’.

---

<div class="post-metadata">

**Author:** ![mercuryrsng](https://avatars.discourse-cdn.com/v4/letter/m/d2c977/32.png) [@mercuryrsng](https://forums.plex.tv/u/mercuryrsng)\
**Post date:** [March 5, 2022, 6:42pm UTC](https://forums.plex.tv/t/plex-for-raspberry-pi-issues-cannot-find-content/779225/5 "2022-03-05T18:42:44Z")

</div>

Thanks.

Sorry, but can you give me some simple instructions for all of that?

You’re dealing with a pretty serious noob here who mostly follows steps in coding this stuff but has mo clue what he’s doing. lol.

---

<div class="post-metadata">

**Author:** ![ChuckPa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/chuckpa/32/79710_2.png) [@ChuckPa](https://forums.plex.tv/u/ChuckPa)\
**Post date:** [March 5, 2022, 6:57pm UTC](https://forums.plex.tv/t/plex-for-raspberry-pi-issues-cannot-find-content/779225/6 "2022-03-05T18:57:49Z")

</div>

Having used my procedure above,

the first and obvious question –

What’s different this time?  
(sometimes , undoing it and then re-applying the steps in sequence , we will catch what we missed )

---

<div class="post-metadata">

**Author:** ![mercuryrsng](https://avatars.discourse-cdn.com/v4/letter/m/d2c977/32.png) [@mercuryrsng](https://forums.plex.tv/u/mercuryrsng)\
**Post date:** [March 5, 2022, 8:54pm UTC](https://forums.plex.tv/t/plex-for-raspberry-pi-issues-cannot-find-content/779225/7 "2022-03-05T20:54:15Z")

</div>

I thought your ‘hogwild’ comment was related to the ‘find’ command.  
So, I ran the ‘find’ command and still get the same error.

```auto
pi@raspberrypi:~ $ sudo sh
# find /mnt -type d -exec chmod 777 {}\;
find: missing argument to `-exec'

```

Also, if you want me to unmount the drive and make sure the 755 permissions are there, I will need instructions on how to do it. I know how to unmount and mount the drive but the rest, I am unsure of.

---

<div class="post-metadata">

**Author:** ![ChuckPa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/chuckpa/32/79710_2.png) [@ChuckPa](https://forums.plex.tv/u/ChuckPa)\
**Post date:** [March 5, 2022, 9:15pm UTC](https://forums.plex.tv/t/plex-for-raspberry-pi-issues-cannot-find-content/779225/8 "2022-03-05T21:15:21Z")

</div>

```auto
[chuck@glockner ~.1999]$ find /mnt2 -type d -exec chmod 777 {} \;
chmod: changing permissions of '/mnt2': Operation not permitted
[chuck@glockner ~.2000]$ 

```

Did you forget the space after `{}` ?

I’m sorry. You’re using linux, have a drive mounted on `/mnt` ?  
Where did those instructions come from?

---

<div class="post-metadata">

**Author:** ![mercuryrsng](https://avatars.discourse-cdn.com/v4/letter/m/d2c977/32.png) [@mercuryrsng](https://forums.plex.tv/u/mercuryrsng)\
**Post date:** [March 5, 2022, 9:40pm UTC](https://forums.plex.tv/t/plex-for-raspberry-pi-issues-cannot-find-content/779225/9 "2022-03-05T21:40:10Z")

</div>

I just copied and pasted exactly what you put up there…LOL. There was no space in there.  
I used your instructions in the link in my first post (I will re-link it at the end of this response). I just happened to name my drive `/mnt` where you had named yours `/usb/c`.

The command seems to have worked now. Here’s a sample of one of that lines of code that printed.

`chmod: changing permissions of '/mnt/usb1/TV Shows/Looney Tunes Golden Collection/Looney Tunes Season 3': Read-only file system`

However, I tried the Plex app again and it still cannot see subfolders in the Movies folder…It can only see them in the TV Shows folder.

Link to previously mentioned post:

> [@Using EXT, NTFS, or other format drives (internal or external) on Linux](https://forums.plex.tv/t/using-ext-ntfs-or-other-format-drives-internal-or-external-on-linux/198544):
>
> This document is of primary interest to anyone who has connected USB drives or has media on other internal drives but user plex can’t access it due to Linux’s default security mechanisms. WARNING: This procedure will not work for SNAP, Docker or other container mechanisms unless expressly handled within the confines of the container. This procedure is intended for use with the dpkg package. We will walk through the steps needed to add these external USB hard drives and internal hard drives…

---

<div class="post-metadata">

**Author:** ![ChuckPa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/chuckpa/32/79710_2.png) [@ChuckPa](https://forums.plex.tv/u/ChuckPa)\
**Post date:** [March 5, 2022, 10:18pm UTC](https://forums.plex.tv/t/plex-for-raspberry-pi-issues-cannot-find-content/779225/10 "2022-03-05T22:18:36Z")

</div>

What is this telling you?

```auto
chmod: changing permissions of '/mnt/usb1/TV Shows/Looney Tunes Golden Collection/Looney Tunes Season 3': Read-only file system

```

FYI: chmod doesn’t usually print out anything _ **UNLESS** _ there is an error.

It’s saying it’s `read only’.

Now it’s time to learn some Linux skills.

Go look at Section C of my How-To.

Can you spot the difference in /etc/fstab between read-only and read-write ?

---

<div class="post-metadata">

**Author:** ![mercuryrsng](https://avatars.discourse-cdn.com/v4/letter/m/d2c977/32.png) [@mercuryrsng](https://forums.plex.tv/u/mercuryrsng)\
**Post date:** [March 5, 2022, 10:27pm UTC](https://forums.plex.tv/t/plex-for-raspberry-pi-issues-cannot-find-content/779225/11 "2022-03-05T22:27:37Z")

</div>

Did you mean section D where I edited the actual fstab file?

My. command in the fstab file is already rw, not ro.

`UUID=401b2c86-acf9-3c30-8e5f-b2131d510b02 /mnt/usb1 hfsplus defaults,auto,force,rw,nofail 0 1`

---

<div class="post-metadata">

**Author:** ![ChuckPa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/chuckpa/32/79710_2.png) [@ChuckPa](https://forums.plex.tv/u/ChuckPa)\
**Post date:** [March 5, 2022, 11:01pm UTC](https://forums.plex.tv/t/plex-for-raspberry-pi-issues-cannot-find-content/779225/12 "2022-03-05T23:01:11Z")

</div>

If you it manually

```auto
sudo mount /mnt/usb1
mount | grep usb1

```

does it show R/W or Read-Only ?

---

<div class="post-metadata">

**Author:** ![mercuryrsng](https://avatars.discourse-cdn.com/v4/letter/m/d2c977/32.png) [@mercuryrsng](https://forums.plex.tv/u/mercuryrsng)\
**Post date:** [March 5, 2022, 11:36pm UTC](https://forums.plex.tv/t/plex-for-raspberry-pi-issues-cannot-find-content/779225/13 "2022-03-05T23:36:53Z")

</div>

Looks like Read-Only.

```auto
pi@raspberrypi:~ $ sudo mount /mnt/usb1
mount: /mnt/usb1: /dev/sda2 already mounted on /mnt/usb1.
pi@raspberrypi:~ $ mount |grep usb1
/dev/sda2 on /mnt/usb1 type hfsplus (ro,relatime,umask=22,uid=0,gid=0,nls=utf8)

```

---

<div class="post-metadata">

**Author:** ![ChuckPa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/chuckpa/32/79710_2.png) [@ChuckPa](https://forums.plex.tv/u/ChuckPa)\
**Post date:** [March 6, 2022, 1:31am UTC](https://forums.plex.tv/t/plex-for-raspberry-pi-issues-cannot-find-content/779225/14 "2022-03-06T01:31:05Z")

</div>

I don’t know why it’s not mounting that MacOS drive R/W.  
The kernel supports R/W

It’s no a read-only media is it? (a r/w switch on the enclosure ?)

---

<div class="post-metadata">

**Author:** ![mercuryrsng](https://avatars.discourse-cdn.com/v4/letter/m/d2c977/32.png) [@mercuryrsng](https://forums.plex.tv/u/mercuryrsng)\
**Post date:** [March 6, 2022, 2:13am UTC](https://forums.plex.tv/t/plex-for-raspberry-pi-issues-cannot-find-content/779225/15 "2022-03-06T02:13:11Z")

</div>

It is definitely not a read-only media. The odd thing is that this was the hard drive being used on a previous Plex Server that was running on a Mac. I never had any problems with it.  
Is it possible that HFS Plus formatting could be the issue?

This is what the hard drive is:

> **[Best Buy: WD easystore 4TB External USB 3.0 Hard Drive Black WDBCKA0040HBK-NESN](https://www.bestbuy.com/site/wd-easystore-4tb-external-usb-3-0-hard-drive-black/5792400.p?skuId=5792400)**
>
> Shop WD easystore 4TB External USB 3.0 Hard Drive Black at Best Buy. Find low everyday prices and buy online for delivery or in-store pick-up. Price Match Guarantee.

---

<div class="post-metadata">

**Author:** ![BobSnot](https://avatars.discourse-cdn.com/v4/letter/b/94ad74/32.png) [@BobSnot](https://forums.plex.tv/u/BobSnot)\
**Post date:** [March 6, 2022, 3:01am UTC](https://forums.plex.tv/t/plex-for-raspberry-pi-issues-cannot-find-content/779225/16 "2022-03-06T03:01:49Z")

</div>

Linux can’t write to HFS Plus drives that have journaling enabled. It is has journaling enabled, you need to connect it back to a MacOS machine, modify the filesystem to disable journaling and then it should be good to go on linux.

You can try and force it through a remount, e.g. → sudo mount -o remount,rw,force /dev/sda2 but you might also toast it.

---

<div class="post-metadata">

**Author:** ![mercuryrsng](https://avatars.discourse-cdn.com/v4/letter/m/d2c977/32.png) [@mercuryrsng](https://forums.plex.tv/u/mercuryrsng)\
**Post date:** [March 6, 2022, 3:10am UTC](https://forums.plex.tv/t/plex-for-raspberry-pi-issues-cannot-find-content/779225/17 "2022-03-06T03:10:06Z")

</div>

I definitely don’t want to toast it…thanks for the info.

---

<div class="post-metadata">

**Author:** ![ChuckPa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/chuckpa/32/79710_2.png) [@ChuckPa](https://forums.plex.tv/u/ChuckPa)\
**Post date:** [March 6, 2022, 3:21am UTC](https://forums.plex.tv/t/plex-for-raspberry-pi-issues-cannot-find-content/779225/18 "2022-03-06T03:21:22Z")

</div>

@BobSnot

Thanks for the info.

Someday , I need to get a mac.

---

<div class="post-metadata">

**Author:** ![mercuryrsng](https://avatars.discourse-cdn.com/v4/letter/m/d2c977/32.png) [@mercuryrsng](https://forums.plex.tv/u/mercuryrsng)\
**Post date:** [March 6, 2022, 3:27am UTC](https://forums.plex.tv/t/plex-for-raspberry-pi-issues-cannot-find-content/779225/19 "2022-03-06T03:27:27Z")

</div>

It sure would increase your knowledge base…

---

<div class="post-metadata">

**Author:** ![ChuckPa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/chuckpa/32/79710_2.png) [@ChuckPa](https://forums.plex.tv/u/ChuckPa)\
**Post date:** [March 6, 2022, 3:44am UTC](https://forums.plex.tv/t/plex-for-raspberry-pi-issues-cannot-find-content/779225/20 "2022-03-06T03:44:34Z")

</div>

but WHY? 🤣

_ps: I just got a mac-mini that I’ve not setup yet. Lots to learn_

[Next page](https://forums.plex.tv/t/plex-for-raspberry-pi-issues-cannot-find-content/779225.md?page=2)
