Where did the AD config go with update to 0.15.0?

For reference:

Where is the app located that reads this CSV? A relative path is better but it depends where the app is. Using contacts.csv requires the app to be in the same directory

It was in the same folder as the app, but simply using the file name didn’t work. Taking in @NathanCu 's tip, this worked: /config/apps/contacts.csv

1 Like

Yeah I think we all need to get familiar with that article. I’ve helped people with at least 6 variants of this issue today alone

With all these variants running around I’m beginning to feel like Mobius and the TVA :rofl:

1 Like

None of the proposed answers worked. No apps_config folder present. Nothing in backup, …
Tried to uninstall and install it again but still same error.
Is there way to completely remove it and do a fresh installation which works?

Please do not thread everyone as a linux expert. I don’t think that “It’s moved to its own folder” is a helpful answer. I’ve solved my problem and will share my way step by step so someone that does not familiar with linux can copy it.

My solution was using “Terminal & SSH” add on that you can install from the addons menu in HA. After launching it enter the web interface section and you’ll see a terminal screen. If you enter “ls” it will list you the directories of the root folder and you should see addon_configs folder mentioned in the earlier posts above. Enter “cd addon_configs” command to enter this folder. You’ll have to use “ls” command again because I understand that appdaemon creates a folder with different names in different systems. Mine was a0d7b955_appdaemon so I used “cd a0d7b955_appdaemon” to enter that folder, yours can be different, so please check it. Now type “nano appdaemon.yaml” to edit the config file. Change the secrets line as “secrets: /homeassistant/secrets.yaml” and press CTRL+X to quit. It will ask you if you want to save your changes, answer yes and you’ll return to terminal screen. Now go back to appdaemon addon and restart it, it should start without any errors.

Peace…

4 Likes

Thank you for your post. It help me to get my NSPanel back online. I try to understand what to do before you posted step by step direction , and it’s HELP. Thank you again

1 Like

With above contributions I also managed to fix AppDeamon. It now seems to work as intended in version 0.15.2. This is very much appreciated.

In AppDeamon I run the SchedyApp to maintain heating schedules. It works perfectly under AD version 0.14. Under AD version 0.15.2 it behaves different. The logs state all is fine.

For instance the

schedy_room.schedy_xyz

entities are not created and choice of schedules seem to be ignored by HA. Am I missing something out. The SchedyApp works with information frm the home assistant customize.yaml-file Do I also need to “re-map” this one -just a thought?

-----------------------------------------------------------
 Add-on: AppDaemon
 Python Apps and Dashboard using AppDaemon 4.x for Home Assistant
-----------------------------------------------------------
 Add-on version: 0.15.2
 You are running the latest version of this add-on.
 System: Home Assistant OS 11.1  (aarch64 / yellow)
 Home Assistant Core: 2023.11.2
 Home Assistant Supervisor: 2023.11.3
-----------------------------------------------------------
 Please, share the above information when looking for help
 or support in, e.g., GitHub, forums or the Discord chat.
-----------------------------------------------------------

[removed part to shorten]

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
s6-rc: info: service legacy-services successfully started
2023-11-18 22:49:55.695462 INFO AppDaemon: AppDaemon Version 4.4.2 starting
2023-11-18 22:49:55.696043 INFO AppDaemon: Python version is 3.11.6
2023-11-18 22:49:55.696533 INFO AppDaemon: Configuration read from: /config/appdaemon.yaml
2023-11-18 22:49:55.696973 INFO AppDaemon: Added log: AppDaemon
2023-11-18 22:49:55.697771 INFO AppDaemon: Added log: Error
2023-11-18 22:49:55.698230 INFO AppDaemon: Added log: Access
2023-11-18 22:49:55.698652 INFO AppDaemon: Added log: Diag
2023-11-18 22:49:56.090509 INFO AppDaemon: Loading Plugin HASS using class HassPlugin from module hassplugin
2023-11-18 22:49:56.471088 INFO HASS: HASS Plugin Initializing
2023-11-18 22:49:56.471609 WARNING HASS: ha_url not found in HASS configuration - module not initialized
2023-11-18 22:49:56.472070 INFO HASS: HASS Plugin initialization complete
2023-11-18 22:49:56.472914 INFO AppDaemon: Initializing HTTP
2023-11-18 22:49:56.473802 INFO AppDaemon: Using 'ws' for event stream
2023-11-18 22:49:56.479807 INFO AppDaemon: Starting API
2023-11-18 22:49:56.484062 INFO AppDaemon: Starting Admin Interface
2023-11-18 22:49:56.484874 INFO AppDaemon: Starting Dashboards
2023-11-18 22:49:56.513681 INFO HASS: Connected to Home Assistant 2023.11.2
2023-11-18 22:49:56.748447 INFO HASS: Evaluating startup conditions
2023-11-18 22:49:56.785437 INFO HASS: Startup condition met: hass state=RUNNING
2023-11-18 22:49:56.791360 INFO HASS: All startup conditions met
2023-11-18 22:49:56.806642 INFO AppDaemon: App 'hello_world' added
2023-11-18 22:49:56.809114 INFO AppDaemon: App 'schedy_heating' added
2023-11-18 22:49:56.811253 INFO AppDaemon: Found 2 active apps
2023-11-18 22:49:56.812341 INFO AppDaemon: Found 0 inactive apps
2023-11-18 22:49:56.813448 INFO AppDaemon: Found 0 global libraries
2023-11-18 22:49:56.814540 INFO AppDaemon: Starting Apps with 2 workers and 2 pins
2023-11-18 22:49:56.818163 INFO AppDaemon: Running on port 5050
2023-11-18 22:49:56.856969 INFO AppDaemon: Got initial state from namespace default
2023-11-18 22:49:58.829966 INFO AppDaemon: Scheduler running in realtime
2023-11-18 22:49:58.837164 INFO AppDaemon: Adding /config/apps to module import path
2023-11-18 22:49:58.839884 INFO AppDaemon: Loading App Module: /config/apps/hello.py
2023-11-18 22:49:58.907509 INFO AppDaemon: Loading app hello_world using class HelloWorld from module hello
2023-11-18 22:49:58.910669 INFO AppDaemon: Calling initialize() for hello_world
2023-11-18 22:49:59.020654 INFO hello_world: Hello from AppDaemon
2023-11-18 22:49:59.022599 INFO hello_world: You are now ready to run Apps!
2023-11-18 22:49:59.024705 INFO AppDaemon: App initialization complete

