Clarify instructions in troubleshooting re: removing wireguard and config files

This commit is contained in:
Jason A. Novak 2020-07-04 16:46:55 -07:00
parent 3f86ae0713
commit 4faf71bec8

View file

@ -283,10 +283,11 @@ TASK [wireguard : Generate public keys] ****************************************
fatal: [localhost]: FAILED! => {"msg": "An unhandled exception occurred while running the lookup plugin 'file'. Error was a <class 'ansible.errors.AnsibleError'>, original message: could not locate file in lookup: configs/xxx.xxx.xxx.xxx/wireguard//private/dan"} fatal: [localhost]: FAILED! => {"msg": "An unhandled exception occurred while running the lookup plugin 'file'. Error was a <class 'ansible.errors.AnsibleError'>, original message: could not locate file in lookup: configs/xxx.xxx.xxx.xxx/wireguard//private/dan"}
``` ```
This error is usually hit when using the local install option on a server that isn't Ubuntu 18.04 or later. You should upgrade your server to Ubuntu 18.04 or later. If this doesn't work, try removing `*.lock` files at /etc/wireguard/ as follows: This error is usually hit when using the local install option on a server that isn't Ubuntu 18.04 or later. You should upgrade your server to Ubuntu 18.04 or later. If this doesn't work, try removing files in /etc/wireguard/ and the configs directories as follows:
```ssh ```ssh
sudo rm -rf /etc/wireguard/*.lock sudo rm -rf /etc/wireguard/*
rm -rf configs/*
``` ```
Then immediately re-run `./algo`. Then immediately re-run `./algo`.