Skip to content
This repository has been archived by the owner on Feb 16, 2020. It is now read-only.

line 176: -4: substring expression < 0 #16

Closed
Dubzer opened this issue Jan 31, 2019 · 6 comments
Closed

line 176: -4: substring expression < 0 #16

Dubzer opened this issue Jan 31, 2019 · 6 comments

Comments

@Dubzer
Copy link

Dubzer commented Jan 31, 2019

Using: almost clear Ubuntu 18 on AWS
User: newbie in Linux =)

Here's a log what I do:

https://pastebin.com/rwiWquMU

@l-n-s
Copy link
Owner

l-n-s commented Feb 1, 2019

OK, looks like your system already had wireguard cofiguration file before you ran the script. At least it had "/etc/wireguard/wg0.conf" installed. Try removing "/etc/wireguard/wg0.conf" file and start over.

@KoopaTroopas
Copy link

I am having the same issue as well. Ubuntu 18.04 droplet on Digital Ocean

@l-n-s
Copy link
Owner

l-n-s commented Feb 1, 2019

It should not prompt for a client name on the first run of the script. If it does, then probably, your system already had previous wireguard installation.

@KoopaTroopas
Copy link

Yeah, I just saw your previous comment. Removing the wg-0.conf file did the trick

@ghost
Copy link

ghost commented Feb 1, 2019

Delete the VM and create a new one.

@Dubzer
Copy link
Author

Dubzer commented Feb 1, 2019

Removing Wireguard config helped, thx

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

No branches or pull requests

3 participants