#Unable to install HACS

1 messages · Page 1 of 1 (latest)

brisk osprey
#

Hi All, new OS install and HA install. Running core on Ubuntu 24.04 LTS. Unfortunately I am unable to install HACS, when attempting to I receive the following error:

Error
Config flow could not be loaded: 500 Internal Server Error Server got itself in trouble

Unfortunately the google machine yields no results.

Python version = Python 3.13.3
OS: Ubuntu 24.04.2 LTS x86_64
Kernel: 6.8.0-58-generic
Packages: 1809 (dpkg), 5 (snap)
Shell: bash 5.2.21

logs attached

brisk osprey
#

I just saw this, "external network access disabled"

#

also I can seem to dl any other addon, not just hacs. all give me the same error

light sorrel
#

How did you install and start HA? It seems like it has no permissions to write data. Also why choose core?

brisk osprey
light sorrel
#

As which user do you run HA?

#

Permission denied (os error 13) at path "/srv/homeassistant/.tmpyboYtP"
Whoever it is apparently cannot write to /srv/homeassistant/.
You didn't answer why you chose core. This is not a recommended installation method.

brisk osprey
#

I picked core because honestly it was the easier option. I had it running before with no issues but I performed a new OS installation. I followed the steps and got it running... but now got the error.

light sorrel
#

So as which user is HA running? ps aux | grep homeassistant might reveal it.
Also share namei -l /srv/homeassistant/.

brisk osprey
light sorrel
#

Hmm. I don't see core running. Permissions are okay as per the docs.

brisk osprey
#

jesus, I think i figured it out

#

in my .service I specified ubuntu as the user

#

right?

light sorrel
#

Yep, that will do it.

#

Make sure you also run sudo chown -R homeassistant:homeassistant /srv/homeassistant just in case.