Hi all! I’m just getting started with this, but I really like the features…
Here’s my issue…can’t seem to get past it.
So, I know I need to upgrade Python to 3.8. However on my Synology NAS it installs as a separate package. When I try to uninstall the old 3.7, it shows that Home Assistant is dependent and won’t let me uninstall until I uninstall Home Assistant. I don’t want to lose the config I’ve done so far, so that’s not a good plan. 3.8 is already on my NAS. Is there a way to get Home Assistant to just start using 3.8 on the NAS and not 3.7 so I can get rid of 3.7?
This seems to work (you must do this via terminal)…
cd <path to where you like to run HA>
/usr/local/bin/python3.8 -m venv --without-pip ./
source ./bin/activate
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py && python get-pip.py
Do note that you need to install a compiler for pip install homeassistant to work.
I ended up moving to Home Assistant to Docker on my Syno NAS. With a docker instance, Python gets updated when the docker gets updated and runs independently of anything else i have running on the NAS. I’m actually slowly moving all my Syno apps that have a docker equivalent to docker.
I literally just finished doing this same thing. Seems to run much smoother this way. Also adds the Add-ons store and Supervisor…much more versatile this way.
Have you figured out how to install the Syno Guest Tool yet? Been hunting and it seems a lot of individuals have worked on this, but no solutions yet…at least not as of early 2021…
Hi! I saw your post a while back, but I thought I read that it no longer worked with the latest DSM update. Has it been corrected now? If so that would be GREAT!
Apologies for the ancient thread bump here, but I think I have the same problem and I’m having a little trouble following the solution! Apologies as well if I bumped this but it turns out I have a different problem
I have been running the Home Assistant Core package from Syno Community for awhile now without issues, and I (I guess, mistakenly) just upgraded my Python3 package to the latest (3.8.x). Now, Home Assistant Core won’t restart, I assume because (as mentioned previously) it’s dependent on Python 3.7.x.
Could someone please walk me through (or point me to) the recommended solution(s)?
I see that some folks have run it on Docker but also that that’s deprecated (and I don’t know exactly how I’d go about migrating even if I wanted to
I also see a confirmed “Solved” answer that indicates moving it to a virtual machine — but I’m not sure how I’d do that either (and keep what I’ve set up). If it matters (to make sure I’d even have that as an option), I have a DS220+.
Hey there. I used the virtual machine option. I’m at work right now, but when I get home, I’ll find the link I used to set it up and post it here.
If you can at least get into HA for know, run a backup, then download the backup to a safe place. Then, on e the VM is up and running, you can restore the backup file you saved and you’ll be back up and running on a VM.
I’ve answered you on original thread yesterday that you opened for this…
Both Docker (core) and VM (Home Assistant OS) versions are supported and nothing has been deprecated.
This video may help you with VM installation:
And this one with Docker installation:
In both cases, when you get them up and running, just copy FULL contents of your /config folder (including hidden files and folders) to new location and it will get your system full up and running.
If you have backup file (not sure what version of HA you did run before), you can use contents of that file for Docker or import it in VM version of HA.
EDIT: Wow, yeah, using backup file is not option since it was 2021.9.7 - almost a year old…