Errors in Synology NAS 213J (DMS 6.2xx)

Hi
I installed Home Assistant on my NAS using the guide https://home-assistant.io/docs/installation/synology/

It does not give any errors in starting hass-daemon
$ sudo /volume1/homeassistant/hass-daemon start

but take long time for me to see home assistant via URL http://localhost:8123.

I can see the following errors in home assistant itself

Timer got out of sync. Resetting
‎6‎:‎12‎ ‎AM core.py (ERROR)
Setup failed for cloud: Could not install all requirements.
‎11‎:‎14‎ ‎PM setup.py (ERROR)
Not initializing cloud because could not install requirement warrant==0.6.1
‎11‎:‎14‎ ‎PM requirements.py (ERROR)
Unable to install package warrant==0.6.1: Command “/volume1/@appstore/py3k/usr/local/bin/python3 -u -c “import setuptools, tokenize;file=’/tmp/pip-build-6cnjgvrn/pycryptodome/setup.py’;f=getattr(tokenize, ‘open’, open)(file);code=f.read().replace(’\r\n’, ‘\n’);f.close();exec(compile(code, file, ‘exec’))” install --record /tmp/pip-jqtv6pek-record/install-record.txt --single-version-externally-managed --prefix --compile --user --prefix=” failed with error code 1 in /tmp/pip-build-6cnjgvrn/pycryptodome/
‎11‎:‎14‎ ‎PM util/package.py (ERROR)
Setup failed for discovery: Could not install all requirements.
‎11‎:‎08‎ ‎PM setup.py (ERROR)
Not initializing discovery because could not install requirement netdisco==1.2.4
‎11‎:‎08‎ ‎PM requirements.py (ERROR)
Unable to install package netdisco==1.2.4: Command “/volume1/@appstore/py3k/usr/local/bin/python3 -u -c “import setuptools, tokenize;file=’/tmp/pip-build-9pxwi7ym/netifaces/setup.py’;f=getattr(tokenize, ‘open’, open)(file);code=f.read().replace(’\r\n’, ‘\n’);f.close();exec(compile(code, file, ‘exec’))” install --record /tmp/pip-o8xaq0ld-record/install-record.txt --single-version-externally-managed --prefix --compile --user --prefix=” failed with error code 1 in /tmp/pip-build-9pxwi7ym/netifaces/
‎11‎:‎08‎ ‎PM util/package.py (ERROR)

Please note that some of the commands in the installation did not work (see below) but home assistant does start
Create links to python folders to make things easier in the future:

ln -s /volume1/@appstore/py3k/usr/local/bin/python3 python3

ln -s /volume1/@appstore/py3k/usr/local/lib/python3.5/site-packages/homeassistant homeassistant

Set the owner and permissions on your config folder

chown -R homeassistant:users /volume1/homeassistant

chmod -R 664 /volume1/homeassistant

Further I see a note in home assistant to update the version. In doing the update ->$ /volume1/@appstore/py3k/usr/local/bin/python3 -m pip install --upgrade homeassistant

I get the following errors

