Everything posted by EDACerton
-
[Plugin] File Activity – See What’s Keeping Your Unraid Disks Busy
Sorry for the delay, I’ve been extra busy with real-life stuff. I’m also hoping that LT will add a new kernel flag in 7.3 that will let me do even better with what the plugin can report.
-
Kernel: Enable CONFIG_DEBUG_INFO_BTF=y for full eBPF/BTF support
Upvote here: https://product.unraid.net/p/kernel-enable-config_debug_info_btf-y-for-full-ebpf-btf-support?b=unraid-os-feature-requests
-
[Plugin] Automatic Disk Unlock
Gotcha. There’s a known problem where you can’t set up the plugin with the array started if all of the encrypted disks are in the array. I should have a fix for that in a day or two.
-
[Plugin] Automatic Disk Unlock
Do you have any encrypted pools, or all of the encrypted drives in the array?
-
[Plugin] Automatic Disk Unlock
Yes
-
[Plugin] Tailscale IDP
Yes, you can; you’ll just need to add the necessary rule to your Tailscale ACLs to grant access to the tsidp admin console.
-
[Plugin] Claude Code
OK, so now I have an objection: It's your plugin. You write it, not the CA team. It's your responsibility to make sure that it's done in a quality way. This expectation that someone else will do a code review for you is wrong. Every other plugin out there is open source. Look at how they work. See what patterns are repeated (because they work). Look at the files on the system that explain how the plugin system works (hint -- the plugin command is actually a script).
-
[Plugin] Claude Code
@johner @guyfrom7up I'm just another community developer, but I have a lot of experience writing for this platform, and I decided to take a glance at both plugins. From a policy standpoint, I would question if these need to be plugins. CA policy states that "Plugins which are better suited as a docker application are not eligible for inclusion in CA." That would seem to be the case for these tools; why do they need to be installed and run with root privileges within the operating system? There are many ways to run these tools using containers which are better from a security/safety standpoint. Setting the policy concern aside, from a design standpoint, both plugins give me a very solid sense of "this was AI-coded without a substantial human review / understanding of what it does". Now, to be clear -- I'm not against the use of AI in general. I think it can be a very helpful tool. With that said, neither plugin follows the standard conventions for Unraid plugins (e.g., building a Slackware package containing files that are expected to persist across boots, using event hooks to handle specific events). Given that the plugins run as root, and because those conventions exist for good reason (as discussed further below), that makes me concerned about the quality/safety of running either plugin. Neither plugin builds a package for its persistent files. In particular, for Unraid Tab, the "manual" method of downloading files and caching them on the flash drive lacks a crucial feature -- updating. If the file already exists on the flash drive, it looks like the only way to actually update it is to uninstall and reinstall the complete plugin so that the cache gets removed. Otherwise, the install will just keep using the cached version on disk. The conventional way to handle all of this is to have a versioned Slackware package which contains all files that are expected to persist, which is then installed on every boot by the .plg file. At minimum, you should be using <FILE> blocks with a URL and checksum so that the files can be verified and re-downloaded if they ever change. The Claude plugin makes an attempt to "cache" the binary so this won't happen, but also creates a hidden dependency on array auto-start; if your array hasn't started within 5 minutes of the system booting, the plugin will try to install anyways (it seems like), redownloading Claude, but it won't set up persistence and writes files into /mnt/user before the array starts (which can cause other confusing issues later on when the array is eventually started). The conventional way to handle this (run process after array starts) would be as an array_started event hook.
-
[Plugin] Tailscale
There's an "Allow Tailscale Funnel" option in the plugin "Settings" tab. If that doesn't appear, it means that you're on an older Unraid version (pre-7.2.0) where enabling funnel for the WebGUI is dangerous because the WebGUI didn't require authentication for connections from localhost (which is what traffic from funnel looks like... so if you enable funnel and funnel the WebGUI, anyone that accesses that URL would get full access to the WebGUI with no login required).
-
[Plugin] Tailscale
@Fragsrus This isn't a plugin issue. This is a system configuration issue. Starting NPM shouldn't cause br0 to lose its IP address. That's the root cause of your problem, and the issue that you should fix. Barring that, a much simpler workaround would probably be to just put a 30-second delay on the container auto-start, to let everything else finish before it breaks the interface.
-
[Plugin] Open Files - See What's Preventing Unraid from Shutting Down
What do you mean?
-
[Plugin] File Activity – See What’s Keeping Your Unraid Disks Busy
The "failure after reboot" is normal and not a big deal -- the service restarts itself after the disks mount/array starts. As for the issue you're seeing -- I did a similar test on my test system (XFS-backed array and ZFS-backed pool) and I can see the activity. BUT... ZFS can do some weird things with file access (like storing small/empty files in metadata and not creating a full file). It's possible that there's something odd with ZFS in the array. I'll have to check on that part.
-
[Plugin] File Activity – See What’s Keeping Your Unraid Disks Busy
It's frustrating when I'm trying to respond to help a user and someone interjects with "just use this other one instead". The shfs thing is a limitation of how the array handles file access (essentially, if you access something from /mnt/user, the kernel sees the access as coming from the FUSE filesystem, not from the process that made the request). I'm looking at a way to see though that, but it needs an extra option enabled in the kernel (that isn't currently, but I'm asking about it).
-
[Plugin] File Activity – See What’s Keeping Your Unraid Disks Busy
You've posted the link three times on the last page alone with instructions to remove the plugin. Incidentally, the latest update to this plugin provided a big overhaul to the backend, meaning it now monitors the underlying filesystems (substantially more reliable than inotify), and can report what process is causing the activity.
-
[Plugin] File Activity – See What’s Keeping Your Unraid Disks Busy
Please stop advertising the other plugin in my support thread.
-
[Plugin] File Activity – See What’s Keeping Your Unraid Disks Busy
Are you creating the file on a pool, or on /mnt/diskX, /mnt/user/ ? I'd start by turning the "Enable" features on and removing the exclusions if you want to get a better sense of what's accessing the disks.
-
Kernel: Enable CONFIG_DEBUG_INFO_BTF=y for full eBPF/BTF support
I will second adding BTF support. (I have a current plugin project that would benefit from it.) I think the fundamental concern here -- the kernel growing in size -- is due to a misconception with the parameter that's needed. CONFIG_DEBUG_INFO=y results in the kernel including full debug information. This is very large, but not what is needed/being requested. CONFIG_DEBUG_INFO_BTF=y builds the kernel with a compact set of metadata for eBPF. The impact of this should be negligible.
-
[Plugin] Tailscale
I do this as a volunteer effort, and I don’t have it auto-push because if there’s a problem it could disrupt people’s access to their devices. It’s a preview version, but I’m not going to be reckless either. There’s no harm in the update lagging by a day or two, and usually i have the preview plugin updated the same day.
-
[Plugin] File Activity – See What’s Keeping Your Unraid Disks Busy
I do plan to add PID reporting soon (to see what process is accessing files), I just haven’t had the time to do it yet.
-
after running properly for a 20 minutes, my passed through tpm goes into an error. "qemu-system-x86_64: tpm_passthrough: error while transmitting data to TPM: Broken pipe"
# Force correct Tailscale parameters (fix single dash bug)FYI, there's no bug there -- single or double dashes are OK. That fix also won't work since custom-params.sh is rewritten every time Tailscale is started.
-
[Plugin] Header Link Fix
This is a simple plugin that replaces the unraid.net link in the WebGUI header with a link back to the WebGUI start page, because I'm tired of clicking that out of habit (expecting it to take me back to the start), only to have it pop up the sales page for the thing that I am already using. 😄 Installationhttps://raw.githubusercontent.com/dkaser/unraid-header-fix/main/plugin/header-fix.plg
-
[Plugin] ddrescue
Wish granted :)
-
[Plugin] Tailscale
This topic is not for support of the Tailscale docker integration. Please make a separate post in the Tailscale area for issues related to the docker integration.
-
[Plugin] Automatic Disk Unlock
Update: it turns out that using the http implementation in rclone doesn't work as smoothly as I would like (it works fine for files in the root, but as soon as you add a subdirectory it breaks). If you update to the latest plugin version, you should be able to add a plain http(s) URL to the config as: https://www.[removed].com/share/share2.txt That should work better.
-
[Plugin] Automatic Disk Unlock
What happens if you run curl https://… From the command line?