-
-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HOOBS won't let me update from 3.1.14 to 3.1.15. #394
Comments
Same issue. Version 3.1.14 Did you upgrade Previous version Did you orginally upgrade to HOOBS 3 from HOOBS 2.1.1? What device are you using? If this is a custom install, what's your operating system? Post your config
|
adding myself ... Version 3.1.15 Did you upgrade Previous version Did you orginally upgrade to HOOBS 3 from HOOBS 2.1.1? What device are you using? |
There's an issue with the post upgrade script. This is fixed on 3.1.17 |
tried 3.1.17 , still same issue, can't upgrade from 3.1.14 |
Also tried 3.1.17 upgrade and stuck on 3.1.14 like the others.... |
I’m currently on 3.1.10 tried 3.1.17 and can’t upgrade, it was the same with 3.1.15 |
Can you run this from an SSH terminal
If you get an error post the output. |
Same for me! |
sudo systemctl status hoobs
|
sudo systemctl status hoobs
|
I can't update to 3.1.17 either. Same issue. |
@themick4u @TheBassfly can you run this and post the results.
|
I get es restart loop with following output:
|
@TheBassfly can you run this from an SSH terminal.
See if that helps. If not can you post this file |
How can I download the file via Terminal? VNC ist not working as it is rejected from the Hoobs Computer. |
HOOBS doesn't use VNC there is no desktop, you need to use SSH or Putty. Username: hoobs |
Okay, and how can I download the requested files via SSH? |
Sorry, use
And copy the output. |
|
|
|
@themick4u your issue is different, i'm looking at yours next. @TheBassfly I am guessing that is the You need to edit the file.
And change this line
to this
This is a workaround, I am fixing this in 3.1.19 |
Allright |
@themick4u your issue is an intentional error that is thrown when the system finds plugins that are not installed properly. From your posts. I can tell these are the plugins registered with HOOBS.
Now I need 2 things from you.
|
Your side notes cloud the issue and don't help. @Fookes74 on the top is not HOOBS, It is the However this did not stop HOOBS from installing. Can you run this and post the output
You will need to ctrl+c to exit hoobs service log. |
hoobs service log output
|
@Fookes74 you has the same issue as themick4u. I need two things
|
First command:
|
Second command:
|
I thought the config.json you posted was complete. I need the config.json file from the system specifically the plugins: [ array. Run this command and post the output. Remember to remove any sensitive data before saving.
|
|
@Fookes74 you have an orphaned plugin homebridge-yeelight-wifi. This needs to be removed from your plugins array. Edit your config.json
Look for this.
Remove this line
The array will look like this when you are done.
After you save the file (ctrl+x then y and enter). Restart HOOBS.
|
If this works let me know. |
yes, it worked, and updated to 3.1.17. |
@axlback @martinnock @dmatchx @nanis123 Can you run this from an SSH terminal
And post the output. |
The command does not update. Is this the right log?
|
@martinnock Yes it is . It looks like you have some orphaned plugins. Username: hoobs You can use the
|
@martinnock it looks like hoobs is still up for you. You can run these commands in the Terminal in HOOBS. |
Thanks @mkellsy I followed the above and located the orphaned plugin, removed it, restarted and 3.1.17 is now available. |
Good news! |
apologies, full output below.
Thank You for choosing HOOBS
---------------------------------------------------------
Node Version 12.13.1
Updating Repositories
Hit:1 http://raspbian.raspberrypi.org/raspbian buster InRelease
Hit:2 http://archive.raspberrypi.org/debian buster InRelease
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
curl is already the newest version (7.64.0-4).
git is already the newest version (1:2.20.1-2+deb10u1).
tar is already the newest version (1.30+dfsg-6).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
removed 303 packages in 20.331s
/usr/local/bin/hoobs -> /usr/local/lib/node_modules/@hoobs/hoobs/bin/hoobs
***@***.*** install
/usr/local/lib/node_modules/@hoobs/hoobs/node_modules/node-pty
node scripts/install.js
make: Entering directory
'/usr/local/lib/node_modules/@hoobs/hoobs/node_modules/node-pty/build'
CXX(target) Release/obj.target/pty/src/unix/pty.o
SOLINK_MODULE(target) Release/obj.target/pty.node
COPY Release/pty.node
make: Leaving directory
'/usr/local/lib/node_modules/@hoobs/hoobs/node_modules/node-pty/build'
***@***.*** postinstall
/usr/local/lib/node_modules/@hoobs/hoobs/node_modules/node-pty
node scripts/post-install.js
@***@***.*** postinstall ***@***.***/hoobs
bin/hoobs upgrade
Configuring NGINX
Checking Configuration
+ @hoobs/hoobs@3.1.17
added 303 packages from 218 contributors in 182.132s
Restart HOOBS
---------------------------------------------------------
On Sat, Jan 4, 2020 at 11:37 AM Michael Kellsy <notifications@github.com>
|
OK. 3.1.17 is installed. It just can't load. Can you run this command and post the output. This needs to be ran from an SSH terminal.
|
Started HOOBS.
- Enviornment
- Plugins
(node:24208) UnhandledPromiseRejectionWarning: Error: There are installed
plugins that are not logged
at /usr/local/lib/node_modules/@hoobs/hoobs/scripts/loader.js:122:31
(node:24208) UnhandledPromiseRejectionWarning: Unhandled promise rejection.
This error originated either by throwing inside of an async function
without a catch block, or by rejecting a promise which was not handled with
.catch(). (rejection id: 1)
(node:24208) [DEP0018] DeprecationWarning: Unhandled promise rejections are
deprecated. In the future, promise rejections that are not handled will
terminate the Node.js process with a non-zero exit code.
hoobs.service: Succeeded.
…On Sat, Jan 4, 2020 at 11:46 AM Michael Kellsy ***@***.***> wrote:
OK. 3.1.17 is installed. It just can't load. Can you run this command and
post the output. This needs to be ran from an SSH terminal.
sudo hoobs service log
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#394?email_source=notifications&email_token=AOBQBVOKTF7HNEXWDNYKJRDQ36535A5CNFSM4KB3YWU2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEICIFEQ#issuecomment-570720914>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AOBQBVJQBG4FE4IFC2336WDQ36535ANCNFSM4KB3YWUQ>
.
|
config.json below
{
"server": {
"port": 8080,
"autostart": 0,
"home_setup_id": "X-HM://0023ISYWY6P0L",
"polling_seconds": 5,
"origin": "*"
},
"client": {
"default_route": "status",
"inactive_logoff": 30,
"theme": "tealzier",
"locale": "en",
"temp_units": "celsius",
"country_code": "NZ",
"postal_code": "8023"
},
"bridge": {
"name": "HOOBS",
"username": "CC:22:3D:E3:CE:30",
"port": 51826,
"pin": "031-45-154"
},
"description": "This file is used for plugin configuration.",
"ports": {},
"plugins": [
"homebridge-ring",
"homebridge-automation-switches",
"homebridge-harmonyhub-plugin",
"homebridge-tplink-smarthome",
"ring",
"google-home"
],
"accessories": [],
"platforms": [
{
"platform": "HarmonyHub",
"name": "homebridge-harmonyhub-plugin"
},
{
"platform": "AutomationSwitches",
"switches": [
{
"type": "automation",
"name": "Automation Switch #1",
"period": 2,
"autoOff": true
},
{
"type": "automation",
"name": "Automation Switch #2",
"period": 2,
"autoOff": true
}
]
},
{
"platform": "TplinkSmarthome",
"name": "TplinkSmarthome"
},
{
"platform": "Ring",
"refreshToken": “****”,
"hideDoorbellSwitch": true,
"hideCameraSirenSwitch": true,
"hideLightGroups": true
},
{
"platform": "google-home",
"plugin_map": {
"plugin_name": "google-home"
},
"name": "Google Home",
"debug": false,
"token": “****”
}
],
"package_manager": "npm",
"system": "hoobs"
}
On Sat, Jan 4, 2020 at 11:48 AM Justin Hegarty <justin.hegarty@gmail.com>
|
There is an orphaned plugin. You need to edit your config.json file from the SSH console.
Here is your corrected config.json. Remember to replace your sensitive data.
Save the file (ctrl+x then y then enter) Then restart HOOBS
|
all good. thanks so much for your time and help.
…On Sat, Jan 4, 2020 at 12:00 PM Michael Kellsy ***@***.***> wrote:
There is an orphaned plugin. You need to edit your config.json file from
the SSH console.
nano ~/.hoobs/etc/config.json
Here is your corrected config.json
{
"server": {
"port": 8080,
"autostart": 0,
"home_setup_id": "X-HM://0023ISYWY6P0L",
"polling_seconds": 5,
"origin": "*"
},
"client": {
"default_route": "status",
"inactive_logoff": 30,
"theme": "tealzier",
"locale": "en",
"temp_units": "celsius",
"country_code": "NZ",
"postal_code": "8023"
},
"bridge": {
"name": "HOOBS",
"username": "CC:22:3D:E3:CE:30",
"port": 51826,
"pin": "031-45-154"
},
"description": "This file is used for plugin configuration.",
"ports": {},
"plugins": [
"homebridge-automation-switches",
"homebridge-harmonyhub-plugin",
"homebridge-tplink-smarthome",
"ring",
"google-home"
],
"accessories": [],
"platforms": [
{
"platform": "HarmonyHub",
"name": "homebridge-harmonyhub-plugin",
"plugin_map": {
"plugin_name": "homebridge-harmonyhub-plugin"
}
},
{
"platform": "AutomationSwitches",
"switches": [
{
"type": "automation",
"name": "Automation Switch #1",
"period": 2,
"autoOff": true
},
{
"type": "automation",
"name": "Automation Switch #2",
"period": 2,
"autoOff": true
}
],
"plugin_map": {
"plugin_name": "homebridge-automation-switches"
}
},
{
"platform": "TplinkSmarthome",
"name": "TplinkSmarthome",
"plugin_map": {
"plugin_name": "homebridge-tplink-smarthome"
}
},
{
"platform": "Ring",
"refreshToken": "****",
"hideDoorbellSwitch": true,
"hideCameraSirenSwitch": true,
"hideLightGroups": true,
"plugin_map": {
"plugin_name": "ring"
}
},
{
"platform": "google-home",
"plugin_map": {
"plugin_name": "google-home"
},
"name": "Google Home",
"debug": false,
"token": "****"
}
],
"package_manager": "npm",
"system": "hoobs"
}
Save the file (ctrl+x then y then enter)
Then restart HOOBS
sudo hoobs service restart
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#394?email_source=notifications&email_token=AOBQBVP3LEKGRDFDUA3ZBPTQ367QLA5CNFSM4KB3YWU2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEICIZZA#issuecomment-570723556>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AOBQBVPINK7647FMCYRK6EDQ367QLANCNFSM4KB3YWUQ>
.
|
Upgrade available for HOOBS 3.1.14 to 3.1.15. Click upgrade and it (eventually) goes back to hoobs splash screen (as it does when HOOBS restarts). After signing in it shows still as 3.1.14 and still shows update as available.
Version 3.1.14
Did you upgrade
Yes
Pervious version
Whatever was before 3.1.14
Did you orginally upgrade to HOOBS 3 from HOOBS 2.1.1?
Yes
What device are you using?
Custom Install
If this is a custom install, what's your operating system?
RPi 3
Post your config
Log
Additional context
None
The text was updated successfully, but these errors were encountered: