• Posts

  • Joined

  • Last visited

Everything posted by naturalcarr

  1. Hi, Just tossing in my2¢. My ISP (verizon) recently blocked Nyaa for it's users. I can still grab stuff off of Nyaa myself, by I came here looking for something similar, to route jackett through PIA to avoid my isp messing about (I think this would probably clear up some other sites that I previously may have thought were 'dead').
  2. Not quite, I meant nothing I was adding to mover file in /usr/local/sbin was being executed, but I now see that there's another mover file in usr/local/emhttp/plugins/ca.mover.tuning and my scripts ran when I added them there, I was a bit of an idiot and didn't look around enough. I didn't know about /usr being volatile, thank you for telling me, I'll add a line to my "go" file to over-write the mover on boot. EDIT: So I've been a bigger idiot than I originally anticipated, I've been adding things to /sbin this whole time, I accidentally copied the whole directory to root at some point today and have been in there this whole time.
  3. Hi, I want to add my own script to run before and after mover runs (to pause some processes I know don't like mover), how would I go about doing this? I tried adding a command to run my script before the following line within /usr/local/sbin/mover. /usr/local/emhttp/plugins/ca.mover.tuning/mover.php $P_COMMAND $1 but this file doesn't appear to be called anymore.
  4. That's what I do, I use the in-app backup, I didn't know about the .db-wal files, though, that makes totla sense, thank you. I'll make sure to delete those the next time something pops up.
  5. I've noticed a new and scary problem that happened specifically to Sonarr, for about 45 minutes, Sonarr would nearly instantly corrupt it's database on 6.7.2. I do have what I'd consider to be a decent docker load running at all times (see the image for proof). On Sunday, Sonarr, Lidarr, Radarr and Plex all corrupted their DBs during a move, Radarr was backed up that Saturday and was easy to restore, for Plex, I ran my script (i'll talk more about it below), and then came Sonarr. I had 3 backups in the Sonarr scheduled backup directory and 2 in the manual, and I have 2 months of backups of those sets mostly from the original CA Appdata Backup/Restore, with my last 3 weeks being on v2. The first 2 databases didn't fix Sonarr's malformed DB (which was weird, because I used the Manual backups that I KNEW were fine when I triggered the backup). Anyway, after trying about 1/2 of my backups none of them fixed Sonarr, and then all of a sudden one worked fine, then I tested some of the backups I'd already tried (because there was no way that ALL of my backups were corrupted for this long), and with the exception of my latest auto backup, and a rogue db from 3 weeks go, they all worked. Now, Sonarr had corrupted these DB files, I had backups upon backups so many of them were backed up redundantly, but every time Sonarr started up on one of the backups, It would corrupt, and even after Sonarr stopped doing that, the DBs were still corrupt, the overlap in backups saved me. I wish I had recorded this better as this just happened on Sunday, but I was tired, and after everything went back to normal, I just deleted all of the corrupted databases Now, as for the script I mentioned, I made this a few months ago to check and manage my plex database files, it checks them, backs up if needed, attempts a repair if needed, etc. You shouldn't run it headless, as it requires user input, although anyone who's done a basic script before can change that with two "#"s. I do apologise if this is the wrong place to post this comment, I just thought that it'd be a good place to get this out to other users who need to work on their DBs a bit during this issue.
  6. I've added this to my own mover script, but a good feature for some would be to have certain docker containers shut down before mover runs and restarted after. For example, Radarr and Sonarr both like to get currupt databases if you run mover and they weren't set to use the cache drive as their appdata directory specifically. I don't have any appdata on my cache drive, as it's only used for speeding up my downloads and file transfers.
  7. So, I've got this up and running, but now I want to put this behind a reverse proxy on nginx. (I only have a free subdomain, not a domain, so I've put all of my reverse proxied services on a subdirectory of that subdomain)
  8. From what I can gather off of forum posts, a few people have been having issues with their rotating logs either filling up the docker.img. Also, good to see you're back in the community, I loved your work (I'm still using your Filebot plugin, I just had to swap out the .jar and .sh files with updated ones, this was also a shameless contrived reason to say hello).
  9. Fixing a Malformed/Corrupted PLEX Database. Hi, all. I'm just here to update you on the "Starting Plex Media Server" issue. For me it was caused by a very malformed database file. I followed this guide which has worked perfectly. I've had a few more corruptions (brought about by failing hardware that I've replaced) but I've been able to bring my library back each time. I wrote this script to automate much of the process, and do some of the most basic backup management (creating backups if your database isn't corrupt/malformed and you agree to a prompt). PLEASE MAKE SURE YOUR TO SET THE TOP 2 VARIABLES! They're fairly self-explanatory, but here is what you set them to: appdata_directory > Your appdata directory plex_container_name > The name of your plex container (the defaults for those are "/mnt/user/appdata" and "plex" respectively) This script requires SQLite3 if you do not have it installed: 1. Go to Community Applications 2. Install the Dev Pack 3. Go to "Settings" in UNRAID 4. Open Dev Pack 5. Enable (install) SQLite3 6. Retry Also, please keep in mind that I wrote this script with this image of plex in mind, it should(?) still work with other plex dockers if you edit the paths in the script, but I'm making no guarantees. Download Script: ***EDIT - 5/24/19*** I just updated the script to fix one of my checks (for sqlite3) and improved the error reporting (slightly).
  10. I'll check that out too, I haven't checked on the notification stuff since like 6.1. Also, all of the dockers are finally back up and running. No change in plex, and docker image usage is at 55%.
  11. Yeah, I actually know the values by heart, those S.M.A.R.T. errors have actually had the same values for about 2 years now, I've been checking them every month manually, but luckily they haven't budged, but those are the main reason I wanted to get a backup going. I did turn off the email notifications a while back because I'd get them everyday, twice a day due to the errors.
  12. Theres nothing like that on here. I do have a backup solution planned, but it took me a while just to get the 24ish tb of drives I have now, theres nothing super important on the server (all the media I can pull again, although it'll take a while), but that also means its all equally important to me, and I'll want to back up every bit of it when I get a robust solution sorted out. Also, I turned on the log rotation.
  13. Not on this new installation yet. My old server had it set, I was just going to let plex index everything first, then when I let my clients onto the new one, I'd swap over to the /tmp mapping. As for the docker file, I never knew that, I did have an issue where I misconfigured deluge a while back and my stuff went missing in there somewhere, but I have no idea how I'd clean that up without trashing all of my dockers. **EDIT** I do want to say that the ballooning stopped after I fixed deluge, but I'd already extended my docker image by that point.
  14. Yeah, whenever I have an unexpected shutdown I get them. I had 2 yesterday. I think it has something to do with my rig, I'm running an old SuperMicro server using a M1015 (it flashed) card for JBOD, it also gives me some issues with my cache, so I made sure my appdata (Addonfiles for me) folder isn't on there.
  15. Sure, heres everything. root@localhost:# /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker run -d --name='plex' --net='bridge' -e TZ="America/New_York" -e HOST_OS="Unraid" -e 'PUID'='99' -e 'PGID'='100' -e 'VERSION'='latest' -v '/mnt/user/Files/Media/':'/media':'rw' -v '/tmp':'/transcoding_directory':'rw' -v '/mnt/user/addonfiles/dockers/plex':'/config':'rw' 'linuxserver/plex'
  16. Hi, all. I'm setting up a new plex server and it's was chugging along, scanning all of my media. It would become unavailable intermittently, but I thought that was because of the amount of media it was indexing and all of the calls it had to made to TVDB and Movie DB, but after doing a restart after a crash that lasted a while, all I see is "Starting Plex Media Server." in the docker logs, over and over. I've also noticed that in Plex's config folder, this "" file pops up and disappears intermittently,. It exists for less than a second before it disappears again.
  17. Thanks, I was waiting for an update to come alone to test, that fixed it.
  18. Hello, all, I'm running into an issues where whenever I try to update a docker, the update fails and the new docker container isnt created. I can then go the the docker tab in my webgui and do a full reinstall of a docker (To it's new updated version) with no problem, but the updates themselves always fail. This is the error my log shows every time. Mar 14 15:25:55 BROSS [3680]: The command failed. Error: sh: /usr/local/emhttp/usr/bin/docker: No such file or directory<br>
  19. I have a set of aliases and scripts setup, so one would take all of the movies downloaded by deluge (in a special folder), move them over to a pre-processing area, pull only the video files and subtitles into a processing directory, call filebot (the cli version by phaze), to rename them, then create hard links to plex's media folder. For clearing I made a script that would kill deluge, delete everything in the pre-processing and processing directories, then restart it, and I have quite a few scripts like that.
  20. So, I don't think this was how I created this, but I just reinstalled Dolphin and was able to create \r in /mnt/user/ with no problem
  21. I've almost always accessed my server through the CLI, it's quicker for the things I do, I am curious how that happened as well, that would explain this extra share that I would see on my windows machine all the time, it had no name but whenever I clicked on it, it lead to /mnt/user/Files. I thought nothing of it for the longest time.
  22. I just checked all my disks, \r is nowhere to be found, just to be safe, I'm going to try and find it again from /. Thank you all for being so awseome.