[APKG HomeAssistant Update process ] tested with 0.60.1 (2018)

Post Reply
User avatar
father.mande
Posts: 1818
youtube meble na wymiar Warszawa
Joined: Sat Sep 12, 2015 2:55 am
Location: La Rochelle (France)

[APKG HomeAssistant Update process ] tested with 0.60.1 (2018)

Post by father.mande »

Hi,

Just For Your Information :
If you want to upgrade HomeAssistant on Asustor NAS :
1 save your settings (.homeassistant folder) ... just in case of problems ...
2 stop (Disable) Hass APKG in App. Central
3 open a terminal (root / your_password)
4 cd /usr/local/AppCentral/hass
5 validate the virtualenv
source serv/bin/activate
6 update
pip3 install --upgrade homeassistant
7 deactivate virtual_env
deactivate
8 exit and Enable Hass APKG in App. Central

... tests ... don't know if this have impact on zwave provide ?? (don't have hardware)

trace of a default update :

Code: Select all

root@AS5002TaPhil:/volume1/.@plugins/AppCentral/hass # source serv/bin/activate
(serv) root@AS5002TaPhil:/volume1/.@plugins/AppCentral/hass # pip3 install --upgrade homeassistant
Collecting homeassistant
  Downloading homeassistant-0.60.1-py2.py3-none-any.whl (7.6MB)
    100% |████████████████████████████████| 7.6MB 86kB/s
Requirement already up-to-date: pyyaml<4,>=3.11 in /volume1/.@plugins/AppCentral/hass/serv/lib/python3.5/site-packages (from homeassistant)
Collecting chardet==3.0.4 (from homeassistant)
  Downloading chardet-3.0.4-py2.py3-none-any.whl (133kB)
    100% |████████████████████████████████| 143kB 3.4MB/s
Collecting certifi>=2017.4.17 (from homeassistant)
  Downloading certifi-2017.11.5-py2.py3-none-any.whl (330kB)
    100% |████████████████████████████████| 337kB 1.7MB/s
Collecting pip>=8.0.3 (from homeassistant)
  Downloading pip-9.0.1-py2.py3-none-any.whl (1.3MB)
    100% |████████████████████████████████| 1.3MB 537kB/s
Collecting jinja2>=2.9.6 (from homeassistant)
  Downloading Jinja2-2.10-py2.py3-none-any.whl (126kB)
    100% |████████████████████████████████| 133kB 3.7MB/s
Collecting astral==1.4 (from homeassistant)
  Downloading astral-1.4-py2.py3-none-any.whl
Collecting typing<4,>=3 (from homeassistant)
  Downloading typing-3.6.2-py3-none-any.whl
Collecting yarl==0.16.0 (from homeassistant)
  Downloading yarl-0.16.0-cp35-cp35m-manylinux1_x86_64.whl (157kB)
    100% |████████████████████████████████| 163kB 3.2MB/s
Collecting aiohttp==2.3.6 (from homeassistant)
  Downloading aiohttp-2.3.6-cp35-cp35m-manylinux1_x86_64.whl (648kB)
    100% |████████████████████████████████| 655kB 991kB/s
Collecting requests==2.18.4 (from homeassistant)
  Downloading requests-2.18.4-py2.py3-none-any.whl (88kB)
    100% |████████████████████████████████| 92kB 3.8MB/s
Collecting voluptuous==0.10.5 (from homeassistant)
  Downloading voluptuous-0.10.5.tar.gz (41kB)
    100% |████████████████████████████████| 51kB 4.2MB/s
Collecting async-timeout==2.0.0 (from homeassistant)
  Downloading async_timeout-2.0.0-py3-none-any.whl
Collecting pytz>=2017.02 (from homeassistant)
  Downloading pytz-2017.3-py2.py3-none-any.whl (511kB)
    100% |████████████████████████████████| 512kB 1.3MB/s
Collecting MarkupSafe>=0.23 (from jinja2>=2.9.6->homeassistant)
  Downloading MarkupSafe-1.0.tar.gz
Collecting multidict>=2.0 (from yarl==0.16.0->homeassistant)
  Downloading multidict-3.3.2-cp35-cp35m-manylinux1_x86_64.whl (441kB)
    100% |████████████████████████████████| 450kB 1.4MB/s
Collecting urllib3<1.23,>=1.21.1 (from requests==2.18.4->homeassistant)
  Downloading urllib3-1.22-py2.py3-none-any.whl (132kB)
    100% |████████████████████████████████| 133kB 3.1MB/s
Collecting idna<2.7,>=2.5 (from requests==2.18.4->homeassistant)
  Downloading idna-2.6-py2.py3-none-any.whl (56kB)
    100% |████████████████████████████████| 61kB 4.3MB/s
Installing collected packages: chardet, certifi, pip, MarkupSafe, jinja2, pytz, astral, typing, multidict, yarl, async-timeout, aiohttp, urllib3, idna, requests, voluptuous, homeassistant
  Found existing installation: pip 8.1.2
    Uninstalling pip-8.1.2:
      Successfully uninstalled pip-8.1.2
  Found existing installation: MarkupSafe 0.23
    Uninstalling MarkupSafe-0.23:
      Successfully uninstalled MarkupSafe-0.23
  Running setup.py install for MarkupSafe ... done
  Found existing installation: Jinja2 2.8
    Uninstalling Jinja2-2.8:
      Successfully uninstalled Jinja2-2.8
  Found existing installation: pytz 2016.7
    Uninstalling pytz-2016.7:
      Successfully uninstalled pytz-2016.7
  Found existing installation: typing 3.5.2.2
    Uninstalling typing-3.5.2.2:
      Successfully uninstalled typing-3.5.2.2
  Found existing installation: requests 2.11.1
    Uninstalling requests-2.11.1:
      Successfully uninstalled requests-2.11.1
  Found existing installation: voluptuous 0.9.2
    Uninstalling voluptuous-0.9.2:
      Successfully uninstalled voluptuous-0.9.2
  Running setup.py install for voluptuous ... done
  Found existing installation: homeassistant 0.30.2
    Uninstalling homeassistant-0.30.2:
      Successfully uninstalled homeassistant-0.30.2
Successfully installed MarkupSafe-1.0 aiohttp-2.3.6 astral-1.4 async-timeout-2.0.0 certifi-2017.11.5 chardet-3.0.4 homeassistant-0.60.1 idna-2.6 jinja2-2.10 multidict-3.3.2 pip-9.0.1 pytz-2017.3 requests-2.18.4 typing-3.6.2 urllib3-1.22 voluptuous-0.10.5 yarl-0.16.0
(serv) root@AS5002TaPhil:/volume1/.@plugins/AppCentral/hass # deactivate
root@AS5002TaPhil:/volume1/.@plugins/AppCentral/hass # 
Philippe.
AS6602T / AS5202T /AS5002T / AS1002T / FS6706T
Post Reply

Return to “Home_assistant”