the console: {errors isn't valid javascript, so that can not be accurate as Node-RED wouldn't start at all if that is truly what is in the running settings.js
You would need to remove the errors to make is correct.
And with the default logging configuration there should be a lot more information in the logs from the startup.
What happens if you use docker logs [containername] to show the actual container logs?
I stripped the comments and looks like I made a mistake.
Looks like this:
logging: {
// Only console logging is currently supported
console: {
// Level of logging to be recorded. Options are:
// fatal - only those errors which make the application unusable should be recorded
// error - record errors which are deemed fatal for a particular request + fatal errors
// warn - record problems which are non fatal + errors + fatal errors
// info - record information about the general running of the application + warn + error + fatal errors
// debug - record information which is more verbose than info + info + warn + error + fatal errors
// trace - record very detailed logging + debug + info + warn + error + fatal errors
// off - turn off all logging (doesn't affect metrics or audit)
level: "debug",
// Whether or not to include metric events in the log output
metrics: false,
// Whether or not to include audit events in the log output
audit: false
}
},
For the docker logs I will wait for the next restart.
As for now it contains sth like this:
14 Nov 23:12:12 - [info] [zigbee2mqtt-out:6b3a43eb.d2edec] Published to mqtt topic: zigbee2mqtt/Lampe_Vorraum/set : {"state":"OFF","transition":0}
14 Nov 23:15:10 - [info] [zigbee2mqtt-out:44a55c33.fa36e4] Published to mqtt topic: zigbee2mqtt/Lampe_Flur_EG_1/set : {"state":"OFF","transition":0}
The following is in the logs rigth before and right after restarting:
14 Nov 23:37:55 - [info] [zigbee2mqtt-out:6b3a43eb.d2edec] Published to mqtt topic: zigbee2mqtt/Lampe_Vorraum/set : {"state":"OFF","transition":0}
14 Nov 23:43:05 - [info] [zigbee2mqtt-out:6b3a43eb.d2edec] Published to mqtt topic: zigbee2mqtt/Lampe_Vorraum/set : {"state":"OFF","transition":0}
14 Nov 23:43:37 - [info] [zigbee2mqtt-out:44a55c33.fa36e4] Published to mqtt topic: zigbee2mqtt/Lampe_Flur_EG_1/set : {"state":"OFF","transition":0}
14 Nov 23:46:12 - [info] [zigbee2mqtt-out:44a55c33.fa36e4] Published to mqtt topic: zigbee2mqtt/Lampe_Flur_EG_1/set : {"state":"OFF","transition":0}
14 Nov 23:46:29 - [info] [zigbee2mqtt-out:d22f84de.9897f8] Published to mqtt topic: zigbee2mqtt/Lampe_Flur_OG_3/set : {"battery":100,"linkquality":90,"occupancy":false,"voltage":3025,"transition":0}
14 Nov 23:46:29 - [info] [zigbee2mqtt-out:b176be8d.25674] Published to mqtt topic: zigbee2mqtt/Lampe_Flur_OG_3/set : {"state":"OFF","transition":0}
14 Nov 23:49:23 - [info] [zigbee2mqtt-out:858c1ce4.a855e] Published to mqtt topic: zigbee2mqtt/Lampe_Kueche_EG/set : {"state":"OFF","transition":0}
14 Nov 23:53:46 - [info] [zigbee2mqtt-out:858c1ce4.a855e] Published to mqtt topic: zigbee2mqtt/Lampe_Kueche_EG/set : {"state":"ON","brightness":30,"transition":0}
14 Nov 23:53:58 - [info] [zigbee2mqtt-out:6b3a43eb.d2edec] Published to mqtt topic: zigbee2mqtt/Lampe_Vorraum/set : {"state":"ON","brightness":30,"transition":0}
14 Nov 23:54:01 - [info] [zigbee2mqtt-out:44a55c33.fa36e4] Published to mqtt topic: zigbee2mqtt/Lampe_Flur_EG_1/set : {"state":"OFF","transition":0}
14 Nov 23:54:18 - [info] [zigbee2mqtt-out:858c1ce4.a855e] Published to mqtt topic: zigbee2mqtt/Lampe_Kueche_EG/set : {"state":"OFF","transition":0}
14 Nov 23:54:22 - [info] [zigbee2mqtt-out:6b3a43eb.d2edec] Published to mqtt topic: zigbee2mqtt/Lampe_Vorraum/set : {"state":"OFF","transition":0}
14 Nov 23:54:27 - [info] [zigbee2mqtt-out:6b3a43eb.d2edec] Published to mqtt topic: zigbee2mqtt/Lampe_Vorraum/set : {"state":"ON","brightness":30,"transition":0}
14 Nov 23:56:02 - [red] Uncaught Exception:
14 Nov 23:56:02 - [error] Error: read ECONNRESET
at TLSWrap.onStreamRead (internal/stream_base_commons.js:209:20)
> node-red-docker@2.1.3 start /usr/src/node-red
> node $NODE_OPTIONS node_modules/node-red/red.js $FLOWS "--userDir" "/data"
14 Nov 23:56:03 - [info]
Welcome to Node-RED
===================
14 Nov 23:56:03 - [info] Node-RED version: v2.1.3
14 Nov 23:56:03 - [info] Node.js version: v14.18.1
14 Nov 23:56:03 - [info] Linux 4.18.0-305.3.1.el8.x86_64 x64 LE
14 Nov 23:56:03 - [info] Loading palette nodes
14 Nov 23:56:03 - [info] node-red-contrib-ccu version: 3.4.2
14 Nov 23:56:04 - [warn] ------------------------------------------------------
14 Nov 23:56:04 - [warn] [node-red-node-rbe/rbe] 'rbe' already registered by module node-red
14 Nov 23:56:04 - [warn] ------------------------------------------------------
14 Nov 23:56:04 - [info] Settings file : /data/settings.js
14 Nov 23:56:04 - [info] Context store : 'default' [module=localfilesystem]
14 Nov 23:56:04 - [info] User directory : /data
14 Nov 23:56:04 - [warn] Projects disabled : editorTheme.projects.enabled=false
14 Nov 23:56:04 - [info] Flows file : /data/flows.json
14 Nov 23:56:04 - [info] Server now running at http://127.0.0.1:1880/
14 Nov 23:56:04 - [warn]
---------------------------------------------------------------------
Your flow credentials file is encrypted using a system-generated key.
If the system-generated key is lost for any reason, your credentials
file will not be recoverable, you will have to delete it and re-enter
your credentials.
You should set your own key using the 'credentialSecret' option in
your settings file. Node-RED will then re-encrypt your credentials
file using your chosen key the next time you deploy a change.
---------------------------------------------------------------------
14 Nov 23:56:04 - [info] Starting flows
14 Nov 23:56:04 - [info] [ccu-connection:homematic-raspi] paramsets loaded from /data/paramsets.json