http://docs.openhab.org/installation/openhabian.html#raspberry-pi
Thanks Thom - donât know why are not working. Anyway, i aimed to download a copy of openhab folder and i used winscp.
Hello and thanks for your reply.
My concern is, that Pine-A64 and Pine-64LTS are slightly different regarding the hardware, even the producer states, that Pine-A64 images cannot be used on Pine-64LTS
From https://www.pine64.org/?product=pine-a64-lts:
2. OS builds same as SOPINE platform due to LPDDR3 memory configuration. Please donât select Pine A64+ OS builds.
For this reason I am wondering whether I can use the pre-build OpenHabian image or have to set up OpenHabian manually (Debian/Ubuntu + OpenHAB)
I canât answer that for sure but thatâs not really important. The manual openHABian installation doesnât take much time and in the end youâll reach the same results. The prebuild images are a treat for everyone using them but behind the scene they call the openHABian scripts just as you will following the manual path.
Hello Thom, many thanks for your time and for pointing me to the installer. I am sure I can install some minimal Debian/Ubuntu Image on the Pine64-LTS in a way it boots from the emmc module.
I know the Stretch openHABian image isnât ready due to the Mosquitto install problem. When openHABian does eventually go over, is it going to be a breaking change that requires a fresh install? I am having some problems and am planning to do a fresh install anyway⊠but Iâm hoping to not do it twice.
Hey @Dome, my answer is a bit mixed.
The new openHABian image will be based on stretch and existing installations will not be upgraded to stretch automatically. In the long run a small gap might open between old and new systems. However you have to know, that it would be possible for you to upgrade an existing jessie installation to stretch manually. In the end differences between the two distributions are mostly unimportant for us.
In conclusion Iâd say it might be worth to wait for the new image but I wouldnât wait for it if the problems you mentioned need to be dealt with rather sooner than later.
Debian Stretch and Raspbian Stretch brought some interesting changes and I want to get them into openHABian. One blocking issue was the mosquitto dependency error, for which there is at least a workaround available.
openHABian stretch - estimated date
I am traveling the coming week and it might take some days to configure, test and deploy the new openHABian image. I canât make any promises yet. Maybe I can spare a few days at the end of October. If anyone knows a good reason why the stretch image should be available rather sooner than later, let me know
Hi Thom
There seems to be small issue with the install instruction for openhabian on the raspberry Pi. When I got to the step where I tried to mount the Samba Shares I executed the following command on the Pi:
sudo chown -hR openhab:openhab /etc/openhab2 /opt/openhab2/conf
This returned an error
chown: cannot access â/opt/openhab2/conâ: No such file or directory
I had a look at the file locations in the manual installation instructions and it seems that this file is for the manual install not the pre-configured image?
Anyway I went ahead and tried to get access from Windows10 (latest update) . No luck. This surprised as I had a previous version of Openhabian and that was working OK.
I made sure I had the correct Windows WORKGROUP in the Samba config file on the Pi. I had to change that as I had changed the Windows default. Didnât change anything else.
I updated the Windows 10 Credentials to tell Windows the correct login details See Control Panel/User Accounts/Credential Manager/Windows Credentials and add the Raspberry Pi Samba user and password. Still no luck.
Then I found a site that showed how to access a list of shared folders on the Pi
net rpc share list -U openhab where openhab is the user name you are using and omit the **
This gives the ACTUAL names of your shared folders.
For me these were:
openHAB-share
openHAB-conf
IPC$
openhab
I then used the FileExplorer/This Computer/ Add network location . When it asked me for the address I typed in
\192.168.1.39\openHAB-share {change to your ip address and the folder name you are mapping}
SUCCESS this worked but only for the âopenHAB-shareâ and the openHAB folders. When I tried to link the openHAB-conf folder, permission was refused. Probably because the chown command failed on that folder as it could not find it 9see comments above). Also I wonder is this openHAB-conf the same folder as found in the openHAB-share and having the same name?
Previously I had not been able to get my Windows computer to recognize ANY of the folder names provided or shown in the documentation. Getting the ACTUAL names using the net command seems to have done the job. So I feel the documentation would benefit from an update in this area. Also I suggest mention of the best command for users to get the shared folder names (thus preventing a problem if the docs get out of sync with the actual)
Apologies if this is a bit long but I have just spent the whole afternoon trying to sort this out and I thought I might provide the steps for others having the same issue
Anyone else seeing this ?
Running âtip of the spearâ Openhabian/Openhab2 for months. I update every couple of weeks. Twice in the past week, my USB boot partition (as in âmove to USBâ from Openhabian) has crashed HARD. Meaning ârebuild your installation from near-scratchâ â I say ânearâ because I was able to mount the crashed USB and copy my config/rules/etc info BUT the important part in both cases is that suddenly the USB drives no longer booted with a âsudo shutdown -r nowâ ---- Kernel Panic etcâŠ(two different NEW 32 GB Sandisk USBs involved here, which does tend to support some low-level OS issue and/or Sandisk I/F mess-up.)
Random possibilities: (1) some flaky RAM on the Pi3âŠ(2) some OS/OH vulnerability to transient network connectivity â not sure about the first time, but during the second incident there definitely was some questionable connection internet from ComcastâŠ(3) USB-Sandisk low-level fault, (4) zombie apocalypse.
Iâll discount option 4 (for now), but is anyone else seeing this kind of behavior ?
Hi,
Iâm running openHABian on a Raspberry 3 since some weeks to control Intertechno and Homematic devices. The openHABian Version is from the 16th of June.
After some technical problems (Intertechno didnât react) I did a reboot yesterday but since than the system didnât start anymore. The Raspberry is working (green and red light is on) but thatâs it. The dongles are off and also the network connection didnât start.
Anyone any idea what has happened and if there will be a chance to repair? The SD card itself is readable when I put it in my Mac. And with another SD card with FHEM everything is working.
Many thanks,
Sebastian
PS: No, for sure I donât have an backupâŠ
Did you do an upgrade in the mean time without a reboot?
Then you trapped also into this issue, see also Post#1068 in this thread.
Hey Holger, the bug youâve linked to is related to an older version of the system. @sebami is not effected by it.
@sebami This is a complicated issue. If you are certain to know the correct IP address and canât access the system via SSH (not sure about your skill level) you could try connecting a display and observe the bootup, then troubleshoot whatâs presented as error. This isnât normal behavior but can happen, itâs just bad luck.
If you canât revive the system, do a backup and reinstall openHABian. You can mount the SD card to your PC and access the data from there to copy all files needed (please check google to learn how). Good luck!
New feature suggestion for openhabian-config:
How about integrating the option to boot from nfs?
It would be helpful to get a feature to mount permanently the root directory to a NFS share, copy all relevant files to the NFS share and change the boot files for booting from network.
I personally think that this is a killer feature to cope with the SD-card corruption issues of the raspberry specifically.
Well. Yes itâll avoid SD caused crashes, but a) it only is useful for people to have a NAS (and only a few do) and b) itâs a lot of work and a lot of risk involved in that change/addition. I wouldnât expect Thomas to have the time needed to get that working properly.
My guess would be that more than 50% of all Raspberry users have a NAS, but maybe I am wrong.
I think I should rephrase to âfeature suggestionâ instead of feature request, because I think itâs nice to have, but openhabian itself is a great help and without it I wouldnât be at this point with my homeautomation today.
So thanks to Thomas, you and the others maintaining openhabian!
According to a (quick) Google search, you cannot run a Pi diskless.
The bootloader is hardcoded to use the SD card and thereâs no PXE support in BIOS. It doesnât even have a proper BIOS. So sorry but no we canât build that.
For RPi 3 it seems to be possible:
I will try to go this way manually if this is really an option.
@ThomDietrich Thanks for the response. I decided to did a complete new setup of my system as it was easier at the end. But next time I will have an backup
Best regards,
Sebastian
Please correct me if this is not the right way to ask. Iâm struggling to install openHABian. I have very limited Linux knowledge, NO openHAB so hassle-free looks good to me. Iâm sure I broke it, because it was working, but then I tried again.
Running a MacMini, and trying to install on a RPI3 and/or a Pine64. Downloaded the img.xz file, wrote to the Mac SD slot with Etcher, plugged into RPI3 waited (an hour) and WAS running. openHAB. (very cool!)
I had a problem with my Z-Stick, so decided to just start again from the beginning, since it was so easy the first time.
Every time since, I fail in various places with an error. (see below) I delete the key line in known_hosts to get back in via SSH, and see the errors. Can you help me fix whatever I broke?
2017-11-06_21:34:57_UTC [openHABian] Starting the openHABian initial setup. This might take a few minutes.
2017-11-06_21:34:57_UTC [openHABian] If you see this message more than once, something went wrong!
2017-11-06_21:34:57_UTC [openHABian] Storing configuration⊠OK
2017-11-06_21:34:57_UTC [openHABian] Changing default username and password⊠SKIPPED
2017-11-06_21:34:57_UTC [openHABian] Setting up Wifi connection⊠SKIPPED
2017-11-06_21:34:57_UTC [openHABian] Ensuring network connectivity⊠OK
2017-11-06_21:34:57_UTC [openHABian] Waiting for dpkg/apt to get ready⊠OK
2017-11-06_21:35:12_UTC [openHABian] Updating repositories and upgrading installed packages⊠OK
2017-11-06_21:35:25_UTC [openHABian] Installing git package⊠OK
2017-11-06_21:35:29_UTC [openHABian] Cloning myself⊠FAILED
2017-11-06_21:35:29_UTC [openHABian] Initial setup exiting with an error.