Everything posted by Espressomatic
-
LOCAL PNG file icons for Docker containers are periodically deleted
Issue: A locally stored PNG file set as an icon for any docker container is deleted after some (undetermined) amount of time (1+ weeks). Example: Set a custom icon for a container, such as AdGuard Home by first turning on the Advanced View while Editing the container In the container settings, specify a local path and PNG file (seen below) Save the container settings The icon will appear on the container something like this After an undetermined amount of time, such as a few weeks, have passed, the icon will stop showing up and the container will display like this If the path to the icon PNG files is checked, you will notice the file is no longer present in the path The filename of the PNG file makes no difference to this issue. The docker container selected seems to make no difference: Have been testing with AdGuard Home and Vaultwarden The PNG files in my testing are stored on a shared volume named "VM_ISOS" as above The path entered in the docker settings is the full path from root /mnt/nvme_pool/vm_isos/vm_icons/my_icon_file.png
-
Having trouble cloning a VM
This fails on every VM on every one of my systems, 100% of the time. How can this be fixed/addressed? Did I miss a thread where this is discussed in more detail? RSYNC (maybe unexpectedly) takes an excruciatingly long time even for a modest 30GB image. Also of note, is that the MAC addresses for defined interfaces are always different on the "clone" than on the original. That's kind of a big deal to my pfSense image. 5-year old kid mode: why? As an aside, will it be possible after some future update to clone a running VM?
-
Slow SMB Performance Unraid 7
I found that even with Windows clients, that the throughput varies wildly and isn't consistent. When I'm checking that kind of thing, which admittedly was last sometime in 2024, I try to keep it to large files only - movies, isos, etc. I was using 1GbE hardware when last testing from Windows. From a Mac it's of course abysmal and the Finder can lock up just opening a directory with 1000 files in it. Here it doesn't matter what networking gear is being used, IME. But since switching exclusively to ZFS for the shares I connect over SMB, it's been phenomenal. And directory listings are near-instant at all times, with large files sustaining speeds over 200MB/s on 2.5GbE USB-C adapter.
-
Slow SMB Performance Unraid 7
Stop using the Array. Simple as that. The problem is FUSE. You can jump through unlimited hoops for an unlimited amount of time plus perform whatever incantations you want, but you will never achieve 100MB/s average/sustained using the Array/FUSE layer with consistency. I can achieve higher than 100MB/s consistently to/from any other machine using a single drive connected to the server on USB3 when it's added as a pool - NO ARRAY. It's impossible with the array if you're running MacOS to connect to Unraid. I'm assuming other platforms will run into similar problems at some point or with some configurations. Hardly. I can easily get upwards of 200MB/s sustained all day every day over SMB on 2.5gbit LAN from my Macbook Air - reading and writing to spinning disks no less. ZFS ZRAID2 volume with 6 disks. You need to make sure that your share has EXCLUSIVE ACCESS enabled - and that of course PERMIT EXCLUSIVE SHARES is enabled in the general share settings.
-
Windows or Linux for host PC (with Unraid USB)?
You need to buy a Mac. Not a joke, I'm dead serious. Get a Mac mini if you want a desktop or a Macbook Air if you want something portable with a screen. Unraid is not for you unless you're looking to set up a server. It sounds however like you want to set up a desktop. That's not what Unraid is for - at all. It's not a general purpose Linux OS and the fact it runs Linux at all isn't very relevant to using it, as Unraid is 100% web-browser based, like using a Web App, not an OS desktop.
-
Ente Photos auf Unraid?
Can you post that compose inside a CODE block instead of an upload? I can't seem to download it as the forum produces an error. Translated (badly?) Können Sie die in einem Codeblock anstelle eines Uploads in einem Codeblock komponieren? Ich kann es nicht herunterladen, da das Forum einen Fehler erzeugt.
-
PSA on SanDisk USBs
I still have no idea how you guys are finding/buying drives without GUID as I've yet to find any with such a fault and have yet to ever come across a fake drive. This thread is surely a place for the outliers. I'm also wondering if I should start selling certified Unraid-stable drives myself. Every drive with a 2x money-back guarantee. Only $150 per 16GB drive - after all, a small price to pay.
-
[Plugin] Tailscale
Maybe? ;) I use https for everything, but don't rely on any settings in Tailscale to make it happen. I figure it's doing more than enough, and since troubleshooting can be complicated, I leave that elsewhere that can easily be turned on/off and swapped out outside of Tailscale. Everything else in my stack seems to be in a more stable and long-term state, whereas Tailscale gets frequent updates. I really can't afford to deal with any more downtime - not because I can't easily work around it for personal use, but my family seems to want to blame me for anything connectivity related, even if it's a downed power line or demolished trunk 250 km away.
-
Forum Formatting Changed?
The changes between versions of Invision are like different forum software in all but branding. They at some point did a major rewrite and lost a lot of functionality. Then over the course of years seem to have brought a lot back. To the seasoned and novice user alike, it's all irrelevant because the UI/UX changes are glaring and v5 is only as smilar to v4 as any other brand of forum software. I stopped using my own perpetual license a long time ago and seemingly, so did every forum I frequent as a member. Unraid is the only forum I recall visiting in the past 10 years still running Invision software.
-
Forum Formatting Changed?
It's a different forum software. Invision. I used to hold a license to this software and ran it for over a decade. Huge mistake.
-
Unraid Forums Upgrade
Oh no..... Not Invision. Ugh.
-
[Script] Make and install Unraid TLS Certificates from NPM / Certbot
This is the additional script to copy and install the certificate for ONE specific server from the shared folder specified above. Install this script onto each Unraid server where you want an updated TLS certificate. #!/bin/bash ##================================================================================================ ## ## Unraid WebUI TLS/SSL Certificate Installer - Espressomatic @UnraidForums - 19 May 2025 ## ## version 1.5 ## ## Copy certs from central Certificate Share to this Unraid Server's Certificate Path ## ##================================================================================================ # # # Info # ---- # # Tested on Unraid versions 6.12 - 7.1.2 # # Required Installation and Setup # ------------------------------- # # - "Make Unraid NPM Certificates" script must be run on server hosting NPM LXC & certificates must be in common share folder # # - Click the Schedule button for the script and select a weekly schedule # NPM renews certificates 4 weeks before they expire and this makes sure the installed copy # is always up-to-date and valid # # - Click the Apply button at the bottom # ##================================================================================================ ##------------------------------------------------------------------------------------------------ ## REQUIRED SETTINGS ##------------------------------------------------------------------------------------------------ ## The name (without domain) of THIS Unraid server (where you're installing this script) # this_server_name="Zaphod" ## Share folder where the Make Certs script has previously stored the certificates # certShare_Folder="/mnt/remotes/TRILLIAN_Clutch/Certificates/" ##================================================================================================ ##------------------------------------------------------------------------------------------------ ## The Business - you shouldn't need to make edits below for typical use ##------------------------------------------------------------------------------------------------ ##================================================================================================ ## Unraid Default Directories: unraid_certdir="/boot/config/ssl/certs/" ## Unraid certificate filename suffix - as of Unraid 6.12 # unraid_certsuffix="_unraid_bundle.pem" unraid_certsuffix="_unraid_bundle.pem" unraid_cert_file="${this_server_name}${unraid_certsuffix}" ## Go to the shared certificate folder and copy this server's cert to the Unraid cert path # cd ${certShare_Folder} if [ ! -f ${unraid_cert_file} ]; then printf "\n❗❗ Can't find the server's Certificate Bundle - please contact the script developer\n\n" exit 1 else cp ${unraid_cert_file} ${unraid_certdir} fi ## Adjust file permissions to creator-only read-write # chmod 600 ${unraid_certdir}${unraid_cert_file} #rm -r $tmp_originals printf "Success!\n" printf "\nYour ${unraid_cert_file} certificate has been copied to ${unraid_certdir}\n" ## Restart the Unraid WebUI # printf "\nThe Unraid WebUI is reloading its configuration with your new certificate.\n\n\n" /etc/rc.d/rc.nginx reload
-
[Script] Make and install Unraid TLS Certificates from NPM / Certbot
This script is run on an Unraid system hosting Nginx Proxy Manager (docker, lxc, etc) and copies specified certs in the format required by Unraid to ONE specified shared folder. This works for any number of Unraid servers - edit variables as needed. The folder location in the script is for an NPM installation within a Debian LXC container - edit as necessary for your own NPM storage location. These scripts require that you have NPM (or Certbot standalone, etc.) already set up and working, pulling updated Let's Encrypt certificates and that you have a TLS entry for each server you configure. Related: My Nginx Proxy Manager LXC setup guide: #!/bin/bash ##================================================================================================ ## ## Unraid+NPM TLS Cert Builder - Espressomatic @UnraidForums - 19 May 2025 ## ## HARDCODED version 1.5 ## ## Build Unraid TLS cert bundle from Nginx Proxy Manager's Certbot Provisions ## ##================================================================================================ # # ##================================================================================================ ##================================================================================================ ##================================================================================================ # This script is run on the NPM host and copies specified certs in Unraid's format to a shared folder # # Certificate files parent folder (LXC) - get cert parts from here and reference path below to get server name # /mnt/user/lxc/NginxReverseProxy/rootfs/etc/letsencrypt/archive/ # # Files with names of NPM hosts that use certs - get server names from here # /mnt/user/lxc/NginxReverseProxy/rootfs/data/nginx/proxy_host # # Additional Script requirement: # Put the "Install Local Certificate" script on each Unraid machine to copy its cert to its local cert folder # ##================================================================================================ ##================================================================================================ ##================================================================================================ # # Info # ---- # # Tested on Unraid versions 6.12 - 7.1.2 # # This script makes the assumption that the source is a certificate chain of 4 files # These 4 files will be concatenated together to make a certificate bundle for Unraid # # # Required Installation and Setup # ------------------------------- # # - LXC Plugin with NPM installed in Debian # # - NPM set up to generate certificate(s) for your servers with Let's Encrypt # # - In User Scripts, click the Schedule button for the script and select a weekly schedule # NPM renews certificates a 4 weeks before they expire and this makes sure the installed copy # is always up-to-date and valid # ##================================================================================================ ##------------------------------------------------------------------------------------------------ ## REQUIRED SETTINGS ##------------------------------------------------------------------------------------------------ ## Edit the following variables for the specific servers ## ------------------------------------------------------------------------------------------ myServerNames=("Trillian" "Arthur" "Ford" "Zaphod" "Marvin") myServerFileIndex=("11" "7" "8" "6" "10") certShare_Folder="/mnt/user/Clutch/Certificates/" ##================================================================================================ ##================================================================================================ ##------------------------------------------------------------------------------------------------ ## The Business - you shouldn't need to make edits below for typical use ##------------------------------------------------------------------------------------------------ ##================================================================================================ ## (4) Certificate-specific source directory # - inside NPMPlus appdata hierarchy, certs are created in numerical order # cert_dir_base="npm-" ## Unraid certificate filename suffix - as of Unraid 6.12 # unraid_certsuffix="_unraid_bundle.pem" unraid_certsuffix="_unraid_bundle.pem" ## Certificate parent directory based on NPM installation type # LXC: "/mnt/user/lxc/NginxReverseProxy/rootfs/etc/letsencrypt/live/" cert_parent_dir="/mnt/user/lxc/NginxReverseProxy/rootfs/etc/letsencrypt/live/" ## Certificate filename(s) # NPM certificate chain consists of 4 files inside a specific folder (see REQUIRED SETTINGS up above) # # cert_file1="fullchain.pem" cert_file2="chain.pem" cert_file3="cert.pem" cert_file4="privkey.pem" # # Symbolic links to the most recently renewed cert files inside the "../letsencrypt/archive/" path cert_file1="fullchain.pem" cert_file2="chain.pem" cert_file3="cert.pem" cert_file4="privkey.pem" ##================================================================================================ # Copy the files and display confirmation messages # server_cert_file="MAKE THIS" # Start Server Array Loop printf "We're Starting\n\n" for i in "${!myServerNames[@]}"; do cert_dir=${cert_dir_base}${myServerFileIndex[$i]} unraid_server=${myServerNames[$i]} unraid_cert_file="${unraid_server}${unraid_certsuffix}" printf "${unraid_server} (${cert_dir}) ... " ## Build the path variables full_cert_path=${cert_parent_dir}${cert_dir} ## Validate names, source path and certificate files # if [ ! -d "${full_cert_path}" ]; then printf "\n❗❗ The source certificates directory can't be found. Make sure the script variables have been edited correctly\n" printf "\nDirectory: \"${full_cert_path}\"\n" error=1 else cd ${full_cert_path} fi if [ ! -f "$cert_file1" ] || [ ! -f "$cert_file2" ] || [ ! -f "$cert_file3" ] || [ ! -f "$cert_file4" ]; then printf "\n❗❗ One or more of the original certificate files can't be found. Check your edits in the script.\n\n" printf "\nLooking in directory: \"${full_cert_path}\"\n" error=1 fi if [ $error ]; then exit 1 fi ## copy the original certificate files to a temporary working path # tmp_originals="/tmp/original_certs" mkdir -p $tmp_originals cp * ${tmp_originals} cd ${tmp_originals} ## Concatenate the original cert files into an Unraid certificate bundle # if [ ! -f "$cert_file1" ] || [ ! -f "$cert_file2" ] || [ ! -f "$cert_file3" ] || [ ! -f "$cert_file4" ]; then printf "\n❗❗ There was a problem copying the certificate files - please contact the script developer\n\n" exit 1 else cat $cert_file1 $cert_file2 $cert_file3 $cert_file4 > ${unraid_cert_file} fi ## Copy the bundles to defined ${certShare_Folder} # if [ ! -f ${unraid_cert_file} ]; then printf "\n❗❗ There was a problem creating the Unraid Certificate Bundle - please contact the script developer\n\n" exit 1 else cp ${unraid_cert_file} ${certShare_Folder} fi rm -r $tmp_originals printf "Success! ${unraid_cert_file} created\n\n" done #Server Array Loop End printf "\nYour TLS/SSL Certificates have been stored in ${certShare_Folder} \n"
-
[Script] Unassigned Devices Share Re-Mounter (SMB and NFS)
Didn't see this until today. Let me take a look at this and replicate it here to see how best to handle it.
-
[Plugin] Tailscale
It's rare that someone want to access only the Unraid WebUI, and when there's a need to access even just one more app/resource/page/site/app, along with maintaining an updated certificate (or multiple), it's just easier to maintain this on a purpose-built platform. Especially one that isn't in a state of flux or active change with said features still advertised as in beta. So that said, something like Nginx Proxy Manager offers a really simple UI for both maintaining one or more certificates as well as any number of hosts. You can also use any other reverse proxy, such as Caddy, Traefik, HAProxy, etc. NPM, IMO, is just a lot more straight forward for anyone not intending to roll up their sleeves and do this on the daily as part of their job. With respect to ONLY the Unraid WebUI, I use NPM only to manage the certificates - I don't use it to do HTTPS proxy. I made a script that copies the certificates from NPM to each of my Unraid servers on an ongoing basis. There's no custom configuration or settings to be applied in Tailscale for this to work. If you really wanted only Unraid WebUI and nothing else, you could use Certbot to do the certificates from Unraid in the same way (it's what NPM uses) and not use a reverse proxy or any custom settings in Tailscale at all. For more information on how I have NPM deployed, I have a small tutorial here: I've deployed it using LXC, running in Debian along side a Tailscale installation. I then also use Tailscale Unraid Plugin on all my Unraid servers. I don't use Tailscale Docker integration. There have been some hiccups over the past 10 months here and there, but everything has no been running solidly for some time, with access working well from mobile and captive-portal connections on multiple continents. Additionally, here are the scripts I use to maintain (copy) the certificates to each Unraid server:
-
Unraid OS version 7.1.2 available
I kicked off an update to 7.1.0 on one system while sitting waiting to take off at an airport boarding gate - while away I didn't have the time to dive deep, but everything I needed while away seemed to be working so....
-
HAOS VM preventing spindown - failing to solve
Oh yeah... That's what was causing my own inability to shut down HA's VM last summer (thanks again to SimonF for immediately suggesting I look there). Sneaky. It'd be nice if it didn't do this when manually shutting down the VM, but I have no idea i\f it's possible for that plugin to know that.
-
[Plugin] Tailscale
The best advice I can possibly give: Use a reverse proxy or don't bother using domain names and certificates at all on your servers. Once the above is in place, turn off the HTTPS option in Tailscale.
-
[Support] HomeAssistant_inabox
IMO, add-on and integration issues need searching in the official Home Assistant community forum, where most HA discussion happens. I've never heard of this add-on, but installation issues are usually add-on specific and not HA-specific. Likely a change in a recent HA update that removed some deprecated code and the add-on hasn't been updated. One of a number of threads about this add-on and installation errors. This one started in 2024. https://community.home-assistant.io/t/predbat-add-on-error/770835
-
[Plugin] Tailscale
Yes, exactly. This is what I was implying when I originally mentioned it. KNOCK ON WOOD - Everything's working smoothly now with all my machines, including all Unraid servers and external VPS, on my Tailnet. iOS mobile and Macbook both working as expected connecting to anything on my home LAN, including SMB when outside the network. Fingers crossed, I leave for UK and Europe tomorrow with iPhone and Macbook. If anything goes wrong here at home, I'm still the one expected to fix it remotely while I'm away, including all manner of smart home devices via Home Assistant.
-
[Support] Nginx Proxy Manager (NPM) Official
I wish I had more advice but I can't think of anything else to look at. One thing to note is that while I can use different subnets, I don't have any VLANs set up anywhere at the moment. Coincidentally, I thought I'd come across some failure of my NPM install earlier, but it turns out it's some oddity with pfSense/Unbound. I made a new override to resolve deemix.xee.to to my NPM host, the same way I have for so many other subdomains on the same FQDN, and it refused to work. Making one for "dmix" instead of "deemix" works fine. No idea why, but still the case if I do it all over again. *shrug*
-
[Support] Joshndroid's Docker Repo Support Thread
WOW. I spent a couple of days looking at this and eventually tapped out. This gives me incentive to try again. How many days has this been running for you and how long do you expect it to run without having to perform some kind of manual intervention/fix/update/re-deploy? In the meantime I've got an iOS YT-capable client that works well enough on its own, called Viddle. iOS/mobile was my main sticking point with accessing YT.
-
[Support] Nginx Proxy Manager (NPM) Official
Different subnet shouldn't make a difference for the ability to connect/proxy. NPM on 10.8.8.2, container on 192.168.0.50 for example. 502 can happen with a misconfiguration of the proxy or container networking/webui even on the same subnet. Including forwarding to HTTP when the container is expecting HTTPS I'm using custom bridged network type, br0 and macvlan in case it makes any difference.
-
[Plugin] Tailscale
Did you mean that you don't see any Tailscale UI at all, that you don't see a Tailscale icon in Settings or just that the first Tailscale tab (where you log in) looks different from the old one? With default theme the Tailscale icon in Settings looks like this in the second row, Network Services Clicking it brings up a tabbed Tailscale UI with the first tab selected. The old WebUI showed a white rectangle in the middle of the display on the first tab that didn't match the rest of the Unraid UI. The current UI now matches the rest of the Unraid UI. The current UI looks like this along the top: If you haven't enabled Tailscale (on the second tab - it would make more sense on the first) and haven't logged in (first tab), then the tab will be empty except for a message telling you to enable and possibly log in. There's one aspect of this UI that is incorrect - it's always a tabbed interface, even when Unraid's page view (in Display Settings) isn't set to Tabbed. I just found this today as I normally only use a tabbed UI so would have never otherwise noticed.
-
[Plugin] Tailscale
Nothing announced/implemented yet. It would be very cool to have this ability from the integrated File Browser. For that matter, it'd be nice to have it on any file-sharing platform too, such as Owncloud, Nextcloud, etc.