(Solved) Not able to see PMS/Plex web after HDD replacement

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
Northy
Posts: 29
youtube meble na wymiar Warszawa
Joined: Sun May 11, 2014 2:53 am

(Solved) Not able to see PMS/Plex web after HDD replacement

Post by Northy »

Hi mates!

I have a AS6104T

I just replaced my HDD's with bigger drives.
So far so good... It's all there :)

But I'm not able to see my PMS
When I go locally through my Plex Media Server via the browser, I just get a "Site can't be reached" or Access denied
If I connect with my AppleTv, all my pinned stuff is grayed out, with a yellow ! triangle

Anyone got any clue??

I tried restart my NAS, I tried turn on/off the plex app...
Nothing!

Please advise
Northy
Attachments
2022-12-05 15.32.10 192.168.10.198 8d610a1cc32e.jpg
2022-12-05 15.32.10 192.168.10.198 8d610a1cc32e.jpg (35.93 KiB) Viewed 2076 times
Last edited by Northy on Tue Dec 06, 2022 3:20 am, edited 1 time in total.
User avatar
Nazar78
Posts: 2002
Joined: Wed Jul 17, 2019 10:21 pm
Location: Singapore
Contact:

Re: Not able to see PMS/Plex web after HDD replacement

Post by Nazar78 »

Try reinstalling the app.
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
Northy
Posts: 29
Joined: Sun May 11, 2014 2:53 am

Re: Not able to see PMS/Plex web after HDD replacement

Post by Northy »

Hi Nazar..

Thanks for your reply
Wouldn't I loose all my settings, libs etc if I reinstall?
Northy
Posts: 29
Joined: Sun May 11, 2014 2:53 am

Re: Not able to see PMS/Plex web after HDD replacement

Post by Northy »

Reinstalled.... No difference
User avatar
Nazar78
Posts: 2002
Joined: Wed Jul 17, 2019 10:21 pm
Location: Singapore
Contact:

Re: Not able to see PMS/Plex web after HDD replacement

Post by Nazar78 »

No you would not lose anything as the path /volume1/Plex is retained.

If reinstalling doesn't help, then you should look into the Plex logs what's wrong with it. Did the daemon start up successfully? Is the port 32400 listening?

Code: Select all

netstat -natp|grep :32400
You can also try test start fresh by renaming the Plex path see if it helps.

Sorry I've replaced Plex with Jellyfin a long time ago.
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
Northy
Posts: 29
Joined: Sun May 11, 2014 2:53 am

Re: Not able to see PMS/Plex web after HDD replacement

Post by Northy »

Ehh, checked the log. It's listening, but it seems like I have some sort of corruption.........

Dec 05, 2022 16:14:54.458 [0x7feeda62d1c0] DEBUG - HttpServer: Listening on IPv6 as well as IPv4.
Dec 05, 2022 16:14:54.458 [0x7feeda62d1c0] DEBUG - HttpServer: Listening on port 32400.
Dec 05, 2022 16:14:54.459 [0x7feeda62d1c0] DEBUG - HttpServer: Listening on port 32401.
Dec 05, 2022 16:14:54.459 [0x7feeda62d1c0] DEBUG - Running server...
Dec 05, 2022 16:14:54.459 [0x7feeda62d1c0] DEBUG - Opening 20 database sessions to library (com.plexapp.plugins.library), SQLite 3.35.5, threadsafe=1
Dec 05, 2022 16:14:54.460 [0x7feeda62d1c0] ERROR - SQLITE3:0x80000001, 11, database corruption at line 68176 of [1b256d97b5]
Dec 05, 2022 16:14:54.460 [0x7feeda62d1c0] ERROR - SQLITE3:0x80000001, 11, database disk image is malformed in "PRAGMA cache_size=2000"
Dec 05, 2022 16:14:54.461 [0x7feeda62d1c0] ERROR - Database corruption: sqlite3_statement_backend::prepare: database disk image is malformed for SQL: PRAGMA cache_size=2000
Dec 05, 2022 16:14:54.461 [0x7feeda62d1c0] ERROR - Error: Unable to set up server: sqlite3_statement_backend::prepare: database disk image is malformed for SQL: PRAGMA cache_size=2000 (N4soci10soci_errorE)

Is there any way I can fix this without redo everything?
It would take me weeks..
User avatar
Nazar78
Posts: 2002
Joined: Wed Jul 17, 2019 10:21 pm
Location: Singapore
Contact:

Re: Not able to see PMS/Plex web after HDD replacement

Post by Nazar78 »

YMMV... These questions are best asked on the Plex support forum.

You can refer here, https://support.plex.tv/articles/repair ... -database/.

If my memory serves me right, try below, shutdown Plex, install sqlite3 from Entware repo in the App Central.

Code: Select all

opkg update && opkg install sqlite3-cli
Find the db file in the /volume1/Plex/, change into the path, backup first the db file then try recover:

Code: Select all

# Change into the DB path
cd "/volume1/Plex/Library/Application Support/Plex Media Server/Plug-in Support/Databases"

# Backup
cp -a com.plexapp.plugins.library.db com.plexapp.plugins.library.db.$(date +%Y-%m-%d_%H:%M:%S).bak

# Rename the corrupted DB
mv -f com.plexapp.plugins.library.db com.plexapp.plugins.library.db.$$

# Try recover
sqlite3 com.plexapp.plugins.library.db.$$ ".recover"|sqlite3 com.plexapp.plugins.library.db
Note, I'm no longer using Plex and writing above from top of my mind, please double check.
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
Northy
Posts: 29
Joined: Sun May 11, 2014 2:53 am

Re: (Solved) Not able to see PMS/Plex web after HDD replacement

Post by Northy »

Nazar!!!
You're the man... Big up!

I just renamed a few of the db files as suggested, and WAM, I'm in..
Thank you very much.. You saved me from looooooooooooooots of work...
You're the hero.

Thanks again, and again, and again, and again, and again, well you get it ;)
Northy
User avatar
Nazar78
Posts: 2002
Joined: Wed Jul 17, 2019 10:21 pm
Location: Singapore
Contact:

Re: (Solved) Not able to see PMS/Plex web after HDD replacement

Post by Nazar78 »

NP, glad it helps, do backup the db, metadata and images etc. regularly. You can schedule using the Asustor's Backup and Restore. I'm using a slightly different approach cron-tar-gz for my Jellyfin as well that's running in chroot.
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
Northy
Posts: 29
Joined: Sun May 11, 2014 2:53 am

Re: (Solved) Not able to see PMS/Plex web after HDD replacement

Post by Northy »

Yes, I'm very glad I've done that.. That and you saved me this time :)
Post Reply

Return to “Plex”