# Can't access Plex Server

**URL:** <https://forums.plex.tv/t/cant-access-plex-server/772272>\
**Category:** Plex Media Server\
**Tags:** server-qnap\
**Created:** [January 21, 2022, 11:34pm UTC](https://forums.plex.tv/t/cant-access-plex-server/772272 "2022-01-21T23:34:23Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![myselfalex](https://avatars.discourse-cdn.com/v4/letter/m/2bfe46/32.png) [@myselfalex](https://forums.plex.tv/u/myselfalex)\
**Post date:** [January 21, 2022, 11:34pm UTC](https://forums.plex.tv/t/cant-access-plex-server/772272/1 "2022-01-21T23:34:23Z")

</div>

Hi there,

I’m having a similar issue where the page normally leading to the Plex Server is now going to 404 Unable to connect page suddenly. It’s also running on a QNAP NAS, and it only started after I accidentally disconnected the power to the NAS while it was running, but not actually doing any streaming. I tried to do the SSH to the QNAP when the PMS is stopped. However, I should note the only processes running were this one which seems to just be the folder (like the third line in Wouter35’s list), and I have none of the actual .qpkg showing in my running processes regardless of it being before OR after stopping the PMS on my App Center. So it’s like it’s not even starting up despite it showing as started in the QNAP App Center.

I will also note, I’ve stopped, uninstalled, installed, uninstalled, installed manually, both the most recent version available from App center AND version 1.25.3.5409, 1.25.2.5319, and 1.25.1.5286. It’s always the same, the app shows open in App Center, but 404’ing and the processes list always showing the same thing, only the “./Plex Media Server” process and my “grep -i plex”. I made sure even that process was stopped, installed, and yet still same issue.  
Hoping you can help me as well, thank you in advanced.  
Here’s my exact process list still:

```auto
[alex@BigNasX share]$ ps -ef | grep -i plex
 3211 admin 22932 S ./Plex Media Server
12518 alex 432 S grep -i plex

```

---

<div class="post-metadata">

**Author:** ![dane22](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/dane22/32/4389_2.png) [@dane22](https://forums.plex.tv/u/dane22)\
**Post date:** [January 22, 2022, 11:33am UTC](https://forums.plex.tv/t/cant-access-plex-server/772272/2 "2022-01-22T11:33:35Z")

</div>

Moved to a separate thread, since the other was already marked as solved

In an SSH console, type the following and show us the output afterwards

`$(getcfg -f /etc/config/qpkg.conf PlexMediaServer Install_path)/plex.sh restart`

---

<div class="post-metadata">

**Author:** ![rossinior](https://avatars.discourse-cdn.com/v4/letter/r/5f8ce5/32.png) [@rossinior](https://forums.plex.tv/u/rossinior)\
**Post date:** [January 22, 2022, 2:03pm UTC](https://forums.plex.tv/t/cant-access-plex-server/772272/3 "2022-01-22T14:03:40Z")

</div>

Hi @dane22

I am lost, too.  
I updated to the latest beta 2,5 hours ago and since then, I cannot access my QNAP server any longer. I read about “update taking longer” but I only find a couple of WARNINGS about plug-ins not being found when I check the logs via SSH…

What exactly’s the procedure to find out which problem I do have?

> [@dane22](#):
>
> $(getcfg -f /etc/config/qpkg.conf PlexMediaServer Install\_path)/plex.sh restart

With the server being started?

---

<div class="post-metadata">

**Author:** ![rossinior](https://avatars.discourse-cdn.com/v4/letter/r/5f8ce5/32.png) [@rossinior](https://forums.plex.tv/u/rossinior)\
**Post date:** [January 22, 2022, 2:07pm UTC](https://forums.plex.tv/t/cant-access-plex-server/772272/4 "2022-01-22T14:07:36Z")

</div>

Mine shows:  
Plex Media Server hasn’t been enabled or started…  
Starting Plex Media Server…  
Sqlite3: Sleeping for 200ms to retry busy DB.  
Sqlite3: Sleeping for 200ms to retry busy DB.  
Sqlite3: Sleeping for 200ms to retry busy DB.  
Sqlite3: Sleeping for 200ms to retry busy DB.  
Sqlite3: Sleeping for 200ms to retry busy DB.  
Sqlite3: Sleeping for 200ms to retry busy DB.  
Sqlite3: Sleeping for 200ms to retry busy DB.  
Sqlite3: Sleeping for 200ms to retry busy DB.  
Sqlite3: Sleeping for 200ms to retry busy DB.  
Sqlite3: Sleeping for 200ms to retry busy DB.  
Sqlite3: Sleeping for 200ms to retry busy DB.  
Sqlite3: Sleeping for 200ms to retry busy DB.  
Sqlite3: Sleeping for 200ms to retry busy DB.  
Sqlite3: Sleeping for 200ms to retry busy DB.  
Sqlite3: Sleeping for 200ms to retry busy DB.  
Sqlite3: Sleeping for 200ms to retry busy DB.  
Sqlite3: Sleeping for 200ms to retry busy DB.  
Sqlite3: Sleeping for 200ms to retry busy DB.  
Sqlite3: Sleeping for 200ms to retry busy DB.  
Sqlite3: Sleeping for 200ms to retry busy DB.  
Error: Unable to set up server: sqlite3\_statement\_backend::loadOne: database is locked (N4soci10soci\_errorE)

---

<div class="post-metadata">

**Author:** ![dane22](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/dane22/32/4389_2.png) [@dane22](https://forums.plex.tv/u/dane22)\
**Post date:** [January 22, 2022, 3:09pm UTC](https://forums.plex.tv/t/cant-access-plex-server/772272/5 "2022-01-22T15:09:04Z")

</div>

Above means the following:

> [@rossinior](#):
>
> Plex Media Server hasn’t been enabled or started…

It’s stopped in the AppCenter, and was started from SSH

> [@rossinior](#):
>
> Error: Unable to set up server: sqlite3\_statement\_backend::loadOne: database is locked

A former process has locked the database, and will not let go ☹

Type the following:

`$(getcfg -f /etc/config/qpkg.conf PlexMediaServer Install_path)/plex.sh stop`

Wait 2 min, and then type:

`ps aux | grep plex`

If it respond with anything else than a single line with the words `grep plex` in it, then a process is still running and needs to be killed, so please show the output if so

If it doesn’t show anything else, then type:

`$(getcfg -f /etc/config/qpkg.conf PlexMediaServer Install_path)/plex.sh start`

and show the output

---

<div class="post-metadata">

**Author:** ![rossinior](https://avatars.discourse-cdn.com/v4/letter/r/5f8ce5/32.png) [@rossinior](https://forums.plex.tv/u/rossinior)\
**Post date:** [January 22, 2022, 3:19pm UTC](https://forums.plex.tv/t/cant-access-plex-server/772272/6 "2022-01-22T15:19:27Z")

</div>

> [@dane22](#):
>
> If it respond with anything else than a single line with the words `grep plex` in it, then a process is still running and needs to be killed, so please show the output if so

Here’s the output:

```auto
19554 admin 146400 S N Plex Plug-in [com.plexapp.system] /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Resources/Plug-ins-f11334058/Framework.bundle/Contents/Resources/Versions/2/Python/bootstrap.py --server-version 1.25.3.5409-f11334058 /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Resources/Plug-ins-f11334058/System.bundle
21229 admin 38112 S Plex Plug-in [com.plexapp.plugins.WebTools] /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Resources/Plug-ins-f11334058/Framework.bundle/Contents/Resources/Versions/2/Python/bootstrap.py --server-version 1.25.3.5409-f11334058 /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Library/Plex Media Server/Plug-ins/WebTools.bundle

```

---

<div class="post-metadata">

**Author:** ![dane22](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/dane22/32/4389_2.png) [@dane22](https://forums.plex.tv/u/dane22)\
**Post date:** [January 22, 2022, 4:18pm UTC](https://forums.plex.tv/t/cant-access-plex-server/772272/7 "2022-01-22T16:18:03Z")

</div>

Type the following:

```auto
kill -9 19554
kill -9 21229
$(getcfg -f /etc/config/qpkg.conf PlexMediaServer Install_path)/plex.sh start

```

---

<div class="post-metadata">

**Author:** ![rossinior](https://avatars.discourse-cdn.com/v4/letter/r/5f8ce5/32.png) [@rossinior](https://forums.plex.tv/u/rossinior)\
**Post date:** [January 22, 2022, 4:24pm UTC](https://forums.plex.tv/t/cant-access-plex-server/772272/8 "2022-01-22T16:24:20Z")

</div>

The kill processes leave no processes open, but starting the server via command line just shows the same result (locked db) as before.

---

<div class="post-metadata">

**Author:** ![dane22](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/dane22/32/4389_2.png) [@dane22](https://forums.plex.tv/u/dane22)\
**Post date:** [January 22, 2022, 4:30pm UTC](https://forums.plex.tv/t/cant-access-plex-server/772272/9 "2022-01-22T16:30:42Z")

</div>

Then sadly the OS File-System is not releasing the lock when the process is killed.

Can only suggest then, that you restart your QNAP

---

<div class="post-metadata">

**Author:** ![rossinior](https://avatars.discourse-cdn.com/v4/letter/r/5f8ce5/32.png) [@rossinior](https://forums.plex.tv/u/rossinior)\
**Post date:** [January 22, 2022, 4:31pm UTC](https://forums.plex.tv/t/cant-access-plex-server/772272/10 "2022-01-22T16:31:49Z")

</div>

I am just doing this as we speak. Any things I need to check with the QNAP starting? Database integrity? I am not used to things like that…

---

<div class="post-metadata">

**Author:** ![dane22](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/dane22/32/4389_2.png) [@dane22](https://forums.plex.tv/u/dane22)\
**Post date:** [January 22, 2022, 4:33pm UTC](https://forums.plex.tv/t/cant-access-plex-server/772272/11 "2022-01-22T16:33:29Z")

</div>

Start with the reboot, and start from the QTS AppCenter

Then report back

---

<div class="post-metadata">

**Author:** ![rossinior](https://avatars.discourse-cdn.com/v4/letter/r/5f8ce5/32.png) [@rossinior](https://forums.plex.tv/u/rossinior)\
**Post date:** [January 22, 2022, 4:50pm UTC](https://forums.plex.tv/t/cant-access-plex-server/772272/12 "2022-01-22T16:50:09Z")

</div>

> [@dane22](#):
>
> Start with the reboot, and start from the QTS AppCenter

Well, after server restart, PMS is running (automatically)…  
Since I could not be sure that the last update was working okay, I stopped/killed all processes, then re-installed latest Plex beta, then restarted the server.

There I am now…

BTW: Thank you so much for supporting me with that problem…

---

<div class="post-metadata">

**Author:** ![dane22](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/dane22/32/4389_2.png) [@dane22](https://forums.plex.tv/u/dane22)\
**Post date:** [January 22, 2022, 5:34pm UTC](https://forums.plex.tv/t/cant-access-plex-server/772272/13 "2022-01-22T17:34:13Z")

</div>

> [@rossinior](#):
>
> There I am now

Meaning it works, or ?

---

<div class="post-metadata">

**Author:** ![dane22](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/dane22/32/4389_2.png) [@dane22](https://forums.plex.tv/u/dane22)\
**Post date:** [January 22, 2022, 5:35pm UTC](https://forums.plex.tv/t/cant-access-plex-server/772272/14 "2022-01-22T17:35:09Z")

</div>

And note that latest does DB cleanups, so could take a long time to start

Ref: [Plex Media Server - #481 by drzoidberg33](https://forums.plex.tv/t/plex-media-server/30447/481)

---

<div class="post-metadata">

**Author:** ![rossinior](https://avatars.discourse-cdn.com/v4/letter/r/5f8ce5/32.png) [@rossinior](https://forums.plex.tv/u/rossinior)\
**Post date:** [January 22, 2022, 7:29pm UTC](https://forums.plex.tv/t/cant-access-plex-server/772272/15 "2022-01-22T19:29:24Z")

</div>

Yeah, it works… I am not sure about the database maintainance work… it was working pretty instantly after server restart.

---

<div class="post-metadata">

**Author:** ![dane22](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/dane22/32/4389_2.png) [@dane22](https://forums.plex.tv/u/dane22)\
**Post date:** [January 23, 2022, 1:12am UTC](https://forums.plex.tv/t/cant-access-plex-server/772272/16 "2022-01-23T01:12:18Z")

</div>

A post was split to a new topic: [Write Access denied](https://forums.plex.tv/t/write-access-denied/772383)

---

<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:** [April 23, 2022, 1:12am UTC](https://forums.plex.tv/t/cant-access-plex-server/772272/17 "2022-04-23T01:12:29Z")

</div>

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