[RELEASE] Hubitat Package Manager (HPM) -- HubitatCommunity

I've been seeing the following error in my logs. It doesnt seem to be causing any problems...but I've not noted it before:

2024-08-31 08:19:44.825 PM[error] Unable to get the app ID of the package manager

S.

did you erase the App code?

Screenshot 2024-08-31 at 5.44.33 PM

Good question, but negative. The App code on both hubs where I've noted this behavior look good. The code looks complete with a brace on line 3861.

Definitely something on my end though, a third hub shows no errors.

S

Is it an old version of HPM? Hubitat changed the way the App Code screen looked almost a year ago and that meant an upgrade to HPM before doing the Platform upgrade. The current version is 1.9.3

The current version is displayed in the upper right corner of HPM:

Screenshot 2024-08-31 at 7.31.39 PM

4 Likes

I must admit, with no small amount of embarrassment, that was it!

100% operator error!

Both of the hubs had versions that were right at the beginning of the changelog. 1.8.2 or 1.8.3.

I guess since it ;"just worked" I never had cause to reimport!

Thanks @csteele!

It's a Topic that made it to the release notes for v2.3.6 in September of '23.

which links to a how-to Topic:

USING a version of HPM that can't find the app list will cause duplicate apps to be installed. There's also a Topic about duplicate HPM apps in Apps Code:

If you didn't USE HPM during the mismatch, then updating HPM is all that's needed.

I think a lot of people got caught because breaking changes on Hubitat are very rare. That encourages people to upgrade without reading the release notes with an eye for upgrade order. :smiley:

6 Likes

upgrade without reading the release notes with an eye for upgrade order.

Guilty as charged! Although, interestingly, I never encountered duplicate apps, or really any other issues at all. Except of course the one error noted. Just lucky I guess.

S

1 Like

@csteele

When are you going to give yourself some credit for HPM? I am sure everyone here thinks 100% you have earned it.

6 Likes

I can't say enough about the excellent code Dominic left behind. My improvements have still, in my opinion, not reached 10% of the code he handed to us all. When I get to 20%, I'll add my name :smiley: I'm talking features/improvements, not simply line count.

18 Likes

Shoot... @csteele you really need to just bite the bullet and at least put your name in there too.. HPM is a fantastic tool, but you have kept it going and made it even better..

12 Likes