[BETA] Hubitat Package Manager

I'm sure that the log is error, no log is created.

I found a solution to this problem:
In hub detail:

I found that the time was not right(now it was corrected.):

And after I updated the hub time. The HPM loaded successfully!

Now here is still a problem:

How to deal with it? Part of the update was successful.Part of the update failed。

You’re unable to connect to GitHub. This is likely an error with your router or firewall not HPM. Unfortunately there isn’t really much I can do. You need to figure out why you cannot connect to the url in those logs.

2 Likes

Thanks! I also think it may be a network problem, because I often fail to access GitHub through a browser or Git.

@dman2306 spotted this in my logs

app:1872021-08-04 12:24:16.066 pm errorFound a bad manifest https://raw.githubusercontent.com/sab0276/Hubitat/main/packageManifest.json. Please notify the package developer.

You should contact @scottbarton76 in this thread. It looks like there is an errant comma in the packageManifest.json at the end of this line:

"name": "Virtual Switch uDTH Super",
					"namespace": "sab0276"
				},
4 Likes

Thank you! Was trying to figure out why my package wasn't working. First time adding anything to HPM.
Works now!

4 Likes

I know the feeling. I have broken mine several times. Now I use this online parser to sanity check any of my manual edits before submitting: http://json.parser.online.fr/

2 Likes

Glad I happened to catch it and it helped.

2 Likes

@thebearmay @dman2306 getting this from HPM when update happening with information driver

1 Like

Looks like a github server error. May want to retry in 30-45 minutes to see if they’ve resolved it.

1 Like

@dman2306 Potential bug with failed updates. @bptworld This involves your presence update. I recorded what my procedure was so you can get a better idea of where/when it's happening. As you can see in the video it just pukes and no specific error for HPM is shown only the fatal error for the update.

https://lafacemcgovern-my.sharepoint.com/:v:/g/personal/it_laface-mcgovern_com/EZ0UJCcL5wpHqlpiBkU70jABVrEfk96EfU84UpMyB3tNuw?e=KKViMZ

It looks like you need this library: #include BPTWorld.bpt-normalStuff

@bptworld, maybe you meant to post the version of this with that code already inserted?

Sorry about that. Should work now. :wink:

1 Like

Hope @dman2306 can use it to wrangle the crashing...

Are there any steps on setting up a beta version of a package?

I think I can get the idea from a previous conversation with Markus in this thread and by looking at some examples from the Smartly Injector, but thought I'd check so I didn't miss anything.

Thanks,
Simon

Just bumping this on the original thread @dman2306

Same issue I encountered today - UI is blank. :thinking:

1 Like

Ditto.

This crashes for me each time I run it. It says the user name and password for the Hubitat is incorrect. I entered it twice to make sure it is correct.

Here is the log info:
app:1662021-08-19 05:49:06.542 pm debugprefPkgMatchUp

app:1662021-08-19 05:49:05.768 pm debugRefreshing repository list

app:1662021-08-19 05:48:38.411 pm debugRefreshing repository list

app:1662021-08-19 05:48:31.845 pm debugInstalling HPM Manifest

app:1662021-08-19 05:48:31.658 pm debugGrabbing list of installed apps

app:1662021-08-19 05:48:30.979 pm debugRefreshing repository list

app:1662021-08-19 05:48:30.978 pm debugConverted update mode to Never

app:1662021-08-19 05:48:30.967 pm debugMigrating auto updater mode

app:1662021-08-19 05:48:30.955 pm debugAdding GitHub and PayPal URLs to manifests...

app:1662021-08-19 05:48:30.738 pm debugStoring repository listing in state