# Odd plex wont start issue

**URL:** <https://forums.plex.tv/t/odd-plex-wont-start-issue/335985>\
**Category:** General Discussions\
**Created:** [November 23, 2018, 4:54pm UTC](https://forums.plex.tv/t/odd-plex-wont-start-issue/335985 "2018-11-23T16:54:14Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![doomngloom](https://avatars.discourse-cdn.com/v4/letter/d/c37758/32.png) [@doomngloom](https://forums.plex.tv/u/doomngloom)\
**Post date:** [November 23, 2018, 4:54pm UTC](https://forums.plex.tv/t/odd-plex-wont-start-issue/335985/1 "2018-11-23T16:54:14Z")

</div>

I have an odd issue. For a long time now i have been using the pms service for plex. Now while trying to use the standard launch plex media server icon i get an error saying corrupt database. I can still launch it as a service with no issues but not without the service.  
if i try rolling back to a previous version of the DB i am able to start plex with the standard plex executable but then i cant access the web interface at all. if i launch the pms service i then can access plex web but then get the error message again if i try using the standard plex executable.

Im kinda confused here.

---

<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:** [November 23, 2018, 5:12pm UTC](https://forums.plex.tv/t/odd-plex-wont-start-issue/335985/2 "2018-11-23T17:12:01Z")

</div>

Which **Windows** user account did you select for the service to run under?  
If it was the ‘SYSTEM’ account (or any other Windows user account not identical to your regular Windows user), then the regular Windows user you are using has no write permissions to the files created by the service.  
Which could explain the error message you get when trying to start the server in the regular way.

You will have to untangle the file and foder access permissions in the Plex data folder if you want to run Plex server in the ordinary way.

* * *

Post scriptum: It is a horrible idea in general to run plex under the SYSTEM account.  
If you are using Plex as a service, I recommend you to run it either under your own Windows user account or to create a dedicated Windows user account just for Plex.

---

<div class="post-metadata">

**Author:** ![doomngloom](https://avatars.discourse-cdn.com/v4/letter/d/c37758/32.png) [@doomngloom](https://forums.plex.tv/u/doomngloom)\
**Post date:** [November 23, 2018, 5:54pm UTC](https://forums.plex.tv/t/odd-plex-wont-start-issue/335985/3 "2018-11-23T17:54:20Z")

</div>

the service is running with a local admin account. i am trying to run it the regular way with the same account as the service account.

---

<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:** [November 23, 2018, 6:00pm UTC](https://forums.plex.tv/t/odd-plex-wont-start-issue/335985/4 "2018-11-23T18:00:10Z")

</div>

Did you think of stopping the service before trying to start it regularly?

Apart from that: stop both service and regular-run Plex. Make sure there is no Plex-related process still showing in the Task Manager (CTRL+Shift+Esc).  
Then reset user access permissions on the plex data folder. Here is a handy tool for that [http://lallouslab.net/2013/08/26/resetting-ntfs-files-permission-in-windows-graphical-utility/](http://lallouslab.net/2013/08/26/resetting-ntfs-files-permission-in-windows-graphical-utility/)

---

<div class="post-metadata">

**Author:** ![doomngloom](https://avatars.discourse-cdn.com/v4/letter/d/c37758/32.png) [@doomngloom](https://forums.plex.tv/u/doomngloom)\
**Post date:** [November 23, 2018, 6:08pm UTC](https://forums.plex.tv/t/odd-plex-wont-start-issue/335985/5 "2018-11-23T18:08:55Z")

</div>

all processes are stopped totally in the pms service, and windows service. i confirmed it all in task manager.  
the ownership permissions are all set correctly and im able to see files get created correctly in the folder so i know the read and write are working as its supposed to.  
Dont forget im also using the exact same account for the service and regular.

In the logs i also see plex starting correctly which is why im so confused. no errors or warnings to note

---

<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:** [November 23, 2018, 6:12pm UTC](https://forums.plex.tv/t/odd-plex-wont-start-issue/335985/6 "2018-11-23T18:12:28Z")

</div>

> [@doomngloom](#):
>
> the ownership permissions are all set correctly and im able to see files get created correctly in the folder so i know the read and write are working as its supposed to.

You cannot possibly verify that for each and every subfolder and every file in there. There are millions of files and folders in a bigger Plex installation.

Was there possibly a time when you started Plex as a service **and** in the regular way at the same time?  
Then perhaps the database actually did get damaged and you may have to revert to an earlier backup.  
[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/)

---

<div class="post-metadata">

**Author:** ![doomngloom](https://avatars.discourse-cdn.com/v4/letter/d/c37758/32.png) [@doomngloom](https://forums.plex.tv/u/doomngloom)\
**Post date:** [November 23, 2018, 6:21pm UTC](https://forums.plex.tv/t/odd-plex-wont-start-issue/335985/7 "2018-11-23T18:21:44Z")

</div>

powershell command get-childitem -recurse \> c:\PlexPerm.txt will send it to a file for you to peruse. difficult but not impossible to verify.

If the database did get damged like that, wont the service have an issue running it to begin with? it should fail to start as both a service and regular since the service launches the program in the background.

---

<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:** [November 23, 2018, 6:22pm UTC](https://forums.plex.tv/t/odd-plex-wont-start-issue/335985/8 "2018-11-23T18:22:45Z")

</div>

Then I am out of ideas, unfortunately.

---

<div class="post-metadata">

**Author:** ![doomngloom](https://avatars.discourse-cdn.com/v4/letter/d/c37758/32.png) [@doomngloom](https://forums.plex.tv/u/doomngloom)\
**Post date:** [November 23, 2018, 6:23pm UTC](https://forums.plex.tv/t/odd-plex-wont-start-issue/335985/9 "2018-11-23T18:23:30Z")

</div>

thanks for trying. maybe someone else out there has an idea.

---

<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:** [November 23, 2018, 6:24pm UTC](https://forums.plex.tv/t/odd-plex-wont-start-issue/335985/10 "2018-11-23T18:24:46Z")

</div>

Maybe someone in here has an idea: [PMS as a service](https://forums.plex.tv/t/pms-as-a-service/53381)

---

<div class="post-metadata">

**Author:** ![doomngloom](https://avatars.discourse-cdn.com/v4/letter/d/c37758/32.png) [@doomngloom](https://forums.plex.tv/u/doomngloom)\
**Post date:** [November 23, 2018, 6:25pm UTC](https://forums.plex.tv/t/odd-plex-wont-start-issue/335985/11 "2018-11-23T18:25:45Z")

</div>

i will post it there as well. thanks again for your assistance.

---

<div class="post-metadata">

**Author:** ![doomngloom](https://avatars.discourse-cdn.com/v4/letter/d/c37758/32.png) [@doomngloom](https://forums.plex.tv/u/doomngloom)\
**Post date:** [November 23, 2018, 7:51pm UTC](https://forums.plex.tv/t/odd-plex-wont-start-issue/335985/12 "2018-11-23T19:51:42Z")

</div>

I’m scratching my head here. selecting it to run as administrator seems to let it work successfully.

---

<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:** [November 23, 2018, 8:06pm UTC](https://forums.plex.tv/t/odd-plex-wont-start-issue/335985/13 "2018-11-23T20:06:04Z")

</div>

That suggests there is still a permissions issue after all, IMHO.

---

<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:** [February 21, 2019, 8:13pm UTC](https://forums.plex.tv/t/odd-plex-wont-start-issue/335985/14 "2019-02-21T20:13:19Z")

</div>

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