智趣盒子问题反馈集中帖

执行过程:

root@smarthomefansbox:~# docker stop node-red01
node-red01
root@smarthomefansbox:~# docker rm node-red01
node-red01
root@smarthomefansbox:~# mkdir node-red
root@smarthomefansbox:~# cd /root/node-red/
root@smarthomefansbox:~/node-red# mkdir config01
root@smarthomefansbox:~/node-red# cd /root/node-red/config01
root@smarthomefansbox:~/node-red/config01# docker run -it -d -p 1880:1880 --name=node-red01 -v /usr/share/hassio/homeassistant/node-red:/data -e TZ=Asia/Shanghai --restart=always nodered/node-red:latest
13393ebb4f7458c1b5f358d99c27d3fa558adfd9df1ee82d72d38e7ec67faf1e
root@smarthomefansbox:~/node-red/config01#

容器日志:
0:53:53 - [error] Failed to start server:
29 Aug 10:53:53 - [error] Error: EACCES: permission denied, mkdir ‘/data/lib/flows’
29 Aug 10:54:00 - [error] Failed to start server:
29 Aug 10:54:00 - [error] Error: EACCES: permission denied, mkdir ‘/data/lib/flows’
29 Aug 10:54:06 - [error] Failed to start server:
29 Aug 10:54:06 - [error] Error: EACCES: permission denied, mkdir ‘/data/lib/flows’
29 Aug 10:54:12 - [error] Failed to start server:
29 Aug 10:54:13 - [error] Error: EACCES: permission denied, mkdir ‘/data/lib/flows’
29 Aug 10:54:19 - [error] Failed to start server:
29 Aug 10:54:19 - [error] Error: EACCES: permission denied, mkdir ‘/data/lib/flows’
29 Aug 10:54:27 - [error] Failed to start server:
29 Aug 10:54:27 - [error] Error: EACCES: permission denied, mkdir ‘/data/lib/flows’
29 Aug 10:54:36 - [error] Failed to start server:
29 Aug 10:54:36 - [error] Error: EACCES: permission denied, mkdir ‘/data/lib/flows’
===Logs stream finished===

HA调用结果:
192.168.8.100 的响应时间过长。

你会用winscp吗?

再试试这个看看

docker stop node-red01
docker rm node-red01
mkdir node-red
chmod 755 /root/node-red/
cd /root/node-red/
mkdir config01
chmod 755 /root/node-red/config01
cd /root/node-red/config01
docker run -it -d -p 1880:1880 --name=node-red01 -v /usr/share/hassio/homeassistant/node-red:/data -e TZ=Asia/Shanghai --restart=always nodered/node-red:latest

HA的工具箱里有,我试了一下,类似FTP之类的东西?没仔细研究,传文件改文件啥的我直接WIN的资源管理器登录用了。

你试试上面的命令看看,主要就是要赋予配置文件夹0755的权限。

执行:

root@smarthomefansbox:~/node-red/config01# docker stop node-red01
node-red01
root@smarthomefansbox:~/node-red/config01# docker rm node-red01
node-red01
root@smarthomefansbox:~/node-red/config01# mkdir node-red
root@smarthomefansbox:~/node-red/config01# chmod 755 /root/node-red/
root@smarthomefansbox:~/node-red/config01# cd /root/node-red/
root@smarthomefansbox:~/node-red# mkdir config01
mkdir: cannot create directory ‘config01’: File exists
root@smarthomefansbox:~/node-red# chmod 755 /root/node-red/config01
root@smarthomefansbox:~/node-red# cd /root/node-red/config01
root@smarthomefansbox:~/node-red/config01# docker run -it -d -p 1880:1880 --name=node-red01 -v /usr/share/hassio/homeassistant/node-red:/data -e TZ=Asia/Shanghai --restart=always nodered/node-red:latest
5ebe255f33e03d3dcc15c6401934f6e88b4515d87fd215b95d16f5ca0c45dcac
root@smarthomefansbox:~/node-red/config01#

日志:

