问题现象
您在一台 Linux 机器上安装了 Acronis Cyber Backup 12.5 Update 2(或以上)Linux 代理程序,您想更新该代理程序并单击 "检查更新",出现以下错误:
中文提示:
没有连接到更新服务器。
英文提示:
No connection to the update server.
在日志中,你看到许多记录,如:
中文日志:
2017-11-03 11:21:50.843 [E] 获取文档失败
module=UpdateService source=https://download.acronis.com/ab_available_updates.json error="Get https://download.acronis.com/ab_available_updates.json: x509: failed to load system roots and no roots provided" caller=update.go:136调用者=update.go:136
2017-11-03 11:31:49.299 [E] DB查询失败
query="SELECT refreshed_at FROM update_subject WHERE id = ? ;" args=ab_full err="sql: no rows in result set" caller=db_logger.go:93 caller=db_logger.go:93
英文日志:
2017-11-03 11:21:50.843 [E] Failed to get document
module=UpdateService source=https://download.acronis.com/ab_available_updates.json error="Get https://download.acronis.com/ab_available_updates.json: x509: failed to load system roots and no roots provided" caller=update.go:136 caller=update.go:136
2017-11-03 11:31:49.299 [E] DB query failed
query="SELECT refreshed_at FROM update_subject WHERE id = ? ;" args=ab_full err="sql: no rows in result set" caller=db_logger.go:93 caller=db_logger.go:93
解决方案
更新CA证书。
在 Debian 或 Ubuntu 操作系统上:apt-get install ca-certificates
在红帽或CentOS操作系统上:
yum install ca-certificates
重启系统。