Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

VisualHudson

Members
  • Joined

  • Last visited

  1. My Plex server suffered with major corruption and, long story short, I have had to create a new server and recreate all of the libraries. I've just noticed that all of the libary history within Tautulli is completely mixed up. I have some duplicate libraries. Libraries are saying one thing but showing history for another. I also have new libraries too. For example.... Kids TV is showing up twice. One library has 207 days of play duration, the other has 14 days. The 14 days library is the correct library. 207 days library is actually the Movies history. TV Shows library a new library with no prior history and is showing as 1 day 18min of play duration. Movies library is showing as 623 days play duration but is actually the TV history. Music library is actually showing my Wrestling library history. Loveline library is showing Music library history. Wrestling library is showing as zero history. But when things are watched, they are logging in the correct library. So for example, if I watch Tron it logs within the Movie library but then you look a few lines down and it shows that previous plays within this library were South Park, Family Guy, Breaking Bad, etc. I have just tried restoring to a backup from Jan 18th (as far as my Tautulli automated backups go) but this did not resolve the problem. I'm currently trying to extract backups from CA Appdata Backup from December and maybe restore database from one of those? But I otherwise don't know what to do here. How can I get it so all the libraries are correctly logging and showing correct history?
  2. I'm sorry you feel like I refused to post or didn't answer your questions. I posted the thread on Dec 30th. You initially replied on Jan 1st at 4am, I was out of the country. I replied as soon as I could trying to cover as many of the updates and answers as possible - hence why I included the diagnostics file as requested. As also mentioned, I'd be happy to share with you the copies of the databases as well as the crash logs, I have a bunch on Google Drive and can try to pull them from elsewhere I have backups. Admittedly things are a little all over the place now. In regards to "when you were getting error did docker stay running", I have tried to explain this as best as possible before, as well as providing the Gemini chat log which explains everything I did before posting, but I will do so again. At this point I'm not entirely sure which error you are referring to though. At the timing of posting the original post, Plex docker was running and would give me the crash loop as included in the OP. PlexUI would not load. I could not connect to Plex via other devices. Unraid would show it was running but it was not usable in anyway as shown from the crash loop. Prior to involving Gemini or anyone else's help? Yes Plex docker was running until I was having all the playback issues and I would shut it down as per Gemini's instructions to do the jobs it suggested. I mentioned in the OP that I am NOT running the official Plex container. I have been using the linuxserver.io container as I have done for the best part of 10 years or so since originally setting up the Plex server on Windows and then migrating to Unraid, following SpaceInvaderOne's YouTube videos. Before involving Gemini, I was on version: 1.42.2.10156-f737b826c-ls287 Build-date: 2025-12-13T16:35:02+00:00 though Gemini had suggested I forced used a slightly older, more stable version instead. Yes I know how to access the Plex appdata folders via samba / Windows Explorer. You ask if I have OG preferences.xml file... Yes I should do. I've got an entire copy of the appdata folder through CA Appdata Restore, plus I've also got other copies of the Plex appdata folder itself as well as a copy of the the entire folder from 10am on Dec 30th. I feel like reading through the Gemini log would explain and answer all these questions about everything I did before posting asking for help. One thing of note, re-reading through the Gemini log myself now it does look like at some point I was able to successfully run the DBRepair tool from this message I sent to it: For all the people saying that's what I needed to do. But obviously didn't actually completely fix my issue as you can continue to read in the Gemini log... and it's why I ultimately ended up posting online. I'm sorry you've completely lost me with talking about volume mounts, I don't understand what you're saying. Whilst I was walked through the instructions through Gemini, reading through the Plex article on fixing a corrupted database, I can confirm (and you can see yourself in the Gemini chat log) that we did try all of these things - pragma, vacuum, reindex, etc. Yes I did let someone else have a copy of my files and run repair tools on his computer. But again, this was after doing them myself with Gemini's help. What questions am I not answering? We're kind of going all over the place here. I'm trying to answer everything possible. To get Plex running as it is now I've had to use a new claim key, yes? But I've not removed old server from Authorised Devices and can still see it within Plex app. So I'm not sure if helps? I hope that you can see that I AM trying here. I am doing my best. I'm not trying to be avoidant or dismissive. I am struggling to understand some of your spelling, as well as some of these commands going over my head, or yes getting confused because of different people trying to help, or forgetting things because it's taking like a week or two now. But I am eagerly trying to do what I can and I do appreciate your help. I know you say you are not an expert but you are much more knowledgeable than me when it comes to this. I really need someone who knows what they are talking about to spend time 1:1 with me to get this fixed in one go - that's largely why I used Gemini. But yes it stands we have Plex kind of working but not in the exact same way as it was and with various loses that I would like to try to recover.
  3. If the goal was to keep database data and I have multiple different copies of the database data, why don't we use those to "dump the sqlite file & recreate the existing database"? Like we can just swap the one of the old database files back in and try your fixes from there. I am in a kind of working state yes but it's basically a new server. Ideally I want to restore / fix the old server and have it back as it was a couple weeks ago. But yes it is confusing me having different people propose different ideas, as well as the fact that I'm really not a pro when it comes to Unraid / linux / terminal coding things. But i've come to these different forums trying to keep help from people like you guys who do know what you're talking about. Plus there's no way to know who or where I would receive support. Plex forums no one responded. On here only you have responded. I did get more responses on Reddit. But yeah I really just need someone who knows this stuff more than me to help me get back as it was a couple weeks ago.
  4. I'm sorry I'm really struggling to understand what it is you're trying to say here. I also don't understand why it's not worth trying to use the backups when previously that's what everyone was saying to use?
  5. I mean, I do have all of these different backups from various points throughout December (including backups from before Gemini / me / this Redditor did anything to the server) so I'm open to trying to use them and doing whatever you think might return things back to exactly how they were? I think we did try to reinstall Plex using all of the original databases and files, but I'd be willing to give that a try again now if you think that will work & if you could walk me through exactly what you think I should do given my current state? I think that's what you're trying to say we could have attempted? According to this other guy, he says that the databases have corruption from even before Gemini / anyone else did anything to them which in a way makes me feel a bit better that it wasn't completely due to me using Gemini. But I'm not 100% sure if he tried every one of the database backups through the DB repair, so I don't know if it's worth trying them? But I really have no idea what I'm doing with that. Plex is stable, yes. Though it doesn't like me adding the nvidia GPU parameters back into the docker settings and there's the other things I've spoken about. Data loss is very annoying and frustrating, if there's you know of any way to recover that data that'd be great?
  6. I'm sorry to not have replied for the last few days, I've been away for New Year and only just getting back to check on things. I greatly appreciate your help and assistance. I want to do anything I can do to try to get the server back up and running as it was. I cross-posted this problem on Reddit as well as on the Plex forums. A lot of people on Reddit also suggested using the DBRepair tool. Gemini had previously tried to get me to use it but it didn't work. A very helpful redditor spent all evening on Dec 30th trying various methods and tools to try to resolve the problem. He appears to be wayyyy more experienced in this sort of thing than I. I uploaded my database files to Google Drive, he ran them through DBRepair and different things - I don't quite even understand all of the work he so graciously offered to do. I don't know if he ran every single database backup as I have quite a few from throughout December but he says that there was far too much corruption in the database files. We have managed to use an October 2020 backup of the server (from when I migrated from Windows to Unraid) to create a new database which HAS got Plex up and running as it should. It's a few days ago now so my memory is a little foggy but I do think in using this backup from 2020 we have started a new appdata folder but I'm not 100% sure on that if I'm honest. However though Plex is now working using the 2020 backup, and has thankfully kept all metadata set before that date, it has come with a bunch of drawbacks like: -I have had to re-scan and re-add all content, losing any manually set metadata after Oct 2020. -All watch history since Oct 2020 has gone (yes watch history sync is turned on) -All Plex in-app statistics since Oct 2020 have gone -Friends and family shared library settings are all gone -Plex is not using the exact same libraries but almost like identical copies of them (for instance if I load Plex on my phone it will say libraries are unavailable, but if I change it to the new server it works despite being all the info from Oct 2020 backup of old server) I do use Tautulli which is mostly still up to date, only lost a couple weeks of data there because of the CA Restore I attempted. Tautulli is working exactly as normal, correctly recognising when things are playing and logging it to same watch history log as before. So I still have watch history / statistics there but I HATE that I've lost all the statistics and mainly watch history within Plex over the last 5 years. I really want to try to get that back! For the sake of friends and family in particular, I would really like to get all of the old shared library settings back and using the exact same libraries so I don't have to deal with all the problems trying to get people setup with my server again. I'm sure there is probably more upgrades and work to do, more ways to modernise and all that stuff. This guy has mentioned using Duplicacy? I know my unraid and some apps needs updating or replacing. But before I do any and all of those sorts of things I really want to try to get as close to getting my server back up and running exactly as it was a couple weeks ago. I dont know if it will help at this piont to upload my Unraid diagnostic logs but I have attached them anyway. I will link the guy that was helping me to this post and if he has an Unraid forum account maybe he can advise in better detail what we have done so far? I'm super grateful that we've been able to salvage as much as we can but in an ideal world I feel like we are 95% of the way there, I really want to try to get back to the exact same server I was running just a few weeks ago. If you'd like to take a look bmartino1 I'd be happy to link you to my google drive with all the copies of the databases and stuff? Edit: I don't know if there's some way to share the Reddit PM history so you can read through what was discussed? Well, apart from screenshotting the whole thing. Edit 2: The guy from reddit has read through this thread and said this.... tower-diagnostics-20260103-1222.zip
  7. I have been running my Plex server for many years on Unraid without any major problems. Recently I noticed that I was only able to play content whilst in my house on my nVidia Shield, no other devices whether in the house, remotely, on wifi or ethernet would play content. Similarly, friends / family connected to my account also could not play content. I decided to ask Google Gemini for help and it was able to quickly diagnose and fix the problem with some commands. This appeared to work for a couple of days before the same problem came back. I returned to Gemini to assist in fixing the problem once more and again it fixed the issue, but only for a day or two. As I've gone to fix the fix the issue for a third time, I have gone down a crazy rabbit hole with Gemini trying countless different "fixes" but have ultimately ended up with a completely borked server that apparently has no options left at this point other than to start again from scratch. The actual movie, TV, etc files are all perfectly fine and I can play them when I access the network share via Explorer on my Windows computers but we are at the stage now where the Plex docker is running but cannot actually load up at all and is stuck in a loop with the following error repeating showing up in the Docker > Plex > Logs terminal. ****** PLEX MEDIA SERVER CRASHED, CRASH REPORT WRITTEN: /config/Library/Application Support/Plex Media Server/Crash Reports/1.41.3.9314-a0bfb8370/PLEX MEDIA SERVER/a8f51933-f4dd-4f55-e6c852a2-d63bd994.dmp Starting Plex Media Server. . . (you can ignore the libusb_init error) Connection to localhost (127.0.0.1) 32400 port [tcp/*] succeeded! ****** PLEX MEDIA SERVER CRASHED, CRASH REPORT WRITTEN: /config/Library/Application Support/Plex Media Server/Crash Reports/1.41.3.9314-a0bfb8370/PLEX MEDIA SERVER/ce9ef944-0838-4c0f-41ddd4ab-13a989f0.dmp Starting Plex Media Server. . . (you can ignore the libusb_init error) Connection to localhost (127.0.0.1) 32400 port [tcp/*] succeeded! ****** PLEX MEDIA SERVER CRASHED, CRASH REPORT WRITTEN: /config/Library/Application Support/Plex Media Server/Crash Reports/1.41.3.9314-a0bfb8370/PLEX MEDIA SERVER/c4f7a840-63b5-49e9-b21d76b4-561dec6a.dmp Starting Plex Media Server. . . (you can ignore the libusb_init error) Connection to localhost (127.0.0.1) 32400 port [tcp/*] succeeded!I eventually got tired of the failed sugestions by Gemini to fix things and thought it would be best to restore from a CA Appdata Backup from Dec 22nd as it was the oldest backup there available but this has also not worked and is giving me the exact same error as before the restore. At this point I have absolutely no idea what to do. My server is many years old, 96TB with 80TB used, and I really don't want to lose myself and others' watch history as well as many of ther personalised metadata I have included for some of the movies / TV shows. Gemini is suggesting to basically start all over again and we can try to migrate the watch status info but I think at this point I need to stop trusting AI and some advice from real humans! I am running Unraid Version: 6.10.0-rc4. For my Plex docker, I was on: Linuxserver.io version: 1.42.2.10156-f737b826c-ls287 Build-date: 2025-12-13T16:35:02+00:00 Gemini had suggested I change it so that I am forcing it to install / use: lscr.io/linuxserver/plex:1.41.3.9314-a0bfb8370-ls253 However I have now set it back to download the latest version but this has not resolved the problem and am still getting the same error loop. ****** PLEX MEDIA SERVER CRASHED, CRASH REPORT WRITTEN: /config/Library/Application Support/Plex Media Server/Crash Reports/1.42.2.10156-f737b826c/PLEX MEDIA SERVER/d9b29020-a254-499b-f2c71fb8-d0425735.dmp Starting Plex Media Server. . . (you can ignore the libusb_init error) Connection to localhost (127.0.0.1) 32400 port [tcp/*] succeeded! ****** PLEX MEDIA SERVER CRASHED, CRASH REPORT WRITTEN: /config/Library/Application Support/Plex Media Server/Crash Reports/1.42.2.10156-f737b826c/PLEX MEDIA SERVER/c03ec40c-f6e3-4c6c-d0a6adb2-d69e9644.dmp Starting Plex Media Server. . . (you can ignore the libusb_init error) Connection to localhost (127.0.0.1) 32400 port [tcp/*] succeeded! For anyone who wants to read through all of the Gemini logs here is our conversation history. Warning it's fairly long! Please tell me I am not completely screwed and will be losing years and years of history / data. What can I do to salvage and fix this server?
  8. As posted in my thread here I have had basically this exact problem, but now I'm panicking because I want to get all of my old libraries, settings, etc. I have downloaded and installed the new nvidia driver from Community Applications. I have removed the old Unraid Nvidia plugin. I think I now need to re-download and install a new Plex docker, but how can I go about that whilst also bringing back all of my old libraries, settings, etc? Also I see that there are TWO binhex Plex dockers, one with and one with "plexpass" in the title. I do have Plex Pass, but I'm not sure that my previous docker had Plex Pass in the title. Does that matter? Edit: I think I've fixed the problem... This one of the comments in this reddit thread suggested going to Apps > Previously Installed > Install Plex from there and it should bring back app the same mappings. It did! I then used instructions in the 2nd post of this thread on the Unraid forums to add "Key: 'NVIDIA_DRIVER_CAPABILITIES' and as Value: 'all':" before re-installing that Plex docker. I've checked that Hardware Transcoding is turned on in Plex. I've checked in Plex that it is successfully doing hardware transcoding, and I've also checked through "watch nvidia-smi". All seems to be working and exactly as it was! Plex Web interface does look a little weird and different to what I'm used to. It's now got ALOT more of a bluey background, and seems to have merged On Deck with Continue Watching? But I'm guessing that this is another new Plex layout and nothing to do with anything else, not that I'm particularly bothered as I use PMP on my PC & laptop. Still not sure whether I got the docker with or without "plexpass" in the title, but it doesn't seem to be causing any problems either way....
  9. As the title says, I've just updated Unraid for the first time in a couple of years from 6.9.something to 6.10.0-rc4. As I was going through Unraid, I noticed that the Plex docker was not running. I tried manually starting it, but was getting a "execution error - bad parameter" message pop up. I saw there was an option to Force Update, even though it did say it was already up-to-date, so I tried that. The update failed and then completely removed Plex from my list of dockers. I'm not sure if this error was because I still had / have the Unraid Nvidia plugin installed which I know is not depreciated, however I didn't want to get rid of it until I figured out how to do it and how to make sure that Plex was still using the GPU. So now I'm panicking because I've completely lost Plex and have no idea what to do. I really hope that I will not have lost all of my settings and everything else I've spent the last few years getting just how I want it! Please can someone help, what can I do? Edit: So this thread seems to be very similar to the situation I have just had. I have downloaded and installed the new nvidia driver from Community Applications. I have removed the old Unraid Nvidia plugin. I think I now need to re-download and install a new Plex docker, but how can I go about that whilst also bringing back all of my old libraries, settings, etc? Also I see that there are TWO binhex Plex dockers, one with and one with "plexpass" in the title. I do have Plex Pass, but I'm not sure that my previous docker had Plex Pass in the title. Does that matter? Edit 2: I think I've fixed the problem... This one of the comments in this reddit thread suggested going to Apps > Previously Installed > Install Plex from there and it should bring back app the same mappings. It did! I then used instructions in the 2nd post of this thread on the Unraid forums to add "Key: 'NVIDIA_DRIVER_CAPABILITIES' and as Value: 'all':" before re-installing that Plex docker. I've checked that Hardware Transcoding is turned on in Plex. I've checked in Plex that it is successfully doing hardware transcoding, and I've also checked through "watch nvidia-smi". All seems to be working and exactly as it was! Plex Web interface does look a little weird and different to what I'm used to. It's now got ALOT more of a bluey background, and seems to have merged On Deck with Continue Watching? But I'm guessing that this is another new Plex layout and nothing to do with anything else, not that I'm particularly bothered as I use PMP on my PC & laptop. Still not sure whether I got the docker with or without "plexpass" in the title, but it doesn't seem to be causing any problems either way....
  10. I have updated Unraid and rebooted and the 'Array' status has cleared, it is now allowing me to mount the drives! They were neither removed or part of the array at any time, they have been sat as unassigned drives since I set up the server, so I'm not sure why that status was showing up. EDIT: Ignore me, I've got it working! Thank you
  11. I have been out of the Unraid game for a little while, had everything up and running for the last year or so and now it's coming time to me to decide what to do with these four unassigned drives I have in my server. However I cannot for the life of me figure out how to mount them and access them via Windows? When I look at tutorials on YouTube / Google / Reddit / etc it shows that there should be an Auto-Mount and Share toggle switch on the right hand side, but it's not there? I can't see anything in the Settings when I click on the little gear icon.If I click on the three letter Device codes on the left hand side, I can't see anything there. I'm sure this is a very simple fix, so please can someone point me in the right direction?
  12. Because the disk will have already been zeroed by the preclear plugin, is that when you choose the option that "parity is still valid" or something that I've read online? Although I haven't tried to do this yet or seen this option myself. So if I stop the preclear session in the pre or post-read step, and then create the array using those disks, I'm guessing it won't have the preclear signature? Whatever that is? What are the benefits / drawbacks of doing this and of the preclear signature? All 4 of the drives are now in the post-read stage, two at about 85% and two at about 55% so if I'm going to follow your advice I need to end this process within the next day or so before it starts zeroing the drive again.
  13. I have been looking around and I can't find a definitive answer so hopefully someone can help me here. I'm currently in the process of preclearing 2x 14TB & 2x 12TB drives via USB 3.0 before schuking them. I had scheduled them to do two cycles including pre and post-read, but each step is taking 20-24 hours, so a full cycle takes about 3 days. I'm currently on the first cycle for all drives and they are all at step 2 (zeroing) approximately 60 - 80% so far. I don't have nearly a week to wait just for these four drives, and then to top it off I've got 8 more drives to preclear. That would be three weeks before all the drives were ready for the array at this rate. I mean, I do plan on setting up and starting the array with the first four drives once they are ready and adding the rest of them as they complete the preclear process. However I don't want to be waiting weeks on end before this is all set up and the array is complete. So I was wondering, is there a way to abort / end the current preclear process after the first cycle completes and still retain the preclear signature (I think it's called)? I know that there's no way to do it exactly as when it completes the first cycle it will automatically begin the second cycle, but at what point am I safe to cancel the process and still have the drives classed as precleared and ready to be formatted?

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.