# Plex DB Repair tool & Permissions Issues

**URL:** <https://forums.plex.tv/t/plex-db-repair-tool-permissions-issues/873645>\
**Category:** Plex Media Server\
**Tags:** server-synology\
**Created:** [March 30, 2024, 11:27pm UTC](https://forums.plex.tv/t/plex-db-repair-tool-permissions-issues/873645 "2024-03-30T23:27:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![StealingTime](https://avatars.discourse-cdn.com/v4/letter/s/ea5d25/32.png) [@StealingTime](https://forums.plex.tv/u/StealingTime)\
**Post date:** [March 30, 2024, 11:27pm UTC](https://forums.plex.tv/t/plex-db-repair-tool-permissions-issues/873645/1 "2024-03-30T23:27:55Z")

</div>

Server Version#: 1.32.8.7639 (now running 1.40.1.8227)  
DSM 7.2.1-69057 Update 4  
DS920+ NAS

@ChuckPa - moved this into it’s own thread as per your suggestion.

I was on 1.32.8.7639 and ran your DB Repair tool from github. After running it, Plex would crash due to permission errors as per its log.

When I looked at the permissions I saw this before the upgrade:

 ![image](https://global.discourse-cdn.com/plex/original/4X/7/f/5/7f5c0460248c49dd474852e7b21254af20a79c0d.png)

And this after the upgrade:

 ![image](https://global.discourse-cdn.com/plex/original/4X/c/6/0/c60578afa1525a91136b8925690db86d3f2a937d.png)

I followed your directions on your git to the letter, but perhaps there is something unusual with my Plex install?

I can’t recall exactly how old my Plex install is…it’s possible that it migrated over from my old DS418Play when I upgraded to a DS920+ about a year ago. Honestly, I cant recall. However, I have had no issues with this install for well over a year (except that weird timezone DVR bug that came up last year and was fixed in later PMS builds).

I could get Plex Server to run by applying chmod 777 to those files.

However, I run snapshot replication so at present, I just rolled back to yesterday’s snapshot, didn’t run the DB Repair tool, and then upgraded to 1.40. Everything is fine on 1.40.1.8227 as best I can tell.

However, I guess something about my install is weird given your comments and perhaps incompatible with your DB Repair tool.

---

<div class="post-metadata">

**Author:** ![ChuckPa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/chuckpa/32/79710_2.png) [@ChuckPa](https://forums.plex.tv/u/ChuckPa)\
**Post date:** [March 30, 2024, 11:49pm UTC](https://forums.plex.tv/t/plex-db-repair-tool-permissions-issues/873645/2 "2024-03-30T23:49:47Z")

</div>

@StealingTime

Check your PM

---

<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:** [June 28, 2024, 11:50pm UTC](https://forums.plex.tv/t/plex-db-repair-tool-permissions-issues/873645/3 "2024-06-28T23:50:03Z")

</div>

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