Need help with config of the designer

Hi everybody,
I´m new in the world of openhab and have one prob after the other :slight_smile:
I studied many pages and comments but can´t solve it.

I can´t config the openhab designer, because I have no conf Folder.

What I have done until now:

On my raspberry pi:
apt-get update
apt-get upgrade
apt-get install oracle-java8-jdk
echo ‘deb https://openhab.ci.cloudbees.com/job/openHAB-Distribution/ws/distributions/openhab-offline/target/apt-repo/ /’ | sudo tee /etc/apt/sources.list.d/openhab2.list
echo ‘deb https://openhab.ci.cloudbees.com/job/openHAB-Distribution/ws/distributions/openhab-online/target/apt-repo/ /’ | sudo tee --append /etc/apt/sources.list.d/openhab2.list
wget -qO - ‘http://www.openhab.org/keys/public-key-snapshots.asc’ | sudo apt-key add -
apt-get install apt-transport-https
apt-get update
apt-get install openhab2-online
systemctl start openhab2.service
systemctl status openhab2.service -> sollte aktiv sein
systemctl daemon-reload
systemctl enable openhab2.service
apt-get install samba samba-common-bin
systemctl restart smbd.service

On my PC:
connected the PI as a networkdrive in windows
installed the designer
installed Java

I found some tutorials that say, that I have to open the configfolder first. But there is no conf on my Pi:
root@raspberrypi:/etc/openhab2# pwd
/etc/openhab2
root@raspberrypi:/etc/openhab2# ls -l
insgesamt 44
drwxrwxr-x 2 openhab openhab 4096 Nov 16 13:34 html
drwxrwxr-x 3 openhab openhab 4096 Nov 16 13:34 icons
drwxrwxr-x 2 openhab openhab 4096 Nov 16 13:34 items
drwxrwxr-x 2 openhab openhab 4096 Nov 16 13:34 persistence
drwxrwxr-x 2 openhab openhab 4096 Nov 16 13:34 rules
drwxrwxr-x 2 openhab openhab 4096 Nov 16 13:34 scripts
drwxrwxr-x 2 openhab openhab 4096 Nov 16 13:34 services
drwxrwxr-x 2 openhab openhab 4096 Nov 16 13:34 sitemaps
drwxrwxr-x 2 openhab openhab 4096 Nov 16 13:34 sounds
drwxrwxr-x 2 openhab openhab 4096 Nov 16 13:34 things
drwxrwxr-x 2 openhab openhab 4096 Nov 16 13:34 transform
root@raspberrypi:/etc/openhab2#

I also don´t have a addons Folder…

Can somebody help me

Thx

You did an apt-get install, so you need to look at the file locations for “Repository Installation” at

http://docs.openhab.org/installation/linux.html#file-locations

So your config files should be in /etc/openhab2 (not in a subfolder /conf)

So just try to open /etc/openhab2 in your Smarthome Designer.
If that does not work check your samba config file smb.conf if you have configured your samba share properly.

Edit: and make sure you are using the Eclipse Smarthome Designer, not the older Openhab Designer (won’t work with openHAB2)

2nd Edit:

Actually I cannot confirm that to 100%, I’m using a manual install and therefore have a different folder structure.

Thanks, I really had the open hab designer.
Now I have installed the eclipse, but it won´t start. I took the 64bit und the 64bit Java.

Here is the log, I don´t know what´s the Problem:

!SESSION 2016-11-16 14:44:09.021 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.8.0_112
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=de_DE
Command-line arguments: -os win32 -ws win32 -arch x86_64

!ENTRY org.eclipse.equinox.ds 1 0 2016-11-16 14:44:09.500
!MESSAGE Could not bind a reference of component ConfigDescriptionRegistry. The reference is: Reference[name = ConfigOptionProvider, interface = org.eclipse.smarthome.config.core.ConfigOptionProvider, policy = dynamic, cardinality = 0…n, target = null, bind = addConfigOptionProvider, unbind = removeConfigOptionProvider]

!ENTRY org.eclipse.equinox.ds 1 0 2016-11-16 14:44:09.504
!MESSAGE Could not bind a reference of component ConfigDescriptionRegistry. The reference is: Reference[name = ConfigDescriptionProvider, interface = org.eclipse.smarthome.config.core.ConfigDescriptionProvider, policy = dynamic, cardinality = 0…n, target = null, bind = addConfigDescriptionProvider, unbind = removeConfigDescriptionProvider]

!ENTRY org.eclipse.update.configurator 4 0 2016-11-16 14:44:10.148
!MESSAGE Could not install bundle plugins/ch.qos.logback.classic_1.0.7.v20121108-1250.jar A bundle is already installed with the name “ch.qos.logback.classic” and version “1.0.7.v20121108-1250”

