Error starting Home Assistant on Synology for first time

Thanks molano and dedi.

An update to the process now that stretch is stable release. Got this going with the following steps:

  1. Install Debian Chroot from SynoCommunity

  2. SSH into Synology DiskStation. Use this command to go into chroot: /var/packages/debian-chroot/scripts/start-stop-status chroot

  3. cd /usr/bin/

  4. I prefer nano which was thankfully available but vi should do the job (vim was not available).
    nano /etc/apt/sources.list
    Change all “jessie” sources to “stretch”. Thats it, no messing around with preferences.

  5. Installing python and pip:
    a. apt-get install libpython3.5-dev
    b. apt-get install python3.5
    c. apt-get install python3-pip (note: no 3.5)

  6. Install netdisco: **python3.5 -m pip install netdisco

  7. Get back to the DS SSH with: exit

  8. Copy all packages:
    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

  9. Restart home assistant /volume1/homeassistant/hass-daemon restart (assuming that’s where you put it).

1 Like