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

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

[求助] homeassistant在SSD上面不能正常运行,不知道什么原因?

[复制链接]

5

主题

96

帖子

465

积分

中级会员

Rank: 3Rank: 3

积分
465
金钱
369
HASS币
0
发表于 2018-11-22 09:54:27 | 显示全部楼层 |阅读模式
我原来是在HDD上安装树莓派的系统,然后安装 HASS,现在是可以正常使用。但是我把系统换到SSD上,然后把配制文件全部复制到新的系统上面却不能运行,很多配置文件读不到,通过SSH连接到系统查看HASS的运行状态却没有发现错误。不知道有谁遇到这种情况?
回复

使用道具 举报

40

主题

3057

帖子

1万

积分

超级版主

Nero

Rank: 8Rank: 8

积分
11135
金钱
8028
HASS币
182
发表于 2018-11-22 10:08:40 | 显示全部楼层
和硬盘无关,检查ha日志和文件系统权限吧
Nero
回复

使用道具 举报

5

主题

106

帖子

823

积分

高级会员

Rank: 4

积分
823
金钱
717
HASS币
0
发表于 2018-11-22 10:49:06 | 显示全部楼层
这种哪会和硬盘有关  明显就是权限问题
比如 chmod -R 777 *
回复

使用道具 举报

5

主题

96

帖子

465

积分

中级会员

Rank: 3Rank: 3

积分
465
金钱
369
HASS币
0
 楼主| 发表于 2018-11-22 11:14:56 | 显示全部楼层
ruike007 发表于 2018-11-22 10:49
这种哪会和硬盘有关  明显就是权限问题
比如 chmod -R 777 *

权限已经全部是777了,但还是不行
回复

使用道具 举报

65

主题

853

帖子

3038

积分

论坛元老

Rank: 8Rank: 8

积分
3038
金钱
2180
HASS币
40
发表于 2018-11-22 14:45:34 | 显示全部楼层
这个还真和硬盘没关系,我在机械盘、固态盘、存储卡等等设备上都部署过hass 没有遇到你说的这种情况,还是得看错误日志,具体情况具体分析咯。
回复

使用道具 举报

5

主题

96

帖子

465

积分

中级会员

Rank: 3Rank: 3

积分
465
金钱
369
HASS币
0
 楼主| 发表于 2018-11-22 16:23:52 | 显示全部楼层
我的系统是部署在ESXI上面的,系统是直接从HDD盘复制到SSD盘上面的。照理是完全一样的两个系统。不应该出现类似什么权限的问题。然后我又重新在SSD盘上安装HASS,只是复制配置文件,还是一样情况。不能运行。查看了一下日志


