Giter VIP home page Giter VIP logo

Comments (36)

Electronlibre2012 avatar Electronlibre2012 commented on July 22, 2024 2

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 ;)

from addon-nut.

sinclairpaul avatar sinclairpaul commented on July 22, 2024 2

@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.

from addon-nut.

jumping2000 avatar jumping2000 commented on July 22, 2024 1

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

from addon-nut.

sinclairpaul avatar sinclairpaul commented on July 22, 2024 1

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.

from addon-nut.

sinclairpaul avatar sinclairpaul commented on July 22, 2024 1

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

from addon-nut.

SBastrykin avatar SBastrykin commented on July 22, 2024

identical error

from addon-nut.

larzn avatar larzn commented on July 22, 2024

Same for me.
After apply the update to version 0.2.1, the addons don't start.
Platform: hassio
HA: 0.114.3
Addons log:
[19:15: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...

from addon-nut.

TallPaul78 avatar TallPaul78 commented on July 22, 2024

Just the same

from addon-nut.

mrpicker avatar mrpicker commented on July 22, 2024

Same error for me using raspberry4, hassio x86 version.
Thank you

from addon-nut.

mastameista avatar mastameista commented on July 22, 2024

Same error in my installation.

Raspi4, HassOS 4.12, supervisor 235

CONFIG

users:
  - username: something
    password: blubb
    instcmds:
      - all
    actions: []
devices:
  - name: ups
    driver: usbhid-ups
    port: auto
    config: []
mode: netserver
shutdown_host: 'true'

ERROR-LOG

[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 / raspberrypi4)
 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... 
[12:28:44] INFO: Setting mode to netserver...
[12:28:44] INFO: Generating /etc/nut/upsd.users...
[12:28:45] INFO: Configuring user: upsaddon
[12:28:45] INFO: Password is NOT in the Have I Been Pwned database! Nice!
[12:28:46] INFO: Configuring Device named ups...
[12:28:46] 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.

from addon-nut.

Electronlibre2012 avatar Electronlibre2012 commented on July 22, 2024

Hello!

same error,

System: HassOS 4.12 (armv7 / raspberrypi4)
Home Assistant Core: 0.114.4
Home Assistant Supervisor: 235

any update to fix it?

thanks

from addon-nut.

 avatar commented on July 22, 2024

Exact same error.

Env details:
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.4
Home Assistant Supervisor: 235

from addon-nut.

pippuzca avatar pippuzca commented on July 22, 2024

Same error here

Info:

 Add-on version: 0.2.1
 You are running the latest version of this add-on.
 System: HassOS 4.12  (armv7 / raspberrypi4)
 Home Assistant Core: 0.114.4
 Home Assistant Supervisor: 235

from addon-nut.

zimgui avatar zimgui commented on July 22, 2024

Same error in my Home assistant system running in a raspberry Pi4, here is my config:

arch armv7l
chassis embedded
dev false
docker true
docker_version 19.03.11
hassio true
host_os HassOS 4.12
installation_type Home Assistant OS
os_name Linux
os_version 4.19.127-v7l
python_version 3.8.3
supervisor 235
timezone Europe/Madrid
version 0.114.4
virtualenv false

from addon-nut.

Gawronnek avatar Gawronnek commented on July 22, 2024
-----------------------------------------------------------
 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.4
 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... 
[17:22:06] INFO: Setting mode to netserver...
[17:22:07] INFO: Generating /etc/nut/upsd.users...
[17:22:07] INFO: Configuring user: Piotr
[17:22:09] INFO: Password is NOT in the Have I Been Pwned database! Nice!
[17:22:11] INFO: Configuring Device named GreenCell...
[17:22:12] 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... 

my log version 0.2.0
.

 `Add-on:` Network UPS Tools
 Manage battery backup (UPS) devices
-----------------------------------------------------------
 Add-on version: 0.2.0
 There is an update available for this add-on!
 Latest add-on version: 0.2.1
 Please consider upgrading as soon as possible.
 System: HassOS 4.12  (armv7 / raspberrypi3)
 Home Assistant Core: 0.114.4
 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... 
[18:30:20] INFO: Setting mode to netserver...
[18:30:21] INFO: Generating /etc/nut/upsd.users...
[18:30:21] INFO: Configuring user: Piotr
[18:30:22] INFO: Password is NOT in the Have I Been Pwned database! Nice!
[18:30:25] INFO: Configuring Device named GreenCell...
[18:30:25] INFO: Starting the UPS drivers...
Network UPS Tools - UPS driver controller 3.8.0-3396-gcdc7c4b5b1
Network UPS Tools - Megatec/Q1 protocol USB driver 0.12 (3.8.0-3396-gcdc7c4b5b1)
Supported UPS detected with megatec protocol
Vendor information unavailable
No values provided for battery high/low voltages in ups.conf
Using 'guestimation' (low: 10.400000, high: 13.000000)!
Battery runtime will not be calculated (runtimecal not set)
[18:30:26] WARNING: UPS Shutdown will shutdown the host
[cont-init.d] nut.sh: exited 0.
[cont-init.d] nutclient.sh: executing... 
[cont-init.d] nutclient.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[18:30:27] INFO: Starting the UPS information server...
Network UPS Tools upsd 3.8.0-3396-gcdc7c4b5b1
   0.000000	fopen /var/run/nut/upsd.pid: No such file or directory
   0.000957	listening on 0.0.0.0 port 3493
   0.001756	Connected to UPS [GreenCell]: blazer_usb-GreenCell
[18:30:27] INFO: Starting the UPS monitor and shutdown controller...
Network UPS Tools upsmon 3.8.0-3396-gcdc7c4b5b1
   0.000000	fopen /var/run/upsmon.pid: No such file or directory
   0.000854	Using power down flag file /etc/killpower
   0.001423	UPS: GreenCell@localhost (master) (power value 1)
   0.002069	debug level is '1'
   0.002243	Warning: running as one big root process by request (upsmon -p)
   0.009937	Trying to connect to UPS [GreenCell@localhost]
   0.056026	User [email protected] logged into UPS [GreenCell]
   0.011662	Logged into UPS GreenCell@localhost

my config:
users:

  • username: xxxxxxxxx
    password: xxxxxx
    instcmds:
    • all
      actions: []
      devices:
  • name: GreenCell
    driver: blazer_usb
    port: auto
    config: []
    mode: netserver
    shutdown_host: 'true'

from addon-nut.

mauog avatar mauog commented on July 22, 2024

Same issue described above with 0.2.1
No problem with the previous version

`

arch armv7l
chassis embedded
dev false
docker true
docker_version 19.03.11
hassio true
host_os HassOS 4.12
installation_type Home Assistant OS
os_name Linux
os_version 4.19.127-v7l
python_version 3.8.3
supervisor 235
timezone Europe/Rome
version 0.113.3
virtualenv false

`

from addon-nut.

iotinhome avatar iotinhome commented on July 22, 2024

Same issue

` 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 / raspberrypi4)
Home Assistant Core: 0.114.4
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...
[20:14:09] INFO: Setting mode to netserver...
[20:14:09] INFO: Generating /etc/nut/upsd.users...
[20:14:09] INFO: Configuring user: nutty
[20:14:10] INFO: Password is NOT in the Have I Been Pwned database! Nice!
[20:14:11] INFO: Configuring Device named ups...
[20:14:11] 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... `

from addon-nut.

lelepando avatar lelepando commented on July 22, 2024

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

from addon-nut.

No5alive avatar No5alive commented on July 22, 2024

same error

from addon-nut.

GitHubxtsnl avatar GitHubxtsnl commented on July 22, 2024

same issue here:


[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 / raspberrypi4)
Home Assistant Core: 0.114.4
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...
[15:52:02] INFO: Setting mode to netserver...
[15:52:02] INFO: Generating /etc/nut/upsd.users...
[15:52:03] INFO: Configuring user: admin
[15:52:06] INFO: Password is NOT in the Have I Been Pwned database! Nice!
[15:52:07] INFO: Configuring Device named apcsmartups1500...
[15:52:07] 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.

from addon-nut.

cereale979 avatar cereale979 commented on July 22, 2024

Same error here!

from addon-nut.

iotinhome avatar iotinhome commented on July 22, 2024

Restored 0.2.0 from last weeks backup and switched off auto-update.

Thanks for the suggestion and workaround.

from addon-nut.

klim123123 avatar klim123123 commented on July 22, 2024

Same problem. Please fix.

from addon-nut.

sinclairpaul avatar sinclairpaul commented on July 22, 2024

Anyone posting who is not running on armv7 needs to add the full logs.

This isn't a particularly easy issue to resolve, so would suggest that restoring to a snapshot is the best action at this point.

from addon-nut.

lelepando avatar lelepando commented on July 22, 2024

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 ;)

