从源代码运行时出现Mender.io错误?

时间:2018-01-10 12:05:42

标签: raspberry-pi3 imx6

我想让Mender.io正常工作,这是一个远程更新系统。 我只是想看到设备出现在服务器上,不知何故那不会发生。 我在apalis imx6上从源代码安装了mender,我试图运行它: mender -daemon

它启动正常,然后给我以下错误:

INFO[0180] State transition: check-wait [Idle] -> inventory-update [Sync]  module=mender
ERRO[0180] Cannot determine current artifact. Update will continue anyways: /var/lib/mender/device_type : open /etc/mender/artifact_info: no such file or directory  module=mender
ERRO[0180] failed to submit inventory data: x509: certificate signed by unknown authority (possibly because of "x509: ECDSA verification failure" while trying to verify candidate authority certificate "docker.mender.io")  module=client_inventory
WARN[0180] failed to refresh inventory: failed to submit inventory data: inventory submit failed: x509: certificate signed by unknown authority (possibly because of "x509: ECDSA verification failure" while trying to verify candidate authority certificate "docker.mender.io")  module=state
INFO[0180] State transition: inventory-update [Sync] -> check-wait [Idle]  module=mender
INFO[0180] State transition: check-wait [Idle] -> update-check [Sync]  module=mender
ERRO[0180] could not get the current artifact name       module=mender
ERRO[0180] Error receiving scheduled update data: update check request failed: Get https://docker.mender.io//api/devices/v1/deployments/device/deployments/next: x509: certificate signed by unknown authority (possibly because of "x509: ECDSA verification failure" while trying to verify candidate authority certificate "docker.mender.io")  module=mender
ERRO[0180] update check failed: transient error: update check request failed: Get https://docker.mender.io//api/devices/v1/deployments/device/deployments/next: x509: certificate signed by unknown authority (possibly because of "x509: ECDSA verification failure" while trying to verify candidate authority certificate "docker.mender.io")  module=state
INFO[0180] State transition: update-check [Sync] -> error [Error]  module=mender
INFO[0180] handling error state, current error: transient error: update check request failed: Get https://docker.mender.io//api/devices/v1/deployments/device/deployments/next: x509: certificate signed by unknown authority (possibly because of "x509: ECDSA verification failure" while trying to verify candidate authority certificate "docker.mender.io") 

我添加了使用etc / mender / server.crt中提供的keygen生成的证书,并使用./up启动了docker服务器 我也没有在设备下看到我的设备。

我还能做什么?

0 个答案:

没有答案