0

我正在尝试让 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 服务器我也没有在设备下看到我的设备。

我还能做什么?

4

0 回答 0