Constant "503 jersey not ready"

Ok I cleared out the rules and a bunch of unused bindings and services then rebooted and started openhab via cli then shut it down and attempted to start via service (which failed) and then opened via cli and pulled the log again.

Also my items file.

That is the old log from your post above :grinning:

You can’t have the same item name twice:

Number HouseCurrentTemp "House Temperature" ...

I’ll check what happened with drive - it should have given you version 2.

So even though it’s the same item in two different groups it has to be named different? The reason I have two groups is because my thermostat has two setpoints and the only way for Google assistant to understand it was to have two groups. Could that be causing some of my issues?

edit: to --> two

this is the log that should have been posted.

Yes, from the docs:

However, each Item must be unique across all .items files.

You still have a lot of errors which must be solved before we can determine your actual problem:

2019-11-17 13:27:03.906 [ERROR] [.googletts.internal.GoogleTTSService] - Missing service account key configuration to access Google Cloud TTS API.

2019-11-17 13:27:11.116 [WARN ] [lipse.smarthome.io.net.exec.ExecUtil] - Execution failed (Exit value: -559038737. Caused by java.io.IOException: Cannot run program "arping" (in directory "."): error=2, No such file or directory)

2019-11-17 13:27:12.843 [ERROR] [core.karaf.internal.FeatureInstaller] - Failed installing 'openhab-binding-yahooweather, openhab-misc-restdocs'
→ Yahoo binding does not exist anymore, REST docs is now in the UI section, not in the MISC section anymore.

2019-11-17 13:27:42.591 [ERROR] [ng.zigbee.handler.ZigBeeThingHandler] - null: Exception creating channels 
java.lang.NullPointerException: null

If nothing helps do a backup of your config:

and reinstall openHAB, then restore your backup:

1 Like

I had already uninstalled those bindings thru paperui. Not sure why they are throwing errors if they are not installed. Doing backup and reinstall now. (Worst case scenario I have to start from fresh)

I will change the names on the current temp item. (It is ok to have the same item twice under two different names correct? Because there is only one temp sensor but I have to have it in two different thermostats due to Google assistant integration weirdness)

No, if you do a backup of your configuration before you are safe.

No, you need different item names, but you can have same label text all over your items:

itemtype itemname "labeltext [stateformat]" <iconname> (group1, group2, ...) ["tag1", "tag2", ...] {bindingconfig}

So in my current item file I should change the “itemname” on one of them but leave the “channel Id” the same? But it’s fine if I label them the same?

Yes, that’s correct.

1 Like

Restore done. Openhab is starting automatically now. Still some errors in the log.

log pulled after restore. (restore restart service to check if working then restart and edit item file to remove duplicate followed by another restart and a wait for everything to start)

Thank you again for your help with this.

Well, I know the restdocs moved and you were warned when upgrading. Here was the warning shown.

Warning: REST Docs: This add-on is now part of the UIs. When installing it using textual configuration, update ‘services/addons.cfg’ by removing ‘restdocs’ from ‘misc’ and add it to ‘ui’ instead.

I didn’t use text config but I’m guessing I need to remove it from the addons.cfg file? Just open that file as sudo and delete the restdocs line? And anything about the yahoo weather? I uninstalled the rest docs thru paperui already but apparently it didn’t do it right.

There is nothing in my addons.cfg about either rest or Yahoo. In fact the entire file is commented out on every line and last modify date points to when I installed the software almost a year ago.

On the topic of logs - is the amount of “info” items in the log normal? And does openhab trim the log file after a certain period? Just wondering if I need to change anything or delete files periodically.

Not sure where else to look to remove the restdocs and yahoo errors.

The system appears to be running normally but I want to be sure everything is stable while I have a day off to work with it. (Spouse acceptance factor is a real thing and I want to be as sure as possible I don’t get calls about it not working while I’m out of town.)

Yes.

Yes.

I know of three places where to look:

  1. remove this file
    userdata/config/org/openhab/addons.config and restart openHAB (or if you are experienced enough stop openHAB and edit the file manually (remove rest docs and yahoo), then save and start openHAB.)

  2. log into Karaf and execute bundle:list. You will find the bundle number for rest docs and yahoo, then execute bundle:uninstall xxx, where xxx is the exact number you found through bundle:list

  3. Clear the cache

One or any combination of the three options should solve your problem.

1 Like

Still too many errors. You should remove the arping config from your network (?) binding or install the arping command.

How would I do that? Just uninstall and reinstall the network binding? (I’m not actually using the network binding right now but was considering using it for presence change detection to turn on some lights.)

Karafe bundle:list did not list restdocs or Yahoo.

don’t worry about editing it, just delete this file and restart OpenHab
remove network binding for now, fix it up later

3 Likes

If none of those options helped I am out of ideas, sorry.

1 Like