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

 找回密码
 立即注册
查看: 8893|回复: 6

[技术探讨] 【求助】Node Red不能启动(已解决)

[复制链接]

3

主题

47

帖子

258

积分

中级会员

Rank: 3Rank: 3

积分
258
金钱
211
HASS币
0
发表于 2021-3-19 11:23:49 | 显示全部楼层 |阅读模式
本帖最后由 wenxu502 于 2021-3-19 14:37 编辑

可以安装,但是就是不能启动,启动几秒钟就出错关闭,打开web ui报错502,日志如下,请大神们看看

[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 00-banner.sh: executing...
-----------------------------------------------------------
Add-on: Node-RED
Flow-based programming for the Internet of Things
-----------------------------------------------------------
Add-on version: 8.2.0
You are running the latest version of this add-on.
System: Debian GNU/Linux 10 (buster)  (aarch64 / qemuarm-64)
Home Assistant Core: 2021.2.3
Home Assistant Supervisor: 2021.03.6
-----------------------------------------------------------
Please, share the above information when looking for help
or support in, e.g., GitHub, forums or the Discord chat.
-----------------------------------------------------------
[cont-init.d] 00-banner.sh: exited 0.
[cont-init.d] 01-log-level.sh: executing...
[cont-init.d] 01-log-level.sh: exited 0.
[cont-init.d] customizations.sh: executing...
[cont-init.d] customizations.sh: exited 0.
[cont-init.d] nginx.sh: executing...
[11:19:52] FATAL:
[11:19:52] FATAL: SSL has been enabled using the 'ssl' option,
[11:19:52] FATAL: this requires a SSL certificate file which is
[11:19:52] FATAL: configured using the 'certfile' option in the
[11:19:52] FATAL: add-on configuration.
[11:19:52] FATAL:
[11:19:52] FATAL: Unfortunately, the file specified in the
[11:19:52] FATAL: 'certfile' option does not exists.
[11:19:52] FATAL:
[11:19:52] FATAL: Please ensure the certificate file exists and
[11:19:52] FATAL: is placed in the '/ssl/' directory.
[11:19:52] FATAL:
[11:19:52] FATAL: In case you don't have SSL yet, consider getting
[11:19:52] FATAL: a SSL certificate or setting the 'ssl' option
[11:19:52] FATAL: to 'false' in case you are not planning on using
[11:19:52] FATAL: SSL with this add-on.
[11:19:52] FATAL:
[11:19:52] FATAL: Check the add-on manual for more information.
[11:19:52] FATAL:
[cont-init.d] nginx.sh: exited 1.
[cont-finish.d] executing container finish scripts...
[cont-finish.d] 99-message.sh: executing...
-----------------------------------------------------------
                Oops! Something went wrong.

We are so sorry, but something went terribly wrong when
starting or running this add-on.

Be sure to check the log above, line by line, for hints.
-----------------------------------------------------------
[cont-finish.d] 99-message.sh: exited 0.
[cont-finish.d] done.
[s6-finish] waiting for services.
[s6-finish] sending all processes the TERM signal.
[s6-finish] sending all processes the KILL signal and exiting.
回复

使用道具 举报

7

主题

201

帖子

1095

积分

论坛积极会员

积分
1095
金钱
894
HASS币
0
发表于 2021-3-19 11:53:39 | 显示全部楼层
证书错误。
SSL has been enabled using the 'ssl' option
文件内没有找到证书文件。
Please ensure the certificate file exists and
is placed in the '/ssl/' directory.
回复

使用道具 举报

7

主题

201

帖子

1095

积分

论坛积极会员

积分
1095
金钱
894
HASS币
0
发表于 2021-3-19 11:54:57 | 显示全部楼层
解决方法,关闭SSL选项或放入证书文件。
In case you don't have SSL yet, consider getting a SSL certificate or setting the 'ssl' option to 'false'
回复

使用道具 举报

3

主题

47

帖子

258

积分

中级会员

Rank: 3Rank: 3

积分
258
金钱
211
HASS币
0
 楼主| 发表于 2021-3-19 14:32:56 | 显示全部楼层
kingtao1024 发表于 2021-3-19 11:54
解决方法,关闭SSL选项或放入证书文件。
In case you don't have SSL yet, consider getting a SSL certif ...

谢谢,对着日志改了好些个地方,终于能启动
回复

使用道具 举报

7

主题

201

帖子

1095

积分

论坛积极会员

积分
1095
金钱
894
HASS币
0
发表于 2021-3-19 15:20:55 | 显示全部楼层
wenxu502 发表于 2021-3-19 14:32
谢谢,对着日志改了好些个地方,终于能启动

赞~解决了就好
回复

使用道具 举报

3

主题

51

帖子

204

积分

中级会员

Rank: 3Rank: 3

积分
204
金钱
153
HASS币
0
发表于 2024-4-1 17:31:54 | 显示全部楼层
wenxu502 发表于 2021-3-19 14:32
谢谢,对着日志改了好些个地方,终于能启动

大神怎么改的 我的也这样
回复

使用道具 举报

0

主题

10

帖子

66

积分

注册会员

Rank: 2

积分
66
金钱
56
HASS币
0
发表于 2024-6-4 00:09:36 | 显示全部楼层
kingtao1024 发表于 2021-3-19 11:54
解决方法,关闭SSL选项或放入证书文件。
In case you don't have SSL yet, consider getting a SSL certif ...

怎么关闭
回复

使用道具 举报

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

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-11-24 23:03 , Processed in 0.130862 second(s), 28 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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