Skons / hassio-addons

7 stars 4 forks source link

Got unexpected response from the API: Service not enabled #69

Open sga-noud opened 6 months ago

sga-noud commented 6 months ago

Possibly related to #63: when starting the add-on, it stops again.

Log:


s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service base-addon-banner: starting
-----------------------------------------------------------
 Add-on: Dutch gas prices
 Get gas prices from dutch gas stations
-----------------------------------------------------------
 Add-on version: 2024.2.29.1
 You are running the latest version of this add-on.
 System: Home Assistant OS 9.5  (armv7 / raspberrypi3)
 Home Assistant Core: 2024.2.5
 Home Assistant Supervisor: 2024.02.1
-----------------------------------------------------------
 Please, share the above information when looking for help
 or support in, e.g., GitHub, forums or the Discord chat.
-----------------------------------------------------------
s6-rc: info: service base-addon-banner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service base-addon-log-level: starting
s6-rc: info: service fix-attrs successfully started
Log level is set to WARNING
s6-rc: info: service base-addon-log-level successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
s6-rc: info: service legacy-services successfully started
[16:41:24] ERROR: Got unexpected response from the API: Service not enabled
Traceback (most recent call last):
  File "/app/main.py", line 25, in <module>
    start(str(sys.argv[1]),str(sys.argv[2]),str(sys.argv[3]))
                               ~~~~~~~~^^^
IndexError: list index out of range
s6-rc: info: service legacy-services: stopping
s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service base-addon-log-level: stopping
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service base-addon-log-level successfully stopped
s6-rc: info: service base-addon-banner: stopping
s6-rc: info: service base-addon-banner successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped
Skons commented 6 months ago

Do you have mqtt installed?

sga-noud commented 6 months ago

Installed and running like always. I noticed this behavior after upgrading HA OS from 2023.7 to 2024.2.5. I also updated the add-on but to no effect.

Skons commented 5 months ago

I am sorry for my late response, have you tried reinstalling the addon by first removing it? And what does the log say at ‘system -> logs -> supervisor’ after when you get the error?