Sorry, I really don’t remember all the steps, it was really dirty and I didn’t take notes, just did it as a test, as I already had a woking armbian supervisor. But finally it replaced my armbian hassio…
It took a couple of days of struggle, I rsynced docker directory from armbian (from /var/lib/docker to docker’s kodi addon directory), and then did wildcard replacements with find and sed to correct the wrong paths in docker’s filesystems.
I just found this commands in my history
mkdir /storage/hassio/
...
rsync -avz root@192.168.1.50:/usr/share/hassio/ /storage/hassio/
rsync -avz root@192.168.1.50:/var/lib/docker/ /storage/.kodi/userdata/addon_data/service.system.docker/docker/
find /storage/.kodi/userdata/addon_data/service.system.docker/docker/containers \( -type d -name .git -prune \) -o -type f -print0 | xargs -0 sed -i 's,/var/lib/docker,/storage/.kodi/userdata/addon_data/service.system.docker/docker,g'
find /storage/.kodi/userdata/addon_data/service.system.docker/docker/containers \( -type d -name .git -prune \) -o -type f -print0 | xargs -0 sed -i 's,/usr/share/hassio,/storage/hassio,g'
Really dirty, as I said
Maybe I can upload a backup of docker’s addon and /storage/hassio somewhere, but first I would need to delete all my personal data.
it would be really nice if you could figure out how to do it again. For example, on another device and then he made instructions. I’ve been trying to do this for a long time and never succeeded.
I might try it soon, as I would like a way to have a supervised homeassistant in CE from scratch, just in case my emmc dies.
But first I’ll try to make a backup from my working install and recover it into a fresh new CE 19.X install.
@Borec1 I also discovered a few days back that you can install docker-compose using pip, which can be installed from entware packages. This makes a lot easier to install many docker related apps.
Which steps? To install full hassio or to get docker-compose working?
As I commented in a previous post, I don’t have the steps to install hassio, I posted a couple of tips on how I did rsync it from an Armbian box. But I managed to make a full backup with a script (including a few docker containers), and yesterday I recovered it to a fresh install and it worked perfect.
I could guess it with the thread topic.
What I can do, knowing that a full backup can be recovered successfully, is to clean my test system where I recovered my backup, delete all non hassio related containers, delete installed integrations, devices, entities, automations and configs, change ip settings and passwords, make another full backup, upload it somewhere and link it here.
But it will take some time, as at the moment I don’t have another CE box, just my home live server with the EMMC loaded and HA taking care of a few devices. I will fix my H96 Max X3 when I get a new DC connector from Aliexpress, it’s on its way but it estimates nearly a couple of months to get here.
Anyway, I guess docker composer should make full hassio instalation easier.
Have you tried this?
I guess it should work, it seems to me a much cleaner method, and less work for me if it works.
Sorry to be totally confused here. I have seen commands like docker run, docker exec to install a docker. I am totally clueless what I need to do with an install.sh file. Where does it go? Do I need to save it somewhere and bash execute it?
It’s a command line program to process json, you can install it by opkg update && opkg install jq if you have entware. Otherwise see more install options here Download jq