『瀚思彼岸』» 智能家居技术论坛

 找回密码
 立即注册
查看: 211|回复: 3

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

[复制链接]

7

主题

145

帖子

2428

积分

金牌会员

Rank: 6Rank: 6

积分
2428
金钱
2283
HASS币
0
发表于 2024-3-22 14:25:07 | 显示全部楼层 |阅读模式
冬瓜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
日志信息
[14:22:11] TRACE: bashio::fs.file_exists: /ssl/fullchain.pem[14:22:11] FATAL: [14:22:11] FATAL: [color=var(--error-color)]SSL has been enabled using the 'ssl' option,[14:22:11] FATAL: [color=var(--error-color)]this requires an SSL certificate file which is[14:22:11] FATAL: [color=var(--error-color)]configured using the 'certfile' option in the[14:22:11] TRACE: bashio::config.exists: max_old_space_size[14:22:11] FATAL: [color=var(--error-color)]add-on configuration.[14:22:11] TRACE: bashio::config: max_old_space_size[14:22:11] FATAL: [14:22:11] TRACE: bashio::addon.config[14:22:11] FATAL: [color=var(--error-color)]Unfortunately, the file specified in the[14:22:11] TRACE: bashio::cache.exists: addons.self.options.config[14:22:11] FATAL: [color=var(--error-color)]'certfile' option does not exist.[14:22:11] TRACE: bashio::fs.file_exists: /tmp/.bashio/addons.self.options.config.cache[14:22:11] TRACE: bashio::cache.get: addons.self.options.config[14:22:11] FATAL: [14:22:11] TRACE: bashio::cache.exists: addons.self.options.config[14:22:11] FATAL: [color=var(--error-color)]Please ensure the certificate file exists and[14:22:11] TRACE: bashio::fs.file_exists: /tmp/.bashio/addons.self.options.config.cache[14:22:11] FATAL: [color=var(--error-color)]is placed in the '/ssl/' directory.[14:22:11] 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[14:22:11] FATAL: [14:22:11] FATAL: [color=var(--error-color)]In case you don't have SSL yet, consider getting[14:22:11] FATAL: [color=var(--error-color)]an SSL certificate or setting the 'ssl' option[14:22:11] FATAL: [color=var(--error-color)]to 'false' in case you are not planning on using[14:22:11] FATAL: [color=var(--error-color)]SSL with this add-on.[14:22:11] FATAL: [14:22:11] FATAL: [color=var(--error-color)]Check the add-on manual for more information.[14:22:11] FATAL: [14:22:11] TRACE: bashio::config.true: safe_mode[14:22:11] TRACE: bashio::exit.nok:[14:22:11] TRACE: bashio::var.has_value: [14:22:11] 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.
求解决方法

回复

使用道具 举报

0

主题

27

帖子

217

积分

中级会员

Rank: 3Rank: 3

积分
217
金钱
190
HASS币
0
发表于 2024-3-22 16:34:32 | 显示全部楼层
ssl要关掉啊
回复

使用道具 举报

4

主题

24

帖子

195

积分

注册会员

Rank: 2

积分
195
金钱
171
HASS币
0
发表于 2024-3-22 20:39:46 | 显示全部楼层
本帖最后由 crpipi 于 2024-3-22 20:43 编辑

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

使用道具 举报

7

主题

145

帖子

2428

积分

金牌会员

Rank: 6Rank: 6

积分
2428
金钱
2283
HASS币
0
 楼主| 发表于 2024-3-22 21:20:26 | 显示全部楼层
谢谢,解决了
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-4-27 14:34 , Processed in 4.467020 second(s), 28 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表