Error starting Home Assistant on Synology for first time

Thanks molano, with your help I could get it running.

As I run into some problems, I update your steps how it worked for me:

  1. Install Debian Chroot from SynoCommunity. I could not use the guide provided above. But just install Debian Chroot, then use following command to go into the chroot:
    /var/packages/debian-chroot/scripts/start-stop-status chroot

  2. I had to go into the bin dir:
    cd /usr/bin/

  3. Since this Debian is a Jessie release, it has Python 3.4, while our DS has 3.5. So we need to upgrade to Stretch release. Do this inside Debian Chroot. (I had to use vi, no vim there)
    a. vi /etc/apt/sources.list. Comment all Jessie, uncomment all testing
    b. vi /etc/apt/preferences.
    Packages stable should have priority -10
    Packages testing should have a priority 900
    c. apt-get update

  4. Now we need to install python3.5 AND python3-pip
    a. apt-get install libpython3.5-dev (not sure if this is needed)
    b. apt-get install python3.5
    c. apt-get install python3.5-pip

  5. Let’s install netdisco on our debian
    a. python3.5 -m pip install netdisco

All files are now installed inside debian. We just need to copy them over to our DS.

  1. Inside SSH of DS:
    cd /volume1/@appstore/py3k/usr/local/lib/python3.5/site-packages/
    cp /usr/local/debian-chroot/var/chroottarget//usr/local/lib/python3.5/dist-packages/* . -R
1 Like