Symptoms
You have Acronis Backup 12.5 Update 2 (or above) Agent for Linux installed on a Linux machine. You want to update this agent and click Check for updates. You get this error:
No connection to the update server.
In logs, you see many records like:
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
Solution
1. Update CA certificates.
On Debian or Ubuntu operating systems:
apt-get install ca-certificates
On Red Hat or CentOS:
yum install ca-certificates
2. Reboot the machine.