hassio-addons / addon-appdaemon

AppDaemon4 - Home Assistant Community Add-ons
https://addons.community
MIT License
150 stars 46 forks source link

Fixed another incorrect check #290

Closed frenck closed 9 months ago

frenck commented 9 months ago

Proposed Changes

Another one 😢

287

hioctane61 commented 9 months ago

dude, you do a great job. Could happen to anyone. Keep up the good work.

frenck commented 9 months ago

Thanks, @hioctane61 ❤️

ErikCoen commented 9 months ago

I have lost all the files inside the folder /homeassistant/appdaemon after updating appdaemon to 0.15.2!

frenck commented 9 months ago

@ErikCoen correct, they moved, as per release notes.

ErikCoen commented 9 months ago

I see it is moved to /addon_configs/a0d7b954_appdaemon/

but I got the error message:

s6-rc: info: service init-appdaemon successfully started s6-rc: info: service appdaemon: starting s6-rc: info: service appdaemon successfully started s6-rc: info: service legacy-services: starting [22:20:13] INFO: Starting AppDaemon... s6-rc: info: service legacy-services successfully started ERROR Error loading secrets file: /config/secrets.yaml Traceback (most recent call last): File "/usr/bin/appdaemon", line 8, in sys.exit(main()) ^^^^^^ File "/usr/lib/python3.11/site-packages/appdaemon/main.py", line 417, in main admain.main() File "/usr/lib/python3.11/site-packages/appdaemon/main.py", line 276, in main if "appdaemon" not in config: ^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: argument of type 'NoneType' is not iterable [22:20:19] INFO: Service AppDaemon exited with code 1 (by signal 0)

ErikCoen commented 9 months ago

It is resolved as mentioned in the release not:

appdaemon.yaml changed to: secrets: /homeassistant/secrets.yaml

Thanks in advantage!

saschaludwig commented 9 months ago

It is resolved as mentioned in the release not: appdaemon.yaml changed to: secrets: /homeassistant/secrets.yaml Thanks in advantage!

That did the trick! Changing the path in appdaemon.yaml to: secrets: /homeassistant/secrets.yaml

Because the appdaemon directory moved one level up and into /addon_configs/, how can I edit the config files from Studio Code Server? I only have /config/ exposed there by default. Does anyone here have a hint on how to change this?

davisrg commented 9 months ago

I had to restore from backup after updating AppDaemon to 15.2. I lost the ability to edit my dashboard from HA File Editor because the path is too high level for File Editor to access. I tried configuring ssh but had issues connecting (still looking into why).

frenck commented 9 months ago

See #287