This was the first time I've installed this add on, since I bought a ups just a week ago....
Is there any way to manually install the 0.2.0 version?

from addon-nut.

frenck avatar frenck commented on July 22, 2024

Is there any way to manually install the 0.2.0 version?

No there is not.

from addon-nut.

cereale979 avatar cereale979 commented on July 22, 2024

from addon-nut.

sinclairpaul avatar sinclairpaul commented on July 22, 2024

A new version of the addon has been pushed to the edge repo, it would be helpful if anyone who is comfortable and aware on how to install edge addons could test to see if it resolves the issue.

from addon-nut.

Electronlibre2012 avatar Electronlibre2012 commented on July 22, 2024

@cereale979,

Just wait for a new release.

And next time, better to make a snapshot BEFORE modify something in the config and BEFORE install an Add-On, and noob or not, that what we do...

from addon-nut.

GaryOkie avatar GaryOkie commented on July 22, 2024

A new version of the addon has been pushed to the edge repo, it would be helpful if anyone who is comfortable and aware on how to install edge addons could test to see if it resolves the issue.

I"ve reverted to NUT 2.0 via snapshot restore, and am back in business. I also tried the NUT Edge version just now. Good news - it starts fine - no 64bit symbol errors (RasPi3 ARMV7 32bit).

Unfortunately, all UPS sensors are returning "unavailable".

