Skip to content

Production mode not loading apps #2467

@cuthulino

Description

@cuthulino

What happened?

Switching the config flag for production mode to true leads to appdaemon not loading the apps anymore.
No error or warning in the logs, just cleanly init like no apps are there.
The app path in log output looks the same as with devmode.

Version

4.5.12

Installation type

Home Assistant add-on

Relevant log output

2025-11-05 22:07:03.894860 INFO AppDaemon: AppDaemon Version 4.5.12 starting
2025-11-05 22:07:03.894935 INFO AppDaemon: ------------------------------------------------------------
2025-11-05 22:07:03.895006 INFO AppDaemon: Python version is 3.12.12
2025-11-05 22:07:03.895088 INFO AppDaemon: Configuration read from: /config/appdaemon.yaml
2025-11-05 22:07:03.895495 INFO AppDaemon: Using /homeassistant/appd/apps as app_dir
2025-11-05 22:07:03.896107 INFO AppDaemon: Loading built-in plugin 'HASS' using 'HassPlugin' from 'appdaemon.plugins.hass.hassplugin'
2025-11-05 22:07:03.896302 INFO HASS: HASS Plugin initialization complete
2025-11-05 22:07:03.896476 INFO AppDaemon: Initializing HTTP
2025-11-05 22:07:03.896713 INFO AppDaemon: Using 'ws' for event stream
2025-11-05 22:07:03.898276 INFO AppDaemon: Starting API
2025-11-05 22:07:03.899434 INFO AppDaemon: Starting Admin Interface
2025-11-05 22:07:03.899607 INFO AppDaemon: Starting Dashboards
2025-11-05 22:07:03.901436 INFO AppDaemon: Scheduler running in realtime
2025-11-05 22:07:03.902029 INFO AppDaemon: Starting apps with 1 worker threads. Apps will all be assigned threads and pinned to them.
2025-11-05 22:07:03.905517 INFO AppDaemon: Running on port 5050
2025-11-05 22:07:03.905857 INFO AppDaemon: Waiting for plugins to be ready
2025-11-05 22:07:03.907978 INFO HASS: Connected to Home Assistant 2025.10.4 with aiohttp websocket
2025-11-05 22:07:03.908471 INFO HASS: Authenticated to Home Assistant 2025.10.4
2025-11-05 22:07:03.909703 INFO HASS: Waiting for Home Assistant to start
2025-11-05 22:07:03.910656 INFO AppDaemon: All plugins ready
2025-11-05 22:07:03.930155 INFO HASS: Completed initialization in 29.451ms

Relevant code in the app or config file that caused the issue

---
secrets: /homeassistant/secrets.yaml
log:
  logfile: STDOUT
  errorfile: /homeassistant/appd/error.log
appdaemon:
  #production_mode: true
  loglevel: DEBUG
  latitude: x
  longitude: x
  elevation: x
  time_zone: Europe/Berlin
  app_dir: /homeassistant/appd/apps
  import_paths:
    - /homeassistant/appd/modules
  thread_duration_warning_threshold: 300
  ascii_encode: false
  plugins:
    HASS:
      type: hass
      token: !env_var SUPERVISOR_TOKEN
http:
  url: http://0.0.0.0:5050
admin:
api:
hadashboard:

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    issueSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions