Skip to content
This repository has been archived by the owner on Jun 4, 2021. It is now read-only.

Install fails at "Add the Wireguard PPA" #1816

Open
Vonkenator opened this issue Oct 23, 2020 · 6 comments
Open

Install fails at "Add the Wireguard PPA" #1816

Vonkenator opened this issue Oct 23, 2020 · 6 comments

Comments

@Vonkenator
Copy link

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 : af5eb7d
@kmaradona
Copy link

Having the same issue.

@Vonkenator
Copy link
Author

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.

@azatkooman
Copy link

azatkooman commented Oct 25, 2020

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.

D1E7BF44 added a commit to D1E7BF44/streisand that referenced this issue Oct 30, 2020
@marafa
Copy link

marafa commented Nov 11, 2020

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

@filupmarley
Copy link

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!

@thehalvo
Copy link

thehalvo commented Feb 7, 2021

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.

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

6 participants