# Mark as Played stopped working randomly

**URL:** <https://forums.plex.tv/t/mark-as-played-stopped-working-randomly/853905>\
**Category:** Plex Media Server\
**Tags:** server-docker, server-unraid\
**Created:** [September 17, 2023, 2:43am UTC](https://forums.plex.tv/t/mark-as-played-stopped-working-randomly/853905 "2023-09-17T02:43:52Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![sethamphetamine](https://avatars.discourse-cdn.com/v4/letter/s/7ea924/32.png) [@sethamphetamine](https://forums.plex.tv/u/sethamphetamine)\
**Post date:** [September 17, 2023, 2:43am UTC](https://forums.plex.tv/t/mark-as-played-stopped-working-randomly/853905/1 "2023-09-17T02:43:52Z")

</div>

Server Version#: 1.32.5.7349 via Docker - UnRaid  
Player Version#: Apple TV Plex App, Plex/Web Local and Remote

As of a week ago, my Mark as Played as well as the natural mark as played at the conclusion of a file stopped updating. No matter if I do it manually or naturally all shows and movies stay flagged with the un-played flag. If I take an older show/movie that has already been marked as played, I can mark it as un-played and then update it to played and that works.

I am running the latest docker container.  
I have completed the Optimize Database and Clean Bundles.  
I have tested the library function in the AppleTV Plex app as well as the Plex/Web app via Firefox PC.  
I have removed and re-added the docker container (using the same app data files)  
The only thing I have not done is to remove my app data folder and “start over”.

I cannot find this topic arsing so I am not sure where things may have gone wrong. I hope someone else h  
Any insight would be helpful.

[Plex Media Server Logs\_2023-09-16\_21-36-39.zip](https://forums.plex.tv/uploads/short-url/jFIgwNtRjWR2iD6lWfpXodg181B.zip) (3.6 MB)

---

<div class="post-metadata">

**Author:** ![OttoKerner](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/ottokerner/32/10079_2.png) [@OttoKerner](https://forums.plex.tv/u/OttoKerner)\
**Post date:** [September 17, 2023, 12:02pm UTC](https://forums.plex.tv/t/mark-as-played-stopped-working-randomly/853905/2 "2023-09-17T12:02:11Z")

</div>

Unfortunately your primary database file is damaged.  
You need to urgently either

- repair it [https://support.plex.tv/articles/repair-a-corrupted-database/](https://support.plex.tv/articles/repair-a-corrupted-database/)
- go back to a backup (and then repair it, too to fix potential damage which might already be lurking inside) [https://support.plex.tv/articles/202485658-restore-a-database-backed-up-via-scheduled-tasks/](https://support.plex.tv/articles/202485658-restore-a-database-backed-up-via-scheduled-tasks/)

Here is a handy script to repair the DB for you: [GitHub - ChuckPa/PlexDBRepair: Database repair utility for Plex Media Server databases](https://github.com/ChuckPa/PlexDBRepair)

---

<div class="post-metadata">

**Author:** ![sethamphetamine](https://avatars.discourse-cdn.com/v4/letter/s/7ea924/32.png) [@sethamphetamine](https://forums.plex.tv/u/sethamphetamine)\
**Post date:** [September 17, 2023, 3:17pm UTC](https://forums.plex.tv/t/mark-as-played-stopped-working-randomly/853905/3 "2023-09-17T15:17:20Z")

</div>

Thank you for the rapid reply. I was afraid of that. I was ultimately not able to do the repair, but had to do a dump and read to make a new database file and all is now well!

In case someone else stumbles upon this and also uses Plex in Docker - here are the steps in a handy YouTube Video: [https://www.youtube.com/watch?v=2ZDX7Gq7UFU](https://www.youtube.com/watch?v=2ZDX7Gq7UFU).

Community forums for the WIN!

---

<div class="post-metadata">

**Author:** ![OttoKerner](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/ottokerner/32/10079_2.png) [@OttoKerner](https://forums.plex.tv/u/OttoKerner)\
**Post date:** [September 17, 2023, 3:28pm UTC](https://forums.plex.tv/t/mark-as-played-stopped-working-randomly/853905/4 "2023-09-17T15:28:51Z")

</div>

> [@sethamphetamine](#):
>
> I was ultimately not able to do the repair, but had to do a dump and read to make a new database file and all is now well!

That’s what the above linked script is doing. 🙂

---

<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 16, 2023, 3:29pm UTC](https://forums.plex.tv/t/mark-as-played-stopped-working-randomly/853905/5 "2023-12-16T15:29:36Z")

</div>

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