Project

General

Profile

Bug #2382

Home Assistant error after reinstall home assistant

Added by rhglass 24 days ago. Updated 22 days ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
App
Target version:
-
Start date:
02/23/2019
Due date:
% Done:

0%


Description

I have been trying to upgrade home for a few weeks, but I thought I would uninstall the Home Assistant and reinstall it, I have done this a few time before without problems.

but today I am unable to install it again,

I have looked at the log file for the error is a follows

Your HDA services have been restarted.
App: Home Assistant uninstalled ======= app uninstall end @ 2019-02-23 14:18:05 +0000 ========== ======= app install begin @ 2019-02-23 14:19:41 +0000 ==========
Installing app id i2gc5tqi7y under /var/hda/platform/html/script/.. ENV=production
Your HDA services have been restarted.
Your HDA services have been restarted.
Error: Command '['/var/hda/web-apps/hass/homeassistant/bin/python3', '-Im', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1.
/var/hda/web-apps/hass/elevated/installscript.sh: line 5: bin/activate: No such file or directory
Installing homeassistant service
Reloading systemctl daemon
Enabling homeassistant service
Done!
App: Home Assistant installed ======= app install end @ 2019-02-23 14:19:49 +0000 ==========

amahi-app-installer.log View (12.4 KB) rhglass, 02/23/2019 07:12 AM

How to upgrade.txt View - how to upgrade (142 Bytes) rhglass, 02/23/2019 02:01 PM

Upgrade Home Assistant.txt View - log file when upgrading (24 KB) rhglass, 02/23/2019 02:01 PM

verson 88.1 log.txt View - log file for upgrading to 88.1 (5.67 KB) rhglass, 02/23/2019 02:01 PM

activate (2.12 KB) rhglass, 02/23/2019 02:04 PM

History

#1 Updated by rhglass 24 days ago

  • Subject changed from Home Assistant reinstall home assistant to Home Assistant error after reinstall home assistant

#2 Updated by cpg 24 days ago

If you can install successfully (even by hand -- not necessarily in your HDA), it may be useful to know what is in that activate script, so if you have it (maybe even in some other installed system), please share.

#3 Updated by rhglass 23 days ago

cpg wrote:

If you can install successfully (even by hand -- not necessarily in your HDA), it may be useful to know what is in that activate script, so if you have it (maybe even in some other installed system), please share.

I set up a VM machine and I have to install amahi server for testing now, has been on my list to do anyway for testing, I have installed home assistant and it working as it should do,

I am sure is something I have done when trying to upgrade home Assistant to the new version

I been running these commands

cd /var/hda/web-apps/hass
cd homeassistant
sudo python3 -m venv homeassistant
source bin/activate
sudo pip3 install --upgrade homeassistant

I have included some files that

How to upgrade.txt
upgrade Home Assistant.txt
verson 88.1 log.txt

#4 Updated by rhglass 23 days ago

here is a copy of the activate file for the VM amahi server

#5 Updated by rhglass 22 days ago

  • Status changed from New to Closed

I could not find a way around this problem so I have reinstalled my Amahi home server and have now got Home assistant working, but from now I am only going to do testing on a VM server

Also available in: Atom