# I get error on makeing my library

**URL:** <https://forums.plex.tv/t/i-get-error-on-makeing-my-library/432378>\
**Category:** Metadata & Adding Files\
**Tags:** server-linux\
**Created:** [July 12, 2019, 5:13am UTC](https://forums.plex.tv/t/i-get-error-on-makeing-my-library/432378 "2019-07-12T05:13:07Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![Shaorin](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/shaorin/32/17046_2.png) [@Shaorin](https://forums.plex.tv/u/Shaorin)\
**Post date:** [July 12, 2019, 5:13am UTC](https://forums.plex.tv/t/i-get-error-on-makeing-my-library/432378/1 "2019-07-12T05:13:07Z")

</div>

i did isntall the leastest version  
plexmediaserver-1.16.1.1291-158e5b199.x86\_64.rpm

hey im running openSUSE and when i try to make my library i get this:  
There was an unexpected error loading this library.  
what can i do to fix this?

---

<div class="post-metadata">

**Author:** ![tom80H](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/tom80h/32/19753_2.png) [@tom80H](https://forums.plex.tv/u/tom80H)\
**Post date:** [July 12, 2019, 5:25am UTC](https://forums.plex.tv/t/i-get-error-on-makeing-my-library/432378/2 "2019-07-12T05:25:42Z")

</div>

At what particular step of the library creation does this error happen?  
Does it happen whenever you try to create a library or e.g. only for specific settings/parameters (e.g. working for movie libraries but not music libraries, not working with certain folders…)?

---

<div class="post-metadata">

**Author:** ![Shaorin](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/shaorin/32/17046_2.png) [@Shaorin](https://forums.plex.tv/u/Shaorin)\
**Post date:** [July 12, 2019, 5:28am UTC](https://forums.plex.tv/t/i-get-error-on-makeing-my-library/432378/3 "2019-07-12T05:28:18Z")

</div>

i can made the lib and set it to my solder- then when i press done. i just see that error.  
/home/usr/Videos/ like this path

---

<div class="post-metadata">

**Author:** ![Shaorin](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/shaorin/32/17046_2.png) [@Shaorin](https://forums.plex.tv/u/Shaorin)\
**Post date:** [July 12, 2019, 5:30am UTC](https://forums.plex.tv/t/i-get-error-on-makeing-my-library/432378/4 "2019-07-12T05:30:04Z")

</div>

im sue the TV-show thing. for i only use plex for that thing not music or movies or anything like that

---

<div class="post-metadata">

**Author:** ![tom80H](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/tom80h/32/19753_2.png) [@tom80H](https://forums.plex.tv/u/tom80H)\
**Post date:** [July 12, 2019, 5:42am UTC](https://forums.plex.tv/t/i-get-error-on-makeing-my-library/432378/5 "2019-07-12T05:42:47Z")

</div>

I’m not 100% sure but this could be related to the folder you’re using. From what I understand, `/home/usr/` refers to YOUR personal account‘s home directory.  
On Linux, Plex is running under its own user (user `plex` / group `plex`). As that’s however not a „human“ user, I don’t think it even has a home directory… even if it does, it’s different from the directory you’re pointing to.

Can you try creating the library with a different directory (e.g. moving your movies to a new directory `/plexmedia/Videos/`). If it’s working but showing an empty library you might need to fix permissions to the folder structure so the plex user has read access,

---

<div class="post-metadata">

**Author:** ![Shaorin](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/shaorin/32/17046_2.png) [@Shaorin](https://forums.plex.tv/u/Shaorin)\
**Post date:** [July 12, 2019, 5:48am UTC](https://forums.plex.tv/t/i-get-error-on-makeing-my-library/432378/6 "2019-07-12T05:48:30Z")

</div>

> [@tom80H](#):
>
> /plexmedia/

hmm. its in here?  
/var/lib/plexmediaserver/  
for if there i can do anything…  
`/plexmedia/Videos/` ( `/plexmedia/) dont exsits.

sorry im still new to linux in trying it out to see if it can work for me^^  
if so im not allowed to do anything here.

---

<div class="post-metadata">

**Author:** ![Shaorin](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/shaorin/32/17046_2.png) [@Shaorin](https://forums.plex.tv/u/Shaorin)\
**Post date:** [July 12, 2019, 6:06am UTC](https://forums.plex.tv/t/i-get-error-on-makeing-my-library/432378/7 "2019-07-12T06:06:42Z")

</div>

i did try to go up to / but im nto allowed to create anything in there

---

<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:** [July 12, 2019, 6:10am UTC](https://forums.plex.tv/t/i-get-error-on-makeing-my-library/432378/8 "2019-07-12T06:10:02Z")

</div>

May I make some suggestions?

1. type: **sudo mkdir /home/plexmedia**
2. Now, using whatever your Linux username is, we will give that username ownership of **/home/plexmedia**
3. As example: my username is **chuck** , so I now set Linux permissions such that I don’t need the **sudo** command all the time **plus** I can use the graphical interface. I do this by typing **sudo chown chuck:chuck /home/plexmedia**
4. Now I’m free , using my normal signed-in desktop username, to create folders and put media there.
5. Examples for testing would be to create a **movies** and **tv** folders
6. To add them to Plex,  
a. A movie library section would point to **/home/plexmedia/movies**  
b. A TV library section would point to **/home/plexmedia/tv**

does this help a bit ?

---

<div class="post-metadata">

**Author:** ![Shaorin](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/shaorin/32/17046_2.png) [@Shaorin](https://forums.plex.tv/u/Shaorin)\
**Post date:** [July 12, 2019, 6:15am UTC](https://forums.plex.tv/t/i-get-error-on-makeing-my-library/432378/9 "2019-07-12T06:15:11Z")

</div>

i will give it a try.

---

<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:** [July 12, 2019, 6:18am UTC](https://forums.plex.tv/t/i-get-error-on-makeing-my-library/432378/10 "2019-07-12T06:18:44Z")

</div>

If, after you’ve pointed Plex at those two folders (movies and tv), it can’t see anything but you can, we will need to adjust the permissions a little more.

That’s easy

We fix the folders (directories in Linux)  
`sudo find /home/plexmedia -type d -exec chmod 755 {} \;`

We fix the files (this one time only)  
`sudo find /home/plexmedia -type f -exec chmod 644 {} \;`

---

<div class="post-metadata">

**Author:** ![Shaorin](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/shaorin/32/17046_2.png) [@Shaorin](https://forums.plex.tv/u/Shaorin)\
**Post date:** [July 12, 2019, 6:23am UTC](https://forums.plex.tv/t/i-get-error-on-makeing-my-library/432378/11 "2019-07-12T06:23:27Z")

</div>

i cant see my folder i did make…so i cant move anything… im supposed to use it inside of plex or what?

---

<div class="post-metadata">

**Author:** ![Shaorin](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/shaorin/32/17046_2.png) [@Shaorin](https://forums.plex.tv/u/Shaorin)\
**Post date:** [July 12, 2019, 6:41am UTC](https://forums.plex.tv/t/i-get-error-on-makeing-my-library/432378/13 "2019-07-12T06:41:26Z")

</div>

ok well first of. guess you did not look at my top post^^ im usneing OpenSUSE for its supported and arch was not  
i did get into that folder that way you told me  
[https://i.imgur.com/nGbVsyd.png](https://i.imgur.com/nGbVsyd.png)

and i was able to make a dir there i did move me file in there but i still get same error

[my error](https://imgur.com/delete/VS4vQLpbVjVzKEC)

---

<div class="post-metadata">

**Author:** ![Shaorin](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/shaorin/32/17046_2.png) [@Shaorin](https://forums.plex.tv/u/Shaorin)\
**Post date:** [July 12, 2019, 6:42am UTC](https://forums.plex.tv/t/i-get-error-on-makeing-my-library/432378/14 "2019-07-12T06:42:36Z")

</div>

i still have my stuff on a NTFs partition due to i have nto switched fulltime im still trying it. and i did try to add that one aswell. but it dont work same error

---

<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:** [July 12, 2019, 6:46am UTC](https://forums.plex.tv/t/i-get-error-on-makeing-my-library/432378/15 "2019-07-12T06:46:22Z")

</div>

Sorry, 3am here.

This will help.

> **[Topics tagged server-linux-tips](https://forums.plex.tv/tags/server-linux-tips)**
>
> Topics tagged server-linux-tips

particularly.

> [@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:** ![Shaorin](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/shaorin/32/17046_2.png) [@Shaorin](https://forums.plex.tv/u/Shaorin)\
**Post date:** [July 12, 2019, 6:46am UTC](https://forums.plex.tv/t/i-get-error-on-makeing-my-library/432378/16 "2019-07-12T06:46:53Z")

</div>

ok i will look at it no problem man

---

<div class="post-metadata">

**Author:** ![Shaorin](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/shaorin/32/17046_2.png) [@Shaorin](https://forums.plex.tv/u/Shaorin)\
**Post date:** [July 12, 2019, 4:04pm UTC](https://forums.plex.tv/t/i-get-error-on-makeing-my-library/432378/17 "2019-07-12T16:04:19Z")

</div>

ok now i dont know if i was on wrong server or what else but not it did show up. so something of the the things you said worked. for me  
i only jsut put one thing there to try. thanks alot for the help i will save the commands for later use.  
[it works](https://imgur.com/delete/DxX6l8JR5LsEAgw)  
its under: /home/plexmedia/tv  
and i think i have to many servers, i have not done anything difrent i just did try and it just worked.  
[to many?](https://i.imgur.com/xobnG97.png)

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)\
**Post date:** [October 10, 2019, 4:04pm UTC](https://forums.plex.tv/t/i-get-error-on-makeing-my-library/432378/18 "2019-10-10T16:04:22Z")

</div>

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