http://192.168.0.54:8123/local/c ... om-ui.html:239:3174 Uncaught TypeError: Cannot read property 'switch' of undefined
下午4:21 components/system_log/__init__.py (ERROR)
http://192.168.0.54:8123/local/c ... om-ui.html:239:3174 Uncaught TypeError: Cannot read property 'switch' of undefined
下午4:21 components/system_log/__init__.py (ERROR)
http://192.168.0.54:8123/local/c ... om-ui.html:239:3174 Uncaught TypeError: Cannot read property 'switch' of undefined
下午4:21 components/system_log/__init__.py (ERROR)
http://192.168.0.54:8123/local/c ... om-ui.html:239:3174 Uncaught TypeError: Cannot read property 'switch' of undefined
下午4:21 components/system_log/__init__.py (ERROR)
http://192.168.0.54:8123/local/c ... om-ui.html:239:3174 Uncaught TypeError: Cannot read property 'switch' of undefined
下午4:21 components/system_log/__init__.py (ERROR)
http://192.168.0.54:8123/local/c ... om-ui.html:239:3174 Uncaught TypeError: Cannot read property 'switch' of undefined
下午4:21 components/system_log/__init__.py (ERROR)
http://192.168.0.54:8123/local/c ... om-ui.html:239:3174 Uncaught TypeError: Cannot read property 'switch' of undefined
下午4:21 components/system_log/__init__.py (ERROR)
http://192.168.0.54:8123/local/c ... om-ui.html:239:3174 Uncaught TypeError: Cannot read property 'switch' of undefined
下午4:21 components/system_log/__init__.py (ERROR)
http://192.168.0.54:8123/local/c ... om-ui.html:239:3174 Uncaught TypeError: Cannot read property 'switch' of undefined
下午4:21 components/system_log/__init__.py (ERROR)
http://192.168.0.54:8123/local/c ... om-ui.html:239:3174 Uncaught TypeError: Cannot read property 'switch' of undefined
下午4:21 components/system_log/__init__.py (ERROR)
http://192.168.0.54:8123/local/c ... om-ui.html:239:3174 Uncaught TypeError: Cannot read property 'switch' of undefined
下午4:21 components/system_log/__init__.py (ERROR)
http://192.168.0.54:8123/local/c ... om-ui.html:239:3174 Uncaught TypeError: Cannot read property 'switch' of undefined
下午4:21 components/system_log/__init__.py (ERROR)
http://192.168.0.54:8123/local/c ... om-ui.html:239:3174 Uncaught TypeError: Cannot read property 'switch' of undefined
下午4:21 components/system_log/__init__.py (ERROR)
http://192.168.0.54:8123/local/c ... om-ui.html:239:3174 Uncaught TypeError: Cannot read property 'switch' of undefined
下午4:21 components/system_log/__init__.py (ERROR)
http://192.168.0.54:8123/local/c ... om-ui.html:239:3174 Uncaught TypeError: Cannot read property 'switch' of undefined
下午4:21 components/system_log/__init__.py (ERROR)
http://192.168.0.54:8123/local/c ... om-ui.html:239:3174 Uncaught TypeError: Cannot read property 'switch' of undefined
下午4:21 components/system_log/__init__.py (ERROR)
http://192.168.0.54:8123/local/c ... om-ui.html:239:3174 Uncaught TypeError: Cannot read property 'switch' of undefined
下午4:21 components/system_log/__init__.py (ERROR)
http://192.168.0.54:8123/local/c ... om-ui.html:239:3174 Uncaught TypeError: Cannot read property 'switch' of undefined
下午4:21 components/system_log/__init__.py (ERROR)
http://192.168.0.54:8123/local/c ... om-ui.html:239:3174 Uncaught TypeError: Cannot read property 'switch' of undefined
下午4:21 components/system_log/__init__.py (ERROR)
http://192.168.0.54:8123/local/c ... om-ui.html:239:3174 Uncaught TypeError: Cannot read property 'switch' of undefined
下午4:21 components/system_log/__init__.py (ERROR)
http://192.168.0.54:8123/local/c ... om-ui.html:239:3174 Uncaught TypeError: Cannot read property 'switch' of undefined
下午4:21 components/system_log/__init__.py (ERROR)
http://192.168.0.54:8123/local/c ... om-ui.html:239:3174 Uncaught TypeError: Cannot read property 'switch' of undefined
下午4:21 components/system_log/__init__.py (ERROR)
http://192.168.0.54:8123/local/c ... om-ui.html:239:3174 Uncaught TypeError: Cannot read property 'switch' of undefined
下午4:21 components/system_log/__init__.py (ERROR)
http://192.168.0.54:8123/local/c ... om-ui.html:239:3174 Uncaught TypeError: Cannot read property 'switch' of undefined
下午4:21 components/system_log/__init__.py (ERROR)
http://192.168.0.54:8123/local/c ... om-ui.html:239:3174 Uncaught TypeError: Cannot read property 'switch' of undefined
下午4:21 components/system_log/__init__.py (ERROR)
http://192.168.0.54:8123/local/c ... om-ui.html:239:3174 Uncaught TypeError: Cannot read property 'switch' of undefined
下午4:21 components/system_log/__init__.py (ERROR)
http://192.168.0.54:8123/local/c ... om-ui.html:239:3174 Uncaught TypeError: Cannot read property 'switch' of undefined
下午4:21 components/system_log/__init__.py (ERROR)
http://192.168.0.54:8123/local/c ... om-ui.html:239:3174 Uncaught TypeError: Cannot read property 'switch' of undefined
下午4:21 components/system_log/__init__.py (ERROR)
http://192.168.0.54:8123/local/c ... om-ui.html:239:3174 Uncaught TypeError: Cannot read property 'switch' of undefined
下午4:21 components/system_log/__init__.py (ERROR)
http://192.168.0.54:8123/local/c ... om-ui.html:239:3174 Uncaught TypeError: Cannot read property 'switch' of undefined
下午4:21 components/system_log/__init__.py (ERROR)
http://192.168.0.54:8123/local/c ... om-ui.html:239:3174 Uncaught TypeError: Cannot read property 'switch' of undefined
下午4:21 components/system_log/__init__.py (ERROR)
http://192.168.0.54:8123/local/c ... om-ui.html:239:3174 Uncaught TypeError: Cannot read property 'switch' of undefined
下午4:21 components/system_log/__init__.py (ERROR)
http://192.168.0.54:8123/local/c ... om-ui.html:239:3174 Uncaught TypeError: Cannot read property 'switch' of undefined
下午4:21 components/system_log/__init__.py (ERROR)
http://192.168.0.54:8123/local/c ... om-ui.html:239:3174 Uncaught TypeError: Cannot read property 'switch' of undefined
下午4:21 components/system_log/__init__.py (ERROR)
http://192.168.0.54:8123/local/c ... om-ui.html:239:3174 Uncaught TypeError: Cannot read property 'switch' of undefined
下午4:21 components/system_log/__init__.py (ERROR)
http://192.168.0.54:8123/local/c ... om-ui.html:239:3174 Uncaught TypeError: Cannot read property 'switch' of undefined
下午4:21 components/system_log/__init__.py (ERROR)
http://192.168.0.54:8123/local/c ... om-ui.html:239:3174 Uncaught TypeError: Cannot read property 'switch' of undefined
下午4:21 components/system_log/__init__.py (ERROR)
http://192.168.0.54:8123/local/c ... om-ui.html:239:3174 Uncaught TypeError: Cannot read property 'switch' of undefined
下午4:21 components/system_log/__init__.py (ERROR)
http://192.168.0.54:8123/local/c ... om-ui.html:239:3174 Uncaught TypeError: Cannot read property 'switch' of undefined
下午4:21 components/system_log/__init__.py (ERROR)
http://192.168.0.54:8123/local/c ... om-ui.html:239:3174 Uncaught TypeError: Cannot read property 'switch' of undefined
下午4:21 components/system_log/__init__.py (ERROR)
http://192.168.0.54:8123/local/c ... om-ui.html:239:3174 Uncaught TypeError: Cannot read property 'switch' of undefined
下午4:21 components/system_log/__init__.py (ERROR)
http://192.168.0.54:8123/local/c ... om-ui.html:239:3174 Uncaught TypeError: Cannot read property 'switch' of undefined
下午4:21 components/system_log/__init__.py (ERROR)
http://192.168.0.54:8123/local/c ... om-ui.html:239:3174 Uncaught TypeError: Cannot read property 'switch' of undefined
下午4:21 components/system_log/__init__.py (ERROR)
http://192.168.0.54:8123/local/c ... om-ui.html:239:3174 Uncaught TypeError: Cannot read property 'switch' of undefined
下午4:21 components/system_log/__init__.py (ERROR)
http://192.168.0.54:8123/local/c ... om-ui.html:239:3174 Uncaught TypeError: Cannot read property 'switch' of undefined
下午4:21 components/system_log/__init__.py (ERROR)
http://192.168.0.54:8123/local/c ... om-ui.html:239:3174 Uncaught TypeError: Cannot read property 'switch' of undefined
下午4:21 components/system_log/__init__.py (ERROR)
http://192.168.0.54:8123/local/c ... om-ui.html:239:3174 Uncaught TypeError: Cannot read property 'switch' of undefined
下午4:21 components/system_log/__init__.py (ERROR)
http://192.168.0.54:8123/local/c ... om-ui.html:239:3174 Uncaught TypeError: Cannot read property 'switch' of undefined
下午4:21 components/system_log/__init__.py (ERROR)
http://192.168.0.54:8123/local/c ... om-ui.html:239:3174 Uncaught TypeError: Cannot read property 'switch' of undefined
下午4:21 components/system_log/__init__.py (ERROR)
http://192.168.0.54:8123/local/c ... om-ui.html:239:3174 Uncaught TypeError: Cannot read property 'switch' of undefined
下午4:21 components/system_log/__init__.py (ERROR)


一大堆错误~~
回复

使用道具 举报

5

主题

116

帖子

887

积分

高级会员

Rank: 4

积分
887
金钱
766
HASS币
0
发表于 2018-11-22 22:28:18 | 显示全部楼层
我也碰到过在EMMC完全没有问题,改到USB的硬盘上就各种奇葩错误。
肯定不是权限问题。
没搞定放弃了。
回复

使用道具 举报

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

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-5-21 00:29 , Processed in 0.050536 second(s), 28 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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