login as: admin
admin@mybookworld’s password:
admin@MYBOOKWORLD:~$ cd …
admin@MYBOOKWORLD:/var/services/homes$ cd …
admin@MYBOOKWORLD:/var/services$ cd …
admin@MYBOOKWORLD:/var$ cd …
admin@MYBOOKWORLD:/$ /volume1/@appstore/py3k/usr/local/bin/python3 -m pip instal l --upgrade homeassistant
Collecting homeassistant
Downloading homeassistant-0.63.3-py2.py3-none-any.whl (7.7MB)
100% |████████████████████████████████| 7.7MB 19kB/s
Requirement already up-to-date: async-timeout==2.0.0 in /volume1/@appstore/py3k/ usr/local/lib/python3.5/site-packages (from homeassistant)
Requirement already up-to-date: typing<4,>=3 in /volume1/@appstore/py3k/usr/loca l/lib/python3.5/site-packages (from homeassistant)
Requirement already up-to-date: voluptuous==0.10.5 in /volume1/@appstore/py3k/us r/local/lib/python3.5/site-packages (from homeassistant)
Requirement already up-to-date: aiohttp==2.3.10 in /volume1/@appstore/py3k/usr/l ocal/lib/python3.5/site-packages (from homeassistant)
Requirement already up-to-date: pytz>=2017.02 in /volume1/@appstore/py3k/usr/loc al/lib/python3.5/site-packages (from homeassistant)
Requirement already up-to-date: requests==2.18.4 in /volume1/@appstore/py3k/usr/ local/lib/python3.5/site-packages (from homeassistant)
Requirement already up-to-date: yarl==1.1.0 in /volume1/@appstore/py3k/usr/local /lib/python3.5/site-packages (from homeassistant)
Requirement already up-to-date: astral==1.5 in /volume1/@appstore/py3k/usr/local /lib/python3.5/site-packages (from homeassistant)
Requirement already up-to-date: attrs==17.4.0 in /volume1/@appstore/py3k/usr/loc al/lib/python3.5/site-packages (from homeassistant)
Requirement already up-to-date: chardet==3.0.4 in /volume1/@appstore/py3k/usr/lo cal/lib/python3.5/site-packages (from homeassistant)
Requirement already up-to-date: pyyaml<4,>=3.11 in /volume1/@appstore/py3k/usr/l ocal/lib/python3.5/site-packages (from homeassistant)
Requirement already up-to-date: jinja2>=2.10 in /volume1/@appstore/py3k/usr/loca l/lib/python3.5/site-packages (from homeassistant)
Requirement already up-to-date: certifi>=2017.4.17 in /volume1/@appstore/py3k/us r/local/lib/python3.5/site-packages (from homeassistant)
Requirement already up-to-date: pip>=8.0.3 in /volume1/@appstore/py3k/usr/local/ lib/python3.5/site-packages (from homeassistant)
Requirement already up-to-date: multidict>=4.0.0 in /volume1/@appstore/py3k/usr/ local/lib/python3.5/site-packages (from aiohttp==2.3.10->homeassistant)
Requirement already up-to-date: idna-ssl>=1.0.0 in /volume1/@appstore/py3k/usr/l ocal/lib/python3.5/site-packages (from aiohttp==2.3.10->homeassistant)
Requirement already up-to-date: idna<2.7,>=2.5 in /volume1/@appstore/py3k/usr/lo cal/lib/python3.5/site-packages (from requests==2.18.4->homeassistant)
Requirement already up-to-date: urllib3<1.23,>=1.21.1 in /volume1/@appstore/py3k /usr/local/lib/python3.5/site-packages (from requests==2.18.4->homeassistant)
Requirement already up-to-date: MarkupSafe>=0.23 in /volume1/@appstore/py3k/usr/ local/lib/python3.5/site-packages (from jinja2>=2.10->homeassistant)
Installing collected packages: homeassistant
Found existing installation: homeassistant 0.63.2
Uninstalling homeassistant-0.63.2:
Exception:
Traceback (most recent call last):
File “/volume1/@appstore/py3k/usr/local/lib/python3.5/shutil.py”, line 538, in move
os.rename(src, real_dst)
OSError: [Errno 18] Invalid cross-device link: ‘/volume1/@appstore/py3k/usr/loca l/bin/hass’ -> ‘/tmp/pip-d27h1uf9-uninstall/volume1/@appstore/py3k/usr/local/bin /hass’

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “/volume1/@appstore/py3k/usr/local/lib/python3.5/site-packages/pip/baseco mmand.py”, line 215, in main
status = self.run(options, args)
File “/volume1/@appstore/py3k/usr/local/lib/python3.5/site-packages/pip/comman ds/install.py”, line 342, in run
prefix=options.prefix_path,
File “/volume1/@appstore/py3k/usr/local/lib/python3.5/site-packages/pip/req/re q_set.py”, line 778, in install
requirement.uninstall(auto_confirm=True)
File “/volume1/@appstore/py3k/usr/local/lib/python3.5/site-packages/pip/req/re q_install.py”, line 754, in uninstall
paths_to_remove.remove(auto_confirm)
File “/volume1/@appstore/py3k/usr/local/lib/python3.5/site-packages/pip/req/re q_uninstall.py”, line 115, in remove
renames(path, new_path)
File “/volume1/@appstore/py3k/usr/local/lib/python3.5/site-packages/pip/utils/ init.py”, line 267, in renames
shutil.move(old, new)
File “/volume1/@appstore/py3k/usr/local/lib/python3.5/shutil.py”, line 553, in move
os.unlink(src)
PermissionError: [Errno 13] Permission denied: ‘/volume1/@appstore/py3k/usr/loca l/bin/hass’
admin@MYBOOKWORLD:/$

How did you get docker working? That’s needed in order to make any of this work. Synology only supports docker on a few platforms and this is not one of them so you need to follow a guide to back door it. Did you do that?