Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot install wgeasy addon. #45

Open
silfax opened this issue Oct 2, 2024 · 1 comment
Open

Cannot install wgeasy addon. #45

silfax opened this issue Oct 2, 2024 · 1 comment

Comments

@silfax
Copy link

silfax commented Oct 2, 2024

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
Copy link
Owner

jdeath commented Oct 2, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants