in the new openhab directory, replace conf with openhab_30052017/
this time I did the same for userdata, since I understand this has conf data too now (and I didn’t want to wait for all my zwave devices to be discovered again).
Initially it failed because of an apparent permissions issue (at least, after chown -r it got further)
Now it fails with:
Could not resolve mvn:org.eclipse.birt.runtime/org.eclipse.osgi/3.10.2.v20150203-1939
This seems to be related to my copying the old userdata directory - at least, replacing it with the blank userdata fixes that problem, though then I get:
java.lang.NoClassDefFoundError: io/netty/util/concurrent/DefaultPromise$2
at io.netty.util.concurrent.DefaultPromise.notifyListeners(DefaultPromise.java:589)
at io.netty.util.concurrent.DefaultPromise.setSuccess(DefaultPromise.java:397)
at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:151)
at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:137)
at java.lang.Thread.run(Thread.java:745)
How are we supposed to do this? Is it documented anywhere?
As you can see there, i don’t simly sync the whole userdata folder because i had similar issues. I exclude many folders (logs, log, tmp, cache etc) and copy the /userdata/etc folder without! overwriting. That solved the issues i had when i updated from an older version to 2.0 stable.
20:01:09.866 [INFO ] [smarthome.event.ThingAddedEvent ] - Thing 'zwave:serial_zstick:157b8d41438' has been added. 20:01:09.934 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'zwave:serial_zstick:157b8d41438' changed from UNINITIALIZED to INITIALIZING 20:01:09.986 [INFO ] [ing.zwave.handler.ZWaveSerialHandler] - Connecting to serial port '/dev/tty.SLAB_USBtoUART' 20:01:09.990 [INFO ] [smarthome.event.ThingUpdatedEvent ] - Thing 'zwave:serial_zstick:157b8d41438' has been updated. 20:01:10.011 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'zwave:serial_zstick:157b8d41438' changed from INITIALIZING to OFFLINE (BRIDGE_OFFLINE): Controller is offline 20:01:10.082 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'zwave:serial_zstick:157b8d41438' changed from OFFLINE (BRIDGE_OFFLINE): Controller is offline to OFFLINE (COMMUNICATION_ERROR): Serial Error: Unsupported operation on port /dev/tty.SLAB_USBtoUART
Very weird. I might just revert back to the previous version for the moment.
I don’t have OSX, but in linux the only thing that can go wrong here are permissions. Does the user, that runs openhab have enough rights to access that usb stick?
Yeah it’s root (since I’m running it as a service). Linux and OSX are pretty similar.
It’s not impossible that there’s a hardware issue - I had the electrician in disconnecting stuff, so I probably need to go and check. It’ll be a few days unfortunately.