OH 2.2 after reboot Uninstalled 'basic-ui' and others

I re-installed openhab 2.2 (clean) with apt-get install

At the screen “Welcome to openHAB 2 – Initial Setup"
I selected the option “Skip the package selection…”

In etc/openhab2/services/addons.cfg
I enabled ui = paper

From paper-UI > Add-ons > USER INTERFACES is installed:

  • Basic UI
  • HABmin
  • HABPanel
  • Home Builder

After a restart of openhab 2.2 they disappear

2018-01-21 16:01:29.187 [INFO ] [er.internal.HomeBuilderDashboardTile] - Started Home Builder at /homebuilder
2018-01-21 16:01:29.313 [WARN ] [.core.internal.i18n.I18nProviderImpl] - Could not set new location, keeping old one: 
2018-01-21 16:01:30.480 [INFO ] [.dashboard.internal.DashboardService] - Started dashboard at http://192.168.1.25:8080
2018-01-21 16:01:30.485 [INFO ] [.dashboard.internal.DashboardService] - Started dashboard at https://192.168.1.25:8443
2018-01-21 16:01:30.553 [INFO ] [io.openhabcloud.internal.CloudClient] - Connected to the openHAB Cloud service (UUID = db64f5b0-4255-4d36-8bc9-3f5b5ea2076c, base URL = http://localhost:8080)
2018-01-21 16:01:30.946 [WARN ] [ig.xml.osgi.XmlDocumentBundleTracker] - The XML document '/ESH-INF/binding/binding.xml' in module 'org.eclipse.smarthome.binding.astro' could not be parsed: The XmlConfigDescriptionProvider must not be null!
java.lang.IllegalArgumentException: The XmlConfigDescriptionProvider must not be null!
	at org.eclipse.smarthome.core.binding.xml.internal.BindingInfoXmlProvider.<init>(BindingInfoXmlProvider.java:60) [112:org.eclipse.smarthome.core.binding.xml:0.10.0.b1]
	at org.eclipse.smarthome.core.binding.xml.internal.XmlBindingInfoProvider.createDocumentProvider(XmlBindingInfoProvider.java:141) [112:org.eclipse.smarthome.core.binding.xml:0.10.0.b1]
	at org.eclipse.smarthome.config.xml.osgi.XmlDocumentBundleTracker.acquireXmlDocumentProvider(XmlDocumentBundleTracker.java:181) [108:org.eclipse.smarthome.config.xml:0.10.0.b1]
	at org.eclipse.smarthome.config.xml.osgi.XmlDocumentBundleTracker.addingObject(XmlDocumentBundleTracker.java:206) [108:org.eclipse.smarthome.config.xml:0.10.0.b1]
	at org.eclipse.smarthome.config.xml.osgi.XmlDocumentBundleTracker.parseDocuments(XmlDocumentBundleTracker.java:350) [108:org.eclipse.smarthome.config.xml:0.10.0.b1]
	at org.eclipse.smarthome.config.xml.osgi.XmlDocumentBundleTracker.processBundle(XmlDocumentBundleTracker.java:336) [108:org.eclipse.smarthome.config.xml:0.10.0.b1]
	at org.eclipse.smarthome.config.xml.osgi.XmlDocumentBundleTracker.access$3(XmlDocumentBundleTracker.java:331) [108:org.eclipse.smarthome.config.xml:0.10.0.b1]
	at org.eclipse.smarthome.config.xml.osgi.XmlDocumentBundleTracker$2.run(XmlDocumentBundleTracker.java:307) [108:org.eclipse.smarthome.config.xml:0.10.0.b1]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:?]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:?]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) [?:?]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [?:?]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:?]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:?]
	at java.lang.Thread.run(Thread.java:748) [?:?]
2018-01-21 16:01:36.166 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'sonos.items'
2018-01-21 16:01:36.214 [INFO ] [er.internal.HomeBuilderDashboardTile] - Stopped Home Builder
2018-01-21 16:01:36.507 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'lights.items'
2018-01-21 16:01:36.636 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'groups.items'
2018-01-21 16:01:36.686 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'sensors.items'
2018-01-21 16:01:36.707 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'miscellaneous.items'
2018-01-21 16:01:39.298 [INFO ] [basic.internal.servlet.WebAppServlet] - Started Basic UI at /basicui/app
2018-01-21 16:01:39.442 [INFO ] [ui.habmin.internal.servlet.HABminApp] - Started HABmin servlet at /habmin
2018-01-21 16:01:41.453 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'home.rules'
2018-01-21 16:01:41.567 [WARN ] [el.core.internal.ModelRepositoryImpl] - Configuration model 'kodi.rules' has errors, therefore ignoring it: [19,2]: no viable alternative at input 'Itemtem'

