should i wait for the OH 2.2. release to update the openhabian, or should i do this now ?
thanks!
I did a from-scratch install with the new image. Iām seeing a pretty core failure, right at the start. first-boot.sh runs for a couple seconds and dies. The OS itself seems fine, but thereās no logging to indicate what the issue might be:
2017-11-29_02:37:42_UTC [openHABian] Starting the openHABian initial setup.
2017-11-29_02:37:42_UTC [openHABian] Storing configuration... OK
2017-11-29_02:37:43_UTC [openHABian] Changing default username and password... OK
2017-11-29_02:37:48_UTC [openHABian] Setting up Wi-Fi connection... OK, rebooting...
2017-11-29_02:37:59_UTC [openHABian] Starting the openHABian initial setup.
2017-11-29_02:37:59_UTC [openHABian] Storing configuration... OK
2017-11-29_02:37:59_UTC [openHABian] Changing default username and password... SKIPPED
2017-11-29_02:37:59_UTC [openHABian] Setting up Wi-Fi connection... OK
2017-11-29_02:37:59_UTC [openHABian] Ensuring network connectivity... OK
2017-11-29_02:37:59_UTC [openHABian] Waiting for dpkg/apt to get ready... OK
2017-11-29_02:38:19_UTC [openHABian] Updating repositories and upgrading installed packages... FAILED
2017-12-18_20:09:43_UTC [openHABian] Initial setup exiting with an error!
Re-running it from the command line seems to work. Unfortunately without any diagnostics at all beyond that, Iām not sure how youāre going to fix it. It happened three times in a row, though, so its not a transient problem. If anyone else sees it, at least for me if you āsudo /bin/bashā and then run ā/boot/first-boot.shā, itāll continue. (I found thereās something up with the shell script that fails if you do it directly āsudo /boot/first-boot.shā kicks out with an error:
first-boot.sh: 4: first-boot.sh: Syntax error: redirection unexpected
OH2.2 was release an hour and a half ago. My existing Openhabian install already prompted me to upgrade to it.
Update!
I upgraded to OH2.2 and the karaf console is up and running.
Just an FYI, in openhab 2.2 you can access the openhab console anywhere on localhost by using the command:
openhab-cli console
when using an apt or yum installation.
Thanks, i upgraded to 2.2 and the most seems to be fine, but
my LOG stopped, its not refreshing ( xx.xx.xx.xx:9001 )
JSONPATH Items arent working
CSS styling is partly gone - how do i activate the āData Theme=Darkā ?
i havent done any editing/fixing yet, so this is maybe fixed quickly - iāll see
thanks to the devs for their work
its a lot faster on my Raspb.3 in my opinion, the refresh of all the switches and buttons is now working as expected , it seems i dont need to do refresh my browser any more
THANKS AGAIN
EDIT:
this fixed my log:
Thx a lot for your very apprecitated work, ThomDietrich.
I just faced an issue with the additional dashboard tiles: The link behind the tiles do not respect my changes of the hostname.
Where do they get the url from?
Thx, G.
Hello Peter, Hello @LuFriFri,
that is indeed true. I didnāt think about that (and itās not straight forward). Let me file an issue, it will hopefully be fixed soon.
Till then you can change the used hostname inside /etc/openhab2/services/dashboard.cfg
Got a problem here. Wanted to update, so i executed āupdateā in openhabian-config and then this came up.
Any ideas?
EDIT:
Now i started the āUPGRADEā function under sudo openhabian-config
. After that was successfully i wondered about that?!
OpenHAB 2.2.0-1 release build?
It seems that the update has been done?!
Hello @Boogieman,
something is weird with your openHABian configuration menu. It is not able to update itself out of a to me unknown reason. Good news: It appears you are on the latest openHAB version!!
To repair openHABian, please execute line by line:
sudo rm -rf /opt/openhabian
sudo git clone https://github.com/openhab/openhabian.git /opt/openhabian
sudo openhabian-config
That should be it. Select āUpdateā to verify itās working.
Btw you should change your default password
Hi,
made a fresh install of the new openHABian 1.4.
Now I want to install homegear via config-tool, but runs into error:
$ apt -y install homegear homegear-homematicbidcos homegear-homematicwired
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
homegear : Depends: libgnutls-deb0-28 (>= 3.3.0) but it is not installable
Depends: libmysqlclient18 (>= 5.5.24+dfsg-1) but it is not installable
Depends: libssl1.0.0 (>= 1.0.1) but it is not installable
E: Unable to correct problems, you have held broken packages.
FAILED
Any ideas how to fix?
Changing the system password (linux) didnāt work via openhabian-config, I had to use āpasswdā instead. Am I missing a step?
I made a fresh install of the new openHABian 1.4 on sunday. I think openhab was still version 2.1 but I donāt realy know. After restoring/copying /etc/openhab2/ and /var/lib/openhab2/ all works fine.
But then I update openhab over openhab-config (think from 2.1 to 2.2) I get this error:
2017-12-19 20:12:29.013 [SEVERE] [org.apache.karaf.main.Main] - Could not launch framework
java.lang.RuntimeException: Could not resolve mvn:org.eclipse.tycho/org.eclipse.osgi/3.10.101.v20150820-1432
at org.apache.karaf.main.util.SimpleMavenResolver.resolve(SimpleMavenResolver.java:59)
at org.apache.karaf.main.Main.createClassLoader(Main.java:457)
at org.apache.karaf.main.Main.launch(Main.java:254)
at org.apache.karaf.main.Main.main(Main.java:179)
I decided to try this againā¦download openhabian 1.4, install (now it oh is 2.2) and restoring my files again and I get this error immediatly.
Any ideas?
Are you really referring to the system user ? I have that problem with the Samba password.
(and filed a PR to fix it for Samba).
2017-12-19_21:45:05_CET [openHABian] Changing password for samba (fileshare) account āopenhabianāā¦ Failed to add entry for user āopenhabianā.
OK
Yes, the system password.
However I suspect the problem to sit in front of the screen. I was able to change that password in the previous edition, but I failed to get the one for the Karaf console changed. This time it was the system password, I didnāt even try the one for the console.
Iām starting the config tool with sudo, IMHO I canāt do anything wrong in the procedure to change a password.???
Is your system installed onto a RPi / Pine64 or have you used the tool on a generic ubuntu dist?
When you run the script for the first time it ask for the system user so it can handle all changes correctly.
If that one somehow is incorrect these function will not work.
Iām on a Raspi3.
Do I understand correctly, when using āopenhabian-configā initially (without sudo) Iām getting the message that sudo is needed, input with sudo, confirming with password and then it should NOT work?
Then you are doing everything correct.
This sounds strange to me, do you get any error in the console while running the password change function?
No error. The passwoRd just didnāt change. Tried it two times and then changed it via passwd.