Cannot install addons, will not create folder structure

I’m having some problems installing add-on’s.
The logs report successfull install, but they won’t start because of config. The config-folders has not been created (node red and glances is supposed to create folders in the config-dir).
I have tried to manually create the node-red-folder but it didn’t help.
I have restarted server, and reinstalled add-ons.
Does anyone have any tips for what i can try to troubleshoot this?

Node Red supervisor log

22-07-20 10:31:05 INFO (MainThread) [supervisor.addons] Creating Home Assistant add-on data folder /data/addons/data/a0d7b954_nodered
22-07-20 10:31:05 INFO (SyncWorker_2) [supervisor.docker.interface] Downloading docker image ghcr.io/hassio-addons/node-red/amd64 with tag 13.0.0.
22-07-20 10:31:35 INFO (MainThread) [supervisor.addons] Add-on 'a0d7b954_nodered' successfully installed

Glances supervisor log

22-07-20 10:39:28 INFO (MainThread) [supervisor.addons] Creating Home Assistant add-on data folder /data/addons/data/a0d7b954_glances
22-07-20 10:39:28 INFO (SyncWorker_0) [supervisor.docker.interface] Downloading docker image ghcr.io/hassio-addons/glances/amd64 with tag 0.16.0.
22-07-20 10:39:43 INFO (MainThread) [supervisor.addons] Add-on 'a0d7b954_glances' successfully installed

ls on server

[core-ssh ~]$ ls -dhl /config
drwxr-xr-x   11 root     root        4.0K Jul 20 10:41 /config
[core-ssh ~]$ ls -hl /config
total 69M
-rw-r--r--    1 root     root         617 Jul 20 10:29 aircast.xml
-rw-r--r--    1 root     root        5.7K Jul 14 14:39 automations.yaml
drwxr-xr-x    4 root     root        4.0K Jul 30  2021 blueprints
-rw-r--r--    1 root     root         438 Jul 18 12:53 configuration.yaml
drwxr-xr-x    3 root     root        4.0K Jul 17 16:26 custom_components
drwxr-xr-x    2 root     root        4.0K Jul 30  2021 deps
-rw-r--r--    1 root     root           0 Jul 30  2021 groups.yaml
drwxr-xr-x    9 1001     1001        4.0K Jul 12 11:55 heimdall
-rw-r--r--    1 root     root         604 Jul 20 10:47 home-assistant.log
-rw-r--r--    1 root     root        2.2K Jul 20 10:27 home-assistant.log.1
-rw-r--r--    1 root     root           0 Jul 20 10:29 home-assistant.log.fault
-rw-r--r--    1 root     root       65.5M Jul 20 10:27 home-assistant_v2.db
-rw-r--r--    1 root     root       32.0K Jul 20 10:50 home-assistant_v2.db-shm
-rw-r--r--    1 root     root        3.7M Jul 20 10:50 home-assistant_v2.db-wal
-rw-r--r--    1 root     root       12.7K Jul 13 10:51 scenes.yaml
-rw-r--r--    1 root     root           0 Jul 30  2021 scripts.yaml
-rw-r--r--    1 root     root         161 Jul 30  2021 secrets.yaml
-rw-r--r--    1 root     root           0 Feb 19 16:29 sensor.yaml
drwxr-xr-x    2 root     root        4.0K Jul 30  2021 tts
drwxr-xr-x    3 root     root        4.0K Jan 26 09:38 www
-rw-r--r--    1 root     root      100.0K Jun  6 11:06 zigbee.db
drwxr-xr-x    3 root     root        4.0K Jul 20 10:52 zigbee2mqtt

log from node red

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: Node-RED
 Flow-based programming for the Internet of Things
-----------------------------------------------------------
 Add-on version: 13.0.0
 You are running the latest version of this add-on.
 System: Home Assistant OS 8.2  (amd64 / qemux86-64)
 Home Assistant Core: 2022.7.5
 Home Assistant Supervisor: 2022.07.0
-----------------------------------------------------------
 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/customizations.sh
cont-init: info: /etc/cont-init.d/customizations.sh exited 0
cont-init: info: running /etc/cont-init.d/nginx.sh
[10:47:25] FATAL: 
[10:47:25] FATAL: SSL has been enabled using the 'ssl' option,
[10:47:25] FATAL: this requires a SSL certificate file which is
[10:47:25] FATAL: configured using the 'certfile' option in the
[10:47:25] FATAL: add-on configuration.
[10:47:25] FATAL: 
[10:47:25] FATAL: Unfortunately, the file specified in the
[10:47:25] FATAL: 'certfile' option does not exists.
[10:47:25] FATAL: 
[10:47:25] FATAL: Please ensure the certificate file exists and
[10:47:25] FATAL: is placed in the '/ssl/' directory.
[10:47:25] FATAL: 
[10:47:25] FATAL: In case you dont have SSL yet, consider getting
[10:47:25] FATAL: a SSL certificate or setting the 'ssl' option
[10:47:25] FATAL: to 'false' in case you are not planning on using
[10:47:25] FATAL: SSL with this add-on.
[10:47:25] FATAL: 
[10:47:25] FATAL: Check the add-on manual for more information.
[10:47:25] FATAL: 
cont-init: info: /etc/cont-init.d/nginx.sh exited 1
cont-init: info: running /etc/cont-init.d/node-red.sh
[10:47:25] FATAL: 
[10:47:25] FATAL: Configuration of this add-on is incomplete.
[10:47:25] FATAL: 
[10:47:25] FATAL: Please be sure to set the "credential_secret" option.
[10:47:25] FATAL: 
[10:47:25] FATAL: The credential secret is an encryption token, much like
[10:47:25] FATAL: a password, that is used by Node-RED for encrypting
[10:47:25] FATAL: credentials you put into Node-RED.
[10:47:25] FATAL: 
[10:47:25] FATAL: Just like a password, a credential secret can be
[10:47:25] FATAL: anything you like. Just be sure to store it somewhere
[10:47:25] FATAL: safe for later, e.g., in case of a recovery.
[10:47:25] FATAL: 
cont-init: info: /etc/cont-init.d/node-red.sh exited 1
cont-init: warning: some scripts exited nonzero
s6-rc: warning: unable to start service legacy-cont-init: command exited 1
/run/s6/basedir/scripts/rc.init: warning: s6-rc failed to properly bring all the services up! Check your logs (in /run/uncaught-logs/current if you have in-container logging) for more information.
prog: fatal: stopping the container.
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped

Do you have certificate files in /ssl ?

No. No files there.
But the issue is that the install doesn’t set up a config folder, so that I can set the node red add-on to not use ssl in this case.
I have the same issue with the glances add-on.

So you have no configuration tab in the addon page?

I just installed it againt to take a picture of the empty config-tab, but now it’s full of config options.
I have no idea why it suddenly worked, but it’s up and running now.
Sorry for wasting your time. :sweat:

No problem. Something amiss in matrix.

1 Like