Open the1gofer opened 2 years ago
Please see This Project is Dormant - which will point you to the SensorsIot/IOTstack fork.
But before you race off to do that, please be aware that "installation" is currently a bit of a minefield. There are many moving parts - IOTstack, Raspbian Buster/Bullseye, 32-bit vs 64-bit OS variants, docker itself, and variants of docker-compose. And home assistant.
A few examples:
apt
) gets an out-of-date version which somehow futzes with docker's version number (no idea how). That confuses the menu into thinking docker is out-of-date (a pull request is pending to address that) and, then, if you try to update docker-compose it breaks docker and everything needs to be blown away and reinstalled. That also nukes any Supervised Home Assistant.apt
was the starting point. Then came a version installed by pip
. Now it's a platform-specific compiled binary fetched using wget
or curl
and copied to the right place. I refer to this as "modern" docker-compose. It's actually a plug-in so the commands docker-compose
and docker compose
are synonymous.Also, if you've been using gcgarner, the menu you're used to is now referred to as "old menu". It's still there. You just need to git checkout old-menu
. The menu on the master branch is "new menu". The two have been slowly converging. I think the only real difference now is old menu uses environment files in the services directory whereas new menu stores environment variables inline in docker-compose.yml
. Personally, I prefer the old menu UI but I keep all my environment variables inline in the compose file.
So, after giving yourself time to digest that small horror story, maybe also look at PiBuilder which is agnostic on Buster/Bullseye, 32/64-bit, clones SensorsIot/IOTstack, installs docker, docker-compose and dependencies correctly (and in a way that keeps the menu happy), and can also install Supervised Home Assistant.
If you find yourself thinking that it might be about time to start from a clean slate with 64-bit Bullseye and use PiBuilder to get a running system, you might also like to look at IOTstackBackup. PiBuilder installs IOTstackBackup but you'll probably want to install it on your existing system so you can run a backup before you rebuild.
Hope this helps.
sorry i was running the correct one, just posted this int he wrong spot.
Fresh instal, it said python 3.9 was less than the manditory 3.7, and that Docker isn't up to date, even after the script updated docker and rebooted.