straylamb760704 发表于 2024-3-22 14:25:07

冬瓜os小主机版node-red求助

冬瓜os小主机版node-red启动失败,配置文件:theme: defaulthttp_node:
username: user
password: user
http_static:
username: user
password: user
ssl: true
certfile: fullchain.pem
keyfile: privkey.pem
system_packages: []
npm_packages: []
init_commands: []
log_level: trace
credential_secret: user
日志信息
TRACE: bashio::fs.file_exists: /ssl/fullchain.pem FATAL: FATAL: SSL has been enabled using the 'ssl' option, FATAL: this requires an SSL certificate file which is FATAL: configured using the 'certfile' option in the TRACE: bashio::config.exists: max_old_space_size FATAL: add-on configuration. TRACE: bashio::config: max_old_space_size FATAL: TRACE: bashio::addon.config FATAL: Unfortunately, the file specified in the TRACE: bashio::cache.exists: addons.self.options.config FATAL: 'certfile' option does not exist. TRACE: bashio::fs.file_exists: /tmp/.bashio/addons.self.options.config.cache TRACE: bashio::cache.get: addons.self.options.config FATAL: TRACE: bashio::cache.exists: addons.self.options.config FATAL: Please ensure the certificate file exists and TRACE: bashio::fs.file_exists: /tmp/.bashio/addons.self.options.config.cache FATAL: is placed in the '/ssl/' directory. TRACE: bashio::jq: {"theme":"default","http_node":{"username":"user","password":"user"},"http_static":{"username":"user","password":"user"},"ssl":true,"certfile":"fullchain.pem","keyfile":"privkey.pem","system_packages":[],"npm_packages":[],"init_commands":[],"log_level":"trace","credential_secret":"user"} if (.max_old_space_size == null) then            null      elif (.max_old_space_size | type == "string") then            .max_old_space_size // empty      elif (.max_old_space_size | type == "boolean") then            .max_old_space_size // false      elif (.max_old_space_size | type == "array") then            if (.max_old_space_size == []) then                empty            else                .max_old_space_size[]            end      elif (.max_old_space_size | type == "object") then            if (.max_old_space_size == {}) then                empty            else                .max_old_space_size            end      else            .max_old_space_size      end FATAL: FATAL: In case you don't have SSL yet, consider getting FATAL: an SSL certificate or setting the 'ssl' option FATAL: to 'false' in case you are not planning on using FATAL: SSL with this add-on. FATAL: FATAL: Check the add-on manual for more information. FATAL: TRACE: bashio::config.true: safe_mode TRACE: bashio::exit.nok: TRACE: bashio::var.has_value: TRACE: bashio::config: safe_modes6-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./run/s6/basedir/scripts/rc.init: fatal: stopping the container.
求解决方法

snowkiss 发表于 2024-3-22 16:34:32

ssl要关掉啊

crpipi 发表于 2024-3-22 20:39:46

本帖最后由 crpipi 于 2024-3-22 20:43 编辑

我也遇到了这个问题。多看看说明文档。应用信息页面点配置。中间有个ssl开关关掉,然后保存。

straylamb760704 发表于 2024-3-22 21:20:26

谢谢,解决了
页: [1]
查看完整版本: 冬瓜os小主机版node-red求助