However, when I’m adding a friend to my Plex server and I’m in the spot where I can select which libraries they have access to, I see TWO YouTube libraries:
???
Moderator Edit: Personal email information removed as it’s not needed.
In case it helps, over the past few months, I was running my server under Mint… moved it to Antergos then moved it back to Mint (restoring the database each time). I always used the same server name.
This YouTube library, I had it for a while then deleted it and added it back with different media inside it.
The friend I recently added, this was the first time I’ve ever invited them to my Plex server.
If I carry out those steps, will it make the server go off-line for any amount of time or will I have to add all the users back or will anything drastic happen or are all those steps harmless and none of my invited friends will notice any impact?
FWIW, that ‘YouTube’ library is only view-able by my main account. It’s not shared out to anyone. I only noticed it when I was inviting a new friend and was giving her access to particular libraries.
If the server will only be offline for a little while, I can do it on a Sunday morning (typically a slow time slot). If I need to go back and re-add all the libraries to everyone… I -GUESS- I could do that but I’m wondering if I can save myself lots of clicking by just learning to live with seeing an extra library when adding new users?!
Sorry for the super late reply but I just added a new library and when I edit peoples’ accounts to give them access, my new library is duplicated in the spot where I can pick which libraries to give folks access to. So, I think I’m going to carry out the steps you proposed above. Just have another quick question.
If I sign out of my server, carry out the steps you mention then re-claim it… will everyone need to go back to plex.tv/link to re-link to my main account?
EDIT: Another question… if I copy the database to another machine…carry out the steps you mentioned then copy it back over, will that work?
Small update. It appears this problem happens even with new libraries (I thought it was only impacting existing ones). Example, if I create a library called ABC123 and edit an existing user to give them permission to that newly created library, I’ll see ABC123 listed twice. In light of that, will your steps still help? I’m tempted to just delete the database and start fresh. If I wanted to trash just the database, would I stop the server and delete EVERYTHING in:
/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-in Support/Databases
… then just restart Plex?
I have a post in the Trakt forum to figure out if it’s possible to backup the watched status for all the TV shows/Movies my invited friends have watched. I have a friend that is a SQL DBA… is there a schema document somewhere for the Plex dbase that tells me which table holds that info?
Carried out your steps and I couldn’t reproduce my problem. I also tried that link about repairing a corrupt dbase just for kicks and it reduced the size by about 50 megs or so but still having that weird duplicate issue. So with that, to wipe my database and start fresh, just stop Plex, delete everything in /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-in Support/Databases and then just set it up again? (Will Plex be smart enough to recognize my existing cache folder?)
I’ll have to re-do my collections (which is no big deal)… and if I can’t get all my friends’ watched status sync’d with TrakT, guess they’ll need to create their own accounts and sync things if they want to retain their watched status before I nuke everything.
Perfect, that’s exactly what I was looking for, thanks! I’m assuming this will remember the watch status for all my friends’ accounts and not just mine? (Probably a dumb question, sorry.)
Last question, am I correct in just blowing away that folder I reference above and that’s all I need to do to let Plex re-create the dbase from scratch?