Hi @MichaIng, is there any anticipated date to release DietPi version 6.27?
I don't want to mess around my home assistant instance due to deprecation of python 3.6.
I'm not expert in managing installations within virtual environment and unfortunately couldn't find a reliable source to follow and upgrade pyenv and python versions within home assistant.
Any help/guidance from other users is highly appreciated!
dietpi-backup # Please update/create a backup first
G_CONFIG_INJECT 'DEV_GITBRANCH=' 'DEV_GITBRANCH=dev' /DietPi/dietpi.txt
dietpi-update 1
dietpi-software reinstall 157
htop # Wait until CPU usage of HA process goes down
systemctl restart home-assistant # Required currently since first start fails to pull some Python module, no idea why...
htop # Wait until CPU usage of HA process goes down
If everything works well, you might want to leave it but have the next stable DietPi release installed over the development version:
G_CONFIG_INJECT 'DEV_GITBRANCH=' 'DEV_GITBRANCH=master' /DietPi/dietpi.txt
If something does not work as expected, please report, so I'll assist quickly, or you might want to restore the backup:
dietpi-backup -1
G_CONFIG_INJECT 'DEV_GITBRANCH=' 'DEV_GITBRANCH=dev' /DietPi/dietpi.txt # Does not work had to change dietpi.txt manually
dietpi-update 1 # Update to beta version ok.
dietpi-software reinstall 157 # I get thease errors and dosn´t update:
dash: 2: source: not found
dash: 3: pyenv: not found
dash: 4: pyenv: not found
dash: 5: pip3: not found
dash: 7: pip3: not found
[ OK ] DietPi-Software | G_AGI gcc libc6-dev make zlib1g-dev libbz2-dev libreadline-dev libssl-dev libsqlite3-dev libffi-dev
[ OK ] DietPi-Software | G_THREAD: All threads finished
[ OK ] DietPi-Software | tar xf 157.tar
[ OK ] DietPi-Software | rm 157.tar
dash: 2: source: not found
dash: 3: pyenv: not found
dash: 4: pyenv: not found
ERROR: Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: '/usr/local/lib/python3.8/site-packages/more_itertools-8.0.2.dist-info'
Consider using the `--user` option or check the permissions.
it is also not working for me also, i download latest image (DietPi_RPi-ARMv6-Buster) and try to install home assistant. it was not working, even also proFTP file sharing server not working, dietpi-software not working properly & fail to install some software
the software not installed are ProFTP, Avahi-Daemon, Home Assistant
the software installed properly are Node Red, Mosquito