Erreur Node-Red

Mon problème

Bonjour je viens d’installer no-red et j’ai l’erreurr 502

D’où viens le problème?

Ma configuration


System Information

version core-2023.1.7
installation_type Home Assistant OS
dev false
hassio true
docker true
user root
virtualenv false
python_version 3.10.7
os_name Linux
os_version 5.15.76-v8
arch aarch64
timezone Europe/Paris
config_dir /config
Home Assistant Cloud
logged_in false
can_reach_cert_server ok
can_reach_cloud_auth ok
can_reach_cloud ok
Home Assistant Supervisor
host_os Home Assistant OS 9.4
update_channel stable
supervisor_version supervisor-2022.12.1
agent_version 1.4.1
docker_version 20.10.19
disk_total 28.5 GB
disk_used 4.0 GB
healthy true
supported true
board rpi3-64
supervisor_api ok
version_api ok
installed_addons File editor (5.5.0), Node-RED (14.0.1), Terminal & SSH (9.6.1)
Dashboards
dashboards 2
resources 0
views 6
mode storage
Recorder
oldest_recorder_run 15 janvier 2023 à 08:11
current_recorder_run 23 janvier 2023 à 18:17
estimated_db_size 95.32 MiB
database_engine sqlite
database_version 3.38.5
___

De l’installation…

PS: Pour pouvoir peut-être aider, il faudrait vraiment plus de contexte, de log, de détail sur la configuration de l’addon (nodered j’imagine?)

j’ai installer avec module complementaire

ci joint le journal

> s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service base-addon-banner: starting
-----------------------------------------------------------
 Add-on: Node-RED
 Flow-based programming for the Internet of Things
-----------------------------------------------------------
 Add-on version: 14.0.1
 You are running the latest version of this add-on.
 System: Home Assistant OS 9.4  (aarch64 / raspberrypi3-64)
 Home Assistant Core: 2023.1.7
 Home Assistant Supervisor: 2022.12.1
-----------------------------------------------------------
 Please, share the above information when looking for help
 or support in, e.g., GitHub, forums or the Discord chat.
-----------------------------------------------------------
s6-rc: info: service base-addon-banner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service base-addon-log-level: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service base-addon-log-level successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service init-nginx: starting
s6-rc: info: service init-customizations: starting
s6-rc: info: service init-customizations successfully started
s6-rc: info: service init-nodered: starting
[18:57:56] FATAL: 
[18:57:56] FATAL: Configuration of this add-on is incomplete.
[18:57:56] FATAL: 
[18:57:56] FATAL: Please be sure to set the "credential_secret" option.
[18:57:56] FATAL: 
[18:57:56] FATAL: The credential secret is an encryption token, much like
[18:57:56] FATAL: a password, that is used by Node-RED for encrypting
[18:57:56] FATAL: credentials you put into Node-RED.
[18:57:56] FATAL: 
[18:57:56] FATAL: Just like a password, a credential secret can be
[18:57:56] FATAL: anything you like. Just be sure to store it somewhere
[18:57:56] FATAL: safe for later, e.g., in case of a recovery.
[18:57:56] FATAL: 
s6-rc: warning: unable to start service init-nodered: command exited 1
[18:57:57] FATAL: 
[18:57:57] FATAL: SSL has been enabled using the 'ssl' option,
[18:57:57] FATAL: this requires a SSL certificate file which is
[18:57:57] FATAL: configured using the 'certfile' option in the
[18:57:57] FATAL: add-on configuration.
[18:57:57] FATAL: 
[18:57:57] FATAL: Unfortunately, the file specified in the
[18:57:57] FATAL: 'certfile' option does not exists.
[18:57:57] FATAL: 
[18:57:57] FATAL: Please ensure the certificate file exists and
[18:57:57] FATAL: is placed in the '/ssl/' directory.
[18:57:57] FATAL: 
[18:57:57] FATAL: In case you don't have SSL yet, consider getting
[18:57:57] FATAL: a SSL certificate or setting the 'ssl' option
[18:57:57] FATAL: to 'false' in case you are not planning on using
[18:57:57] FATAL: SSL with this add-on.
[18:57:57] FATAL: 
[18:57:57] FATAL: Check the add-on manual for more information.
[18:57:57] FATAL: 
s6-rc: warning: unable to start service init-nginx: 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 init-customizations: stopping
s6-rc: info: service init-customizations successfully stopped
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service base-addon-log-level: stopping
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service base-addon-log-level successfully stopped
s6-rc: info: service base-addon-banner: stopping
s6-rc: info: service base-addon-banner successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped

Bon, plus qu’à suivre le prérequis

desolé mais c’est quoi le credential_secret?

Tu as ouvert l’onglet configuration ?

ah je cherchais dans file editor pas ici :hot_face:

par contre j’ai une erreur SSL

[19:41:11] FATAL:
[19:41:11] FATAL: SSL has been enabled using the ‹ ssl › option,
[19:41:11] FATAL: this requires a SSL certificate file which is
[19:41:11] FATAL: configured using the ‹ certfile › option in the
[19:41:11] FATAL: add-on configuration.
[19:41:11] FATAL:
[19:41:11] FATAL: Unfortunately, the file specified in the
[19:41:11] FATAL: ‹ certfile › option does not exists.
[19:41:11] FATAL:
[19:41:11] FATAL: Please ensure the certificate file exists and
[19:41:11] FATAL: is placed in the ‹ /ssl/ › directory.
[19:41:11] FATAL:
[19:41:11] FATAL: In case you don’t have SSL yet, consider getting
[19:41:11] FATAL: a SSL certificate or setting the ‹ ssl › option
[19:41:11] FATAL: to ‹ false › in case you are not planning on using
[19:41:11] FATAL: SSL with this add-on.
[19:41:11] FATAL:
[19:41:11] FATAL: Check the add-on manual for more information.

Pareil, il faut désactiver l’option (qui n’est pas active par défaut)

Parfait ca fonctionne je te remercie pour ton aide :ok_hand:

Maintenant je vais essayer no red

Je viens de Domoticz ça change vraiment