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.

Energen

Members
  • Joined

  • Last visited

Everything posted by Energen

  1. Just a little tip here if you don't want to have to load Greasemonkey in all your browsers... You can use Config File Editor from tools to add the script in automatically without the need for any browser addons.. just a little nicer way of doing it where you don't have to think about it. You'll just have to most likely remember to change it every time Unraid is updated or the page gets reverted back to default. Here's what I did........ edit the file /usr/local/emhttp/webGui/include/DefaultPageLayout.php All the way at the bottom before the closing </body> tag I added cinereus's script: </script> <script> var container = document.querySelector ("div.content.shift"); var title = container.querySelector ("div#title"); var table = container.querySelector ("table#tblIPMIDash"); //-- Move IMPI elements to bottom //-- container.appendChild (title); //-- container.appendChild (table); </script> </body> </html> EDIT -- Actually modifying that page messed up the layout of the Apps page a little bit.. but it's a starting point.
  2. So the first two questions are easy to answer... "yes". Though I'm not sure what you mean that you'd run Windows on top of Unraid.. do you mean in a VM? As long as you get a compatible UPS (i.e. APC, CyberPower) you can use either NUT or APCUPSD to control both Unraid and Windows. I have mine set up so that Unraid is the master or server for the UPS, and my Windows PC is the client. I have the Windows client of apcupsd running on the PC that will get power notifications from Unraid. Unless you spent even more money on a UPS that offers a network card for multiple computers this is the only way that I know of to control 2 or more computers. Personally I couldn't justify another $200 for a network card for my UPS just to do this when the client/server software works just fine. As to the third question, I can't confidently answer it. I wouldn't be too concerned about the parity check, I've manually stopped those before when needed. Rebuilding a drive, that's a bit more serious scenario. My only other suggestion is that you just get the largest UPS that you can afford. A 1500va/900w CyberPower UPS is generally under $200USD and is plenty to run off for most people. I have roughly 20 minutes of run time powering my Unraid server and my Windows PC (including all my network stuff and LCDs).
  3. Here's a very simple script to clear out the index database of a Syncthing docker container. The reason for this script is dependent on your usage of Syncthing. For me, I wanted to be able to clear out all the "local additions" and out of sync files listed. In my scenario I don't care about any of the stuff Syncthing thinks is out of sync, and want it removed. #!/bin/bash find /mnt/user/appdata/syncthing/ -name "index*" -print0 | xargs -r0 -- rm -r docker restart syncthing You'd only have to change the path to your syncthing appdata location if it has a different name, and then the docker name if it's different.
  4. I've been messing around with the Day Night plugin a little bit for alternate ways of getting the sun set/rise information without using one of the existing service APIs.. well I didn't quite succeed in not needing an API key for something.. But I did manage to add another service that seems to work ok with the changes I played with... The site is zipcodeapi.com, you still need to register for an API key but it was very much easier than using any of the existing services offered (Google, MapQuest, Bing).. Unfortunately for the world-wide use of Unraid, this site is for the USA only as it only requires the zip code to work. Anyone that tries this seems to only need the Application Key and not a javascript website key (you'll see what I'm talking about if you register on the site). To implement was pretty easy.. these are the changes I made to the plugin files.. I didn't handle all the form entries to make it only show the zip code field, but the zip code is all that's needed. I'll just show my additions to the functions, any other code stays as is. \usr\local\emhttp\plugins\dynamix.day.night\DayNightSettings.page function prepareAPI(form) { case 'zipcodeapi' : form.apikey.value = form.zipcodeapi.value; break; function changeAPI(api) { case 'zipcodeapi' : $('div.google').hide(); $('div.bing').hide(); $('div.quest').hide(); $('div.zipcodeapi').show(); break; Below the ending </div> tag under _(Postal code)_: <div markdown="1" class="zipcodeapi" style="display:none"> _(Postal code)_: : <input type="text" name="zipcode" class="narrow" maxlength="9" value="<?=$my['zipcode']?>"> </div> _(Geocoding service)_: <?=mk_option($my['geocode'], 'zipcodeapi', _('zipcodeapi'))?> Below the ending </div> tag under (MapQuest API key)_: <div markdown="1" class="zipcodeapi" style="display:none"> _(zipcodeapi API key)_: : <input type="text" name="zipcodeapi" maxlength="99" value="<?=$my['zipcodeapi']??$my['apikey']?>"> _(See)_ [_(this site)_](https://www.zipcodeapi.com) _(to obtain a ZipCodeAPI API key)_ </div> In \usr\local\emhttp\plugins\dynamix.day.night\include\update.theme.php Added below the quest switch function case 'zipcodeapi': $address = combine(',',$_POST['zipcode']); $loc = geocode("https://www.zipcodeapi.com/rest/{$_POST['apikey']}/info.json/$address/degrees"); $lat = $loc['lat'] ?? false; $lng = $loc['lng'] ?? false; $keys['address'] = $loc['results'][0]['providedLocation']['location'] ?? ''; break; Like I said, it seems to work ok. I also came across a site that with a little bit of knowledge and work you could make this plugin work without any need for an api key. A call to the free API at https://sunrise-sunset.org/api with only the latitude and longitude would get you the UTC time for sunrise and sunset, but you 1) have to have a way of getting the lat/long without an API key, and 2) convert the returned UTC time to user's local time in order to get the correct time. Also came across some stuff that might be able to be used to take this plugin completely offline without the need for any other services, but might be more work/trouble than it's worth... https://www.esrl.noaa.gov/gmd/grad/solcalc/main.js and https://github.com/mourner/suncalc Well everyone, have fun with this bit of useless information
  5. So I haven't been able to find anyone else really mentioning anything about ghost files/directories... not sure what happened here but I'm finding that I have a lot of weird stuff happening after moving / stopping / restarting / etc the scatter process.. I've got what seems to be ghost file/directory entries.. For example, \\UNRAID\Photos\Photo1.jpg is actually a folder, with multiple sub-levels of the same path (i.e. UNRAID\Photos\Photo1.jpg\Photos\Photo1.jpg\Photos\Photo1.jpg\Photos\Photo1.jpg) where finally the last entry is the actual file. First I started moving all the actual files to a new path before finding out that I could just keep deleting the root folder and that would end up with the actual file where it was supposed to be. Similarly related, I'm now deleting some stuff and I have to repeatedly delete it (from Windows) before it actually deletes, even though there's no "ghost" paths visible. Any thoughts on what happened here? If I stopped the process during a move operation and then started it again later, possibly on a different disk, could that leave these ghosts? My Windows share is seeing the file entry across all the unraid disks?
  6. Ah, yes, hmm.. I did not consider calculating parity at the same time. I'm down to the last disk that I'll be able to move and format before having to move data off the first full disks, so perhaps then I'll disable parity and see what the speeds look like. In my current operation I'm averaging around ~50MB/s so it will be easy to tell how much overhead parity accounts for, and then perhaps I can try some other stuff with the multi-thread moving without parity and see.. if I can figure out a easy multithread function. Thanks for the feedback. -- Edit, After removing the parity drive, I had burst speeds of about 120MB/s, then for moving small files (photos and the like) it averaged around 85MB/s, fluctuating between 70-90MB/s. -- Edit2, So that's not advisable to do... just the parity rebuild time is worse.
  7. Am I doing this wrong or what don't I understand here.... ? (which is a lot) I'm playing with a Gotify docker container for push notifications. I'm playing with this letsencrypt docker for SSL certificates. Is it possible/how do I use the SSL certs from the letscrypt container in the Gotify container? The Gotify config file has an area for SSL ssl: enabled: false # if https should be enabled redirecttohttps: true # redirect to https if site is accessed by http listenaddr: "" # the address to bind on, leave empty to bind on all addresses port: 443 # the https port certfile: # the cert file (leave empty when using letsencrypt) certkey: # the cert key (leave empty when using letsencrypt) letsencrypt: enabled: false # if the certificate should be requested from letsencrypt accepttos: false # if you accept the tos from letsencrypt cache: data/certs # the directory of the cache from letsencrypt But this seems to require that letsencrypt is running within the same docker container? I've tried just copying the files from appdata/letsencrypt to a folder in appdata/gotify but the files "weren't found", so not sure where gotify was looking for them. The main config file is found in appdata/gotify/config, tried the certs there also. Gotify doesn't have a support thread here so I'll try in the letsencrypt thread, since I need letsencrypt files Thanks for any assistance.
  8. I just started messing with this to move data in order to reformat drives.. so far so good.. Cool utility... but I wish it were faster. Not sure if this has been mentioned in any of the previous 61 pages ... forgive me. Would it be possible/desired/wanted to change/modify/fork/clone/beta-test this to something that could do file transfers in a multi-threaded way? I tried to do some searching around and apparently rsync itself doesn't offer any multi-thread capability, but in conjunction with 'parallel' and/or a couple other methods I saw it's at least possible to do, if it can be figured out. <-- I can't figure it out, not a linux guy, too old to learn anything new One site I found with some code on it I had working a little bit, seemed ok, but not sure if I was doing it correctly. So without getting into the nitty gritty details about, what's the possibility or interest level of creating a multi-threaded tool? When you're moving TB's and TB's of data, single thread operations are very painful. Thanks!
  9. LOL! That's great. Don't you feel accomplished now that you've done it? Haha, thanks!
  10. You really don't give people a lot of credit eh? You had the same reservations with the cleanup appdata plugin too yet you worked around the hesitations. If someone selects a bunch of files in linux/windows and presses the big red X they know what they are doing, therefore I personally don't think that it would be very confusing. You have one button that says install and one button that says delete. I think people can figure that one out. But since I'm not smart enough to modify the plugin without giving myself a headache, I'll have to go with what you say
  11. Could I make a feature request? If possible, it would be really nice to have a mass remove function from the Previous Apps tab to allow for, you guessed it, removing multiple apps at once from the list. There's a mass install button for multiple apps but clearing out the list has to be done one by one. I've got 75 apps to go through and clean up and clicking the X button on each one and then going back to where I left off is excruciatingly painful. Thanks for the consideration.
  12. I just tried this as well, while just setting up some new options and exclusions.. With compression OFF, the command is Using command: cd '/mnt/user/appdata/' && /usr/bin/tar -cvaf '/mnt/user/appdata_backup/[email protected]/CA_backup.tar' With compression ON, the command is Using command: cd '/mnt/user/appdata/' && /usr/bin/tar -cvaf '/mnt/user/appdata_backup/[email protected]/CA_backup.tar.gz' So the only difference there is the file extension, but the resulting file size is different. Uncompressed, 720MB, Compressed, 200MB. I'm thinking what dubbly meant is that he wants no 'archive' file, but that's probably not the best idea. Before I excluded Plex/radarr/sonarr image related stuff my backup archive had close to a million files. You do not want to back up files like that outside of an archive. There's one small thing to change though, here's the log for usb backup: Apr 28 22:40:22 UNRAID CA Backup/Restore: Backing up USB Flash drive config folder to in backup.php change line 127 From: logger("Backing up USB Flash drive config folder to $usbDestination"); backupLog("Backing up USB Flash Drive"); To: logger("Backing up USB Flash drive config folder to {$backupOptions['usbDestination']}"); backupLog("Backing up USB Flash Drive"); I thought my usb backup was not working but it looks like it is working properly.
  13. I had the same problem and tried a bunch of things, none of which worked. Then I gave up. I was bored this morning after waking up at 2AM and decided to give it another try. Last time the most success I had was to use the NativePC instead of the VMWare image but still had an issue trying to boot it and gave up on that as well. You will need some linux tools, I had a Debian VM installed already so I used that. Download the DietPi Native PC (BIOS/CSM) image. If you try to create an Unraid VM with that image you will eventually get into a loop of not being able to download updates because of no available free space (that's the hint). This time, I did some more research and tried a few more things.. and seem to have it working. I used the info provided here to resize the image https://fatmin.com/2016/12/20/how-to-resize-a-qcow2-image-and-filesystem-with-virt-resize/ Use a couple tools to show you info about the image and then to resize it.. qemu-img info DietPi_NativePC_BIOS-x86_64-Stretch.img displays the disk size as 602M.. not enough to be usable. I don't know what the minimum size should be, I added entirely too much at 30gigs but I'm just testing at this point so I don't care. qemu-img resize DietPi_NativePC_BIOS-x86_64-Stretch.img +30G cp DietPi_NativePC_BIOS-x86_64-Stretch.img DietPi_NativePC_BIOS-x86_64-Stretch-orig.img sudo virt-resize -expand /dev/sda1 DietPi_NativePC_BIOS-x86_64-Stretch-orig.img DietPi_NativePC_BIOS-x86_64-Stretch.img I had to use sudo since I wasn't logged in as root Now you can take that new, resized DietPi img and use it as your unraid vm hard drive and install DietPi. To save you some time and effort, here's a fresh 4GB image that can be used for Unraid. DietPi_NativePC-BIOS-x86_64-Stretch-4GB-UNRAID.7z - 121.7 MB
  14. I installed this docker for a couple minutes last night and just didn't seem to get it working correctly, but I jumped in fast and didn't do much research, so that's on me. Having things run as a docker might be easier and more convenient but what I ended up doing was installing a Debian VM and installing pi-hole that way, and it seems to be working pretty good so far. I wonder, though, if somewhere in the 25 pages of this thread has anyone asked about DNS fallback if Unraid/docker/pihole is down? Is it just a matter of setting a secondary DNS server on your router if it can't communicate with pi-hole? Now on to looking for something else to do with the server......
  15. This tool has been pretty useful to me so I'll continue to use it. Thanks for your efforts with keeping it updated and always useful. Question: Would it be possible to modify it so that even after doing all those steps, detect/determine if the action is going to delete the entire array (or just do something very bad) and display a severe warning and have to explicitly allow the action? Might it be as easy as checking the path selected for deleting and making sure the path is a a folder and not the whole share?
  16. Ah I see, so if I set them both to /mnt/user or /mnt/user/Media, as previously mentioned, that would be considered the same mount points? Doing that quickly then makes my movie file paths /movies/Movies/<name>? So when I change the existing movie file path it doesn't register the existing file. All in all it seems to break everything. If sonarr works fine, why does radarr work so poorly? The radarr devs shouldn't make such drastic changes to simple things. Not sure where to go from here, maybe start over completely. ---------------- Edit -- this completely makes no sense to me. Maybe that's my problem, but why is this so complicated? If I change radarr's /movies path to /mnt/user/Media/Movies the movie path is correct in radarr... but even though the media file is there it's not detected, says missing. Also, with this mapping (and no /downloads) I can't import from any other folder. If I map a /downloads and a /movies then it copies files instead of moving them quickly. What is the proper way to configure this? No way seems to be the correct way.
  17. I just started playing with radarr, and have everything working ok-enough... except for imports. My radarr is also copying files rather than moving them and can't figure out why. Everything is mapped on the same share so it "shouldn't" be an issue of mount points. And, the mounts are essentially the same as they are with sonarr, which works perfectly ok. I've tried toggling the use hardlinks setting in radarr with no difference. What am I missing here? Also, any ideas on why radarr is not detecting some movie files and keeps them as missing? The files are there but they are not scanned.
  18. The only thing that seems to stand out is in Sync.. the default folder location was something like /sync/Resilio Sync or /root/Resilio Sync although neither of those are used, the shared folders are saved on shares.. those seem to be the only paths that aren't mapped to a share.... could that be the issue? I read the FAQ but except for these everything seems to be mapped correctly.. for the most part nothing else would be downloading enough external data to fill up a multi-gb docker image. I might delete all the Sync containers and start over anyways, as one of them I seem to have forgotten the GUI password, lol. I have 3 Sync containers for remote and local sync stuff... wish there was a better way to do it, or could be done through one.
  19. Ok so I need some guidance here... why the heck is my docker image still getting full!?! I already increased it from the 20gb to 60gb and now I'm getting image full again... currently 99%! I don't have a ton of containers.. and as far as I can tell by my mappings nothing should be downloaded to the docker itself... everything is mapped to a share. I 'feel' like it might be something with relilio-sync since those are the newest containers I've added, but still everything is mapped out. There's nothing that will tell me where the space is being used? Here's my containers and mappings... What am I missing??
  20. Lately Davos has been incredibly slow with transfers. I don't know necessarily where the problem is but it seems that Davos is the culprit. Downloading from my ftp to my server with Filezilla speeds are normal, but with davos they are so slow that davos doesn't even report the speed in the schedules tab. Anyone else having issues? Is there anywhere in Unraid that will show me the network speeds of specific dockers rather than the overall throughput? And are there any other dockers that are similar in function to davos? It's so useful to me that I almost can't live without it now.
  21. It's currently 37%, after I deleted 2 dockers (Krusader and Dolphin) which also brought my btrfs subvolmes size down to 54GB. The warnings I had been getting were docker image utilization over 70%, as high as 85% at one point.
  22. As far as I can tell neither of those situations apply to me. Any docker app that has a directory to configure is mapped to a share. I don't think there's anything downloading to the image. Logs... du -ah /var/lib/docker/containers/ | grep -v "/$" | sort -rh | head -60 Returns about 20MB of logs. Not sure what else to look at? Edit -- I examined /var/lib/docker/btrfs/subvolumes and there are 167 directories, far more than apps/dockers I've got installed if that matters... some which are quite large. Example: 1.2G 60ba2059df9b6ee30f3dac1084f7041bc5ff0018c77d34cef3d71aede6ba7076 1.2G fd00c8da84099fb7c380e06ff82feccdc87862706ef8b371a86c5afaf7e66617 985M bcd719fbcb62e15f4bb96fe56b441d005a55dede653fd49cfe9b4400f4e482f8 985M c6658bfc2643ad274c31a16229f8bb77edf257ccbd712635cd87c7f325752163 So how do I go about figuring out what is what and cleaning some of it up? I can't possibly need all of this to be here.... 167? I've got 14 dockers and 4 VMs.. seems excessive.
  23. I've recently been getting warnings also... and it would appear that, at least in my case, btrfs is the culprit. root@UNRAID:~# du -h -d 1 /var/lib/docker/ 16M /var/lib/docker/containers 85G /var/lib/docker/btrfs 26M /var/lib/docker/image 46M /var/lib/docker/volumes 0 /var/lib/docker/trust 88K /var/lib/docker/network 0 /var/lib/docker/swarm 2.4M /var/lib/docker/unraid 0 /var/lib/docker/tmp 0 /var/lib/docker/plugins 16K /var/lib/docker/builder 85G /var/lib/docker/ 85GB for....... what exactly? I've seen a number of sites talking about this issue and it seems that most people end up rebuilding their dockers in order to reduce the size....... I'm not interested in doing that, at all. https://github.com/moby/moby/issues/27653 https://gist.github.com/hopeseekr/cd2058e71d01deca5bae9f4e5a555440 https://github.com/moby/moby/issues/9939 Short of simply increasing the size of the docker as @Squid has outlined, is there any way to non-destructively "refresh" btrfs to reduce it's size?
  24. Every time I delete a large quantity of files the unraid GUI locks up when I try to access the Recycle Bin page... anyone else? I don't know if it might have something to do with it trying to display the log of files that have been deleted?

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.