log looks good:
but turning the UI switches ON/OFF does not turn WeMo switches ON/OFF.
@Neil_Wiese If the discovery fails to find any WeMo device, there is something wrong with your installation or in your network. Please start a new thread for that discussion.
Since I have upgraded my OH2 installation (done with openhabian) from #572 to #612, I have two issues:
First, I always get awk: cannot open /usr/share/openhab2/runtime/karaf/etc/branding.properties (No such file or directory)
at the end of my MOTD.
And second, the MOTD doesnāt display the build number anymore. It only says openHAB 2.0 Build
(without the appropriate number).
Maybe this is related to the recent folder structure and/or package option changes?
I guess thatās it:
Hi @jaydee73, this should be fixed if you update openHABian. You can do this by running sudo openhabian-config
and selecting the update option. Hope that helps.
This was also my first thought, so I did this already yesterday. Unfortunately no luck.
It appears that I had a successful install, got the heartbeat, however Iām not seeing anything on the BasicUI. Just the home link and the rest is blank. Iām not sure if I missed the part in the instructions where it said to run a script or something to start the setup?
Thanks
As long as you havenāt defined an own sitemap, the BasicUI stays blank. Or you can choose the demo sitemap.
Do you have different options (HABpanel, PaperUI, BasicUI, ClassicUI), when you open http://openhabianpi:8080/ ?
Have a look at the later part of openHABian hassle-free openHAB Setup
Because the file branding.properties
moved a change is needed in your bash settings. The needed change is long done in openhabian. First you need to update the openhabian-config menu as mentioned by @Benjy. This step will however NOT do any changes to your system. In order to overwrite bash settings with updated ones, you need to additionally select āBasic Setupā.
Btw. executing āBasic Setupā is also a good idea in general because I improved a few other things contained in thereā¦
Thanks Thom! Indeed I just did an openhabian update and not the Basic Setup. And I missed the mentioned posting as it describes exactly what happened to me.
Will try it this evening.
Thanks again.
Hi Please advise. I tried upgrading, tonight and followed the instructions as follows:
ā# Make backup
cp -arp /etc/openhab2 /home/pi/openhab2-conf-bak
ā# Remove and reinstall openHAB
sudo apt update
sudo apt purge openhab2-offline
sudo apt install openhab2-offline
ā# Restore Backup
ā#sudo rm -rf /etc/openhab2
sudo cp -arp /home/pi/openhab2-conf-bak /etc/openhab2
sudo systemctl restart openhab2.service
Error message:
awk: cannot open /usr/share/openhab2/runtime/karaf/etc/branding.properties (No such file or directory)
I tried sudo openhabian-config, but receive error message:
sudo: openhabian-config: command not found
I then tried:
sudo sed -i -e ās|/usr/share/openhab2/runtime/karaf/bin/|/usr/share/openhab2/runtime/bin/|gā /etc/init.d/openhab2 /usr/lib/systemd/system/openhab2.service
sudo sed -i -e ās|OPENHAB_USERDATA="${OPENHAB_HOME}/userdata"|OPENHAB_USERDATA="/var/lib/openhab2"|gā /usr/share/openhab2/runtime/bin/oh2_dir_layout
sudo sed -i -e ās|OPENHAB_CONF="${OPENHAB_HOME}/conf"|OPENHAB_CONF="/etc/openhab2"|gā /usr/share/openhab2/runtime/bin/oh2_dir_layout
sudo sed -i -e ās|OPENHAB_LOGDIR="${OPENHAB_USERDATA}/logs"|OPENHAB_LOGDIR="/var/log/openhab2"|gā /usr/share/openhab2/runtime/bin/oh2_dir_layout
sudo systemctl daemon-reload
sudo service openhab2 start
But same problem. Please advise where I am going wrong?
Iām doing an update and I get this message. Not sure if itās the first time, just the first time Iāve notice it. Not sure what it means, if itās important, or how to fix.
(Side note: Use the ācode fencesā button in the editor toolbar to structure your posting with console text.)
First part: Seems okay. Please check the content of /etc/openhab2
to be yours.
Error message: You need to execute āBasic Setupā
āsudo: openhabian-config: command not foundā - this canāt be. There is only one explanation I can think of. I remember your name (add profile pic to stay known ;)) from way back when I started with openHABian. Are you by any chance on a very early version of openHABian? I introduced openhabian-config
only at a later point (around v0.8). Please check the output of
git -C /opt/openhabian/ log -1
Regarding the last part with the sed
commands: That was not needed anymore. A more general advice: Do not execute Linux commands blindly without knowing what they are going to do.
To get up to speed you can either install openhabian anew or you can try to update the important parts manually (git pull, execute openhab-setup.sh, select most menu entries). I would recommend to do a backup and trigger a new openhabian setup.
This error is new to me and doesnāt make much sense. The character war in the first line also looks scary. I do not want to rattle you but please do a backup now and check your filesystem/sd card for corruption.
This could on the other side just be an error with the newest version of etckeeper. Can you check the mentioned line 35 in /usr/bin/etckeeper ?
I do have a current backup and will check. When I open etckeeper I see this:
Iām certainly no programmer, but it doesnāt look right to me. Could this be contributed to me not having the current snapshot version as determined in this thread:
https://community.openhab.org/t/no-audio-voice-configuration-in-paperui/17466/4
Thanks,
Yes - I am using a very early version of openHABianā¦ I will perform a complete re-install.
Thatās not the bash script thatās supposed to be there. Do a backup and reinstall openHABian.
This happens to users from time to time. I only once had real issues with 2-3 RPi over multiple years. Pay attention to this article on the topic:
Thatās probably the easiest solution for you. Especially after the latest big change Replacement of mapdb by jsondb
Did a new install, once again enjoying the wonders of OpenHabian!!! Back on the newest snapshot without errors.
Thanks.
Hey guys, because of current events I just wanted to point out once again, that every contribution in the form of comments on issues or by submitting PullRequests are highly welcome!
Help improve openHABian for yourself and others! You will make this guy feel proud: