Skip to content
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

Paper UI and Basic UI uninstalled after being installed #340

Closed
lolodomo opened this issue Dec 1, 2016 · 7 comments
Closed

Paper UI and Basic UI uninstalled after being installed #340

lolodomo opened this issue Dec 1, 2016 · 7 comments

Comments

@lolodomo
Copy link
Contributor

lolodomo commented Dec 1, 2016

At first startup of snapshot 627, I can see that Paper UI and Basic UI are first installed and then uninstalled.

2016-12-01 23:05:45.172 [INFO ] [core.karaf.internal.FeatureInstaller] - Installed 'openhab-ui-basic'
2016-12-01 23:05:57.928 [INFO ] [arthome.ui.paper.internal.PaperUIApp] - Started Paper UI at /ui
2016-12-01 23:05:57.958 [INFO ] [core.karaf.internal.FeatureInstaller] - Installed 'openhab-ui-paper'
2016-12-01 23:06:08.392 [INFO ] [panel.internal.HABPanelDashboardTile] - Started HABPanel at /habpanel
2016-12-01 23:06:08.411 [INFO ] [core.karaf.internal.FeatureInstaller] - Installed 'openhab-ui-habpanel'
2016-12-01 23:07:14.474 [INFO ] [assic.internal.servlet.WebAppServlet] - Started Classic UI at /classicui/app
2016-12-01 23:07:14.735 [INFO ] [core.karaf.internal.FeatureInstaller] - Installed 'openhab-ui-classic'
2016-12-01 23:07:23.313 [INFO ] [arthome.ui.paper.internal.PaperUIApp] - Stopped Paper UI
2016-12-01 23:07:23.462 [INFO ] [core.karaf.internal.FeatureInstaller] - Uninstalled 'openhab-ui-paper'
2016-12-01 23:07:36.150 [INFO ] [core.karaf.internal.FeatureInstaller] - Uninstalled 'openhab-ui-basic'

Habpanel and classic UI are not uninstalled.
What is important, I think, is that my addons.cfg file contains:

package = standard
ui = classic
@lolodomo
Copy link
Contributor Author

lolodomo commented Dec 1, 2016

Paper UI and Basic UI are included in the standard package.
As I set the "ui=" line in my addons.cfg file, I understand that it overwrittes the package and that would explain why Paper UI and Basic UI are uninstalled. But why HABpanel is not uninstalled in this case ?

@lolodomo
Copy link
Contributor Author

lolodomo commented Dec 1, 2016

If I install Paper UI and Basic UI using the console command (feature:install), they are again uninstalled at next restart of OH and my file userdata/etc/org.openhab.addons.cfg contains:

package = standard
ui = classic
misc = restdocs
remote = true
binding = ntp,astro,mios,netatmo,weather,hue,rfxcom,freebox,sonos
legacy = true
persistence = rrd4j
transformation = map
voice = voicerss

Installing features through the console seems to not update this file.

@lolodomo
Copy link
Contributor Author

lolodomo commented Dec 1, 2016

Only solution found was to update my addons.cfg file and restart:

ui = paper,basic,classic

HABpanel remains installed. No real logic I can found.

@lolodomo
Copy link
Contributor Author

lolodomo commented Dec 1, 2016

Interesting point: HABpanel is not marked as "installed" in Paper UI while present in the dashboard.

openhab> bundle:list | grep anel
185 | Active   |  80 | 2.0.0.201612010742    | HABPanel User Interface
openhab> feature:list | grep anel
openhab-ui-habpanel                       | 2.0.0.SNAPSHOT   |          | Uninstalled | openhab-aggregate-xml                | HABPanel
openhab-binding-anel                      | 1.9.0.SNAPSHOT   |          | Uninstalled | openhab-aggregate-xml                | Anel Binding
openhab>

@kaikreuzer
Copy link
Member

Same as #342 - simply delete your addons.cfg or put your entries in comments. Otherwise, what is in there is what will be installed.

@lolodomo
Copy link
Contributor Author

lolodomo commented Dec 2, 2016

And why is it different for HABpanel ?

@lolodomo
Copy link
Contributor Author

My problem with HabPanel has disappeared with the snapshot 636.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants