I’m frustrated right now, more with what I believe to be a “Plex” challenge more than a Tautulli.
I come here in hopes someone has an answer as it’s Tautulli I wanted to use for the goal.
I’m SO glad I spent time configuring a newsletter test before taking the time to edit images and the html template.
In Plex, I (re)added a Christmas library from 3-4 folders of Christmas movies I’ve used in the past.
Plex starts doing its thing, scans the library folders, adds metadata, etc.
I then go into Tautulli and configure a test newsletter for the past 24 hours.
Click the test button, and, lo and behold, nothing happens.
Check logs, these ‘errors’.
Tautulli.log
|2018-11-24 13:47:35|WARNING|Tautulli Newsletters :: Recently Added newsletter has no data. Newsletter not sent.|
|---|---|---|
|2018-11-24 13:47:35|INFO|Tautulli NewsletterHandler :: Preparing newsletter for newsletter_id 7.|
|2018-11-24 13:47:35|DEBUG|Sending test Recently Added newsletter.|
Not really errors, no, but, even though Tautulli refreshed the library, Plex has not.
Now, am I right in this theory, EVEN THOUGH I REMOVED a Plex library January last year, AND… AND… EMPTIED TRASH… Plex kept DB record of the info for this movie (and the 50 or so others)???
From Plex Scanner log. Skipping over directory 'A Christmas Carol (1984) George C Scott', as nothing has changed; removing 1 media items from map.
Plex shows no new added items in it’s Movies recently added.
Tautulli sees the library (after a library refresh).
So, besides the ‘is my theory right?’ question above:
Is there a way to get Plex to see the content as new? (Proper clean)
Plex dance? (STUPID - i removed the library and emptied trash!)
Is there a way to fake tautulli into sending a newsletter for the new library to avoid any plex dance/etc?
Challenge is, I’ve used this same group of movies now about 4 or 5 years. I guess i could try more days.
Thanks for FAQ, but I’d already verified that before posting when they didn’t show up in Plex newly added.
I’m shocked Plex didn’t see data as new. I deleted library and emptied trash and optimized several time since last year. I would have expected Plex to see it as new. This apparently means i likely have tons of index images and other data to stuff I’ve deleted.
Would there be a reasonably easy for you lines of code to tell me to place in the template to spit out all in a particular library rather than the recently added hub? Or, due to it being time based, core files for newsletters would have to be edited too?
@SwiftPanda16 -
Ended up having to do a plex dance. Seems, technically, I’d already done this in past year, but shrug who knows. Maybe I didn’t clean bundles, or maybe the data had to be ‘gone’ even though the folder still existed.
Since I add, then delete, the “Christmas” library from Plex every year so as to not see it in admin account library listing, I of course now have 3 “Christmas” libraries listed in Tautulli history (they get new library session IDs every time).
Is there any command to combine the history of those. I found the delete ‘duplicate’ faq (but I don’t want to delete), and the restore deleted faq, but was in hopes there’s a ‘combine history from x library and y library’ command.
EDIT - I see in settings I can specify a custom folder for templates. I don’t see in Newsletter agent setup any way to specify particular templates; Does Tautulli not currently allow more than one template (ie, it’s “recently_added” for all or nothing?)
You cannot combine library history without manually changing the database because that is what I would consider messing with accurate data. Tautulli’s job is to capture accurate data (in this case it is three different libraries) not to capture “pretty” data (in this case what looks like one library).
A while back when I first set this up, I deleted a couple of inactive users from PlexPy/Tautulli, so they don’t show up in the dropdowns etc. But I’ve now started using those accounts and it seems I’m unable to get them back, even if I do a “refresh users”. Is there a way to do this correctly, preferably without having to clear all historical data and start fresh?
I’ve mentioned this before, but with no true resolution other than to shut down Tautulli, delete the log, then restart Tautulli.
I’d like to find a more permanent solution or better work-around.
For the past 2-3 months, Tautulli will stop reading my logs, seemingly randomly. Seems to take a day or three after I delete the log, then, dead until cycle repeated.
Today, I go to view them after it working for past 4 and, no go.
I read them in Tautulli within at least past 18 hours (as of 11/27 17:27 Eastern)
In manually viewing the log using Notepad++, I see this error as the last line before I copied the file to another location so I could work with it.
2018-11-27 17:15:08 - ERROR :: CP Server Thread-14 : WebUI :: /logs : TypeError: 'createCaption' called on an object that does not implement interface HTMLTableElement.. (jquery-2.1.4.min.js:4)
Could this be reviewed, perhaps fixed?
I don’t know if it helps or not, but I can view all other logs within Tautulli just fine.
My log for the past ~20 hours can be viewed for the next 23.75 hours at https://codeshare.io/G8ezRv
EDIT - I’m not running proxy. Straight Win10Pro + Tautulli + router port forwarded.
Let me know if you want the file itself. I’ll PM it to you and you can post it in your own logs folder and test/break/fix.
So a couple of days ago, Tautulli started pinging me with notifications every minute about my server going offline, then coming back. Sometimes it goes on for twenty minutes and stops, sometimes I can go hours without the alerts. But when it gets in the mood, I’m getting two alerts every minute: Server Down, Server Up; Server Down, Server Up. I turned off that trigger in the notifications and now my ■■■■ is quiet, but I don’t know if the server is actually online unless I test the connection. I’m running Tautulli v2.1.25 and PMS v1.14.0.5470. Anyone else having this issue?
YOUR issue may not necessarily be mine. But, used to happen frequently for me.
Then I edited Tautulli check time in it’s code manually.
Line 409 to 13 minutes (it was often enough for my taste, but seemed to stop the bad Plex behavior for 1 minute)
Then, PMS updated to a new version. I went back to using non-edited Tautulli.
Since my issue was ‘fixed’, I’ve used two PMS versions I currently don’t remember, and am currently on 1.13.9.5456
I usually wait a month or three before updating, especially with the fact for every one fix item affecting me Plex seems to introduce 2 other broken things.
To be clear, when I say Tautulli is reporting “server down” statuses, I mean the “server offline” variation, not “remote access down” one. So basically, Tautulli is saying, “Hey! Your PMS software has crashed and needs to be restarted!” But that’s not what’s actually happening, because I can still access the server, either remotely or locally, regardless of what the alert says.
Fair enough. I had the local IP of the computer running PMS and Tautulli in the PMS Settings page. As of ten minutes ago, I changed it to 127.0.0.1, and I can already tell that Tautulli is having issues. The homepage loads, but sometimes it says it’s having trouble connecting to the server, and sometimes it’ll switch and correctly display what’s currently being watched.
Your Plex Media Server is constantly sending bad websocket data to Tautulli which is causing it to disconnect. Post your plex_websocket.log. But it looks like a bug in Plex Media Server.