complexorganizations / wireguard-manager

✔️ WireGuard-Manager is an innovative tool designed to streamline the deployment and management of WireGuard VPNs. Emphasizing user-friendliness and security, it simplifies the complexities of VPN configuration, offering a robust yet accessible solution for both personal and professional use.
Other
1.65k stars 207 forks source link

errors right after install #397

Closed digim-s15 closed 1 year ago

digim-s15 commented 1 year ago

Select an Option [1-16]:5 Let's name the WireGuard Peer. Use one word only, no special characters, no spaces. New client peer:8a241f1d6561b1ad0fdf6609bd735b21e248d92d049dab1f5c293105cc33325557f4f3b57b76fc62bf23e8931fa1c03c38d3 /usr/local/bin/wireguard-manager.sh: line 1401: [: 10.66.241.2: integer expression expected /usr/local/bin/wireguard-manager.sh: line 1479: 10.66.241.2: syntax error: invalid arithmetic operator (error token is ".66.241.2")

To Reproduce Steps to reproduce the behavior: install, run, select 5

Desktop (please complete the following information):

Rebelllious commented 1 year ago

Before I spin up this specific OS in a VM, can you tell me what that option 5 is exactly? Is it about adding new peer?

Rebelllious commented 1 year ago

And what version of the script you are using, too. As the current version has variable assignment in line 1479, for example, which does not help.

digim-s15 commented 1 year ago

this was latest script, downloaded yesterday, 5 is add new peer, yes i managed to fix this. maybe somehow previous installs of WG on this server interfering with current install uninstall and reinstall from script menu worked for me