streisand
streisand copied to clipboard
Install fails at "Add the Wireguard PPA"
I'm attempting to install Streisand on a Digtial Ocean Droplet. I've had a few errors related to OpenVPN which were fixed by updating the OpenVPN public key in /playbooks/roles/openvpn/files
, but I'm not sure how to approach this one.
Expected behavior:
Streisand installs with no issues
Actual Behavior:
TASK [wireguard : Add the WireGuard PPA] *****************************************************************************************************************************************************************
FAILED - RETRYING: Add the WireGuard PPA (10 retries left).
FAILED - RETRYING: Add the WireGuard PPA (9 retries left).
FAILED - RETRYING: Add the WireGuard PPA (8 retries left).
FAILED - RETRYING: Add the WireGuard PPA (7 retries left).
FAILED - RETRYING: Add the WireGuard PPA (6 retries left).
FAILED - RETRYING: Add the WireGuard PPA (5 retries left).
FAILED - RETRYING: Add the WireGuard PPA (4 retries left).
FAILED - RETRYING: Add the WireGuard PPA (3 retries left).
FAILED - RETRYING: Add the WireGuard PPA (2 retries left).
FAILED - RETRYING: Add the WireGuard PPA (1 retries left).
fatal: [104.248.152.56]: FAILED! => {"attempts": 10, "changed": false, "msg": "failed to fetch PPA information, error was: HTTP Error 404: Not Found"}
Steps to Reproduce:
Run ./streisand with default configuration
Diagnostic Info
### Ansible Information
* Ansible version: 2.8.4
* Ansible system: Linux
* Host OS: Ubuntu
* Host OS version: 20.04
* Python interpreter: python3
* Python version: 3.8.5
### Streisand Information
* Streisand Git revision: af5eb7dac157a2416ea64cba96cf32f7f505d9ff
* Streisand Git clone has untracked changes: yes
* Genesis role: genesis-digitalocean
* Custom SSH key: False
### Enabled Roles
* Shadowsocks enabled: True
* Wireguard enabled: True
* OpenVPN enabled: True
* stunnel enabled: True
* Tor enabled: False
* Openconnect enabled: True
* TinyProxy enabled: True
* SSH forward user enabled: True
* Configured number of VPN clients: 10
Additional Details:
Log output from Ansible or other relevant services (link to Gist for longer output):
Target Cloud Provider: Digital Ocean
Operating System of target host: Ubuntu 16.04
Operating System of client: Ubuntu 20.04
Version of Ansible, using ansible --version
: 2.8.4
Output from git rev-parse HEAD
in your Streisand directory : af5eb7dac157a2416ea64cba96cf32f7f505d9ff
Having the same issue.
If you don't need to use Wireguard, the issue can be resolved by choosing to exclude installation of Wireguard during the install configuration process. This is what I ended up doing, but the issue is still there for those who want to use Wireguard.
I also had the same issue on Digital Ocean. I looked at /streisand/playbooks/roles/wireguard/tasks/install.yml and figured that you can comment lines 7 through 13, since now wireguard is part of standard repos. This solved it for me.
when you run ./streisand select custom install and say "no" to installing wireguard
I also had the same issue on Digital Ocean. I looked at /streisand/playbooks/roles/wireguard/tasks/install.yml and figured that you can comment lines 7 through 13, since now wireguard is part of standard repos. This solved it for me.
This corrected my issue as well. Thank you!
Wireguard PPA owner does not provide packages anymore.
You can ignore it but choosing to exclude during install.
If you want to manually add it later you you can add the universe pocket repo and install the package from it:
sudo apt-add-repository universe
sudo apt-get update
sudo apt-get install wireguard
Or, on Ubuntu. Wireguard functionality has now been folded into Ubuntu itself, simply run
apt install wireguard
on all Ubuntus ≥ 16.04.