Did anyone else have come across this? Thank you very much for a respond!

Update: I solved this issue by myself. I have not copied/created the hass_apps_loader.py into the AD-apps-folder. Automations now work as expected.

This is also working when using VSCode inside Homeassistant, added the folder to the workspace as show’n above

I did upgrade from 0.14.x to 0.15.2 directly and at the same time upgraded HA from 2023.10.x to 2023.11.2. This has completely ruined everything regarding AppDaemon. It neither created new config folder in addons_config nor it could read config from /config/appdaemon anymore. Addon couldn’t start. File editor couldn’t access old /config folder. Restored everything, changed secrets.yaml path in old /config/appdaemon/appdaemon.yaml, upgraded again…Now Appdaemon loads, but it still pulls config from old /config folder which I cannot access anymore from neither File Editor nor from Samba addon…Lost 2 hours already.

1 Like

Filebrowser extention got an update hours ago. It can now access to addon_configs folder so you may use it to copy or edit your old config files.

I just wanted to add that I managed to solve this without rolling back the addon.

Restored the config to its original location (which probably isnt needed), AND the new addons_config location

changed all references of /config to /homeassistant in the appdaemon.yaml file.

Everything works.

I still have issues with log path.
I Tried updating them with various values. Haven’t found the good one.
What should be the path to the logs ?
I tried:
/config/appdaemon/logs/
/homeassistant/appdaemon/logs/
/homeassistant/logs/

Thanks for your help

Change the config entries as shown below :

secrets: /homeassistant/secrets.yaml
.
.
logs:
  main_log:
    filename: /config/logs/appdaemon.log

I still have issues with AppDaemon config on my two HA instances. Maybe I’m doing something wrong? Tried to update from HA 2023.11, AD 0.13.6 and File Editor 5.6.0 to HA 2023.12, AD 0.15.2 and File Editor 5.7.0.

First updated HA. That went fine. Opened File Editor, edited /config/appdaemon.yaml to change path of the secrets file to the new /homeassistant folder, updated AD, applications work fine, updated File Editor, It shows /homeassistant/appdaemon folder as empty, addons_config folder is not present, but AD still works fine. AD logs show it is still pulling apps from /config folder which I cannot access anymore with the new File Editor…

2023-12-07 10:52:40.204350 INFO AppDaemon: Reloading Module: /config/apps/hello.py
2023-12-07 10:52:40.208291 INFO AppDaemon: Reloading Module: /config/apps/nspanel-lovelace-ui/nspanel-lovelace-ui.py
2023-12-07 10:52:40.221734 INFO AppDaemon: Reloading Module: /config/apps/controllerx/controllerx.py


My issue as well. I’ve got used to having AppDaemon config as a part of my single git repo where all the configs and scripts were stored. Now it is no longer possible to have a single commit with changes to my smart home if they are made inside both Home assistant scripts and AD automations.

Does anyone have a similar issue?

Does anyone know if it is possible to make a symlink from AD config location into /config to “emulate” how it was before?

Currently I just set the app directory to where it was before, so in your appdaemon.yaml you can just do this:

appdaemon:
  app_dir: /homeassistant/appdaemon/apps

That’s not the intended design but the other solutions to this problem didn’t convince me yet (2 repos, AppDaemon not on Git etc.) so I’ll just use that for now

2 Likes

I have a similar setup. I have a package_file and some other .yaml files in the single git repo. Specifically referencing the package .yaml from the config.yaml now seems impossible.
Has anybody figured out how to do this?