"Package not found" error when trying to load an uninstalled package

I'm troubleshooting why my habitat supervisor isn't updating to the latest version of my packages and I think this problem might have something to do with it.

I'm running the supervisor as a systemd service per these instructions Running Chef Habitat on Servers (Linux and Windows)

The docs here specify that "If an installed package doesn’t satisfy the given package identifier, a suitable package will be installed from Builder"

When I try and load an uninstalled service it gives me a package not found error:

$ sudo hab svc load myorg/mypkg
» Installing myorg/mypkg
☁ Determining latest version of myorg/mypkg in the 'stable' channel
✗✗✗
✗✗✗ [Err: 0] Package not found. 
✗✗✗

$ sudo hab svc load myorg/mypkg --channel stage
» Installing myorg/mypkg
☁ Determining latest version of myorg/mypkg in the 'stage' channel
✗✗✗
✗✗✗ [Err: 0] Package not found. 
✗✗✗

Here's the logs:

hab-sup(MR): core/hab-sup (core/hab-sup/1.6.319/20210512014248)
hab-sup(MR): Starting gossip-listener on 0.0.0.0:9638
hab-sup(MR): Starting ctl-gateway on 127.0.0.1:9632
hab-sup(MR): Starting http-gateway on 0.0.0.0:9631
hab-sup(AG): » Installing myorg/mypkg
hab-sup(AG): ☁ Determining latest version of myorg/mypkg in the 'stable' channel
hab-sup(AG): » Installing myorg/mypkg
hab-sup(AG): ☁ Determining latest version of myorg/mypkg in the 'stage' channel
hab-sup(AG): » Installing myorg/mypkg
hab-sup(AG): ☁ Determining latest version of myorg/mypkg in the 'stage' channel

When I run a normal hab pkg install on my package it works as expected but it should install this package when I run hab svc load, correct?

Running on the latest version of habitat 1.6.319

This topic was automatically closed after 10 days. New replies are no longer allowed.