hassio-addons / addon-appdaemon

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

Error when starting #220

Closed patryk0511 closed 1 year ago

patryk0511 commented 1 year ago

Problem/Motivation

I can't start appdaemon. I need it to install ns panel. I tried uninstalling and re-installing and stil issue.

Expected behavior

(What you expected to happen)

Actual behavior

It is looped all the time.

Steps to reproduce

(How can someone else make/see it happen)

-----------------------------------------------------------
 Please, share the above information when looking for help
 or support in, e.g., GitHub, forums or the Discord chat.
-----------------------------------------------------------

s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
cont-init: info: running /etc/cont-init.d/00-banner.sh
----------------------------------------------------------
 Add-on: AppDaemon
 Python Apps and Dashboard using AppDaemon 4.x for Home Assistant
----------------------------------------------------------
 Add-on version: 0.10.1
 You are running the latest version of this add-on.
 System: Home Assistant OS 9.3  (aarch64 / raspberrypi4-64)
 Home Assistant Core: 2022.11.5
 Home Assistant Supervisor: 2022.11.2
----------------------------------------------------------
 Please, share the above information when looking for help
 or support in, e.g., GitHub, forums or the Discord chat.
----------------------------------------------------------
cont-init: info: /etc/cont-init.d/00-banner.sh exited 0
cont-init: info: running /etc/cont-init.d/01-log-level.sh
cont-init: info: /etc/cont-init.d/01-log-level.sh exited 0
cont-init: info: running /etc/cont-init.d/appdaemon.sh
Looking in links: https://wheels.home-assistant.io/musllinux/
Collecting babel
  Downloading Babel-2.11.0-py3-none-any.whl (9.5 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 9.5/9.5 MB 13.4 MB/s eta 0:00:00
Requirement already satisfied: pytz>=2015.7 in /usr/lib/python3.10/site-packages (from babel) (2021.3)
Installing collected packages: babel
Successfully installed babel-2.11.0
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
cont-init: info: /etc/cont-init.d/appdaemon.sh exited 0
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
services-up: info: copying legacy longrun appdaemon (no readiness notification)
s6-rc: info: service legacy-services successfully started
[23:58:01] INFO: Starting AppDaemon...
ERROR Error loading configuration
ERROR parser says
ERROR   in "<unicode string>", line 4, column 1:
    some_password: welcome
    ^
ERROR expected '<document start>', but found '<block mapping start>'
[23:58:11] INFO: AppDaemon stoped, restarting...
[23:58:11] INFO: Starting AppDaemon...
ERROR Error loading configuration
ERROR parser says
ERROR   in "<unicode string>", line 4, column 1:
    some_password: welcome
    ^
ERROR expected '<document start>', but found '<block mapping start>'
[23:58:20] INFO: AppDaemon stoped, restarting...
[23:58:20] INFO: Starting AppDaemon...
ERROR Error loading configuration
ERROR parser says
ERROR   in "<unicode string>", line 4, column 1:
    some_password: welcome

Proposed changes

(If you have a proposed change, workaround or fix, describe the rationale behind it)

frenck commented 1 year ago
[23:58:11] INFO: Starting AppDaemon...
ERROR Error loading configuration
ERROR parser says
ERROR   in "<unicode string>", line 4, column 1:
    some_password: welcome
    ^
ERROR expected '<document start>', but found '<block mapping start>'

Seems like you have an invalid file in your configuration folder of Appdaemon. Check your files for "some_password: welcome".

I am closing this issue, as this is not an add-on issue but an AppDaemon configuration issue.

../Frenck