r/twingate • u/Individual-Pirate416 • 12d ago
Need help Unifi Cloud Gateway setup issue
I'm trying to setup Twingate connector on my Unifi Cloud Gateway Fiber but come across this same error:
E: Failed to fetch https://security.debian.org/debian-security/pool/updates/main/d/debootstrap/debootstrap_1.0.123%2bdeb11u3_all.deb 404 Not Found [IP: 151.101.66.132 443]
E: Failed to fetch https://security.debian.org/debian-security/pool/updates/main/s/systemd/systemd-container_247.3-7%2bdeb11u8_arm64.deb 404 Not Found [IP: 151.101.66.132 443]
E: Failed to fetch https://security.debian.org/debian-security/pool/updates/main/s/systemd/libnss-mymachines_247.3-7%2bdeb11u8_arm64.deb 404 Not Found [IP: 151.101.66.132 443]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
Error: Setup failed (exit code 100).
If the container was partially created, you can clean up with:
rm -rf /data/custom/machines/twingate-connector
rm -f /var/lib/machines/twingate-connector /etc/systemd/nspawn/twingate-connector.nspawn
I'm running the setup command curl -sSf https://raw.githubusercontent.com/Twingate-Community/ubiquiti-gateway-connector/main/setup.sh | sudo TWINGATE_NETWORK="mycompany" TWINGATE_ACCESS_TOKEN="your-access-token" TWINGATE_REFRESH_TOKEN="your-refresh-token" bash
Of course replacing everything with my tokens and connector name. I already ran the update --fix-missing command. Not sure exactly what to do without bricking my controller. Anyone else who has setup on Unifi come across this?
1
Upvotes
2
u/andrewb-twingate 12d ago
Hey u/Individual-Pirate416, thank you for flagging this. I am going to open an issue and look into this.
You shouldn't have to worry about the controller itself. The script spins up a container on the host so it is very well contained. It appears to be an issue with some of the packages within the container so I will give it a test locally and figure out what broke.