Everything posted by Espressomatic
-
[Script] Unassigned Devices Share Re-Mounter (SMB and NFS)
All fixed and posted above. Version 1.5
-
[Script] Unassigned Devices Share Re-Mounter (SMB and NFS)
OK, that's the issue I outlined above. Almost done with a fix - and it'll also display the renamed mountpoint in its output.
-
[Script] Unassigned Devices Share Re-Mounter (SMB and NFS)
You're going to have to give me an example so I can take a look into the specifics. The way it's done now isn't "hard coded" but uses the info that UD puts into its mount list. The content pulled from that list is completely variable, and if UD ever changes it, this script will continue to work. It doesn't care what the names are. I just tested making a new mount and then renaming the mount point (BIG-DL) like so: This is what UD puts into its mount file: I use the IP and path to construct what UD lists under the "Source" in the UI, which works regardless of what the mount point is named. I did find ONE issue with this, given the recent changes I've made. When checking if the mount already exists, the "Source" isn't the same as the mountpoint, so it thinks the share isn't mounted. Then trying to mount it again fails. I can search additionally for mountpoint and then put that in a variable so the output above can read "as BIG-DL" and the mount check should work.
-
[Script] Unassigned Devices Share Re-Mounter (SMB and NFS)
Let me review the code and the share list file...
-
[Script] Unassigned Devices Share Re-Mounter (SMB and NFS)
OK, fixed. I simplified the way I checked for mounted shares. I was previously using the mount command to check/test which caused that output.
-
[Script] Unassigned Devices Share Re-Mounter (SMB and NFS)
Let me see what I can do. It's checking now, but the check needs to be reworked to not show those messages.
-
[Plugin] Tailscale
This is a Tailscale plugin thread. It used to be in the Plugins sub-forum. So now it looks like there's a new Tailscale-specific sub-forum where this thread lives. Which means new threads for Tailscale-specific issues (not necessarily plugin-related) can be started at the top of the sub-forum: https://forums.unraid.net/forum/111-tailscale/
-
Immich docker self-hosted google photos setup
No, not at this time. Its hierarchy lives on another Unraid system, on a ZFS volume. That volume can go to sleep, but when working correctly, that just prevents the thumbnails from rendering until it wakes. I may have conflated two different issues when I first posted as it's been a while since I noticed the issues and left it for a while before finally repairing yesterday. Yesterday afternoon I repaired the permissions not in Immich's data store path (other server via SMB share) but in the appdata hierarchy. I can't actually recall if I've seen this issue multiple times or on an ongoing/repeating basis. The one that I know has happened many times I can't attribute to permissions on the data store, but on startup Immich will complain that it can't locate the ".immich" file inside one of the paths. For example ,inside "encoded-video." This happens when the volume is active and not sleeping and when it's properly mounted on the Immich Unraid system, accessible both from the UI and terminal without errors. In this case, I've been able to restart the Immich stack and everything will usually start working again. Yesterday's issue didn't resolve with a restart and only after manually changing permissions and ownership did everything go back to working as expected - appdata path.
-
Immich docker self-hosted google photos setup
What on the system can be possibly changing the permissions for folders/files used by immich? Every week or so I notice immich is no longer working and logs for one part of the stack show that file(s) can't be read/found. Or simply that a directory can't be accessed with permission denied. I've seen owner go to UNKNOWN and group bounce between root and users. I've seen directory permissions owner-only. I've reset everything to nobody/users and blanket 777 - everything works right now. Waiting to see when it next breaks.
-
[SUPPORT] NetBird
My recommendation remains: Tailscale Netbird, IMO, isn't ready for prime-time until they remove the reliance on third party software. And to top it off, I've yet to see the iOS client work. At all.
-
[Support] Djoss - Nginx Proxy Manager
Unfortunately, no. I'd further avoid trying to manually copy config files and databases. I've done this successfully in the past, but I've also done it unsuccessfully a couple of times. One of those times everything seemed to work for a couple of months, but then I found that Certbot wasn't able to renew anything - which I found out was due to some key mismatch in one file per certificate - this isn't something you want to be trying to fix in a rush at the last minute. Just set up a parallel install and manually recreate everything. It didn't take me very long for 20-something hosts and about 10 certificates.
-
[Plugin] Tailscale
In my most recent message above, I was testing from my MacBook using the native TS client software. On the same LAN I have 4 Unraid machines, all with Tailscale plugin activated. In addition, I'm running Tailscale inside my pfSense VM and inside my Nginx Proxy Manager LXC. Outside my LAN, I have a VPS at Ionos that is running the Tailscale Linux client, somewhere in the US. I had been advertising my local LAN subnet from one of the Unraid machines since the start - this is required to allow a TS client outside the LAN to access the LAN. Every Unraid TS plugin had "IP Forwarding" turned on which I believe may have been default when installed. Everything was peachy. With the VPS set to "Accept Routes" and act as an Exit Node, I was able to access the DNS on my LAN from the VPS, as well as ping my local machines. Likewise I could use the VPS exit node as a nice cross-border VPN from any machine, including my Macbook and iPhone (when home or out on cellular). All machines were set NOT to use Tailscale DNS. Tailscale was set to use my local LAN's DNS resolver as Global DNS anyway. Using the VPS or one of the Unraid machines as an Exit Node stopped working at some point. I don't know when, but I hadn't been making any changes to TS setup/config. The issues I had previously described with Unraid machines showing DNS queries for other machines also came up - maybe at the same time. That's what I first noticed because it was very obvious in AGH logs. I fixed the DNS issues but Exit Nodes still didn't work. So last night I uninstalled all TS plugins from all Unraid systems and turned off TS on all other systems. I brought TS back online one system at a time, but not on Unraid - only the VPS, the Mac, LXC and pfSense. I'm finding that to use the VPS Exit Node from my Mac, in addition to advertising the LAN subnet (from some LAN system), I now also have to turn on "Use Subnet Routes" on my Mac. I didn't need to do that before. And considering the subnet route is my LAN CIDR, I have no idea why I need to now. If I advertise the route from my pfSense installation (which runs unbound DNS forwarder) then it doesn't work. My Mac won't be able to connect to the internet when I use the exit node. If I instead advertise the route from my LXC which runs the reverse proxy, it will work and I can access everything from my Mac through the Exit Node: Internet sites, my LAN machines, dockers, etc. My internet IP correctly shows up as that of the VPS in the US. So that's where I am right now. I'll reinstall the Unraid plugins next and verify that everything remains working. Bottom line however is that this is not how it used to work just a couple of months ago.
-
[Plugin] Tailscale
There are definitely some differences compared to a few weeks ago in Tailscale. A page or so back I brought up the fact that I was seeing DNS traffic in ADG coming from both pfSense and the Unraid system hosting it. That's abnormal and wasn't something ever being logged previously. I "fixed" the issue by turning off advertising my local subnet in Tailscale on a pair of machines, plus turning off "Forward IP" on all machines/instances of Tailscale. But now, I can no longer use an exit node. Using a local exit node or a remote exit node (hosted on a VPS), I can't connect to anything - browser says there's no internet connection. I'm not saying nor suggesting this is a plugin problem - it may very well be a Tailscale problem. TS itself has been updated quite a few times, via the plugin, but also on non-Unraid environments directly from TS's own servers (Macbook, iPhone, pfSense/FBSD, Debian, etc.) Tailscale is super easy to set up, but its biggest problem right now is that it seems to be in constant change and looks just as easy to break.
-
Unraid Future Feature Desires Poll
Supposed to be coming. But in the meantime... Other NAS products don't have anything like Unraid's Array at all, so it's already a feature well beyond "basic NAS functionality." And Unraid supports unlimited Pools, which is what you get with (some) other solutions (not all can do even this).
-
[Plugin] Tailscale
Indeed turning off IP FWD has remedied the issue, so thanks for the heads up on the subnet router feature.
-
[Plugin] Tailscale
That box was advertising routes (Tailscale setting), but not set to use advertised routes - and no other machines were set to use advertised routes. I just noticed that all 4 of my Unraid systems have "Enable IP forwarding" turned ON in TS settings. Is this the settings that would have turned the system advertising routes into a full-fledged subnet router? Does the plugin use /etc/sysctl.d/99-tailscale.conf ? As that file has IP fwd set to 1 for both ipv4 and ipv6, even after turning it off in the UI. I also found the option to turn off SNAT, preserving the IP when using a node in this way. Going to try turning off IP fwd. None of these settings were recently made/changed, but the behavior I initially described only started happening somewhat recently - which is what's thrown me for a loop.
-
[Plugin] Tailscale
Turning off Tailscale (everywhere) seems to have resolved the above. Still testing/investigating.
-
[Plugin] Tailscale
Unfortunately that doesn't work - "too many non-flag arguments:" Ok, seemed to work after I hand-wrote the string. Cutting and pasting from the forum (excluding fancy quotes) was generating an error, maybe the dashes were coming up as some other unicode character.
-
[Plugin] Tailscale
Any idea/info on why this no longer works to disable advertising routes? tailscale up --advertise-routes The following also doesn't work tailscale set --advertise-routes As per the built-in help, not specifying a route should clear any existing I'm seeing some really weird behavior after the last few Unraid updates. In my AdGuard Home logs, I can see that the Unraid machine I'm running to host my pfSense VM is sending out DNS queries to AGH (on its Unraid-only IP) that I know are coming from other devices, like iPhones, Mac, my Thermostat, etc. So trying to disable a number of things one at a time to get a grip on what's happening.
-
[Plugin] Tailscale
I don't have the time at the moment, but since you're starting from scratch I'll try to get back tomorrow with details of my setup for you to compare. In my case I'm using AdGuard Home as initial local DNS where you're using PiHole, which shouldn't matter. I have some ideas that you can try instead of setting things back the way you had before.
-
[Plugin] Tailscale
I can't think of what's wrong, but I can't imagine there would be any issues besides a few lost minutes tearing it all down and putting it all back up again. Go for it. I'm not using Tailscale's DNS, so I've had to temporarily turn it on a few times when testing and posting. It wasn't on when I added that ts ping image above. Once you've got everything back, test and then if it's still not working, check the different sections/tabs in the Tailscale plugin settings page (examples: Settings, Status, Info and maybe logs). Also a reminder that to enable the use of TS DNS on the Unraid plugin, you have to do it from the terminal.
-
[Plugin] Tailscale
I can't think of anything concrete to offer. But if you want to poke around, from Unraid terminal you can use the tailscale command to check status and ping directly using tailscale to see if there's a difference.
-
[Plugin] Tailscale
Hmmm.. How about trying the same tests from the terminal on your Unraid machine? nslookup some machine and ping your Mac
-
[Plugin] Tailscale
OK, then it seems your browser may have its own DNS settings that you need to disable. Example: Firefox's secure DNS defaults
-
[Plugin] Tailscale
From a terminal, nslookup your Unraid machine by IP, and check the server and address output displayed before the machine name. That'll show what DNS you're using - it sounds like the query isn't going to your Tailnet's DNS. You'll see your router's address when it's not working, and 100.100.100.100 when it's using Tailscale and working.