It would be good if others would also try the Edge version to make sure this isn't "my problem".

Note: for anyone else testing this Edge version, it will install as a separate NUT add-on, not replace it. The Edge version will need to be configured again (userid/password, etc). Be sure to stop the working 2.0 version if you have it running, before starting the Edge version.

from addon-nut.

GaryOkie avatar GaryOkie commented on July 22, 2024

Ah - ok, that makes sense. The UI configuration isn't clear where I should be changing the add-on name though...

image

oh, nm. found HOST entry in doc.

from addon-nut.

GaryOkie avatar GaryOkie commented on July 22, 2024

Got it, thanks. Configuration.yaml (-platform Nut) updated with host: 40817795-nut and HASS restarted.

EDIT: All working fine now! Will continue to run with Edge version until production release.

from addon-nut.

kahrbomb avatar kahrbomb commented on July 22, 2024

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 ;)

This worked perfectly for me! I had removed the integration and lost some of my custom naming. Thankfully I had a 6 day old full snapshot and I had taken screen shots of the entities and copied the integration config before removal and was able to easily recreate/rename that stuff. Otherwise, I still would have been starting from scratch. I guess I need to turn off all of my auto-updates and have a little more patience on updates. I see this stuff getting broken a lot.

from addon-nut.

mastameista avatar mastameista commented on July 22, 2024

@sinclairpaul thx a lot! v0.3.0 works for me (armv7). Now the Addon starts again.

from addon-nut.

Electronlibre2012 avatar Electronlibre2012 commented on July 22, 2024

@sinclairpaul thanks for the fix!

from addon-nut.

GitHubxtsnl avatar GitHubxtsnl commented on July 22, 2024

updating to release 0.3.1 solved my issue, thanks.

from addon-nut.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.