question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can't find xxx/yyy-amd64 for cleanup

See original GitHub issue

Home Assistant release with the issue:

HA 0.97.2 (doesn’t really matter) Supervisor release with the issue 174+

Operating environment (HassOS/Generic):

Hass.io on Ubuntu Server

Supervisor logs:

19-08-17 09:40:39 INFO (SyncWorker_7) [hassio.docker.interface] Update image hassioaddons/ssh-amd64:v6.3.0 to hassioaddons/ssh-amd64:6.3.1
19-08-17 09:40:39 INFO (SyncWorker_7) [hassio.docker.interface] Pull image hassioaddons/ssh-amd64 tag 6.3.1.
19-08-17 09:40:48 INFO (SyncWorker_3) [hassio.docker.interface] Update image hassioaddons/vscode-amd64:v0.6.2 to hassioaddons/vscode-amd64:0.6.3
19-08-17 09:40:48 INFO (SyncWorker_3) [hassio.docker.interface] Pull image hassioaddons/vscode-amd64 tag 0.6.3.
19-08-17 09:42:12 INFO (SyncWorker_7) [hassio.docker.interface] Stop addon_a0d7b954_ssh application
19-08-17 09:42:13 INFO (SyncWorker_7) [hassio.docker.interface] Clean addon_a0d7b954_ssh application
19-08-17 09:42:13 WARNING (SyncWorker_4) [hassio.docker.interface] Can't find hassioaddons/ssh-amd64 for cleanup
19-08-17 09:42:13 INFO (MainThread) [hassio.addons] Add-on 'a0d7b954_ssh' successfully updated
19-08-17 09:42:13 WARNING (SyncWorker_17) [hassio.docker.addon] SSH & Web Terminal run with disabled protected mode!
19-08-17 09:42:14 INFO (SyncWorker_17) [hassio.docker.addon] Start Docker add-on hassioaddons/ssh-amd64 with version v6.3.1
19-08-17 09:42:14 INFO (MainThread) [hassio.api.security] /host/info access from a0d7b954_ssh
19-08-17 09:42:21 INFO (SyncWorker_3) [hassio.docker.interface] Stop addon_a0d7b954_vscode application
19-08-17 09:42:27 INFO (SyncWorker_3) [hassio.docker.interface] Clean addon_a0d7b954_vscode application
19-08-17 09:42:27 WARNING (SyncWorker_22) [hassio.docker.interface] Can't find hassioaddons/vscode-amd64 for cleanup
19-08-17 09:42:27 INFO (MainThread) [hassio.addons] Add-on 'a0d7b954_vscode' successfully updated
19-08-17 09:42:28 INFO (SyncWorker_20) [hassio.docker.addon] Start Docker add-on hassioaddons/vscode-amd64 with version v0.6.3
19-08-17 09:42:28 INFO (MainThread) [hassio.api.security] /host/info access from a0d7b954_vscode

Description of problem: Getting cleanup warnings after updating add-ons, haven’t noticed before 174 and up. Checked portainer and sure enought the old images were still present (manually removed them there)

PS saw some other strange things while in Portainer: image Latest version not tagged as latest but the previous version still is (which isn’t cleaned up either).

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
frenckcommented, Aug 20, 2019

So this can be narrowed down now to the Community Add-ons.

Thanks for reporting @tjorim, I’ve adjusted the CI/CD of the Community Add-ons to take this into account:

https://github.com/hassio-addons/organization/commit/16923b2404d7bb452793442deb023d4f81450892

It will take a least 2 releases for each add-on to have an impact though.

1reaction
frenckcommented, Aug 17, 2019

ooh god, it is from the meta labels… 😧

@pvizeli Why do we rely on meta labels at that point? What if an add-on doesn’t provide those?

Ref: hassio/docker/interface.py

    @property
    def version(self) -> Optional[str]:
        """Return version of Docker image."""
        return self.meta_labels.get(LABEL_VERSION)
Read more comments on GitHub >

github_iconTop Results From Across the Web

No results found

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found