Closed BigGeorgeTx closed 3 years ago
You're choking on a number of issues unrelated to openHABian here.
You must not start openHAB manually but use the existing service (systemctl status/start/stop openhab
).
Then all your trouble is because ZRAM is not installed in the first place.
Use menu 38 with debugmode=maximum so you can see if it proceeds.
Please next time do not open a Github issue unless you're convinced there is a problem in openhabian. Github is not a support ticket system, make a post on the forum instead if you need help debugging.
I apologize for putting this in the wrong form. I misunderstood the discussion on
and thought that because I had run into a problem using openhabian, I should address it here rather than in the OpenHAB community. I have noted the error I got trying to install ZRAM there and will look there for help in finding a solution.
Should I delete this issue that I raised, or it is better to just leave it alone at this point?
just leave it, it's closed
Issue information:
I tried to migrate to OpenHAB3 using openhabian. It seems like the install was working, but then it failed.
I can force OpenHAB3 to run with openhab-cli start --debug. It runs and I can access the new UI. But that only lasts for a while and then it stops.
As instructed, I increased the openhabian debug to maximum. It seems to be having a problem adding zram dependency. I don't recall if I ever had ZRAM set up on this PI or not. This was my first venture into SBC and OpenHAB. I remember being a little concerned about SD card wearout and reading about ZRAM, but honestly can't remember if I ever tried to set it up or not. When I enter systemctl status zram-config.service, it says there is no such service. I tried uninstalling and reinstalling zram using the openhabian-config menu, but encountered errors either way.
Trying to uninstall: `2021-02-04_13:24:00_MST [openHABian] Removing zram service... + cond_redirect zram-config stop
$ zram-config stop
And trying to install
+ echo '2021-02-04_13:07:38_MST [openHABian] Refusing to install zram as it is already installed, please uninstall and then try again... EXITING' 2021-02-04_13:07:38_MST [openHABian] Refusing to install zram as it is already installed, please uninstall and then try again... EXITINGDebug information:
Please provide all of the output provided by utilizing the
debugmode=maximum
parameter in the/etc/openhabian.conf
file. For more information on how to accomplish this, please see openhabian-DEBUG.md.`2021-02-04_12:59:15_MST [openHABian] Setting up openHAB service... + zram_dependency install openhab
$ sed -i -e /^Before/s/$/ openhab.service/ /etc/systemd/system/zram-config.service
System information:
HW you are running on (Raspberry Pi, amd64). Running openhabian on a Pi4B
cat /etc/os-release
[13:07:45] openhabian@openhab:/etc$ cat /etc/os-release PRETTY_NAME="Raspbian GNU/Linux 10 (buster)" NAME="Raspbian GNU/Linux" VERSION_ID="10" VERSION="10 (buster)" VERSION_CODENAME=buster ID=raspbian ID_LIKE=debian HOME_URL="http://www.raspbian.org/" SUPPORT_URL="http://www.raspbian.org/RaspbianForums" BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"Also include the output of and
uname -m
. [13:11:44] openhabian@openhab:/etc$ uname -m armv7l