How to install nightly build on Mac OS

Hi guy,

I’m trying to install the currently nightly build for openhab on mac os. I need the nightly build because of recent checkins which make writing rules for the effected items in a group easier. However, I believe that the nightly builds are just for linux. I’ve tried using a copy of my current macos setup and then using the update binary within the nightly build to update but it’s not working. Is there a way to get a copy of the macos nightly.

Did you follow the documentation?

https://docs.openhab.org/installation/macosx.html#updating-openhab

Yes. Tried that. But the update command just produces an error. I don’t have that error to hand. I’ll try and reproduce later.

Actually it was not what i described. Here is the output from the update command and the start.sh command. The original install was openhab 2.2 but the output below shows 2.3-SNAPSHOT as it’s my second time trying to update.

sudo ./runtime/bin/update 2.3.0-SNAPSHOT
                                         
#########################################
       openHAB 2.x.x update script       
#########################################
                                         
Making Temporary Directory
Downloading openHAB 2.3.0-SNAPSHOT...
######################################################################## 100.0%
Update script in .zip archive found, using that instead.
                                         
#########################################
       openHAB 2.x.x update script       
#########################################
                                         
Making Temporary Directory
The script will attempt to update openHAB to version 2.3.0-SNAPSHOT
Is this okay? [y/N]: y
Removing openHAB System Files...
Clearing cache...
Updating openHAB...
Deleting temporary files...
Restoring previous file ownership (brian:staff)

SUCCESS: openHAB updated from 2.3.0-SNAPSHOT to 2.3.0-SNAPSHOT

Then I attempt to run, i get.

$ ./start.sh 
Launching the openHAB runtime...
Error: Could not find or load main class 2.0