# Tautulli not Showing Libraries

**URL:** <https://forums.plex.tv/t/tautulli-not-showing-libraries/810501>\
**Category:** Apps & Creations\
**Created:** [September 12, 2022, 3:04pm UTC](https://forums.plex.tv/t/tautulli-not-showing-libraries/810501 "2022-09-12T15:04:14Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Marcelofs1](https://avatars.discourse-cdn.com/v4/letter/m/c4cdca/32.png) [@Marcelofs1](https://forums.plex.tv/u/Marcelofs1)\
**Post date:** [September 12, 2022, 3:04pm UTC](https://forums.plex.tv/t/tautulli-not-showing-libraries/810501/1 "2022-09-12T15:04:14Z")

</div>

Hello all  
I’ve been using Tautulli for statistics withou a problem for a couple years but recently I have to rebuild the jail due SSD crash where Tautulli was installed.  
I have created everything from the new release on GitHub and worked as a charm however there is the error on the logs. It does display the “latest added movies” correctly but none of the libraries. I am not exactly an expert and the Wiki from Tautulli did not help much nor searching for the error. Any recommendations?  
Here the error log  
Uncaught exception: Traceback (most recent call last):  
File “/usr/local/share/Tautulli/plexpy/logger.py”, line 398, in new\_run  
old\_run(\*args, \*\*kwargs)  
File “/usr/local/lib/python3.9/threading.py”, line 917, in run  
self.\_target(\*self.\_args, \*\*self.\_kwargs)  
File “/usr/local/share/Tautulli/plexpy/libraries.py”, line 60, in refresh\_libraries  
library\_sections = pmsconnect.PmsConnect().get\_library\_details()  
File “/usr/local/share/Tautulli/plexpy/pmsconnect.py”, line 2888, in get\_library\_details  
parent\_list = self.get\_library\_children\_details(section\_id=section\_id, section\_type=‘picture’, count=‘1’)  
File “/usr/local/share/Tautulli/plexpy/pmsconnect.py”, line 2830, in get\_library\_children\_details  
output = {‘library\_count’: library\_count,  
UnboundLocalError: local variable ‘library\_count’ referenced before assignment

This looks like Tautulli could not connect to PMS somehow however it does extract the last added items and also the “find server” works properly.  
Any guidance will be great.  
Thank you  
Marcelo

---

<div class="post-metadata">

**Author:** ![adefaria](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/adefaria/32/300475_2.png) [@adefaria](https://forums.plex.tv/u/adefaria)\
**Post date:** [September 12, 2022, 5:03pm UTC](https://forums.plex.tv/t/tautulli-not-showing-libraries/810501/2 "2022-09-12T17:03:32Z")

</div>

Not sure but this might help - [Frequently Asked Questions · Tautulli/Tautulli Wiki · GitHub](https://github.com/Tautulli/Tautulli/wiki/Frequently-Asked-Questions#general-q12)

---

<div class="post-metadata">

**Author:** ![Marcelofs1](https://avatars.discourse-cdn.com/v4/letter/m/c4cdca/32.png) [@Marcelofs1](https://forums.plex.tv/u/Marcelofs1)\
**Post date:** [September 12, 2022, 5:54pm UTC](https://forums.plex.tv/t/tautulli-not-showing-libraries/810501/3 "2022-09-12T17:54:42Z")

</div>

Thank you but I have tried that before (my bad, I should have also listed what I have tried).  
This is a fresh new install so the libraries were never “deleted” to be added back again. When i get the XML and try to run the re-add command, I got this:  
[http://192.168.0.60:8181/undelete\_library?section\_id=25](http://192.168.0.60:8181/undelete_library?section_id=25)  
_ **{“result”: “error”, “message”: “Unable to re-add library. Invalid section\_id or section\_name.”}** _

Here is part of the XML with the proper ID  
… (removed some portion)  
\< **Location id=“25”** path=“/media/Filmes/3D”/\>

When first run after install, the configuration went quite OK with no errors and suscesfull login to the Plex Server. It is my understanding that once Tautulli log in, it shuould be able to query all the libraries right? The error on the log let me think there is something missing on the code or some aditional step I missed even following all steps described on the install guide [Installation · Tautulli/Tautulli Wiki · GitHub](https://github.com/Tautulli/Tautulli/wiki/Installation#freebsd--truenas)

Thanks again

---

<div class="post-metadata">

**Author:** ![adefaria](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/adefaria/32/300475_2.png) [@adefaria](https://forums.plex.tv/u/adefaria)\
**Post date:** [September 12, 2022, 6:09pm UTC](https://forums.plex.tv/t/tautulli-not-showing-libraries/810501/4 "2022-09-12T18:09:27Z")

</div>

I take it you also tried Refresh Libraries and it didn’t work.

I think it might be best to pursue this over on [GitHub - Tautulli/Tautulli: A Python based monitoring and tracking tool for Plex Media Server.](https://github.com/Tautulli/Tautulli).

---

<div class="post-metadata">

**Author:** ![Marcelofs1](https://avatars.discourse-cdn.com/v4/letter/m/c4cdca/32.png) [@Marcelofs1](https://forums.plex.tv/u/Marcelofs1)\
**Post date:** [September 12, 2022, 10:08pm UTC](https://forums.plex.tv/t/tautulli-not-showing-libraries/810501/5 "2022-09-12T22:08:44Z")

</div>

Appreciate that.  
Just for the consistency, the first error log occurs when I try to refresh libraries.  
I’ve been pursuing some response on the Tautulli page on GitHub for a while and got the following: “if those solutions does not work for you, pease refer to the Plex forum” 🤣  
Anyway, I will keep searching and, if I manage to find a solution I will post here.

Thanks a lot

---

<div class="post-metadata">

**Author:** ![adefaria](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/adefaria/32/300475_2.png) [@adefaria](https://forums.plex.tv/u/adefaria)\
**Post date:** [September 12, 2022, 10:10pm UTC](https://forums.plex.tv/t/tautulli-not-showing-libraries/810501/6 "2022-09-12T22:10:40Z")

</div>

Classic passing the buck!

Well, I hope you work it out.

---

<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:** [December 11, 2022, 10:10pm UTC](https://forums.plex.tv/t/tautulli-not-showing-libraries/810501/7 "2022-12-11T22:10:58Z")

</div>

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