1:15:02 - [error] Failed to start server:
29 Aug 11:15:02 - [error] Error: EACCES: permission denied, mkdir ‘/data/lib/flows’
29 Aug 11:15:09 - [error] Failed to start server:
29 Aug 11:15:09 - [error] Error: EACCES: permission denied, mkdir ‘/data/lib/flows’
29 Aug 11:15:16 - [error] Failed to start server:
29 Aug 11:15:16 - [error] Error: EACCES: permission denied, mkdir ‘/data/lib/flows’
29 Aug 11:15:22 - [error] Failed to start server:
29 Aug 11:15:22 - [error] Error: EACCES: permission denied, mkdir ‘/data/lib/flows’
29 Aug 11:15:29 - [error] Failed to start server:
29 Aug 11:15:29 - [error] Error: EACCES: permission denied, mkdir ‘/data/lib/flows’
29 Aug 11:15:37 - [error] Failed to start server:
29 Aug 11:15:37 - [error] Error: EACCES: permission denied, mkdir ‘/data/lib/flows’
29 Aug 11:15:46 - [error] Failed to start server:
29 Aug 11:15:46 - [error] Error: EACCES: permission denied, mkdir ‘/data/lib/flows’
29 Aug 11:15:58 - [error] Failed to start server:
29 Aug 11:15:58 - [error] Error: EACCES: permission denied, mkdir ‘/data/lib/flows’
29 Aug 11:16:16 - [error] Failed to start server:
29 Aug 11:16:16 - [error] Error: EACCES: permission denied, mkdir ‘/data/lib/flows’
===Logs stream finished===

HA:

192.168.8.100 拒绝了我们的连接请求。

问题:HomeKit 桥接配件无法添加。

复现问题的步骤:如下图所示。

日志记录:完整日志无任何相关记录。

启动我点击过,会转圈,但是转完没反应

右击,看看选项。


看看日志。

www全勾上看看

www全部勾勾,确定之后,再进去nodered的文件夹,继续把权限都勾了。

1661746294177

日志:

