webCoRE for Hubitat Updates

Hello,

The update from 1.0.76 to 1.0.77 keeps getting stuck on Updating Piston and shows Fatal Error and rolling back. HPM then finishes with an error. I'll post a screen shots as I'm trying again.

What am I doing wrong or what do I need to get this to Update?


All,

I deleted some Local Back-Ups (I assume these use memory on my hub). Then used the HPM Repair Feature for WebCore and it seems to have loaded fine.

Any thoughts?

Thanks,

John

I would be sure you hub firmware is up to date.

You can reboot before running the HPM update and let the hub settle.

Without seeing some logs, hard to guess what is going on.

I am up to date on the platform updates. I tried updating webCoRE with HPM twice. The first time it failed while updating 'piston'. I did nothing between the first and second update attempts. The second pass was completed without error.

Edit: Adding Log entries related to the above (app 417 is HPM):

I'm having the same issue upgrading with HPM from version 1.0.75 to 1.0.77. (C8 Hub on firmware version 2.3.5.130. The error occured on the previous version of the firmware as well).

HPM ends with the following error:
Error Occurred During Installation
An error occurred while installing the package: Failed to upgrade app https://raw.githubusercontent.com/imnotbob/webCoRE/hubitat-patches/smartapps/ady624/webcore-piston.src/webcore-piston.groovy. Be sure the package is not in use with devices.

And in the logs:
app:702023-04-27 16:36:59.124infoFatal error occurred, rolling back
app:702023-04-27 16:36:59.117errorError upgrading app: java.net.SocketTimeoutException: Read timed out
app:702023-04-27 16:31:58.711infoUpgrading webCoRE Piston
app:702023-04-27 16:29:33.519infoUpgrading webCoRE
app:702023-04-27 16:29:32.901infoDownloading webCoRE Storage
app:702023-04-27 16:29:32.319infoDownloading webCoRE Piston
app:702023-04-27 16:29:31.803infoDownloading webCoRE
app:702023-04-27 16:29:31.366infoDownloading https://raw.githubusercontent.com/imnotbob/webCoRE/hubitat-patches/resources/files/WeatherTile2.css
app:702023-04-27 16:29:30.934infoDownloading https://raw.githubusercontent.com/imnotbob/webCoRE/hubitat-patches/resources/files/WeatherTile2.js
app:702023-04-27 16:29:30.470infoDownloading https://raw.githubusercontent.com/imnotbob/webCoRE/hubitat-patches/resources/files/WeatherTile.js
app:702023-04-27 16:29:30.016infoDownloading https://raw.githubusercontent.com/imnotbob/webCoRE/hubitat-patches/resources/files/HubiGraph.js
app:702023-04-27 16:29:29.432debugPerforming update
app:702023-04-27 16:29:27.279debugprefPkgVerifyUpdates

I've even tried to soft reset the hub - still experiencing the same issue after the restore when trying to update webCoRE.

Thank you.

you can try to save the file(s) individually.

The log shown above suggests HPM had a problem downloading from git (ie sounds like a network error)

In short I have not seen this issue and sounds like a networking problem that HPM is having

Thanks for the response. I don't know how to save the files individually, but I'm sure I'll be able to figure it out. (In case it might be essential to know - I've tried upgrading over a period of 3 days, getting the same error. In between, I did the soft reset of the hub.)

Just FYI: I tried to repair the webCoRE installation with HPM and received this error after about 20 minutes:
Error Occurred During Installation
An error occurred while installing the package: Failed to upgrade app https://raw.githubusercontent.com/imnotbob/webCoRE/hubitat-patches/smartapps/ady624/webcore-piston.src/webcore-piston.groovy. Please notify the package developer..

Be sure the package is not in use with devices.

@nh.schottfam I'm currently not able to access "Register a browser" on PC and mobile on the local network, it's saying something about a certificate error?

Edit, managed to fix it on PC by deleting site data, still cant access on Firefox mobile..

There is a new version of webCoRE today with various fixes:

  • fuel stream NP fixes and cleanups

  • timegraph improvements (thx @tj4293)

  • http arguments fix

  • fixes for 'was' handling

  • Improved attribute options for device variables and allow choosing attributes available to a subset of devices (thx @ipaterson ! )

  • fix for user of statement restrictions on every statements

  • cleanups and optimizations

Should get into firmware in upcoming release for built-in users

I just wanted to define a device variable in one piston but no "Physical Device menu" is shown in the dedicated pop up menu (see shot below). Workaround for me was to play around a little bit until the menu shows up again.

Behavior was different in the past.

Did someone notice this too?
Running webCoRE local on a Raspberry Pi and using webCoRE version via HPM. Latest version from HPM. Need I update Raspberry Pi again?

Thanks

are you sure you pi files are up to date?

I just tried this with staging, and it seems to work for me....

@ipaterson - note the "Physical device(s)" twice...

will check the pi files and will let you know.

Updated my pi files today to the latest but still same issue, no Physical devices to define Device Variable :frowning:

If you use staging, what do you see?

Can I easily change to staging? Never used before.
If I tinker a bit with the different "Initial values" I end up with at the point seeing Physical Devices twice. But the behavior is different than before

How can I change to staging?

same behavior at staging

I suggest you try these instructions:

I can't figure out how to turn off logging. In the WebCore Hubitat App I have:

image

The setting on the piston in Hubitat is:

image

In the test page, I have the following. Note that you see informational log messages in the test page and I don't want them.

image

and the log messages are showing up in the hubitat logs. See:

Any ideas??

Currently didn't get it back to normal on my ChromeOS but tried on two different browers and there it looks much better. So I can confirm it's a browser issue. Tried to sign out and in again, cleared cache and cookies. So far no luck. Will get it back to work.