Error code: s1001 (Network)

User plex does not need a password. It is not a login account.
This is why the account is locked.
Further, if it had a password, it would be a huge security risk.

By default, on Linux systems (especially Ubuntu), there is no password for the ‘root’ (master administrator) account. It’s locked as well.

For Plex to see your files, you must set the directory and file permissions where you are the owner and Plex can read (minimally) or read/write (to allow deletion).

If you take the example: /a/b/c/d/file.mp4

  1. Your username owns everything. This means, by default, it has full read/write permission to do what it wants.

  2. For Plex to see ‘file.mp4’, it needs the following

  • Read/execute for /a. and for /a/b, and for /a/b/c, and for /a/b/c/d
  • Read permission for file.mp4
  1. The pattern here is now becoming clear.
  • Directories need read+execute (execute allows us to traverse into deeper)
  • Files need read
  1. The final commands which make this happen are:
find /a -type d -exec chmod 755 {}\;
find /a -type f -exec chmod 644 {} \;

755 = RWXR-XR-X (you get RWX, everyone else gets R-X, which good)
644 = RW-R–R— (you get RW, everyone else gets Read-only, which is our goal)

In actual use, here’s an example:

[chuck@lizum tv.2014]$ ls -la Babylon\ 5/Season\ 01
total 71662148
drwxr-xr-x 2 chuck chuck       4096 Aug 19  2023 ./
drwxr-xr-x 7 chuck chuck        115 Aug 19  2023 ../
-rw-r--r-- 1 chuck chuck 3310435531 Aug 19  2023 Babylon 5 - S01E01 - Midnight on the Firing Line.mkv
-rw-r--r-- 1 chuck chuck 3326924802 Aug 19  2023 Babylon 5 - S01E02 - Soul Hunter.mkv
-rw-r--r-- 1 chuck chuck 3352174652 Aug 19  2023 Babylon 5 - S01E03 - Born to the Purple.mkv
-rw-r--r-- 1 chuck chuck 3330618683 Aug 19  2023 Babylon 5 - S01E04 - Infection.mkv
-rw-r--r-- 1 chuck chuck 3347386027 Aug 19  2023 Babylon 5 - S01E05 - The Parliament of Dreams.mkv
-rw-r--r-- 1 chuck chuck 3313216573 Aug 19  2023 Babylon 5 - S01E06 - Mind War.mkv
-rw-r--r-- 1 chuck chuck 3326995890 Aug 19  2023 Babylon 5 - S01E07 - The War Prayer.mkv
-rw-r--r-- 1 chuck chuck 3312887757 Aug 19  2023 Babylon 5 - S01E08 - And the Sky Full of Stars.mkv
-rw-r--r-- 1 chuck chuck 3808252188 Aug 19  2023 Babylon 5 - S01E09 - Deathwalker.mkv
-rw-r--r-- 1 chuck chuck 3336838839 Aug 19  2023 Babylon 5 - S01E10 - Believers.mkv
-rw-r--r-- 1 chuck chuck 3328618899 Aug 19  2023 Babylon 5 - S01E11 - Survivors.mkv
-rw-r--r-- 1 chuck chuck 3275193793 Aug 19  2023 Babylon 5 - S01E12 - By Any Means Necessary.mkv
-rw-r--r-- 1 chuck chuck 3335233429 Aug 19  2023 Babylon 5 - S01E13 - Signs and Portents.mkv
-rw-r--r-- 1 chuck chuck 3421355136 Aug 19  2023 Babylon 5 - S01E14 - TKO.mkv
-rw-r--r-- 1 chuck chuck 3346559126 Aug 19  2023 Babylon 5 - S01E15 - Grail.mkv
-rw-r--r-- 1 chuck chuck 3327362395 Aug 19  2023 Babylon 5 - S01E16 - Eyes.mkv
-rw-r--r-- 1 chuck chuck 3326555004 Aug 19  2023 Babylon 5 - S01E17 - Legacies.mkv
-rw-r--r-- 1 chuck chuck 3235858573 Aug 19  2023 Babylon 5 - S01E18 - A Voice in the Wilderness (1).mkv
-rw-r--r-- 1 chuck chuck 3284331477 Aug 19  2023 Babylon 5 - S01E19 - A Voice in the Wilderness (2).mkv
-rw-r--r-- 1 chuck chuck 3084137576 Aug 19  2023 Babylon 5 - S01E20 - Babylon Squared.mkv
-rw-r--r-- 1 chuck chuck 3315754779 Aug 19  2023 Babylon 5 - S01E21 - The Quality of Mercy.mkv
-rw-r--r-- 1 chuck chuck 3335302632 Aug 19  2023 Babylon 5 - S01E22 - Chrysalis.mkv
[chuck@lizum tv.2015]$ 

The cause of the s1001 error usually comes from something else.

Seeing your server debug log files ZIP, captured right after it happens, will help pinpoint where it is and what correction(s) need to be made.

If you want a little script I wrote to help track down permission problems, you can find it here: