New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
History not updating #484
Comments
Actually I don't think it has anything to do with the media server logs. I realized that the vm running plexpy is not the same vm that is running plex. Calling /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Logs/Plex Media Server.log is really on a remote file system. I'm setting up a symlink and an nfs share to get this in place, but everything working perfectly before 1/23/2016. |
Is the library updating? (The message on the libraries page) Logging is disabled during the update. |
No, it's not up to date, at least in terms of what I've actually watched. On Mon, Jan 25, 2016 at 12:14 AM, JonnyWong16 notifications@github.com
|
I did try an earlier commit. That database had at least 24 hours to update. It's probably updating now because I tried an earlier commit just to test and then got back to master. |
Git hash: 0ba5012 I'm experiencing exactly the same. Based on my logs I haven't had anything written to history since 01/18. I've dropped a pastebin of plexpy.log here because it's pretty long. I'm pretty sure the relevant bits though are these messages, which keep coming up
and then
|
Same thing here, I updated a few days ago, and ever since history is not updating. I see activity posting on the dashboard. I have tried everything, I deleted the DB and started from scratch, resetup the perm tokens and paths etc, but still nothing happening. |
I pushed a update to master. Try updating PlexPy again. |
Updated to the latest version, but the History for users/graphs are no longer updating. The Library has been updating since yesterday |
I have a similar problem with the history not updating, but running 1.3.2 within a FreeNAS jail. Recently added items on the homepage is updating as I downloaded the new X-Files episode, which I also watched this afternoon but it'd not showing in the history. I'm also getting this message when I click on the User page, although when I click the close button it displays a list of users:
|
@crazybadger Force refresh the Users page (Ctrl+F5) |
Every update in htpc manager invalidate cache for 3 days after a update :p I remember why I did it now xD |
So it looks like my Library is done updating after I stopped the service, On Mon, Jan 25, 2016 at 2:31 PM, Hellowlol notifications@github.com wrote:
|
I had the exact same issues, i was about to post and did one last restart.... And now all of a sudden it works. It was stuck all the time at updating for history. Only did a manual git pull, but it said "nothing to update" but cant think of anything else i did in between. |
Everything is working smoothly for me again. Thanks!
|
I rebuilt my VM and pulled the plexpy.db into my new VM, now my history is working. |
Git hash: 35965a8 I updated. Unfortunately this doesn't seem to be mysteriously resolving for me. My libraries are updating, as far as I can tell, but still nothing is being logged. I get this in the logs still.
Any suggestions on how to go about fixing this short of wiping everything and starting all over? I've only got a few months of stats collected but I'd rather not lose them. |
Websockets enabled or disabled? |
I need everyone to post full logs when a stream is in session, and after a stream has stopped. Also, if possible, PM me your |
This might sound crazy, but try this: Go to the settings change the "Monitoring Interval", click save, change it back, click save. Look in the logs for
|
Btw, i had websockets enabled. |
The Crtl-F5 fixed my User issue and updating to 1.3.3 appears to have resolved the History problem. |
Hello, One more weird thing is that it shows a datatables warning (see attached). Anyone has any idea as to how to fix this please ? Sincerely, |
Someone else on the forum had the same problem with one TV show. See if you can figure out which TV show/Episode that's causing the problem. You can navigate to it from the library, and find the one episode page which also gives the datatable warning. |
Holy cow, you're right. |
|
Daaaamn ! Worked perfectly. Anyway thank you very much for your help |
My history stopped updating a few days ago for both PMS installs and both PlexPy installs. While watching a stream for a few minutes and then stopping the logs show the below. However it does pick up that's somethings being watched actively.
|
Either you're not logged in to your Plex account, or you're using the "Local" user and logging is disabled.
|
You mean from the web app or within PlexPy? The web is through https://app.plex.tv/web/app and logged in with the same account that is the server user. Which is also in PlexPy with a token that I just refreshed. My |
Web app. Try logging out and logging back in. |
I have had the same issue as lokenx for the past few days. I can see what is currently being played, but no history is saved. |
Hmm seems fine now. Odd! Just have a 3 day block of missing history data for both servers (which I know where actively used during that time). Thanks for help! I changed my |
Logging out and back in has fixed it for me too. Thanks for the help Jonny. |
|
I can confirm this is still a problem and is NOT fixed by any of the solutions included here. CentOS7, Plex Media Server 0.9.14 or 0.9.15, and PlexPy's latest. |
Just posting that something doesn't work won't help me fix it. I need the logs. EDIT: And complete logs, not just the lines you think are related the problem. Lines that are missing from the logs are just as useful as lines that show up in the logs. |
I have no idea what log entries might be relevant to this discussion. If you would like whole logs, please let us know where these can be privately sent to relevant authors. Publicly posting logs is a strict no. I see nothing unusual/different/notable in the logs. It simply stopped working across several servers immediately after the upgrade and hasn't worked since. If I had kept a copy of the old source code, I would blow all the databases and installs away and rebuild it. As it is, I have no clue where to start. Every single install just immediately stopped populating History entirely after shutting down, updating from GIT, and starting again. No solution posted here has had any effect. The only possibly relevant entry is this on every start: Altering database. Removing unique constraint on section_id from library_sections table. but I'm hardly the first to report that. |
Just post your entire log to pastebin or something. Like I said above:
As for
PM your |
@linhub the reason to post the full log is because you don't know what relevant or not. |
@JonnyWong16 Thank you for your help. Unfortunately, the problem seems to be with something besides my plexpy.db or specific install. I started with a fresh pull from GIT, no database, no logs, and nothing to send to anyone. After starting it once, I see the "Altering database" line. Upon restart, it does it again. 27-Jan-2016 14:16:35 - INFO :: MainThread : PlexPy is restarting... If PlexPy is showing this on databases that it is creating on first run, the problem is not in the existing DBs. |
Holy Jesus...the stuff you're posting is not helping me solve your problem.
|
@JonnyWong I hope you got your crystal ball ready! |
@JonnyWong16 I won't take up any more of your time as the reports are obviously not helping as they are. Good luck! |
@Hellowlol My crystal ball just facepalmed |
@linhub you haven't reported anything useful. Your just waisting the dev time. Remember that people does this in there spare time without getting paid, at the expanse other realize duties. Its impossible to guess what might be wrong a 10k lines of code project. Bye @JonnyWong16 yeah you failed so hard... :P |
Well the updates worked great for me. Thank you! On Wed, Jan 27, 2016 at 2:18 PM, Hellowlol notifications@github.com wrote:
|
Mine is still no update. I can post logs, what would help solve this? It seems random, some things are in history but not everything. Things are playing right now that are not in there. |
Sure post your logs. History is only recorded once a stream is stopped. |
I think this issue has been fixed. Open a new issue if this problem occurs again. |
Hello,
I'm using the latest git version 0ba5012 and the shows / movies have stopped writing to the history. Plexpy is running on Ubuntu 14.04 and Version 0.9.15.2 of Plex. It looks like massive changes were made on 1/23/2016. Maybe it's because it can't read my plex directory for some reason?
2016-01-24 22:48:44 ERROR Unable to open Plex Log file. [Errno 2] No such file or directory: '/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Logs/Plex Media Server.log'
The text was updated successfully, but these errors were encountered: