Jump to content
linuxserver.io

[Support] Linuxserver.io - Plex Media Server

4025 posts in this topic Last Reply

Recommended Posts

34 minutes ago, JT24 said:

Could you please post how to do this?

Isn't he just talking about the CA Appdata Backup/Restore plugin?

 

It lets you specify the folder to which to backup your appdata folder and the schedule on which it is done.  Mine is weekly.

 

image.thumb.png.37b99042594fb276d9cdc0c80f6e9523.png

Share this post


Link to post
6 hours ago, JT24 said:

Dammit, it's happened again.

Overnight something must've happened.

 

This morning, I woke to this....


Starting Plex Media Server.
Starting Plex Media Server.
Starting Plex Media Server.
Starting Plex Media Server.

 

Last time this occurred, I changed the app data folder to a specific drive.       /mnt/disk1/appdata/plex

 

Does anyone have any ideas how to prevent this?

Is there a way to salvage the database and rebuild it?

 

How can I try this?

https://support.plex.tv/articles/201100678-repair-a-corrupt-database/?_ga=2.158357434.1477259291.1572050764-45369178.1571561051

I'm not sure how to execute these commands.

Edited by JT24

Share this post


Link to post

Hi,

 

i have a curious problem - everytime i look for docker updates, my plex (and tautilli) says that there is a update. But when i go on update it says its the latest version....

 

Pulling image: linuxserver/plex:latest

IMAGE ID [latest]: Pulling from linuxserver/plex.
Status: Image is up to date for linuxserver/plex:latest

TOTAL DATA PULLED: 0 B

 

I got the same problem with the linuxserver.io tautilli docker.

Share this post


Link to post
On 10/26/2019 at 1:24 AM, JT24 said:

Is there a way to salvage the database and rebuild it?

 

How can I try this?

https://support.plex.tv/articles/201100678-repair-a-corrupt-database/?_ga=2.158357434.1477259291.1572050764-45369178.1571561051

I'm not sure how to execute these commands.

I think you just go into the console of the Plex docker from the docker menu and run the linux commands from the location where the databases are.

Share this post


Link to post
3 hours ago, DazedAndConfused said:

I think you just go into the console of the Plex docker from the docker menu and run the linux commands from the location where the databases are.

I've just copied and pasted the commands into the console. Pretty sure it wasn't going to work, and it didn't.

Any ideas as to how I can run them correctly?

Share this post


Link to post

I am trying to migrate from the needo/plex Docker to this one but I can't for the life of me get this Docker to recognize the data in the app date location from the old docker.

 

Is there a way for me migrate that data easily?  

Share this post


Link to post
3 hours ago, coblck said:

Try this 

 

 

Awesome, thank you!  Solved!

Share this post


Link to post

So since updating to Version 6.7.2 I've had issues with different plex dockers where it'd just "crash" and become unreachable. I've tried rebooting it, restarting, pausing, stopping the dockers and have never been able to get them back going again. I've "solved" this by switching back and forth between different dockers and setting them up again, but it just happened again and want to see if there's anything else I should try. Do you guys have any suggestions? No idea what's causing it or how to solve it. Other dockers apps seem fine (not experiencing this issue). No idea what to do, any help would be much appreciated. 

Share this post


Link to post

Update to 6.8 RC5 as you are likely hitting Plex Database corruptions.

Edited by BRiT

Share this post


Link to post

Okay, just switched to another Docker and setting it up again. I'll update tomorrow (fingers crossed), hopefully everything will go smooth there. So is this a known problem with 6.7.2? 

Share this post


Link to post

Very much so. Some get hit while others don't.

Share this post


Link to post
1 hour ago, yanksno1 said:

So is this a known problem with 6.7.2? 

Applications that use the SQLite database (as does Plex and many others) were far more likely to suffer frequent database corruption if the appdata share was not stored on a cache drive.

 

If you have no cache drive (or you were not storing appdata there) and if appdata is not limited to a single disk on your array (this reduced but did not eliminate the database corruption) it was highly likely that with any 6.7x version of unRAID, you would get frequent database corruption.

 

It took a long time to track this down and fix it, but, 6.8.0-rc5 appears have finally licked this nasty bug.

 

FYI - I have an SSD cache drive and have ALWAYS had appdata on the cache drive and I never have experienced SQLite database corruption with any unRAID release, including the 6.7,x versions.

Share this post


Link to post

Okay thanks guys. A couple times when re-building it, I pointed to the old app directory in hopes it'd copy everything over into it but that didn't work both times. So I'm guessing it was the Plex DB corruption issue like you said. Don't have my stuff on my cache drive yet, but asked a couple questions here. I ended up updating to 6.8.0-rc5, so hopefully that'll solve this issue in the meantime before setting up my cache drive. Thanks for the help, much appreciated!

Share this post


Link to post

Hi guys,

 

Was adding some new content to my TV Series yesterday and one show seems to have got stuck since I can’t even delete it from Plex, when I try to remove the item it gives me the error “There was a problem deleting this item.”.

 

I did remove it from the hard drive but still there and scan fails.

 

Looking at the console I can see the following errors repeating:

SQLITE3:(nil), 11, database corruption at line 65066 of [bf8c1b2b7a]
Thread: Uncaught exception running async task which was spawned by thread 0x14ddac521700: sqlite3_statement_backend::loadOne: database disk image is malformed
SQLITE3:(nil), 11, statement aborts at 9: [select statistics_bandwidth.id as ‘statistics_bandwidth_id’, statistics_bandwidth.account_id as ‘statistics_bandwidth_account_id’, statistics_bandwidth.device_id as 'statistics_bandwidt

 

I am running this on a docker container on UnRaid, is there anyway I can repair this?? Did not want to redo the whole thing again!

Many thanks

Share this post


Link to post
2 hours ago, LondonDragon said:

Hi guys,

 

Was adding some new content to my TV Series yesterday and one show seems to have got stuck since I can’t even delete it from Plex, when I try to remove the item it gives me the error “There was a problem deleting this item.”.

 

I did remove it from the hard drive but still there and scan fails.

 

Looking at the console I can see the following errors repeating:

SQLITE3:(nil), 11, database corruption at line 65066 of [bf8c1b2b7a]
Thread: Uncaught exception running async task which was spawned by thread 0x14ddac521700: sqlite3_statement_backend::loadOne: database disk image is malformed
SQLITE3:(nil), 11, statement aborts at 9: [select statistics_bandwidth.id as ‘statistics_bandwidth_id’, statistics_bandwidth.account_id as ‘statistics_bandwidth_account_id’, statistics_bandwidth.device_id as 'statistics_bandwidt

 

I am running this on a docker container on UnRaid, is there anyway I can repair this?? Did not want to redo the whole thing again!

Many thanks

There is multiple post about fixing a corrupt database in this thread. Look at the previous pages or go to the plex support page and find how to fix a corrupt database.

Share this post


Link to post
2 minutes ago, Spoonsy1480 said:

Just switched to 6.8 rc5 and my plex docker will not start, was running before with no problems 

Post diagnostics and docker run command.

Share this post


Link to post
Post diagnostics and docker run command.

 

I will when I get home, I haven’t changed anything but updated to 6.8 rc5 plex was working before

 

 

Sent from my iPhone using Tapatalk

Share this post


Link to post

Went to update my Plex docker to the latest, and it's been sitting here for about 2 hours. What SHOULD I do?
19392970_Annotation2019-11-13212822.png.99cbf807c1347b3a34c09b3e3e209806.png

Share this post


Link to post
9 minutes ago, buellmule said:

What SHOULD I do?

Open a new tab and grab diagnostics for posting here

Share this post


Link to post

Your log is 100% full.   Probably due to a recurring PCIe error.  (mobile so its a PITA quote the error), except to suggest to reseat any add on cards and possiboy check for BIOS updates..

 

Either way, your recovery is to reboot the system.

Share this post


Link to post
Post diagnostics and docker run command.

IMG_5268.png
I can not seem to add diagnostics as I’m on my phone but I hope this helps, when I go back to 6.7
It works


Sent from my iPhone using Tapatalk

Share this post


Link to post
1 hour ago, Spoonsy1480 said:


IMG_5268.png
I can not seem to add diagnostics as I’m on my phone but I hope this helps, when I go back to 6.7
It works


Sent from my iPhone using Tapatalk

Doesn't help at all. Still need Diagnostics and run command. That is not the run command. 

 

See the very first link in the Docker FAQ for instructions on getting the run command.

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.