Freshly installed HassOS: Unable to install add-ons

I’ve been getting errors for as long as I can remember when trying certain SSH commands like “hassio host reboot” (would give me “ERROR”), and after some troubleshooting I realized that “hassio ho info” gave an array of mostly nulls - leading me to conclude that I should probably reinstall. So I grabbed the latest Hass.io image (32-bit) and followed the installation procedure.

In the process, I imported a snapshot I exported just before reflashing the SD card. It’s worth noting that the snapshot was saved from and loaded to the same version of Home Assistant (0.79.3). I very soon realized that the snapshot didn’t include my one custom add-on (zigbee2mqtt), so I went to install it manually. That didn’t work, though, and neither did installing official add-ons. Here’s an example log entry from when I tried to install the CEC Scanner add-on:

18-10-07 20:16:17 INFO (MainThread) [hassio.addons.addon] Create Home Assistant add-on data folder /data/addons/data/core_cec_scan 18-10-07 20:16:17 INFO (SyncWorker_11) [hassio.docker.interface] Pull image homeassistant/armhf-addon-cec_scan tag 0.2. 18-10-07 20:16:18 ERROR (SyncWorker_11) [hassio.docker.interface] Can't install homeassistant/armhf-addon-cec_scan:0.2 -> 500 Server Error: Internal Server Error ("Get https://registry-1.docker.io/v2/: dial tcp: lookup registry-1.docker.io on [::1]:53: read udp [::1]:39040->[::1]:53: read: connection refused").

I should also mention that the date here is actually wrong. These log entries were logged today (18-10-08) around 11:35 local time. My best explanation for this is that the Pi was offline all night after I misconfigured the DNS (using CONFIG USB) and thought I had to reflash. It’s plausible that it went offline around 22:15 and there may have been a 2 hour offset (a timezone thing?) then. Not sure why it hasn’t caught up though.

Anyway - today I fixed the network file and booted with the CONFIG USB mounted - which fixed my network problem. I didn’t include any DNS configuration this time, and I’m certain that the Pi is online since Home Assistant consistently updates states that depend on an Internet connection.

Just thought I’d mention the DNS struggle since it’s the only unusual stuff that has been going on since I reflashed. It’s fixed now like I said, and so I have no clue what could be causing the errors I’m getting.

Any ideas?