Frank1940 Posted November 24, 2020 Share Posted November 24, 2020 There is a special section of the Forum for Bug Reports: Home > Unraid OS 6 Support > Bug Reports There are two subsections under that sub-forum: One for Stable Releases and one for Prereleases. Obviously, you make your report in the appropriate section for the version that you are seeing the problem in. You should note that this section of the forum is much different from the rest. The threads that are in there are not queries about problems that people have encountered asking for help. They should be a statement of careful research into a problem that indicates the underlining Unraid System has an issue. It seems to have tracking mechanisms to make sure that things don't get lost. You should also realize that the developers do not read and track every post in the forum. By the way, 'Race' condition issues are always difficult problems to address as they often 'edge cases' and are difficult to check in normal testing. Quote Link to comment
Gnomuz Posted November 24, 2020 Share Posted November 24, 2020 (edited) 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 😉 Edited November 24, 2020 by Gnomuz Quote Link to comment
tmchow Posted January 4, 2021 Share Posted January 4, 2021 Somewhat related to this thread since this is all about APC SmartUPS and Unraid Anyone figured out how to update the firmware from command line without connecting the UPS to a windows box? I don't have a windows PC in my house at all. I've tried to pass through the device connected to my mac into a windows VM, but it's not working. The APC Firmware updater doesn't see the device. Quote Link to comment
Gnomuz Posted January 4, 2021 Share Posted January 4, 2021 (edited) Sorry, I've upgraded the firmware when the UPS arrived, but I used a Windows laptop directly connected to the UPS to do so. I never tried to use the firmware upgrade tool from a Windows VM in Unraid with the UPS passed through. It may work, but you'll have to test yourself. And I'm not aware of any linux CLI option to upgrade the firmware, as the APC tool is Windows only iirc. I take the opportunity of your APC UPS-related question to bump this thread as the situation is still the same for me in 6.9-beta 35. Who knows, a Christmas or @limetech miracle may happen, even if it's a bit late 😉 Edited January 4, 2021 by Gnomuz Quote Link to comment
Frank1940 Posted January 4, 2021 Share Posted January 4, 2021 7 hours ago, tmchow said: Anyone figured out how to update the firmware from command line without connecting the UPS to a windows box? I don't have a windows PC in my house at all. I've tried to pass through the device connected to my mac into a windows VM, but it's not working. The APC Firmware updater doesn't see the device. Did you contact Support at APC? Quote Link to comment
Zerreth Posted March 25, 2021 Share Posted March 25, 2021 On 4/10/2019 at 10:44 PM, Aegisnir said: 1. Enable advanced config options on your UPS via the on screen display 2. Open configuration options and scroll down until you find ModBus 3. Change ModBus to Enabled. It is disabled by default on all APC UPS units. ... In my case, I got an old 2012 APC SMT1500I HWID=18 model for free, just needed to replace the battery. The firmware on there was 8.3, which has no ModBus option. However, APC added it with firmware 9.1 so I had to disconnect the ups from my server, attach it to my Windows PC via the USB A->B cable and run the APC firmware upgrade wizard: Smart-UPS Firmware Upgrade Wizard v4.2.0 - APC USA (you could also this this via a VM if needed) Running the wizard will automatically detect your ups firmware & model and will ask you to select a firmware file to upload. Clicking the browse/select button will take you to the "FirmwareFiles" subfolder of the wizard which has all of the latest firmwares for all compatible devices. The only file that is visible will be the one you need, so it's pretty idiot proof. After updating it will reboot a bunch and you should now be able to select & enable the modbus option in the configuration submenu AFTER you have set the menu display type to advanced, otherwise the option will be hidden. 1 Quote Link to comment
tmchow Posted March 27, 2021 Share Posted March 27, 2021 When you update the firmware on an APC UPS, I’ve got an SMT 1500 model, does it cut power to all connected devices at any point? Or is power continuous? Quote Link to comment
tmchow Posted March 27, 2021 Share Posted March 27, 2021 When you update the firmware on an APC UPS, I’ve got an SMT 1500 model, does it cut power to all connected devices at any point? Or is power continuous?I answered my own question. The answer is Yes Quote Link to comment
tmchow Posted March 27, 2021 Share Posted March 27, 2021 I’m having weird behavior when trying to update this. When I start the update process, My SMx1500 powers off, then back on. The display says something about firmware being updated for a few seconds then it powers off immediately. My windows laptop app is showing the progress at 7% with no additional progress even after waiting 5 mins. UPS still isn’t turning on. Quote Link to comment
DaSlinky Posted April 16, 2021 Share Posted April 16, 2021 What's a good supported APC UPS for Unraid? I'm not looking to power the server throughout the night just 10-15 minutes enough for it to shutdown safely. Quote Link to comment
i-B4se Posted April 17, 2021 Share Posted April 17, 2021 Hey, is there any way to show up the "nominal power" and "ups load" with my UPS? I use a APC Smart-UPS 1500 with UPS 09.4 (ID18) Firmware. The UPS is connected with a Network Management Card 2 (ethernet cable). Quote Link to comment
Gnomuz Posted April 18, 2021 Share Posted April 18, 2021 @i-B4se, according to http://apcupsd.org/manual/manual.html#connecting-apcupsd-to-a-snmp-ups , you may try to populate the "Device" setting with "IPAddr:161:APC", in case the autodetection of the "vendor" qualifier fails with our UPS. Another option seems to switch from SNMP to PCNET protocol, see http://apcupsd.org/manual/manual.html#powerchute-network-shutdown-driver-pcnet , if your UPS/Network management card support it. But it's pure guess, I have no practical experience with Network Card / SNMP APC UPSes. Good luck, from my painful personal experience, getting apcupsd to work properly with an APC UPS with USB connection can be a long story ... Quote Link to comment
Koldo Posted July 30, 2022 Share Posted July 30, 2022 Anybody found a solution? I'm trying with a Smart-UPS C 1500 and afer upgrading to ver.14 no Load is reported neither with NUT Settings nor UPS settings. Modbus is not available in that model and would like to enable load reporting. Thanx! Quote Link to comment
Smith Posted November 29, 2022 Share Posted November 29, 2022 Below is what worked for me. Thanks to everyone getting me this far. I am using a Smart-UPS 750 in which the UPS load was not showing but everything else seemed to work (auto shutdown). BE SURE TO SHUT DOWN UNRAID as the UPS will cut power. 1. Download the Smart-UPS Firmware Upgrade Wizard v4.3.1 via https://www.apc.com/us/en/download/document/APC_SUWIZ_431_EN/. Because this is a wizard, it should work for many different models. Double check your model #. 2. Install the utility on a separate Windows laptop and connect the UPS via USB. 3. Run the Firmware Upgrade Wizard, following all default prompts. 4. Select the Firmware that came with the utility. In my case it was UPS 09.8. 5. Allow the UPS and utility to complete (took roughly 8-10 minutes). I believe you can disconnect the USB after the UPS comes back online but I waited for the utility to confirm the version. 6. Plug the USB back into Unraid and turn everything back on. After that, I followed Aegisnir's instructions located below: On 4/10/2019 at 4:44 PM, Aegisnir said: 1. Enable advanced config options on your UPS via the on screen display 2. Open configuration options and scroll down until you find ModBus 3. Change ModBus to Enabled. It is disabled by default on all APC UPS units. 4. In unRAID UPS Setting menu, set the "UPS Cable" to USB and set "UPS Type" to ModBus. No additional settings like /dev/tty** are required. It may take a minute or two for the info to load but it will. 2 Quote Link to comment
lakr Posted March 24, 2023 Share Posted March 24, 2023 On 3/25/2021 at 12:03 PM, Zerreth said: In my case, I got an old 2012 APC SMT1500I HWID=18 model for free, just needed to replace the battery. The firmware on there was 8.3, which has no ModBus option. However, APC added it with firmware 9.1 so I had to disconnect the ups from my server, attach it to my Windows PC via the USB A->B cable and run the APC firmware upgrade wizard: Smart-UPS Firmware Upgrade Wizard v4.2.0 - APC USA (you could also this this via a VM if needed) Running the wizard will automatically detect your ups firmware & model and will ask you to select a firmware file to upload. Clicking the browse/select button will take you to the "FirmwareFiles" subfolder of the wizard which has all of the latest firmwares for all compatible devices. The only file that is visible will be the one you need, so it's pretty idiot proof. After updating it will reboot a bunch and you should now be able to select & enable the modbus option in the configuration submenu AFTER you have set the menu display type to advanced, otherwise the option will be hidden. I recently purchased a used DLA1500RMI2U and I would like to try to update the FW. The most recent wizard does not support this model, and I wanted to try with the 4.2 - but that has been discontinued and is not available for download. Do you still have the files? Quote Link to comment
bigup Posted July 31, 2023 Share Posted July 31, 2023 On 11/29/2022 at 6:33 PM, Smith said: Below is what worked for me. Thanks to everyone getting me this far. I am using a Smart-UPS 750 in which the UPS load was not showing but everything else seemed to work (auto shutdown). BE SURE TO SHUT DOWN UNRAID as the UPS will cut power. 1. Download the Smart-UPS Firmware Upgrade Wizard v4.3.1 via https://www.apc.com/us/en/download/document/APC_SUWIZ_431_EN/. Because this is a wizard, it should work for many different models. Double check your model #. 2. Install the utility on a separate Windows laptop and connect the UPS via USB. 3. Run the Firmware Upgrade Wizard, following all default prompts. 4. Select the Firmware that came with the utility. In my case it was UPS 09.8. 5. Allow the UPS and utility to complete (took roughly 8-10 minutes). I believe you can disconnect the USB after the UPS comes back online but I waited for the utility to confirm the version. 6. Plug the USB back into Unraid and turn everything back on. After that, I followed Aegisnir's instructions located below: Thanks for this, just got a APC 1500 and enabled modbus but didnt show the load in unraid, what worked was upgrading the firmware using the latest tool: https://www.apc.com/us/en/product/SFSUWIZ433/smartups-firmware-upgrade-wizard-v4-3-3/ after this, connected via usb to unraid and all stats working! Quote Link to comment
AwesomeAustn Posted August 28, 2023 Share Posted August 28, 2023 On 10/19/2020 at 6:48 AM, Gnomuz said: 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 This worked for me. Thank you! Quote Link to comment
scud133b Posted September 6, 2023 Share Posted September 6, 2023 (edited) On 4/10/2019 at 3:44 PM, Aegisnir said: So I had the same issue but the solution made me feel like an absolute idiot....spent a good 20-30 minutes trying to figure this out but eventually got it: 1. Enable advanced config options on your UPS via the on screen display 2. Open configuration options and scroll down until you find ModBus 3. Change ModBus to Enabled. It is disabled by default on all APC UPS units. 4. In unRAID UPS Setting menu, set the "UPS Cable" to USB and set "UPS Type" to ModBus. No additional settings like /dev/tty** are required. It may take a minute or two for the info to load but it will. ***Make sure you use the USB-A to USB-B cable to connect your UPS to the server, not the RJ-45 to USB-A. ModBus does not seem to work with the RJ-45 port on the UPS*** Confirming that this worked for me with a Smart-UPS X 1500. At some point in the past I updated it to firmware UPS 15.0 (ID20) -- not sure if that's relevant. Edited September 6, 2023 by scud133b Quote Link to comment
tmchow Posted September 6, 2023 Share Posted September 6, 2023 (edited) 5 hours ago, scud133b said: Confirming that this worked for me with a Smart-UPS X 1500. At some point in the past I updated it to firmware UPS 15.0 (ID20) -- not sure if that's relevant. Hmm. I don’t see this option at all in my configuration. https://imgur.com/a/OzZLKl6 I'm not sure how to update the firmware on my unit (I've also got a APC Smart-UPS X 1500). I recall trying to do this connecting the USB cable to a windows laptop but the software couldn't find it. According to the menus I’m currently on: firmware 09.8 ID:20 My date code is 2003 so it should be updated according to this page here: > Quote SMX750, SMX1000, SMX1500 with ID 11 and firmware UPS 02.x or lower. These units are 120 V devices built prior to date code 1037. Date code is the first 4 numbers in your serial number. (e.g. Serial Number AS1036123456 would not be supported.) According to that page my firmware update should work but when I previously tried this it didn't work. I got to 7% and it power cycles with no update successful: Edited September 6, 2023 by tmchow Quote Link to comment
henris Posted December 11, 2023 Share Posted December 11, 2023 On 10/19/2020 at 4:48 PM, Gnomuz said: 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). ... 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. Just got a SMT1500RMI2UC and was getting desperate. Thank you for posting the solution! With my model the behavior is exactly same. Enabling modbus on the UPS and setting the Unraid APC UPS daemon to use USB/Modbus results in garbage values. I restarted the APC UPS daemon after I had unplugged and replugged the USB-cable. So you can do it in that order too I guess. Simply restarting the daemon without unplugging the USB did not work. I have set my UPS to power off after shutdown so I will be manually starting the server and can check that APC UPS daemon initializes properly. Still it is an extra thing to worry about so it would be great to have this working properly. I was getting the basic information with USB/USB connection but was missing nominal power, usage and others. With USB/Modbus I get it all which is nice for my InluxDB/Grafana setup. My previous Back-UPS Pro worked with USB/USB out of box. As a side note this model has an integrated ethernet but it works only with the cloud based monitoring. No local web management or control. I did not understand this when ordering. To get proper web based management and PCNet/SNMP functionality I would have to buy the optional network management card. I feel a bit cheated... 1 Quote Link to comment
MammothJerk Posted August 23 Share Posted August 23 (edited) On 12/11/2023 at 1:46 PM, henris said: Just got a SMT1500RMI2UC and was getting desperate. Thank you for posting the solution! With my model the behavior is exactly same. Enabling modbus on the UPS and setting the Unraid APC UPS daemon to use USB/Modbus results in garbage values. I restarted the APC UPS daemon after I had unplugged and replugged the USB-cable. So you can do it in that order too I guess. Simply restarting the daemon without unplugging the USB did not work. I have set my UPS to power off after shutdown so I will be manually starting the server and can check that APC UPS daemon initializes properly. Still it is an extra thing to worry about so it would be great to have this working properly. I was getting the basic information with USB/USB connection but was missing nominal power, usage and others. With USB/Modbus I get it all which is nice for my InluxDB/Grafana setup. My previous Back-UPS Pro worked with USB/USB out of box. As a side note this model has an integrated ethernet but it works only with the cloud based monitoring. No local web management or control. I did not understand this when ordering. To get proper web based management and PCNet/SNMP functionality I would have to buy the optional network management card. I feel a bit cheated... I also had this exact same issue but following the steps from @Gnomuz fixed it for me as well. It would also sometimes work for me if i power-cycled the UPS and then started the unraid server but as it was unreliable i was just using USB. Hopefully the issue can be fixed, not sure if it's unraid or apcupsd's problem. edit: bug report created by gnomuz in 2020 here: Edited August 26 by MammothJerk Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.