gcgarner / IOTstack

docker stack for getting started on IOT on the Raspberry PI
GNU General Public License v3.0
1.5k stars 578 forks source link

installation script incorrectly prompting version types #245

Open the1gofer opened 2 years ago

the1gofer commented 2 years ago

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.

Paraphraser commented 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:

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.

the1gofer commented 2 years ago

sorry i was running the correct one, just posted this int he wrong spot.