There is a tool called: Apache Felix Web Console for this but if I am not wrong, you can’t issue console commands from it (but you can manage certain aspects of Karaf from this)…
Note: this is a more advanced tool and not really recommended for all users (I don’t use it).
i’m new in the world of openhab, linux and rasberry. After some days learning, everything seems ok, happy to be here with you.
Everething, not really, I want to use the command “sudo raspi-config” to enable the rpi camera module. It seems I need to do that on Karaf, but I’m front a strange behaviour (all that with putty) :
Connection to openhabian : OK
Change all passwords (all the same for now) : OK openhabian@openHABianPi:~$ ssh openhab@localhost -p 8101OK
__ _____ ____
____ ____ ___ ____ / / / / | / __ )
/ __ \/ __ \/ _ \/ __ \/ /_/ / /| | / __ |
/ /_/ / /_/ / __/ / / / __ / ___ |/ /_/ /
\____/ .___/\___/_/ /_/_/ /_/_/ |_/_____/
- release build -
Hit '<tab>' for a list of available commands
and '[cmd] --help' for help on a specific command.
Hit '<ctrl-d>' or type 'system:shutdown' or 'logout' to shutdown openHAB.
# Host alias specification
# User alias specification
# Cmnd alias specification
# User privilege specification
root ALL=(ALL:ALL) ALL
# Allow members of group sudo to execute any command
%sudo ALL=(ALL:ALL) ALL
# See sudoers(5) for more information on "#include" directives:
openhabian ALL=(ALL) NOPASSWD: /usr/bin/python
Hey @RollandJ, great you’ve got that working. Did you already find a way to include the camera module in openHAB? There are solutions for cameras out there, if you got a working setup for the RPi module, tell us about it
@ikjes_to The user root is not available by default. That’s not specific to openHABian but a recommendation and default for many Linux OSs nowadays. The command sudo reboot should work fine, the error suggests you did changes to your sudo config you shoudn’t have. Check google for a solution.
I changed to an RPi 3 and I’am booting now directly from USB.
We will see if it will run now longer than a few month.
I was not able to restore a thing, because my SD-card is not booting any more.
I tried to understand what amanda backup is about, but I’am not getting the clue. It looks to complicated for me. And I’am sure that on restore time there will be missing to much.
I would like to create a continously (daily) image backup from my usb-stick to my nas drive out of the running system.
It is not enough to restore only a few file of openHAB, I also have to restore influxDB with all the data, grafana, and may be more. All the distinc user accounts/password have to be restored as well.
At the moment I have a running system again, with influx, with grafana and my fundamental bindings.
Still missing is the new modbus binding and digitalstrom binding.
All this is costing a lot of time and I will have to invest it again when my usb-stick crashes.
I tried to find out if I could rund an InfluxDB Server on my Synology DS216j, but there is no package available.
But I could install GIT to get at least all my configuration restored. But this also is not done in five minutes.
The ds216j is not capaz to run docker so this way is also not working.
So far I’am happy again.
But I have to find out urgently a working backup solution.
This looks good. But the problem I have with that is: How can I find out which services are running? How do I have to stop them and how do I restart them? If I make an mistake here the solution is not working for me.
But when I could solve this, this may be a working solution for me. Also the possiblity to compress the backup sounds good.
Actually you don’t have to stop any services if you don’t want to. This is the way I’m using it since almost 3 years now and back in the old days where I was using sd cards I had to restore a backup twice and it worked fine.
The only thing you would loose are some logs, but who cares.
A very nice feature are the the rsync backups with hardlinks.
If you want to be on the safe side, choose a backup strategy, make a backup and then restore it: you will see it works