Package update failures, but repair works

I've been seeing update failures on a package in HPM that will fail repeatedly, with the logged error showing a server error, possibly from the github retrieval? Then a reinstall works fine.

This issue has repeated several times over the last month, seemingly only with this package, though admittedly it gets updated more often than most. The author @mavrrick58 suggested I ping the HPM support folks for ideas.

Unable to duplicate. I successfully installed Govee v2 and selected only the Manual LAN API device. 21 json files are installed and all of it worked, BUT I am using the latest HPM v1.9.4 (released a week ago) that uses a better method of pushing Files to the Hub.

On the other hand, an HTTP error of 500 is a Server Error produced at the Github end. Recently, someone else found that the file type on Github was affecting a file install, truncating the file early.

Install Logs
app:1222 2025-12-09 07:51:58.163 PM info Installing https://raw.githubusercontent.com/Mavrrick/Hubitat-by-Mavrrick/refs/heads/main/Govee/Lan_Scene_Files/GoveeLanScenes_Y_Light.json
app:1222 2025-12-09 07:51:58.147 PM info Installing https://raw.githubusercontent.com/Mavrrick/Hubitat-by-Mavrrick/main/Govee/Lan_Scene_Files/GoveeLanScenes_Wall_Sconce.json
app:1222 2025-12-09 07:51:58.134 PM info Installing https://raw.githubusercontent.com/Mavrrick/Hubitat-by-Mavrrick/refs/heads/main/Govee/Lan_Scene_Files/GoveeLanScenes_TV_Light_Bar.json
app:1222 2025-12-09 07:51:58.120 PM info Installing https://raw.githubusercontent.com/Mavrrick/Hubitat-by-Mavrrick/main/Govee/Lan_Scene_Files/GoveeLanScenes_Outdoor_Wall_Light.json
app:1222 2025-12-09 07:51:58.106 PM info Installing https://raw.githubusercontent.com/Mavrrick/Hubitat-by-Mavrrick/main/Govee/Lan_Scene_Files/GoveeLanScenes_XMAS_Light.json
app:1222 2025-12-09 07:51:58.088 PM info Installing https://raw.githubusercontent.com/Mavrrick/Hubitat-by-Mavrrick/main/Govee/Lan_Scene_Files/GoveeLanScenes_Wall_Light_Bar.json
app:1222 2025-12-09 07:51:58.074 PM info Installing https://raw.githubusercontent.com/Mavrrick/Hubitat-by-Mavrrick/main/Govee/Lan_Scene_Files/GoveeLanScenes_Table_Lamp_2.json
app:1222 2025-12-09 07:51:58.059 PM info Installing https://raw.githubusercontent.com/Mavrrick/Hubitat-by-Mavrrick/main/Govee/Lan_Scene_Files/GoveeLanScenes_Table_Lamp.json
app:1222 2025-12-09 07:51:58.049 PM info Installing https://raw.githubusercontent.com/Mavrrick/Hubitat-by-Mavrrick/main/Govee/Lan_Scene_Files/GoveeLanScenes_RGBIC_Strip.json
app:1222 2025-12-09 07:51:58.039 PM info Installing https://raw.githubusercontent.com/Mavrrick/Hubitat-by-Mavrrick/main/Govee/Lan_Scene_Files/GoveeLanScenes_Outdoor_String_Light.json
app:1222 2025-12-09 07:51:58.029 PM info Installing https://raw.githubusercontent.com/Mavrrick/Hubitat-by-Mavrrick/main/Govee/Lan_Scene_Files/GoveeLanScenes_Outdoor_Pod_Light.json
app:1222 2025-12-09 07:51:58.019 PM info Installing https://raw.githubusercontent.com/Mavrrick/Hubitat-by-Mavrrick/main/Govee/Lan_Scene_Files/GoveeLanScenes_Outdoor_Perm_Light.json
app:1222 2025-12-09 07:51:58.009 PM info Installing https://raw.githubusercontent.com/Mavrrick/Hubitat-by-Mavrrick/main/Govee/Lan_Scene_Files/GoveeLanScenes_Outdoor_Flood_Light.json
app:1222 2025-12-09 07:51:57.999 PM info Installing https://raw.githubusercontent.com/Mavrrick/Hubitat-by-Mavrrick/main/Govee/Lan_Scene_Files/GoveeLanScenes_Lyra_Pro.json
app:1222 2025-12-09 07:51:57.990 PM info Installing https://raw.githubusercontent.com/Mavrrick/Hubitat-by-Mavrrick/main/Govee/Lan_Scene_Files/GoveeLanScenes_Lyra_Lamp.json
app:1222 2025-12-09 07:51:57.980 PM info Installing https://raw.githubusercontent.com/Mavrrick/Hubitat-by-Mavrrick/main/Govee/Lan_Scene_Files/GoveeLanScenes_Indoor_Pod_Lights.json
app:1222 2025-12-09 07:51:57.971 PM info Installing https://raw.githubusercontent.com/Mavrrick/Hubitat-by-Mavrrick/main/Govee/Lan_Scene_Files/GoveeLanScenes_Galaxy_Projector.json
app:1222 2025-12-09 07:51:57.962 PM info Installing https://raw.githubusercontent.com/Mavrrick/Hubitat-by-Mavrrick/main/Govee/Lan_Scene_Files/GoveeLanScenes_Cylinder_Lamp.json
app:1222 2025-12-09 07:51:57.953 PM info Installing https://raw.githubusercontent.com/Mavrrick/Hubitat-by-Mavrrick/main/Govee/Lan_Scene_Files/GoveeLanScenes_Curtain_Light.json
app:1222 2025-12-09 07:51:57.944 PM info Installing https://raw.githubusercontent.com/Mavrrick/Hubitat-by-Mavrrick/main/Govee/Lan_Scene_Files/GoveeLanScenes_Hexa_Light.json
app:1222 2025-12-09 07:51:57.848 PM info Installing https://raw.githubusercontent.com/Mavrrick/Hubitat-by-Mavrrick/main/Govee/Lan_Scene_Files/GoveeLanScenes_Basic_Lamp.json
app:1222 2025-12-09 07:51:45.559 PM info Installing Govee Manual LAN API Device
app:1222 2025-12-09 07:51:32.773 PM info Installing Govee v2 Life Child Light Device
app:1222 2025-12-09 07:51:16.675 PM info Installing Govee v2 Device Manager
app:1222 2025-12-09 07:51:01.653 PM info Installing Govee Integration v2
app:1222 2025-12-09 07:50:59.336 PM info Installing Govee_Integration_v2.zip
app:1222 2025-12-09 07:50:58.990 PM info Downloading Govee Manual LAN API Device
app:1222 2025-12-09 07:50:58.639 PM info Downloading Govee v2 Life Child Light Device
app:1222 2025-12-09 07:50:58.306 PM info Downloading Govee v2 Device Manager
app:1222 2025-12-09 07:50:57.687 PM info Downloading Govee Integration v2
app:1222 2025-12-09 07:50:57.549 PM info Downloading https://raw.githubusercontent.com/Mavrrick/Hubitat-by-Mavrrick/refs/heads/main/Govee/Lan_Scene_Files/GoveeLanScenes_Y_Light.json
app:1222 2025-12-09 07:50:57.368 PM info Downloading https://raw.githubusercontent.com/Mavrrick/Hubitat-by-Mavrrick/main/Govee/Lan_Scene_Files/GoveeLanScenes_Wall_Sconce.json
app:1222 2025-12-09 07:50:57.229 PM info Downloading https://raw.githubusercontent.com/Mavrrick/Hubitat-by-Mavrrick/refs/heads/main/Govee/Lan_Scene_Files/GoveeLanScenes_TV_Light_Bar.json
app:1222 2025-12-09 07:50:57.104 PM info Downloading https://raw.githubusercontent.com/Mavrrick/Hubitat-by-Mavrrick/main/Govee/Lan_Scene_Files/GoveeLanScenes_Outdoor_Wall_Light.json
app:1222 2025-12-09 07:50:56.906 PM info Downloading https://raw.githubusercontent.com/Mavrrick/Hubitat-by-Mavrrick/main/Govee/Lan_Scene_Files/GoveeLanScenes_XMAS_Light.json
app:1222 2025-12-09 07:50:56.738 PM info Downloading https://raw.githubusercontent.com/Mavrrick/Hubitat-by-Mavrrick/main/Govee/Lan_Scene_Files/GoveeLanScenes_Wall_Light_Bar.json
app:1222 2025-12-09 07:50:56.599 PM info Downloading https://raw.githubusercontent.com/Mavrrick/Hubitat-by-Mavrrick/main/Govee/Lan_Scene_Files/GoveeLanScenes_Table_Lamp_2.json
app:1222 2025-12-09 07:50:56.444 PM info Downloading https://raw.githubusercontent.com/Mavrrick/Hubitat-by-Mavrrick/main/Govee/Lan_Scene_Files/GoveeLanScenes_Table_Lamp.json
app:1222 2025-12-09 07:50:56.317 PM info Downloading https://raw.githubusercontent.com/Mavrrick/Hubitat-by-Mavrrick/main/Govee/Lan_Scene_Files/GoveeLanScenes_RGBIC_Strip.json
app:1222 2025-12-09 07:50:56.174 PM info Downloading https://raw.githubusercontent.com/Mavrrick/Hubitat-by-Mavrrick/main/Govee/Lan_Scene_Files/GoveeLanScenes_Outdoor_String_Light.json
app:1222 2025-12-09 07:50:56.006 PM info Downloading https://raw.githubusercontent.com/Mavrrick/Hubitat-by-Mavrrick/main/Govee/Lan_Scene_Files/GoveeLanScenes_Outdoor_Pod_Light.json
app:1222 2025-12-09 07:50:55.848 PM info Downloading https://raw.githubusercontent.com/Mavrrick/Hubitat-by-Mavrrick/main/Govee/Lan_Scene_Files/GoveeLanScenes_Outdoor_Perm_Light.json
app:1222 2025-12-09 07:50:55.676 PM info Downloading https://raw.githubusercontent.com/Mavrrick/Hubitat-by-Mavrrick/main/Govee/Lan_Scene_Files/GoveeLanScenes_Outdoor_Flood_Light.json
app:1222 2025-12-09 07:50:55.532 PM info Downloading https://raw.githubusercontent.com/Mavrrick/Hubitat-by-Mavrrick/main/Govee/Lan_Scene_Files/GoveeLanScenes_Lyra_Pro.json
app:1222 2025-12-09 07:50:55.393 PM info Downloading https://raw.githubusercontent.com/Mavrrick/Hubitat-by-Mavrrick/main/Govee/Lan_Scene_Files/GoveeLanScenes_Lyra_Lamp.json
app:1222 2025-12-09 07:50:55.265 PM info Downloading https://raw.githubusercontent.com/Mavrrick/Hubitat-by-Mavrrick/main/Govee/Lan_Scene_Files/GoveeLanScenes_Indoor_Pod_Lights.json
app:1222 2025-12-09 07:50:55.113 PM info Downloading https://raw.githubusercontent.com/Mavrrick/Hubitat-by-Mavrrick/main/Govee/Lan_Scene_Files/GoveeLanScenes_Galaxy_Projector.json
app:1222 2025-12-09 07:50:54.981 PM info Downloading https://raw.githubusercontent.com/Mavrrick/Hubitat-by-Mavrrick/main/Govee/Lan_Scene_Files/GoveeLanScenes_Cylinder_Lamp.json
app:1222 2025-12-09 07:50:54.850 PM info Downloading https://raw.githubusercontent.com/Mavrrick/Hubitat-by-Mavrrick/main/Govee/Lan_Scene_Files/GoveeLanScenes_Curtain_Light.json
app:1222 2025-12-09 07:50:54.732 PM info Downloading https://raw.githubusercontent.com/Mavrrick/Hubitat-by-Mavrrick/main/Govee/Lan_Scene_Files/GoveeLanScenes_Hexa_Light.json
app:1222 2025-12-09 07:50:54.599 PM info Downloading https://raw.githubusercontent.com/Mavrrick/Hubitat-by-Mavrrick/main/Govee/Lan_Scene_Files/GoveeLanScenes_Basic_Lamp.json
app:1222 2025-12-09 07:50:54.212 PM debug Install beginning
app:1222 2025-12-09 07:50:54.208 PM debug prefInstall
app:1222 2025-12-09 07:50:51.949 PM debug prefInstallVerify
2 Likes

Where there any comments made about how to handle what was found with the file types or is this just a issue with Github?

"" I accidentally changed the file format from "UTF-8" to "UTF-8 w/ BOM" and HPM was choking on it. ""

:smiley:

Ok so i don't think that is anything i am doing. The driver files are saved off from Hubitat itself as a large bundle and then unzipped and uploaded to hubitat. The json files are raw text files stored from Notepad++ as text files and they haven't been changed for a very long time at this point.

Thanks for the info @csteele

1 Like

Is there any difference in the way an update works or what it fetches, vs a repair? Or are they literally doing the same git pull on the same file in the same repo?

Same files.