streisand icon indicating copy to clipboard operation
streisand copied to clipboard

Install fails at "Add the Wireguard PPA"

Open Vonkenator opened this issue 4 years ago • 6 comments

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

Vonkenator avatar Oct 23 '20 00:10 Vonkenator

Having the same issue.

kmaradona avatar Oct 23 '20 09:10 kmaradona

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.

Vonkenator avatar Oct 23 '20 10:10 Vonkenator

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.

azatkooman avatar Oct 25 '20 01:10 azatkooman

when you run ./streisand select custom install and say "no" to installing wireguard

marafa avatar Nov 11 '20 04:11 marafa

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!

filupmarley avatar Jan 09 '21 06:01 filupmarley

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.

thehalvo avatar Feb 07 '21 16:02 thehalvo