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.

Sanjiyan

Members
  • Joined

  • Last visited

Everything posted by Sanjiyan

  1. Following on from the NUT config in this thread: I enabled it on a UGREEN DXP4800 Plus with the US3000, and a couple of days later the syslog was filling the log tmpfs. If left alone it would eventually have hung the server. Here is what I found and how I fixed it, in case it helps anyone else. Setup Unraid 7.3.3 NUT plugin (nut-dw) 2026.10.16, NUT 2.8.5 "Enable Manual Configuration" set to For UPS Driver, with the ups.conf from earlier in this thread (usbhid-ups, vendorid = 2b89, productid = ffff, subdriver = Arduino) Symptom /var/log (a tmpfs, 1 GB on my box) was growing at roughly 5 KB/s, about 430 MB a day. About 90% of /var/log/syslog was NUT lines like: Code block usbhid-ups: [D5:...:ugreenups] Exponent = 0 usbhid-ups: [D4:...:ugreenups] Entering libusb_get_report upsmon: [D3:...:mono] get_var: [email protected] / statusCause (in my case) I had NUT debug logging switched on, at level 6, in two places: debug_min = 6 in ups.conf. The plugin's upsmon debug level setting (DEBLEVELMON="6"), which writes DEBUG_MIN 6 into upsmon.conf. On most UPSes that would be noisy but tolerable. The US3000 exposes a large vendor-specific HID descriptor (hundreds of ffff00xx usages), and at debug level 5/6 the driver dumps it on every poll. That is where most of the volume came from. Why it eventually fills /var/log: Unraid's logrotate only runs from cron.daily, with rotate 2 and no compression. At that rate the live syslog plus two rotated copies can exceed the tmpfs. How to check yours: Code block ls -laS /var/log | head grep -E "usbhid-ups|upsmon|upsd" /var/log/syslog | grep -c "\[D[0-9]" sed -E 's/^[A-Z][a-z]{2} +[0-9]+ [0-9:]+ //; s/\[[0-9]+\]//g' /var/log/syslog | sort | uniq -c | sort -rn | headThe OL DISCHRG oddity The US3000 reports ups.status: OL DISCHRG all the time, even on mains. In the raw HID data I saw ACPresent = 1, Discharging = 1, Charging = 0, BelowRemainingCapacityLimit = 0, so the firmware itself sets those flags and NUT is not misreading them. My guess is that "Discharging" just means "not charging" on this firmware. battery.runtime is always 65535, which is a placeholder, so don't rely on it. NUT logs a warning for OL+DISCHRG, but only at startup and when battery.charge changes. It is not a flood on its own. I added onlinedischarge_log_throttle_hovercharge = 95 so 98/99 wobble doesn't trigger it. The fix, and where it has to be made to persist On Unraid, /etc is in RAM. The NUT plugin keeps its real config on the flash drive and regenerates parts of /etc/nut on every start, so where you edit matters: Setting Edit here Why upsmon debug off DEBLEVELMON="default" in /boot/config/plugins/nut-dw/nut-dw.cfg (or the "upsmon debug level" setting in the plugin GUI) rc.nut rewrites line 8 of upsmon.conf from this on every start. If you edit upsmon.conf directly, it is overwritten. driver debug off Remove debug_min = ... from ups.conf (NUT Editor, or edit the file) In "For UPS Driver" manual mode the GUI's driver debug setting is ignored, so the line lives in your own ups.conf. anti-spam filter SYSLOGFILTER="enable" in nut-dw.cfg The plugin recreates the rsyslog filter and its logrotate file on each start. The plugin copies /etc/nut/* to /boot/config/plugins/nut-dw/ups/ whenever it writes its config, so after editing ups.conf I restarted NUT via the plugin and checked the two copies matched: Code block cmp /etc/nut/ups.conf /boot/config/plugins/nut-dw/ups/ups.conf && echo identicalMy ups.conf now (the lowbatt / override lines are my own choices, not required): Code block [ugreenups] driver = usbhid-ups port = auto vendorid = 2b89 productid = ffff subdriver = Arduino desc = "Ugreen US3000 via USB" allow_killpower = 1 onlinedischarge_log_throttle_sec = -1 lowbatt=20 ignorelb override.battery.charge.low = 20 override.battery.runtime.low = 100 onlinedischarge_log_throttle_hovercharge = 95 pollinterval = 5Then restart NUT and clear the old flood with : > /var/log/syslog. Result Before: about 5 KB/s, thousands of NUT debug lines. After: 1 line in the first 60 seconds (my own test message), 0 debug lines, and /var/log at about 8 MB of 1 GB, almost all from an unrelated plugin log. Caveats, so you don't take this as gospel I verified this over a short period right after the change. (I'll update this post after 12+ hours with the log growth rate, whether any OL+DISCHRG warnings appeared, and confirmation after a reboot that the settings survived.) I have not tested a real power-loss shutdown with this setup. pollinterval = 5 is an optional tweak to reduce USB traffic; I haven't measured its effect on shutdown responsiveness. Debug level 6 was my own setting. If you didn't enable debug yourself and still see flooding, post your top repeated lines rather than assuming it's the same cause. Also worth doing: upsd listens on 0.0.0.0 with default NUT passwords. If only Unraid itself needs the UPS data, bind it to 127.0.0.1 and change the passwords. Possible extra hardening (not done yet) Because logrotate runs once a day, any future logging flood can still fill /var/log. An hourly logrotate run, for example from the User Scripts plugin, would cap that. I'll add it after the system has run clean for a while.
  2. Hi All, I finally managed to get the UGREEN US3000 UPS all setup and working, but i have noticed that the logs share and syslog are constantly getting the following, every second, which repeats endlessly. Happy to upload the diagnostics file if it helps. Anyone have any ideas? Thanks! May 26 04:40:06 Urd usbhid-ups[1886523]: [D2:1886523:ugreenups] nut_libusb_get_interrupt: Connection timed out May 26 04:40:06 Urd usbhid-ups[1886523]: [D1:1886523:ugreenups] Got 0 HID objects (371415 times in a row, tolerance is -1)... May 26 04:40:06 Urd usbhid-ups[1886523]: [D1:1886523:ugreenups] Quick update... May 26 04:40:06 Urd usbhid-ups[1886523]: [D5:1886523:ugreenups] refresh_report_buffer: investigating path: 00840004.00840024.00840056 May 26 04:40:06 Urd usbhid-ups[1886523]: [D4:1886523:ugreenups] Entering libusb_get_report May 26 04:40:06 Urd usbhid-ups[1886523]: [D3:1886523:ugreenups] Report[get]: (5 bytes) => 0a 00 00 00 00 May 26 04:40:06 Urd usbhid-ups[1886523]: [D5:1886523:ugreenups] PhyMax = 0, PhyMin = 0, LogMax = 2147483647, LogMin = -1 May 26 04:40:06 Urd usbhid-ups[1886523]: [D5:1886523:ugreenups] Unit = 00001001, UnitExp = 0 May 26 04:40:06 Urd usbhid-ups[1886523]: [D5:1886523:ugreenups] Exponent = 0 May 26 04:40:06 Urd usbhid-ups[1886523]: [D2:1886523:ugreenups] Path: UPS.PowerSummary.DelayBeforeStartup, Type: Feature, ReportID: 0x0a, Offset: 0, Size: 32, Value: 0 May 26 04:40:06 Urd usbhid-ups[1886523]: [D5:1886523:ugreenups] ups_infoval_set: report descriptor mapping for 'UPS.PowerSummary.DelayBeforeStartup' (Feature) was already set as handled May 26 04:40:06 Urd usbhid-ups[1886523]: [D5:1886523:ugreenups] refresh_report_buffer: investigating path: 00840004.00840024.00840057 May 26 04:40:06 Urd usbhid-ups[1886523]: [D4:1886523:ugreenups] Entering libusb_get_report May 26 04:40:06 Urd usbhid-ups[1886523]: [D3:1886523:ugreenups] Report[get]: (5 bytes) => 09 ff ff ff ff May 26 04:40:06 Urd usbhid-ups[1886523]: [D5:1886523:ugreenups] PhyMax = 0, PhyMin = 0, LogMax = 2147483647, LogMin = -1 May 26 04:40:06 Urd usbhid-ups[1886523]: [D5:1886523:ugreenups] Unit = 00001001, UnitExp = 0 May 26 04:40:06 Urd usbhid-ups[1886523]: [D5:1886523:ugreenups] Exponent = 0 May 26 04:40:06 Urd usbhid-ups[1886523]: [D2:1886523:ugreenups] Path: UPS.PowerSummary.DelayBeforeShutdown, Type: Feature, ReportID: 0x09, Offset: 0, Size: 32, Value: -1 May 26 04:40:06 Urd usbhid-ups[1886523]: [D5:1886523:ugreenups] ups_infoval_set: report descriptor mapping for 'UPS.PowerSummary.DelayBeforeShutdown' (Feature) was already set as handled May 26 04:40:06 Urd usbhid-ups[1886523]: [D5:1886523:ugreenups] refresh_report_buffer: investigating path: 00840004.00840024.00840055 May 26 04:40:06 Urd usbhid-ups[1886523]: [D4:1886523:ugreenups] Entering libusb_get_report May 26 04:40:06 Urd usbhid-ups[1886523]: [D3:1886523:ugreenups] Report[get]: (5 bytes) => ee 00 00 00 00 May 26 04:40:06 Urd usbhid-ups[1886523]: [D5:1886523:ugreenups] PhyMax = 0, PhyMin = 0, LogMax = 2147483647, LogMin = -1 May 26 04:40:06 Urd usbhid-ups[1886523]: [D5:1886523:ugreenups] Unit = 00001001, UnitExp = 0 May 26 04:40:06 Urd usbhid-ups[1886523]: [D5:1886523:ugreenups] Exponent = 0 May 26 04:40:06 Urd usbhid-ups[1886523]: [D2:1886523:ugreenups] Path: UPS.PowerSummary.DelayBeforeReboot, Type: Feature, ReportID: 0xee, Offset: 0, Size: 32, Value: 0 May 26 04:40:06 Urd usbhid-ups[1886523]: [D5:1886523:ugreenups] ups_infoval_set: report descriptor mapping for 'UPS.PowerSummary.DelayBeforeReboot' (Feature) was already set as handled May 26 04:40:06 Urd usbhid-ups[1886523]: [D5:1886523:ugreenups] refresh_report_buffer: investigating path: 00840004.00840024.00850068 May 26 04:40:06 Urd usbhid-ups[1886523]: [D4:1886523:ugreenups] Entering libusb_get_report May 26 04:40:06 Urd usbhid-ups[1886523]: [D3:1886523:ugreenups] Report[get]: (6 bytes) => 06 64 ff ff 00 00 May 26 04:40:06 Urd usbhid-ups[1886523]: [D5:1886523:ugreenups] PhyMax = 0, PhyMin = 0, LogMax = 2147483647, LogMin = 0 May 26 04:40:06 Urd usbhid-ups[1886523]: [D5:1886523:ugreenups] Unit = 00001001, UnitExp = 0 May 26 04:40:06 Urd usbhid-ups[1886523]: [D5:1886523:ugreenups] Exponent = 0 May 26 04:40:06 Urd usbhid-ups[1886523]: [D2:1886523:ugreenups] Path: UPS.PowerSummary.RunTimeToEmpty, Type: Feature, ReportID: 0x06, Offset: 8, Size: 32, Value: 65535 May 26 04:40:06 Urd usbhid-ups[1886523]: [D5:1886523:ugreenups] ups_infoval_set: report descriptor mapping for 'UPS.PowerSummary.RunTimeToEmpty' (Feature) was already set as handled May 26 04:40:06 Urd usbhid-ups[1886523]: [D5:1886523:ugreenups] refresh_report_buffer: investigating path: 00840004.00840024.00840002.008500d0 May 26 04:40:06 Urd usbhid-ups[1886523]: [D4:1886523:ugreenups] Entering libusb_get_report May 26 04:40:06 Urd usbhid-ups[1886523]: [D3:1886523:ugreenups] Report[get]: (4 bytes) => 01 31 00 00 May 26 04:40:06 Urd usbhid-ups[1886523]: [D5:1886523:ugreenups] PhyMax = 0, PhyMin = 0, LogMax = 1, LogMin = 0 May 26 04:40:06 Urd usbhid-ups[1886523]: [D5:1886523:ugreenups] Unit = 00000000, UnitExp = 0 May 26 04:40:06 Urd usbhid-ups[1886523]: [D5:1886523:ugreenups] Exponent = 0 May 26 04:40:06 Urd usbhid-ups[1886523]: [D2:1886523:ugreenups] Path: UPS.PowerSummary.PresentStatus.ACPresent, Type: Feature, ReportID: 0x01, Offset: 0, Size: 1, Value: 1 May 26 04:40:06 Urd usbhid-ups[1886523]: [D5:1886523:ugreenups] hu_find_infoval: found online (value: 1) May 26 04:40:06 Urd usbhid-ups[1886523]: [D5:1886523:ugreenups] ups_infoval_set: report descriptor mapping for 'UPS.PowerSummary.PresentStatus.ACPresent' (Feature) was already set as handled May 26 04:40:06 Urd usbhid-ups[1886523]: [D5:1886523:ugreenups] process_boolean_info: online May 26 04:40:06 Urd usbhid-ups[1886523]: [D5:1886523:ugreenups] process_boolean_info: !offline May 26 04:40:06 Urd usbhid-ups[1886523]: [D3:1886523:ugreenups] Report[buf]: (4 bytes) => 01 31 00 00 May 26 04:40:06 Urd usbhid-ups[1886523]: [D5:1886523:ugreenups] PhyMax = 0, PhyMin = 0, LogMax = 1, LogMin = 0 May 26 04:40:06 Urd usbhid-ups[1886523]: [D5:1886523:ugreenups] Unit = 00000000, UnitExp = 0 May 26 04:40:06 Urd usbhid-ups[1886523]: [D5:1886523:ugreenups] Exponent = 0 May 26 04:40:06 Urd usbhid-ups[1886523]: [D2:1886523:ugreenups] Path: UPS.PowerSummary.PresentStatus.Discharging, Type: Feature, ReportID: 0x01, Offset: 4, Size: 1, Value: 1 May 26 04:40:06 Urd usbhid-ups[1886523]: [D5:1886523:ugreenups] hu_find_infoval: found dischrg (value: 1) May 26 04:40:06 Urd usbhid-ups[1886523]: [D5:1886523:ugreenups] ups_infoval_set: report descriptor mapping for 'UPS.PowerSummary.PresentStatus.Discharging' (Feature) was already set as handled May 26 04:40:06 Urd usbhid-ups[1886523]: [D5:1886523:ugreenups] process_boolean_info: dischrg May 26 04:40:06 Urd usbhid-ups[1886523]: [D3:1886523:ugreenups] Report[buf]: (4 bytes) => 01 31 00 00 May 26 04:40:06 Urd usbhid-ups[1886523]: [D5:1886523:ugreenups] PhyMax = 0, PhyMin = 0, LogMax = 1, LogMin = 0 May 26 04:40:06 Urd usbhid-ups[1886523]: [D5:1886523:ugreenups] Unit = 00000000, UnitExp = 0 May 26 04:40:06 Urd usbhid-ups[1886523]: [D5:1886523:ugreenups] Exponent = 0 May 26 04:40:06 Urd usbhid-ups[1886523]: [D2:1886523:ugreenups] Path: UPS.PowerSummary.PresentStatus.Charging, Type: Feature, ReportID: 0x01, Offset: 2, Size: 1, Value: 0 May 26 04:40:06 Urd usbhid-ups[1886523]: [D5:1886523:ugreenups] hu_find_infoval: found !chrg (value: 0) May 26 04:40:06 Urd usbhid-ups[1886523]: [D5:1886523:ugreenups] ups_infoval_set: report descriptor mapping for 'UPS.PowerSummary.PresentStatus.Charging' (Feature) was already set as handled May 26 04:40:06 Urd usbhid-ups[1886523]: [D5:1886523:ugreenups] process_boolean_info: !chrg May 26 04:40:06 Urd usbhid-ups[1886523]: [D3:1886523:ugreenups] Report[buf]: (4 bytes) => 01 31 00 00 May 26 04:40:06 Urd usbhid-ups[1886523]: [D5:1886523:ugreenups] PhyMax = 0, PhyMin = 0, LogMax = 1, LogMin = 0 May 26 04:40:06 Urd usbhid-ups[1886523]: [D5:1886523:ugreenups] Unit = 00000000, UnitExp = 0 May 26 04:40:06 Urd usbhid-ups[1886523]: [D5:1886523:ugreenups] Exponent = 0 May 26 04:40:06 Urd usbhid-ups[1886523]: [D2:1886523:ugreenups] Path: UPS.PowerSummary.PresentStatus.BelowRemainingCapacityLimit, Type: Feature, ReportID: 0x01, Offset: 1, Size: 1, Value: 0 May 26 04:40:06 Urd usbhid-ups[1886523]: [D5:1886523:ugreenups] hu_find_infoval: found !lowbatt (value: 0) May 26 04:40:06 Urd usbhid-ups[1886523]: [D5:1886523:ugreenups] ups_infoval_set: report descriptor mapping for 'UPS.PowerSummary.PresentStatus.BelowRemainingCapacityLimit' (Feature) was already set as handled May 26 04:40:06 Urd usbhid-ups[1886523]: [D5:1886523:ugreenups] process_boolean_info: !lowbatt May 26 04:40:06 Urd usbhid-ups[1886523]: [D5:1886523:ugreenups] ups_status_set: current battery.charge=100 is okay compared to onlinedischarge_log_throttle_hovercharge=100 (previous onlinedischarge_log_throttle_charge=99): charging May 26 04:40:06 Urd usbhid-ups[1886523]: [D5:1886523:ugreenups] send_to_all: SETINFO driver.state "quiet" May 26 04:40:06 Urd usbhid-ups[1886523]: [D6:1886523:ugreenups] send_to_all: write 29 bytes to socket 5 succeeded (ret=29): SETINFO driver.state "quiet" May 26 04:40:07 Urd usbhid-ups[1886523]: [D5:1886523:ugreenups] send_to_all: SETINFO driver.state "updateinfo" May 26 04:40:07 Urd usbhid-ups[1886523]: [D6:1886523:ugreenups] send_to_all: write 34 bytes to socket 5 succeeded (ret=34): SETINFO driver.state "updateinfo" May 26 04:40:07 Urd usbhid-ups[1886523]: [D1:1886523:ugreenups] upsdrv_updateinfo...
  3. So, if I ever need to use NFS mounts in the future, is this issue likely to resurface? To be honest, I'm still unclear on the root cause. I simply disabled the NFS service, as I don't currently use it, and doing so has stopped the issue from affecting me, for now. As for whether it might return in future, I’m not sure.
  4. Thanks for the help. Since none of my shares have NFS exports, I have disabled the NFS service. Is this a known issue/bug? If so, I wonder when they plan to patch it.
  5. Hi all, I'm running Unraid 7.1.4 and have encountered a recurring issue where my shares intermittently disappear. This, in turn, causes broader problems, such as breaking all Windows network shares and virtiofs mounts used within Unraid-hosted VMs, most notably my Proxmox Backup Server. The issue temporarily resolves if I reboot the NAS, but it typically reoccurs within minutes to a few hours. I've attached a screenshot showing the shares list completely empty, along with two sets of diagnostic logs: one captured during the issue, and another taken post-reboot when the shares were accessible again, for comparison. If anyone has any insight into what's causing this or how to fix it, I’d greatly appreciate it. Ironically, the problem only began after I upgraded from a trial licence to an Unleashed licence. Thanks in advance. pre-reboot - urd-diagnostics-20250701-1117.zip post-reboot - urd-diagnostics-20250701-1134.zip
  6. Solved by removing the array and reimporting it, ensuring that the FS type is set to auto and not btrfs.
  7. Hi, I am new to the Unraid scene and am trying it out on a Minisforum MS-01 with 4x 4TB NVMe (3 use the onboard M.2 slots, and the fourth uses a PCIE add-on card); the Unraid install is configured not to use an array but just a pool, which is btrfs—raid 5. I initially configured the pool devices in order: disk1 = nvme0n1, disk2 = nvme1n1, disk3 = nvme2n1, and disk4 = nvme3n1. Everything worked fine initially, but when I rebooted, the array failed to come back online and displayed an error message: Wrong Pool State, data—too many wrong or missing devices. When I look at pool devices, I see that the device order is all over the place, now out of order. So, I reordered the disks back into the correct order, but the error remains. I am unable to bring the array online. I can temporarily fix this by wiping the USB drive, reloading unraid, and reconfiguring the array. Funnily enough, the system recognises the btrfs array on its 'initial' boot and sees all my data and docker containers, etc., until I reboot, and then the array fails to load. Any ideas? I have attached the diagnostics file for review. EDIT: Unraid version: Unraid 7.0.0-beta.4 System: Minisforum MS-01 Plugins: - Community Applications - 2024.11.29 - GPU Statistics - 2024.11.28 - Intel GPU TOP - 2024.10.20 - Unassigned Devices - 2024.11.16 belldandy-diagnostics-20241129-2202.zip

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.