2018-01-21 16:01:41.706 [INFO ] [thome.model.lsp.internal.ModelServer] - Started Language Server Protocol (LSP) service on port 5007
2018-01-21 16:01:41.802 [INFO ] [panel.internal.HABPanelDashboardTile] - Started HABPanel at /habpanel
2018-01-21 16:01:42.245 [INFO ] [el.core.internal.ModelRepositoryImpl] - Validation issues found in configuration model 'frond.sitemap', using it anyway:
Linkable widget should contain either only frames or none at all
2018-01-21 16:01:42.247 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'frond.sitemap'
2018-01-21 16:01:42.503 [INFO ] [arthome.ui.paper.internal.PaperUIApp] - Started Paper UI at /paperui
2018-01-21 16:01:42.534 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'rfxtrx.things'
2018-01-21 16:01:42.957 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'home.things'
2018-01-21 16:01:43.363 [INFO ] [thome.binding.astro.internal.job.Job] - Scheduled Astro event-jobs for thing astro:sun:home
2018-01-21 16:01:43.379 [INFO ] [g.rfxcom.handler.RFXComBridgeHandler] - RFXCOM transceiver/receiver type: _433_92MHZ_TRANSCEIVER, hw version: 3.1, fw version: 12
2018-01-21 16:01:43.482 [INFO ] [thome.binding.astro.internal.job.Job] - Scheduled Astro event-jobs for thing astro:moon:home
2018-01-21 16:01:44.852 [INFO ] [ing.zwave.handler.ZWaveSerialHandler] - Connecting to serial port '/dev/ttyACM0'
2018-01-21 16:01:44.869 [INFO ] [ing.zwave.handler.ZWaveSerialHandler] - Serial port is initialized
2018-01-21 16:01:44.879 [INFO ] [mmandclass.ZWaveSecurityCommandClass] - Update networkKey
2018-01-21 16:01:44.893 [INFO ] [ve.internal.protocol.ZWaveController] - Starting ZWave controller
2018-01-21 16:01:44.900 [INFO ] [ve.internal.protocol.ZWaveController] - ZWave timeout is set to 5000ms. Soft reset is false.
2018-01-21 16:01:44.924 [INFO ] [core.karaf.internal.FeatureInstaller] - Uninstalled 'openhab-ui-homebuilder'
2018-01-21 16:01:46.854 [INFO ] [basic.internal.servlet.WebAppServlet] - Stopped Basic UI
2018-01-21 16:01:46.892 [INFO ] [core.karaf.internal.FeatureInstaller] - Uninstalled 'openhab-ui-basic'
2018-01-21 16:01:48.066 [INFO ] [age.SerialApiGetInitDataMessageClass] - NODE 1: Node found
2018-01-21 16:01:48.072 [INFO ] [age.SerialApiGetInitDataMessageClass] - ZWave Controller using Controller API
2018-01-21 16:01:48.072 [INFO ] [age.SerialApiGetInitDataMessageClass] - ZWave Controller is Primary Controller
2018-01-21 16:01:48.072 [INFO ] [age.SerialApiGetInitDataMessageClass] - ------------Number of Nodes Found Registered to ZWave Controller------------
2018-01-21 16:01:48.073 [INFO ] [age.SerialApiGetInitDataMessageClass] - # Nodes = 14
2018-01-21 16:01:48.078 [INFO ] [age.SerialApiGetInitDataMessageClass] - ----------------------------------------------------------------------------
2018-01-21 16:01:48.470 [INFO ] [ui.habmin.internal.servlet.HABminApp] - Stopped HABmin servlet
2018-01-21 16:01:48.611 [INFO ] [core.karaf.internal.FeatureInstaller] - Uninstalled 'openhab-ui-habmin'
2018-01-21 16:01:48.858 [WARN ] [rialmessage.IsFailedNodeMessageClass] - NODE 2: Is currently marked as failed by the controller!
2018-01-21 16:01:50.240 [INFO ] [panel.internal.HABPanelDashboardTile] - Stopped HABPanel
2018-01-21 16:01:50.266 [INFO ] [core.karaf.internal.FeatureInstaller] - Uninstalled 'openhab-ui-habpanel'
2018-01-21 16:01:58.365 [WARN ] [l.serialmessage.SendDataMessageClass] - NODE 7: Already processed another send data request for this callback Id, ignoring.

Do i need to add them some way in “etc/openhab2/services/addons.cfg” ??
if yes, how ?, what de correct name?

If there are definitions in addons.cfg they will overwrite whatever is done in PaperUI.
So for your user interfaces, you will need to define them EITHER in addons.cfg OR in paperUI, but you cannot mix and match. PaperUI will NOT write back to addons.cfg, in fact OH2 does never modify any of the .cfg files that are user defined.
This behavior is true for all configurations in addons.cfg, e.g., bindings and for all .cfg files in /services/

Ok, that’s good to know, thanks…

Follow up question:

If I remove ui = paper from etc/openhab2/services/addons.cfg, I have no “paper UI” to add paper-ui itself and other ui’s.

I like to add other UI’s thru Paper-UI, how can I activate paper-ui without it being in addons.cfg

Or do i look at it the wrong way and is there a other solution?

As it states in the addons.cfg, it is a comma-separated list you can just add what you need to it:

# A comma-separated list of UIs to install (e.g. "basic,paper")
ui = paper,basic,habpanel,homebuilder

NB: This bug may be fixed already, but anyway: if you get errors or malfunctions, make sure that there are no spaces before and after the comma; it used to be a bug fo quite some time and I never bothered to check whether it got fixed

Thanks Markus,

That worked, good tip about those commas.I hope that someone else also benefits from this explanation