PlexPY Just stops logging

My install of PlexPY will just stop logging of any plex activity. The web interface will remain active but no history is recorded. I have tried the restart from the server settings and that does not help. the only way to get it to log again is to reboot computer and have it start at boot. But within hours in stops logging again.

Any help would be appreciated.

Thanks,

Are you using websocket in Settings -> Monitoring?

Yes. I am using web sockets…

From my personal experience when I’ve used it, the same thing happened and has been reported in the PlexPy thread (which you should reply in also since the developer responds there). I’ve just turned it off and had PlexPy poll the server instead. Websocket is still experimental so possibly it could get fixed down the line.

I turned that off as soon as I saw your response. it seems to be logging correctly now…

I think because of me using that feature it was not only stopping at random time, I also think it was logging incorrectly. It is showing that 13 days of video was watched in one day. Do you know a way of re-setting the stats back to zero?

I believe you’d have to manually change it in the database using something like DB Browser for SQLite

http://sqlitebrowser.org

There are others but I’ve used that with no problems.

@a2liter said:
I turned that off as soon as I saw your response. it seems to be logging correctly now…

I think because of me using that feature it was not only stopping at random time, I also think it was logging incorrectly. It is showing that 13 days of video was watched in one day. Do you know a way of re-setting the stats back to zero?

Yeah websockets are still buggy. Do you have any of the logs from when websockets stopped working? It could help me fix it.

If you don’t care about that line of history, you can just delete is using “Delete mode” on the history page, otherwise you can manually edit the database with SQLiteBrowser browsers like @idaacrdz mentioned.

I tried deleting history using delete mode and that deleted it from history, but the graphs still showed data.

So I then used sql lite to look at the actual data and deleted all the data that I thought needed gone without breaking the app and I guess I deleted a little to much stuff because the app would not start anymore after that. So I removed the entire plexpy directory and just reinstalled.

Based on above, no I don’t have the log files. I wish I would have saved them. Sorry.

@JonnyWong16 said:

Yeah websockets are still buggy. Do you have any of the logs from when websockets stopped working? It could help me fix it.

I guess I’m a little late to the party so to speak… In any case…