jdeath / homeassistant-addons

MIT License
65 stars 16 forks source link

Cannot install wgeasy addon. #45

Open silfax opened 1 month ago

silfax commented 1 month ago

Hi, Keep receiving the error message below when trying to install the wgeasy addon:

Failed to install add-on The command '/bin/sh -c apk add -U --no-cache jq && sed -i 's/'\''wg-quick down wg0'\''/wg-quick down ${WG_PATH}wg0.conf/' /app/lib/WireGuard.js && sed -i 's/'\''wg-quick up wg0'\''/wg-quick up ${WG_PATH}wg0.conf/' /app/lib/WireGuard.js && sed -i 's/'\''wg syncconf wg0 <(wg-quick strip wg0)'\''/wg syncconf wg0 <(wg-quick strip ${WG_PATH}wg0.conf)/' /app/lib/WireGuard.js' returned a non-zero code: 1

HAOS on RPi 4. Any advice?

Thanks!

jdeath commented 1 month ago

I am not sure. It works fine on amd64 (I just reinstalled it) and that is all I have. It is possible the docker image structure is different on rpi4.

Perhaps try to clean up your docker images to ensure it is pulling the latest version and not using an old one. Log into your home assistant via ssh (you will need to turn protection off in the addon)

docker images | grep "wg-easy" then docker image rm -f XXXXXXX where the XXXXXX is the string for docker images shown by above step.

Once that is done, try to reinstall.