In this article
Some Relays may fail to auto-update, especially if they are running Ubuntu versions older than 22.04. This can lead to missed improvements, bug fixes, or compatibility issues.
To resolve this:
- Check for updates manually (steps below)
- Apply updates if available
- Redeploy the Relay with the latest image from the DNSFilter dashboard if updates fail or errors occur
⚠️ Important: Reliable auto-updates require Ubuntu 22.04. If the Relay is running on an older VM image (e.g. Ubuntu 18.04 or 20.04), the recommended path forward is to redeploy the Relay on a new VM image to ensure full support and stability.
Run this script on the first update check:
sudo apt update
sudo apt upgrade -y
sudo dpkg --configure -a
sudo apt autoremove -y
sudo apt install ansible
sudo pip3 install ansibleRun this script to update the Relay Docker:
sudo ./check_for_update.shThe Relay should now be up to date and run as expected.
Continue below to completely remove and reinstall the docker package if the update check script didn’t resolve the issue.
Uninstall both docker-py and docker:
sudo pip3 uninstall docker-py
sudo pip3 uninstall dockerVerify uninstallation:
pip3 show docker-py # Should show that it's not found
pip3 show docker # Should show that it's not foundReinstall the docker package:
sudo pip3 install dockerVerify installation:
pip3 show docker # Should show information about the installed package
Comments
0 comments
Please sign in to leave a comment.