Plex Media Server App does not work

Plex Media Center bridges the gap between your NAS and your home theater, doing so with a visually appealing user interface that provides instant access to your media.

Moderator: Lillian.W@AST

Post Reply
New2AS
Posts: 3
youtube meble na wymiar Warszawa
Joined: Sat Jul 17, 2021 2:51 pm

Plex Media Server App does not work

Post by New2AS »

Hello!

Setting up a AS1002T v2 (ADM version: 3.5.7.RJ92) and tried Plex Media Server. ip:32400/web --> Unable to connect/This site can’t be reached/Hmmm… can't reach this page

I'm fully up to date, have tried re-installing, rebooting, manually installing from plex.tv, did a voodoo dance, and I was moving the mouse clockwise the entire time (makes it faster)

There is no plex service running and the log from Plex/Library/PlexMediaServer/Logs says this:

Jul 16, 2021 22:01:23.140 [0xb422bd48] INFO - Plex Media Server v1.23.4.4805-186bae04e - ASUSTOR AS1002T armv7l - build: linux-armv7neon asustor - GMT -09:00
Jul 16, 2021 22:01:23.143 [0xb422bd48] INFO - Linux version: ADM 3.5.7.RJ92, language: en-US
Jul 16, 2021 22:01:23.143 [0xb422bd48] INFO - Processor Arm
Jul 16, 2021 22:01:23.143 [0xb422bd48] INFO - Compiler is - Clang 11.0.1 (https://plex.tv e0c29d5827bc4eaaa2ceb882cbeed224b0960173)
Jul 16, 2021 22:01:23.143 [0xb422bd48] INFO - /usr/local/AppCentral/plexmediaserver/Plex Media Server
Jul 16, 2021 22:01:23.143 [0xb6c2aed0] DEBUG - BPQ: [Idle] -> [Starting]
Jul 16, 2021 22:01:23.144 [0xb6c2aed0] DEBUG - Opening 20 database sessions to library (com.plexapp.plugins.library), SQLite 3.35.5, threadsafe=1
Jul 16, 2021 22:01:23.189 [0xb6c2aed0] DEBUG - Running migrations. (EPG 0)
Jul 16, 2021 22:01:23.190 [0xb6c2aed0] ERROR - SQLITE3:(nil), 1, no such table: schema_migrations in "select version from schema_migrations order by version"
Jul 16, 2021 22:01:23.190 [0xb6c2aed0] ERROR - Database corruption: sqlite3_statement_backend::prepare: no such table: schema_migrations for SQL: select version from schema_migrations order by version
Jul 16, 2021 22:01:23.190 [0xb6c2aed0] ERROR - Error: Unable to set up server: sqlite3_statement_backend::prepare: no such table: schema_migrations for SQL: select version from schema_migrations order by version (N4soci10soci_errorE)


And here is a log that was a little different from earlier:

Jul 16, 2021 21:36:09.277 [0xb4229d48] INFO - Plex Media Server v1.23.4.4805-186bae04e - ASUSTOR AS1002T armv7l - build: linux-armv7neon asustor - GMT -09:00
Jul 16, 2021 21:36:09.278 [0xb4229d48] INFO - Linux version: ADM 3.5.7.RJ92, language: en-US
Jul 16, 2021 21:36:09.278 [0xb4229d48] INFO - Processor Arm
Jul 16, 2021 21:36:09.278 [0xb4229d48] INFO - Compiler is - Clang 11.0.1 (https://plex.tv e0c29d5827bc4eaaa2ceb882cbeed224b0960173)
Jul 16, 2021 21:36:09.278 [0xb4229d48] INFO - /usr/local/AppCentral/plexmediaserver/Plex Media Server
Jul 16, 2021 21:36:09.280 [0xb6c28ed0] DEBUG - BPQ: [Idle] -> [Starting]
Jul 16, 2021 21:36:09.280 [0xb6c28ed0] ERROR - Unable to open named mutex 9334581e-7251-4ef7-a8ec-5bfe8e89ff68 with option 1: File exists
Jul 16, 2021 21:36:09.281 [0xb6c28ed0] DEBUG - Opening 20 database sessions to library (com.plexapp.plugins.library), SQLite 3.35.5, threadsafe=1
Jul 16, 2021 21:36:09.293 [0xb6c28ed0] DEBUG - Running migrations. (EPG 0)
Jul 16, 2021 21:36:09.294 [0xb6c28ed0] ERROR - SQLITE3:(nil), 1, no such table: schema_migrations in "select version from schema_migrations order by version"
Jul 16, 2021 21:36:09.294 [0xb6c28ed0] ERROR - Database corruption: sqlite3_statement_backend::prepare: no such table: schema_migrations for SQL: select version from schema_migrations order by version
Jul 16, 2021 21:36:09.294 [0xb6c28ed0] ERROR - Error: Unable to set up server: sqlite3_statement_backend::prepare: no such table: schema_migrations for SQL: select version from schema_migrations order by version (N4soci10soci_errorE)


Please Help!
User avatar
Nazar78
Posts: 2003
Joined: Wed Jul 17, 2019 10:21 pm
Location: Singapore
Contact:

Re: Plex Media Server App does not work

Post by Nazar78 »

Try deleting the plex share data under /volume1/Plex/. Then retry.
AS5304T - 16GB DDR4 - ADM-OS modded on 2GB RAM
Internal:
- 4x10TB Toshiba RAID10 Ext4-Journal=Off
External 5 Bay USB3:
- 4x2TB Seagate modded RAID0 Btrfs-Compression
- 480GB Intel SSD for modded dm-cache (initramfs auto update patch) and Apps

When posting, consider checking the box "Notify me when a reply is posted" to get faster response
New2AS
Posts: 3
Joined: Sat Jul 17, 2021 2:51 pm

Re: Plex Media Server App does not work

Post by New2AS »

Was just told by Asustor support that the current plex build has a compatibility issue.
...after communicating with the developer of the application, currently, it has a compatibility issue with our ADM.

So they are working to upgrade it, unfortunately, no ETA for the moment, and will let you know if I get any updates.
New2AS
Posts: 3
Joined: Sat Jul 17, 2021 2:51 pm

Re: Plex Media Server App does not work

Post by New2AS »

Nazar78 wrote:Try deleting the plex share data under /volume1/Plex/. Then retry.
Saw there was an update. Still no luck. So I tried what you suggested. Still nothing. and the log showed this:

Code: Select all

Jul 23, 2021 14:18:14.721 [0xb41d8d48] INFO - Plex Media Server v1.23.5.4841-549599676 - ASUSTOR AS1002T armv7l - build: linux-armv7neon asustor - GMT -09:00
Jul 23, 2021 14:18:14.722 [0xb41d8d48] INFO - Linux version: ADM 3.5.7.RJ92, language: en-US
Jul 23, 2021 14:18:14.722 [0xb41d8d48] INFO - Processor Arm
Jul 23, 2021 14:18:14.722 [0xb41d8d48] INFO - Compiler is - Clang 11.0.1 (https://plex.tv e0c29d5827bc4eaaa2ceb882cbeed224b0960173)
Jul 23, 2021 14:18:14.722 [0xb41d8d48] INFO - /usr/local/AppCentral/plexmediaserver/Plex Media Server
Jul 23, 2021 14:18:14.717 [0xb6bd7ed0] DEBUG - BPQ: [Idle] -> [Starting]
Jul 23, 2021 14:18:14.719 [0xb6bd7ed0] DEBUG - Opening 20 database sessions to library (com.plexapp.plugins.library), SQLite 3.35.5, threadsafe=1
Jul 23, 2021 14:18:14.719 [0xb6bd7ed0] DEBUG - Installing Library Database from ["/volume1/.@plugins/AppCentral/plexmediaserver/Resources/com.plexapp.plugins.library.db"] to ["/volume1/Plex/Library/Plex Media Server/Plug-in Support/Databases/com.plexapp.plugins.library.db"]
Jul 23, 2021 14:18:14.719 [0xb6bd7ed0] ERROR - Couldn't copy file "/volume1/.@plugins/AppCentral/plexmediaserver/Resources/com.plexapp.plugins.library.db" to "/volume1/Plex/Library/Plex Media Server/Plug-in Support/Databases/com.plexapp.plugins.library.db": Invalid argument
Jul 23, 2021 14:18:14.885 [0xb6bd7ed0] DEBUG - Running migrations. (EPG 0)
Jul 23, 2021 14:18:14.886 [0xb6bd7ed0] ERROR - SQLITE3:(nil), 1, no such table: schema_migrations in "select version from schema_migrations order by version"
Jul 23, 2021 14:18:14.886 [0xb6bd7ed0] ERROR - Database corruption: sqlite3_statement_backend::prepare: no such table: schema_migrations for SQL: select version from schema_migrations order by version
Jul 23, 2021 14:18:14.886 [0xb6bd7ed0] ERROR - Error: Unable to set up server: sqlite3_statement_backend::prepare: no such table: schema_migrations for SQL: select version from schema_migrations order by version (N4soci10soci_errorE)
Sure enough, it recreated the folders that I just deleted, but still won't do anything. No plex service running so no webpage generated.
User avatar
Nazar78
Posts: 2003
Joined: Wed Jul 17, 2019 10:21 pm
Location: Singapore
Contact:

Re: Plex Media Server App does not work

Post by Nazar78 »

I'm on a different architecture and furthermore I'm no longer using plex, had switched to jellyfin long ago, hence I'm not able to give the exact help.

Plex is a closed source so it's harder to debug but from your logs it looks like there's something wrong with the db. From your recent post, it wasn't able to copy the db, try copying it manually. SSH as root into your NAS. Make sure plex isn't running then copy & paste:

Code: Select all

# Recreate the path in case it doesn't exists.
mkdir -p /volume1/Plex/Library/Plex Media Server/Plug-in Support/Databases

# Copy the db file.
cp -a /volume1/.@plugins/AppCentral/plexmediaserver/Resources/com.plexapp.plugins.library.db /volume1/Plex/Library/Plex Media Server/Plug-in Support/Databases/com.plexapp.plugins.library.db
After copying try restart plex see if it solves the issue.

And also from your initial post looks like it can't find a specific table, probably created only during an upgrade. If you know SQL, specifically sqlite3 in this case, you can easily recreate this table schema and populate its contents. Get a working copy from e.g. installed from another NAS/Windows, dump its db then checkout its schema_migrations table then recreate in the target. I don't think you can just copy the db from one to another due to system layout unless if you have similar systems.

Please note that these are just my assumptions best to check with plex forum as they're the code owners.
AS5304T - 16GB DDR4 - ADM-OS modded on 2GB RAM
Internal:
- 4x10TB Toshiba RAID10 Ext4-Journal=Off
External 5 Bay USB3:
- 4x2TB Seagate modded RAID0 Btrfs-Compression
- 480GB Intel SSD for modded dm-cache (initramfs auto update patch) and Apps

When posting, consider checking the box "Notify me when a reply is posted" to get faster response
lawdog71@mail.com
Posts: 2
Joined: Mon Oct 04, 2021 9:42 pm

Re: Plex Media Server App does not work

Post by lawdog71@mail.com »

I am having the exact same problem, I've installed and uninstalled a few times and seem to see the same error. Any suggestions?

Oct 03, 2021 17:21:31.085 [0xb3b69d48] INFO - Plex Media Server v1.24.3.5033-757abe6b4 - ASUSTOR AS1004T armv7l - build: linux-armv7neon asustor - GMT -07:00
Oct 03, 2021 17:21:31.086 [0xb3b69d48] INFO - Linux version: ADM 3.5.7.RKU2, language: en-US
Oct 03, 2021 17:21:31.086 [0xb3b69d48] INFO - Processor Arm
Oct 03, 2021 17:21:31.086 [0xb3b69d48] INFO - Compiler is - Clang 11.0.1 (https://plex.tv e0c29d5827bc4eaaa2ceb882cbeed224b0960173)
Oct 03, 2021 17:21:31.086 [0xb3b69d48] INFO - /usr/local/AppCentral/plexmediaserver/Plex Media Server
Oct 03, 2021 17:21:31.080 [0xb6d29e80] DEBUG - BPQ: [Idle] -> [Starting]
Oct 03, 2021 17:21:31.082 [0xb6d29e80] DEBUG - Opening 20 database sessions to library (com.plexapp.plugins.library), SQLite 3.35.5, threadsafe=1
Oct 03, 2021 17:21:31.082 [0xb6d29e80] DEBUG - Installing Library Database from ["/volume1/.@plugins/AppCentral/plexmediaserver/Resources/com.plexapp.plugins.library.db"] to ["/volume1/Plex/Library/Plex Media Server/Plug-in Support/Databases/com.plexapp.plugins.library.db"]
Oct 03, 2021 17:21:31.082 [0xb6d29e80] ERROR - Couldn't copy file "/volume1/.@plugins/AppCentral/plexmediaserver/Resources/com.plexapp.plugins.library.db" to "/volume1/Plex/Library/Plex Media Server/Plug-in Support/Databases/com.plexapp.plugins.library.db": Invalid argument
Oct 03, 2021 17:21:32.312 [0xb6d29e80] DEBUG - Running migrations. (EPG 0)
Oct 03, 2021 17:21:32.312 [0xb6d29e80] ERROR - SQLITE3:(nil), 1, no such table: schema_migrations in "select version from schema_migrations order by version"
Oct 03, 2021 17:21:32.312 [0xb6d29e80] ERROR - Database corruption: sqlite3_statement_backend::prepare: no such table: schema_migrations for SQL: select version from schema_migrations order by version
Oct 03, 2021 17:21:32.312 [0xb6d29e80] ERROR - Error: Unable to set up server: sqlite3_statement_backend::prepare: no such table: schema_migrations for SQL: select version from schema_migrations order by version (N4soci10soci_errorE)
lawdog71@mail.com
Posts: 2
Joined: Mon Oct 04, 2021 9:42 pm

Re: Plex Media Server App does not work - SOLUTION!

Post by lawdog71@mail.com »

I found a solution, DO NOT download Asustor installer package, instead download directly from PLEX and manually install:

https://www.plex.tv/media-server-downlo ... dia-server

Select > ASUSTOR
Choose Package > ARMv7
Goto > AppCentral > Management
Select > Manual Install
Locate Downloaded file*
Select > Upload

After 3 days of trying to get PLEX to work, it does. You'll note that ASUSTOR install package (compared to direct Plex download package) is missing NUMEROUS files, particularly in the database directory.

**I failed to mention in original post, I performed Uninstall for the AppCentral Plex and noted in file manager that Plex was not removed at all, so I manually deleted the Plex folders before I performed above action.**

****ASUSTOR PROVIDE THE CORRECT PACKAGE****
canufrank
Posts: 25
Joined: Mon Jan 20, 2014 3:29 am

Re: Plex Media Server App does not work

Post by canufrank »

downloading from plex.tv for my as6404t (intel 64-bit) failed to work. after manual install, the app looks live in app central but will not load in browser.

otoh, deleting, restarting device and re-installing from app central did work.
Last edited by canufrank on Thu Jul 14, 2022 6:58 am, edited 1 time in total.
BigErn
Posts: 17
Joined: Tue Jan 28, 2020 9:11 am

Re: Plex Media Server App does not work

Post by BigErn »

Use this link and try the manual install instructions given a couple posts up.

https://downloads.plex.tv/plex-media-se ... x86_64.apk
Post Reply

Return to “Plex”