!ENTRY org.eclipse.update.configurator 4 0 2016-11-16 14:44:10.154
!MESSAGE Could not install bundle plugins/ch.qos.logback.core_1.0.7.v20121108-1250.jar A bundle is already installed with the name “ch.qos.logback.core” and version “1.0.7.v20121108-1250”

!ENTRY org.eclipse.update.configurator 4 0 2016-11-16 14:44:10.161
!MESSAGE Could not install bundle plugins/ch.qos.logback.slf4j_1.0.7.v20121108-1250.jar A bundle is already installed with the name “ch.qos.logback.slf4j” and version “1.0.7.v20121108-1250”

!ENTRY org.eclipse.equinox.ds 1 0 2016-11-16 14:44:11.384
!MESSAGE Could not bind a reference of component org.eclipse.smarthome.core.thing.firmware.FirmwareUpdateService. The reference is: Reference[name = FirmwareUpdateHandler, interface = org.eclipse.smarthome.core.thing.binding.firmware.FirmwareUpdateHandler, policy = dynamic, cardinality = 0…n, target = null, bind = addFirmwareUpdateHandler, unbind = removeFirmwareUpdateHandler]

!ENTRY org.eclipse.equinox.ds 1 0 2016-11-16 14:44:11.439
!MESSAGE Could not bind a reference of component org.eclipse.smarthome.model.thing.internal.genericthingprovider. The reference is: Reference[name = ThingHandlerFactory, interface = org.eclipse.smarthome.core.thing.binding.ThingHandlerFactory, policy = dynamic, cardinality = 0…n, target = null, bind = addThingHandlerFactory, unbind = removeThingHandlerFactory]

!ENTRY org.eclipse.osgi 4 0 2016-11-16 14:44:11.593
!MESSAGE Application error
!STACK 1
java.lang.IllegalStateException: The platform metadata area could not be written: C:\Program Files (x86)\Smarthomedesigner\workspace.metadata. By default the platform writes its content
under the current working directory when the platform is launched. Use the -data parameter to
specify a different content area for the platform.
at org.eclipse.core.internal.runtime.DataArea.assertLocationInitialized(DataArea.java:61)
at org.eclipse.core.internal.runtime.DataArea.getStateLocation(DataArea.java:129)
at org.eclipse.core.internal.preferences.InstancePreferences.getBaseLocation(InstancePreferences.java:44)
at org.eclipse.core.internal.preferences.InstancePreferences.initializeChildren(InstancePreferences.java:199)
at org.eclipse.core.internal.preferences.InstancePreferences.(InstancePreferences.java:59)
at org.eclipse.core.internal.preferences.InstancePreferences.internalCreate(InstancePreferences.java:209)
at org.eclipse.core.internal.preferences.EclipsePreferences.create(EclipsePreferences.java:391)
at org.eclipse.core.internal.preferences.EclipsePreferences.create(EclipsePreferences.java:379)
at org.eclipse.core.internal.preferences.PreferencesService.createNode(PreferencesService.java:389)
at org.eclipse.core.internal.preferences.RootPreferences.getChild(RootPreferences.java:63)
at org.eclipse.core.internal.preferences.RootPreferences.getNode(RootPreferences.java:101)
at org.eclipse.core.internal.preferences.RootPreferences.node(RootPreferences.java:90)
at org.eclipse.core.internal.preferences.AbstractScope.getNode(AbstractScope.java:38)
at org.eclipse.core.runtime.preferences.InstanceScope.getNode(InstanceScope.java:80)
at org.eclipse.ui.preferences.ScopedPreferenceStore.getStorePreferences(ScopedPreferenceStore.java:244)
at org.eclipse.ui.preferences.ScopedPreferenceStore.(ScopedPreferenceStore.java:133)
at org.eclipse.ui.plugin.AbstractUIPlugin.getPreferenceStore(AbstractUIPlugin.java:285)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:593)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
at org.eclipse.smarthome.designer.ui.internal.application.Application.start(Application.java:32)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:382)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:236)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
at org.eclipse.equinox.launcher.Main.run(Main.java:1465)

Do I have to install the eclipse Designer on my rpi, too?
Or can I install it on my PC

No, just on your desktop PC.

I’m using the 32Bit version Designer with 32Bit Java version installed on a 64Bit Windows operating system … works great.

Edit: and don’t use the snapshot 0.9 version, use the slightly older 0.8 version. 0.9 has some glitches at the moment.

Ah ok
Then I will follow your advice and will give a feedback

Oh yes,

it works. 64bit was the Problem, and the wrong designer.
Thanks

Now new Problem can wait for me, when I´m trying to make rules etc