perara / wg-manager

A easy to use WireGuard dashboard and management tool
MIT License
594 stars 74 forks source link

wg0 not going to start #74

Closed reentier closed 3 years ago

reentier commented 3 years ago

wg0 will not go up after a fresh installation:

image

I'm getting the following error:

image

Can anybody give advise how to fix this problem?

regards

kdkavanagh commented 3 years ago

Same error here using docker-compose install. Have you been able to get past this?

kdkavanagh commented 3 years ago

Looks like I needed to open a shell into the container and manually apt-get update && apt-get install iproute2.

Does iproute2 need to be explicitly added to the dockerfile @perara?

reentier commented 3 years ago

Looks like I needed to open a shell into the container and manually apt-get update && apt-get install iproute2.

Does iproute2 need to be explicitly added to the dockerfile @perara?

This worked for me too. What will happen in case of updating the container? Do i have to reinstall this package?

kdkavanagh commented 3 years ago

Any updates to the container will wipe this install, requiring you to repeat the manual installation. Easy fix is to add the package to the dockerfile, however I dont entirely understand why it was necessary to install this in the first place, assuming others have gotten the docker-based install to work as-is.

tromlet commented 3 years ago

Yeah, I got these exact same errors (on CentOS 7). :/