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.

Gnomuz

Members
  • Joined

  • Last visited

Everything posted by Gnomuz

  1. Thanks for the quick answer @Squid. According to crontab, daily jobs are scheduled at 4:40am, I suppose it's default setting. - I've checked User scripts, none of them is "Scheduled Daily", and anyway none of them is supposed to restart apcupsd either. - CA Backup runs at 3AM for 15/20 minutes. - Parity check runs on a daily basis and is scheduled on December 1st. And that's all I'm aware of in terms of sceduled tasks during the night. I'll have a regular look at it and if it happens again I'll investigate further.
  2. Having a look at syslogs, I've just noticed that this plugin seems to have stopped and restarted the apcupsd daemon this morning : Nov 29 04:40:02 NAS root: Fix Common Problems Version 2020.11.28 Nov 29 04:40:27 NAS apcupsd[10250]: apcupsd exiting, signal 15 Nov 29 04:40:27 NAS kernel: usb 3-2: reset full-speed USB device number 14 using xhci_hcd Nov 29 04:40:27 NAS apcupsd[10250]: apcupsd shutdown succeeded Nov 29 04:40:30 NAS apcupsd[27100]: apcupsd 3.14.14 (31 May 2016) slackware startup succeeded Nov 29 04:40:30 NAS apcupsd[27100]: NIS server startup succeeded I only have 5 days of uptime, it's the first time this happens since the reboot, but I remember having seen this sequence at least once recently. I had no notification from Fix Common Problems. Is it expected that this plugin interacts with the UPS daemon under specific conditions, or is it a pure coincidence ? I swear I was sleeping at 4:40am, so only a background task may have restarted apcupsd. Thanks in advance for the support.
  3. I have just noticed a strange issue : two of my installed containers (namely Influxdb and telegraf) are not showing in the "Installed Apps" section of CA, but instead showing in the "Previous Apps" section. grafana was installed at the same and is showing as expected. Screenshots : Previous apps section in CA : Docker containers tab, showing both containers are installed, up and running properly Any idea where this strange behavior comes from and how to fix it ? Thanks in advance
  4. Thanks again @Frank1940, I created a new report in, hopefully, the right section of the forum (as I have installed the UPS when I was already in 6.9.0 beta 30) : I hope my third attempt will be the successful one ! @MXS, please reply on the new report above (Bug Reports > Prereleases), so that developers are aware I'm not alone in the dark 😉
  5. Hi all, I'd like to report an issue I have with my brand new APC UPS SMC1000IC (tower model) on my Unraid server. All that follows was first seen in beta30, and beta35 didn't change anything. I first updated the UPS to the latest firmware (v 04.1) and enabled ModBus communication protocol via the LCD display (it is disabled by default, even though the operation manual states the contrary, so beware ...) After setting up apcupsd accordingly (UPS cable USB, UPS type ModBus), I plugged the UPS in the server (USB-A to USB-A), and all information were properly populated, especially the nominal power and load percent. So far, it was plug and play, what a good surprise after the various posts I had read in the forum ! But, there's a but, as you may have guessed... After a reboot, all info were wrong, except for "runtime left" and status (Online/On battery): a fully charged battery was reported as 6% charged, no nominal power nor load percent, and many other tags were absent or totally out of range, including an output voltage of 400+ volts ! After many attempts stopping and starting the daemon, with the UPS plugged or unplugged, I finally reached a stable behaviour : - when the server boots with the UPS plugged in (USB), the daemon gets fanciful information, and the workaround is to unplug the UPS, stop/start the daemon, plug the UPS back, and everything is back to normal - when the server boots with the UPS unplugged, and I plug it after the boot process is over, communication with the UPS is established, and all information are correct at first sight. I have also tried to use NUT instead of the built-in apcupsd, but the problem is NUT doesn't seem to know of the ModBus protocol, it only manages communication with UPS in "basic" USB mode. And this UPS reports very little information in basic USB mode (just battery charge level and runtime left, no load percent, no nominal power, no voltages, ...). I get the same limited set of information with both apcupsd in USB mode and NUT. I agree these info (batt level and runtime left) are sufficient to manage a smooth shutdown in case of power outage, so I could run apcupsd with UPS type set to "USB" instead of "ModBus" (or NUT, which would be the same), as I have no issue at boot with this setup. But I also want to feed various UPS data to my Grafana dashboard (custom UUD 1.4 currently) through telegraf, so I don't see any other solution than apcupsd running with UPS type set to "ModBus" to capture what I want in the dashboard. So, I've been stuck on this problem for a while now, and my setup is still not operational in case of an unexpected power outage. As the reboot will be automatic when the power comes back, the daemon will get false information (no possible USB unplug/replug if I'm away or sleeping...). It will see the UPS Online with the correct Runtime left, but with a ridiculously low battery charge level (1 to 6% "captured" vs 90+% in reality during my tests). And the batt level remains stuck over time. As I have set the "Battery level to initiate shutdown" to 60%, when a second power outage will occur, even for a few seconds, the shut down will be immediately initiated, due to the false battery charge level. I haven't tested what happens next when the power comes back, but I think it may enter a loop of shutdowns/reboots each time a power outage occurs. That is obviously not a proper setup for a 24/7 server... I suspect the apcupsd dameon establishes the communication "a bit" too early on my setup, at a stage where the USB "stack" on the server is not totally ready (sorry for the improper words, I'm not an Unraid/Linux expert...) and thus the communication with the UPS is not initialized properly. To try and sort it out, I think that delaying the launch of the apcupsd daemon might be a solution, but I didn't find any setting or thread on this forum to do so. Another possible solution may be to fully reset the USB device through a script, but again I didn't find anything similar in the forum. Thanks in advance for your thoughts and guidance on this issue.
  6. Thanks for jumping in @Frank1940. As I saw reviving this thread gave no result, I created a new post a month ago : So far, it had little to no success, even after two bumps 😉. The only suggestion from @jonathanm was about using NUT instead of the built-in apcupsd, which I had already tried before posting and is not an alternative for me, as explained. Btw, would you have any clue on how to delay the apcupsd start in the whole boot process, because I highly suspect it starts too early and somehow the USB device is not properly initialized when the daemon initiates the communication. It thought it was a hardware-specific issue on my side, but at least we are two on the same boat... My motherboard is AsrockRack X470D4U-2T fyi. @MXS, please reply on my quoted post, it may attract attention of some helpful community members, or even the developers ! My UPS is also brand new (manufacture date 2020-05-28), and I received it on 2020-09-14. Your UPS is a different model and wattage (SMT1500 vs SMC1000IC) Let's cross our fingers for a better diagnostic or fix, because booting with the UPS USB interface unplugged is a workaround for planned reboots, but doesn't make any sense in the case of a power outage, which is precisely the use case of a UPS ...
  7. Thanks for the suggestion, but as far as I understand NUT does not support the ModBus protocol. The point is my UPS reports very little information in basic USB mode (just battery charge level and runtime left, no load percent, no nominal power, no voltages, ...). I've already tested with both apcupsd and NUT and get the same limited set of info. I agree these info (batt level and runtime left) are sufficient to manage a smooth shutdown in case of power outage, so I could run apcupsd with UPS type set to "USB" instead of "ModBus" (or NUT, which would be the same), as I have no issue at boot with this setup. But I also want to feed various UPS data to my dashboard (custom UUD 1.4 currently) through telegraf, so I don't see any other solution than apcupsd running with UPS type set to "ModBus" to capture what I want in the dashboard. Remember that after a reboot, if the UPS USB is plugged after "a while" everything runs smoothly until ... next reboot. That's why I suspect that the daemon starts too early, at a moment when the communication between the UPS and the USB "stack" is not properly established or "unstable". But my poor Linux / Unraid skills don't go further than this vague hypothesis 😞 Thus my request to find a way to delay the start of apcupsd during the boot phase by 30 seconds for instance just to check this intuition ! I hope that clarifies my initial post and experts will take time to have a quick look at it.
  8. Sorry to up, but no one to give a clue on how to setup a delay in the apcupsd daemon startup at boot ? Thx in advance
  9. Hi all, I'd like to report an issue I have with my brand new APC UPS SMC1000IC (tower model) on my DIY Unraid server (6.9.0 beta 30). I first updated the UPS to the latest firmware (v 04.1) and enabled ModBus communication protocol via the LCD display (it is disabled by default, even though the operation manual states the contrary, so beware ...) After setting up apcupsd accordingly (UPS cable USB, UPS type ModBus), I plugged the UPS in the server (USB-A to USB-A), and all information were properly populated, especially the nominal power and load percent. So far, it was plug and play, what a good surprise after the various posts I had read in this forum ! But, there's a but, as you may have guessed ... After a reboot, all info were wrong, except for "runtime left" : a fully charged battery was reported as 6% charged, no nominal power nor load percent, and many other tags were absent or totally out of range, including an output voltage of 400+ volts ! After many attempts stopping and starting the daemon, with the UPS plugged or unplugged, I finally reached a stable behaviour : - when the server boots with the UPS plugged in, the daemon gets fanciful information, and the workaround is to unplug the UPS, restart the daemon, plug the UPS back, and everything is back to normal - when the server boots with the UPS unplugged, and I plug it after the boot process is over, communication with the UPS is established, and all information are correct at first sight So, I highly suspect the apcupsd dameon establishes the communication "a bit" too early, at a stage where the USB "stack" on my server is not totally ready (sorry for the improper words, I'm not an Unraid/Linux expert...). To try and sort it out, I thought that delaying the launch of the apcupsd plugin / daemon might be a solution, but I didn't find any setting or thread on this forum to do so. Thanks in advance for your thoughts and help on this issue.
  10. Hi all, I wanted to report an issue I have with my brand new APC UPS SMC1000IC (tower model) on my DIY Unraid server (6.9.0 beta 30). I first updated the UPS to the latest firmware (v 04.1) and enabled ModBus communication protocol via the LCD display. It is disabled by default, even though the operation manual states the contrary ... After setting up apcupsd accordingly (UPS cable USB, UPS type ModBus), I plugged the UPS in the server (USB-A to USB-A), and all information were properly populated, especially the nominal power and load percent. So far, it was plug and play, what a good surprise after the various posts I had read in this forum ! But, there's a but, as you may have guessed ... After a reboot, all info were wrong, except for "runtime left" : a fully charged battery was reported as 6% charged, no nominal power nor load percent, and many other tags were absent or totally out of range, including an output voltage of 400+ volts ... After many attempts stopping and starting the daemon, with the UPS plugged or unplugged, I finally reached a stable behaviour : - when the server boots with the UPS plugged in, the daemon gets fanciful information, and the workaround is to unplug the UPS, restart the daemon, plug the UPS back, and everything is back to normal - when the server boots with the UPS unplugged, and I plug it after the boot process is over, communication with the UPS is established, and all information are correct at first sight So, I highly suspect the apcupsd dameon establishes the communication "a bit" too early, at a stage where the USB "stack" on my server is not totally ready (sorry for the improper words, I'm not an Unraid/Linux expert...). To try and sort it out, I thought that delaying the launch of the apcupsd plugin / daemon might be a solution, but I didn't find any setting or thread on this forum to do so. Thanks in advance for your thoughts and help on this issue.

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.