addon-nut: It fails to start after the latest update. Add-on version: 0.2.1

Problem/Motivation

It fails to start after the latest update.

Actual behavior

[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] nut: applying... 
[fix-attrs.d] nut: exited 0.
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 00-banner.sh: executing... 
-----------------------------------------------------------
 Add-on: Network UPS Tools
 Manage battery backup (UPS) devices
-----------------------------------------------------------
 Add-on version: 0.2.1
 You are running the latest version of this add-on.
 System: HassOS 4.12  (armv7 / raspberrypi3)
 Home Assistant Core: 0.114.3
 Home Assistant Supervisor: 235
-----------------------------------------------------------
 Please, share the above information when looking for help
 or support in, e.g., GitHub, forums or the Discord chat.
-----------------------------------------------------------
[cont-init.d] 00-banner.sh: exited 0.
[cont-init.d] 01-log-level.sh: executing... 
[cont-init.d] 01-log-level.sh: exited 0.
[cont-init.d] nut.sh: executing... 
[14:09:37] INFO: Setting mode to netserver...
[14:09:37] INFO: Generating /etc/nut/upsd.users...
[14:09:38] INFO: Configuring user: monuser
[14:09:40] INFO: Configuring Device named ups...
[14:09:41] INFO: Starting the UPS drivers...
Error relocating /usr/sbin/upsdrvctl: __select_time64: symbol not found
Error relocating /usr/sbin/upsdrvctl: __difftime64: symbol not found
Error relocating /usr/sbin/upsdrvctl: __gettimeofday_time64: symbol not found
Error relocating /usr/sbin/upsdrvctl: __stat_time64: symbol not found
[cont-init.d] nut.sh: exited 127.
[cont-finish.d] executing container finish scripts...
[cont-finish.d] 99-message.sh: executing... 
-----------------------------------------------------------
                Oops! Something went wrong.

 We are so sorry, but something went terribly wrong when
 starting or running this add-on.
 
 Be sure to check the log above, line by line, for hints.
-----------------------------------------------------------
[cont-finish.d] 99-message.sh: exited 0.
[cont-finish.d] done.
[s6-finish] waiting for services.
[s6-finish] sending all processes the TERM signal.

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Reactions: 13
  • Comments: 36 (6 by maintainers)

Most upvoted comments

@GaryOkie Many thanks for your assistance with testing, its great to get feedback on the things we can’t always validate ourselves 👍

Closing out as the v0.3.0 release should hopefully resolve the issues.

Unfortunately I’m in the exact same situation… Does anyone know a way to roll back / downgrade the add on version? Thanks

Hello,

sure!

Take a snapshot of a day or a few days ago, unselect all, just get the “folder Add-On” and “NUT” select and restore snapshot 😉

@GaryOkie It’s not actually part of the addon, but the Home Assistant Integration itself.

Unfortunately, all UPS sensors are returning “unavailable”.

I am guessing your configuration uses the addon name a0d7b954-nut as per the documentation. The Edge addon has a different name as it is on a different repo which should be 40817795-nut

Thanks for the feedback, hopefully this will resolve the issue.

same error for me! Add-on version: 0.2.1 You are running the latest version of this add-on. System: Debian GNU/Linux 9 (stretch) (amd64 / qemux86-64) Home Assistant Core: 0.114.4 Home Assistant Supervisor: 235