1:15:02 - [error] Failed to start server:
29 Aug 11:15:02 - [error] Error: EACCES: permission denied, mkdir ‘/data/lib/flows’
29 Aug 11:15:09 - [error] Failed to start server:
29 Aug 11:15:09 - [error] Error: EACCES: permission denied, mkdir ‘/data/lib/flows’
29 Aug 11:15:16 - [error] Failed to start server:
29 Aug 11:15:16 - [error] Error: EACCES: permission denied, mkdir ‘/data/lib/flows’
29 Aug 11:15:22 - [error] Failed to start server:
29 Aug 11:15:22 - [error] Error: EACCES: permission denied, mkdir ‘/data/lib/flows’
29 Aug 11:15:29 - [error] Failed to start server:
29 Aug 11:15:29 - [error] Error: EACCES: permission denied, mkdir ‘/data/lib/flows’
29 Aug 11:15:37 - [error] Failed to start server:
29 Aug 11:15:37 - [error] Error: EACCES: permission denied, mkdir ‘/data/lib/flows’
29 Aug 11:15:46 - [error] Failed to start server:
29 Aug 11:15:46 - [error] Error: EACCES: permission denied, mkdir ‘/data/lib/flows’
29 Aug 11:15:58 - [error] Failed to start server:
29 Aug 11:15:58 - [error] Error: EACCES: permission denied, mkdir ‘/data/lib/flows’
29 Aug 11:16:16 - [error] Failed to start server:
29 Aug 11:16:16 - [error] Error: EACCES: permission denied, mkdir ‘/data/lib/flows’
29 Aug 11:16:48 - [error] Failed to start server:
29 Aug 11:16:48 - [error] Error: EACCES: permission denied, mkdir ‘/data/lib/flows’
29 Aug 11:17:45 - [error] Failed to start server:
29 Aug 11:17:45 - [error] Error: EACCES: permission denied, mkdir ‘/data/lib/flows’
29 Aug 11:18:50 - [error] Failed to start server:
29 Aug 11:18:51 - [error] Error: EACCES: permission denied, mkdir ‘/data/lib/flows’
29 Aug 11:19:57 - [error] Failed to start server:
29 Aug 11:19:57 - [error] Error: EACCES: permission denied, mkdir ‘/data/lib/flows’
29 Aug 11:21:02 - [error] Failed to start server:
29 Aug 11:21:02 - [error] Error: EACCES: permission denied, mkdir ‘/data/lib/flows’
29 Aug 11:22:08 - [error] Failed to start server:
29 Aug 11:22:08 - [error] Error: EACCES: permission denied, mkdir ‘/data/lib/flows’
29 Aug 11:23:14 - [error] Failed to start server:
29 Aug 11:23:14 - [error] Error: EACCES: permission denied, mkdir ‘/data/lib/flows’
29 Aug 11:24:20 - [error] Failed to start server:
29 Aug 11:24:20 - [error] Error: EACCES: permission denied, mkdir ‘/data/lib/flows’
29 Aug 11:25:26 - [error] Failed to start server:
29 Aug 11:25:26 - [error] Error: EACCES: permission denied, mkdir ‘/data/lib/flows’
29 Aug 11:26:32 - [error] Failed to start server:
29 Aug 11:26:32 - [error] Error: EACCES: permission denied, mkdir ‘/data/lib/flows’
29 Aug 11:27:38 - [error] Failed to start server:
29 Aug 11:27:38 - [error] Error: EACCES: permission denied, mkdir ‘/data/lib/flows’
29 Aug 11:28:43 - [error] Failed to start server:
29 Aug 11:28:43 - [error] Error: EACCES: permission denied, mkdir ‘/data/lib/flows’
29 Aug 11:29:49 - [error] Failed to start server:
29 Aug 11:29:49 - [error] Error: EACCES: permission denied, mkdir ‘/data/lib/flows’
29 Aug 11:30:55 - [error] Failed to start server:
29 Aug 11:30:55 - [error] Error: EACCES: permission denied, mkdir ‘/data/lib/flows’
29 Aug 11:32:01 - [error] Failed to start server:
29 Aug 11:32:01 - [error] Error: EACCES: permission denied, mkdir ‘/data/lib/flows’
29 Aug 11:33:07 - [error] Failed to start server:
29 Aug 11:33:07 - [error] Error: EACCES: permission denied, mkdir ‘/data/lib/flows’
29 Aug 11:34:13 - [error] Failed to start server:
29 Aug 11:34:13 - [error] Error: EACCES: permission denied, mkdir ‘/data/lib/flows’
29 Aug 11:35:19 - [error] Failed to start server:
29 Aug 11:35:19 - [error] Error: EACCES: permission denied, mkdir ‘/data/lib/flows’
29 Aug 11:36:25 - [error] Failed to start server:
29 Aug 11:36:25 - [error] Error: EACCES: permission denied, mkdir ‘/data/lib/flows’
29 Aug 11:37:31 - [error] Failed to start server:
29 Aug 11:37:31 - [error] Error: EACCES: permission denied, mkdir ‘/data/lib/flows’
29 Aug 11:38:37 - [error] Failed to start server:
29 Aug 11:38:37 - [error] Error: EACCES: permission denied, mkdir ‘/data/lib/flows’
29 Aug 11:39:43 - [error] Failed to start server:
29 Aug 11:39:43 - [error] Error: EACCES: permission denied, mkdir ‘/data/lib/flows’
29 Aug 11:40:48 - [error] Failed to start server:
29 Aug 11:40:48 - [error] Error: EACCES: permission denied, mkdir ‘/data/lib/flows’
29 Aug 11:41:54 - [error] Failed to start server:
29 Aug 11:41:54 - [error] Error: EACCES: permission denied, mkdir ‘/data/lib/flows’
29 Aug 11:43:00 - [error] Failed to start server:
29 Aug 11:43:00 - [error] Error: EACCES: permission denied, mkdir ‘/data/lib/flows’
29 Aug 11:44:06 - [error] Failed to start server:
29 Aug 11:44:06 - [error] Error: EACCES: permission denied, mkdir ‘/data/lib/flows’
29 Aug 11:45:12 - [error] Failed to start server:
29 Aug 11:45:12 - [error] Error: EACCES: permission denied, mkdir ‘/data/lib/flows’
29 Aug 11:46:18 - [error] Failed to start server:
29 Aug 11:46:18 - [error] Error: EACCES: permission denied, mkdir ‘/data/lib/flows’
29 Aug 11:47:24 - [error] Failed to start server:
29 Aug 11:47:24 - [error] Error: EACCES: permission denied, mkdir ‘/data/lib/flows’
29 Aug 11:48:30 - [error] Failed to start server:
29 Aug 11:48:30 - [error] Error: EACCES: permission denied, mkdir ‘/data/lib/flows’
29 Aug 11:49:36 - [error] Failed to start server:
29 Aug 11:49:36 - [error] Error: EACCES: permission denied, mkdir ‘/data/lib/flows’
29 Aug 11:50:42 - [error] Failed to start server:
29 Aug 11:50:42 - [error] Error: EACCES: permission denied, mkdir ‘/data/lib/flows’
29 Aug 11:51:47 - [error] Failed to start server:
29 Aug 11:51:47 - [error] Error: EACCES: permission denied, mkdir ‘/data/lib/flows’
29 Aug 11:52:54 - [error] Failed to start server:
29 Aug 11:52:54 - [error] Error: EACCES: permission denied, mkdir ‘/data/lib/flows’
29 Aug 11:53:59 - [error] Failed to start server:
29 Aug 11:53:59 - [error] Error: EACCES: permission denied, mkdir ‘/data/lib/flows’
29 Aug 11:55:06 - [error] Failed to start server:
29 Aug 11:55:06 - [error] Error: EACCES: permission denied, mkdir ‘/data/lib/flows’
29 Aug 11:56:12 - [error] Failed to start server:
29 Aug 11:56:12 - [error] Error: EACCES: permission denied, mkdir ‘/data/lib/flows’
29 Aug 11:57:17 - [error] Failed to start server:
29 Aug 11:57:17 - [error] Error: EACCES: permission denied, mkdir ‘/data/lib/flows’
29 Aug 11:58:23 - [error] Failed to start server:
29 Aug 11:58:23 - [error] Error: EACCES: permission denied, mkdir ‘/data/lib/flows’
29 Aug 11:59:29 - [error] Failed to start server:
29 Aug 11:59:29 - [error] Error: EACCES: permission denied, mkdir ‘/data/lib/flows’
29 Aug 12:00:35 - [error] Failed to start server:
29 Aug 12:00:35 - [error] Error: EACCES: permission denied, mkdir ‘/data/lib/flows’
29 Aug 12:01:41 - [error] Failed to start server:
29 Aug 12:01:41 - [error] Error: EACCES: permission denied, mkdir ‘/data/lib/flows’
29 Aug 12:02:47 - [error] Failed to start server:
29 Aug 12:02:47 - [error] Error: EACCES: permission denied, mkdir ‘/data/lib/flows’
29 Aug 12:03:53 - [error] Failed to start server:
29 Aug 12:03:53 - [error] Error: EACCES: permission denied, mkdir ‘/data/lib/flows’
29 Aug 12:04:59 - [error] Failed to start server:
29 Aug 12:04:59 - [error] Error: EACCES: permission denied, mkdir ‘/data/lib/flows’
29 Aug 12:06:05 - [error] Failed to start server:
29 Aug 12:06:05 - [error] Error: EACCES: permission denied, mkdir ‘/data/lib/flows’
29 Aug 12:07:51 - [error] Failed to start server:
29 Aug 12:07:51 - [error] Error: EACCES: permission denied, mkdir ‘/data/lib/flows’
29 Aug 12:07:58 - [error] Failed to start server:
29 Aug 12:07:58 - [error] Error: EACCES: permission denied, mkdir ‘/data/lib/flows’
29 Aug 12:08:04 - [error] Failed to start server:
29 Aug 12:08:04 - [error] Error: EACCES: permission denied, mkdir ‘/data/lib/flows’
29 Aug 12:08:10 - [error] Failed to start server:
29 Aug 12:08:10 - [error] Error: EACCES: permission denied, mkdir ‘/data/lib/flows’
29 Aug 12:08:17 - [error] Failed to start server:
29 Aug 12:08:17 - [error] Error: EACCES: permission denied, mkdir ‘/data/lib/flows’
29 Aug 12:08:25 - [error] Failed to start server:
29 Aug 12:08:25 - [error] Error: EACCES: permission denied, mkdir ‘/data/lib/flows’
29 Aug 12:08:34 - [error] Failed to start server:
29 Aug 12:08:34 - [error] Error: EACCES: permission denied, mkdir ‘/data/lib/flows’
29 Aug 12:08:46 - [error] Failed to start server:
29 Aug 12:08:46 - [error] Error: EACCES: permission denied, mkdir ‘/data/lib/flows’
29 Aug 12:09:05 - [error] Failed to start server:
29 Aug 12:09:05 - [error] Error: EACCES: permission denied, mkdir ‘/data/lib/flows’
29 Aug 12:09:37 - [error] Failed to start server:
29 Aug 12:09:37 - [error] Error: EACCES: permission denied, mkdir ‘/data/lib/flows’
===Logs stream finished===

日志啥也没有

你进去3000管理界面,容器里面找到nodered,然后看看日志。
奇怪了,我们这边都没有挂。。

你在homeassistant里面加载项,有没有把原来的nodered删除了?

刚打开3000的时候,确实是掉了,我就点击了开启, 然后就这样了,再然后我进入3000关闭,结果直接找不到NR了