# PlexPY Just stops logging

**URL:** <https://forums.plex.tv/t/plexpy-just-stops-logging/131710>\
**Category:** Dev/API Corner\
**Tags:** other-dev\
**Created:** [January 16, 2016, 1:27pm UTC](https://forums.plex.tv/t/plexpy-just-stops-logging/131710 "2016-01-16T13:27:30Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![a2liter](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/a2liter/32/254617_2.png) [@a2liter](https://forums.plex.tv/u/a2liter)\
**Post date:** [January 16, 2016, 1:27pm UTC](https://forums.plex.tv/t/plexpy-just-stops-logging/131710/1 "2016-01-16T13:27:30Z")

</div>

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,

---

<div class="post-metadata">

**Author:** ![isaacrdz](https://avatars.discourse-cdn.com/v4/letter/i/85e7bf/32.png) [@isaacrdz](https://forums.plex.tv/u/isaacrdz)\
**Post date:** [January 16, 2016, 2:13pm UTC](https://forums.plex.tv/t/plexpy-just-stops-logging/131710/2 "2016-01-16T14:13:05Z")

</div>

Are you using websocket in Settings -\> Monitoring?

---

<div class="post-metadata">

**Author:** ![a2liter](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/a2liter/32/254617_2.png) [@a2liter](https://forums.plex.tv/u/a2liter)\
**Post date:** [January 16, 2016, 2:38pm UTC](https://forums.plex.tv/t/plexpy-just-stops-logging/131710/3 "2016-01-16T14:38:24Z")

</div>

Yes. I am using web sockets…

---

<div class="post-metadata">

**Author:** ![isaacrdz](https://avatars.discourse-cdn.com/v4/letter/i/85e7bf/32.png) [@isaacrdz](https://forums.plex.tv/u/isaacrdz)\
**Post date:** [January 16, 2016, 8:58pm UTC](https://forums.plex.tv/t/plexpy-just-stops-logging/131710/4 "2016-01-16T20:58:51Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![a2liter](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/a2liter/32/254617_2.png) [@a2liter](https://forums.plex.tv/u/a2liter)\
**Post date:** [January 17, 2016, 1:55pm UTC](https://forums.plex.tv/t/plexpy-just-stops-logging/131710/5 "2016-01-17T13:55:57Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![isaacrdz](https://avatars.discourse-cdn.com/v4/letter/i/85e7bf/32.png) [@isaacrdz](https://forums.plex.tv/u/isaacrdz)\
**Post date:** [January 17, 2016, 3:24pm UTC](https://forums.plex.tv/t/plexpy-just-stops-logging/131710/6 "2016-01-17T15:24:48Z")

</div>

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

[http://sqlitebrowser.org](http://sqlitebrowser.org)

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

---

<div class="post-metadata">

**Author:** ![SwiftPanda16](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/swiftpanda16/32/81839_2.png) [@SwiftPanda16](https://forums.plex.tv/u/SwiftPanda16)\
**Post date:** [January 17, 2016, 5:33pm UTC](https://forums.plex.tv/t/plexpy-just-stops-logging/131710/7 "2016-01-17T17:33:29Z")

</div>

> @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.

---

<div class="post-metadata">

**Author:** ![a2liter](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/a2liter/32/254617_2.png) [@a2liter](https://forums.plex.tv/u/a2liter)\
**Post date:** [January 17, 2016, 9:00pm UTC](https://forums.plex.tv/t/plexpy-just-stops-logging/131710/8 "2016-01-17T21:00:06Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![JasonM](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/jasonm/32/82413_2.png) [@JasonM](https://forums.plex.tv/u/JasonM)\
**Post date:** [February 25, 2016, 4:05am UTC](https://forums.plex.tv/t/plexpy-just-stops-logging/131710/9 "2016-02-25T04:05:51Z")

</div>

> @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…

> **[24-Feb-2016 12:37:59 - WARNING :: CP Server Thread-2 : Failed to access uri...](https://pastebin.com/2hxiiXWn)**
>
> Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.

---

<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:** [January 8, 2020, 7:54pm UTC](https://forums.plex.tv/t/plexpy-just-stops-logging/131710/10 "2020-01-08T19:54:27Z")

</div>


