Updating AdGuard Home #287
-
Hi there, I don't want to lose any of the configs I've put in place. Would it be safe to run step 7 commands?
I had to rebuild everything from scratch before. My previous notes suggest I had some trouble getting AdGuardHome installed this way, because I had a note that I could start the installation over by running this: |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 4 replies
-
Ok. I took the plunge and figured it out myself after coming across this comment that suggested docker would be interchangeable with podman. I found the docker instructions here and planned out my testing. Enabled SSH (via unifi.ui.com) Noted current version: v0.104.3 Backed up files
Removed the AdGuardHome Container
Navigated to the AdGuardHome IP to make sure it was gone Pulled the latest version of AdGuardHome as per the Docker documentation
Reinstalled AdGuardHome
Noted current version: v0.106.3 Confirmed settings pulled across Verified settings continue to work by testing a custom DNS entry. Disabled SSH (via unifi.ui.com) I hope this helps someone else. |
Beta Was this translation helpful? Give feedback.
-
Would it be possible to include container auto-update while starting in 10-dns.sh ? |
Beta Was this translation helpful? Give feedback.
-
I don't know well either sorry :( |
Beta Was this translation helpful? Give feedback.
-
I was just talking about the answer you did 10 days ago, to update manually AdGuard Home container. |
Beta Was this translation helpful? Give feedback.
-
Look into cron jobs. This script here adds them every startup, the individual commands can be nested inside the job. #186 |
Beta Was this translation helpful? Give feedback.
Ok. I took the plunge and figured it out myself after coming across this comment that suggested docker would be interchangeable with podman. I found the docker instructions here and planned out my testing.
Enabled SSH (via unifi.ui.com)
Noted current version: v0.104.3
Backed up files
scp -r root@[IP]:/mnt/data/AdGuardHome-Confdir ~/UniFi_Backups/AdGuardHome/AdGuardHome-Confdir
scp -r root@[IP]:/mnt/data/AdGuardHome-Workdir ~/UniFi_Backups/AdGuardHome/AdGuardHome-Workdir
scp -r root@[IP]:/mnt/data/on_boot.d/10-dns.sh ~/UniFi_Backups/bootscript/mnt/data/on_boot.d/10-dns.sh
scp -r root@[IP]:/mnt/data/podman/cni/20-dns.conflist ~/UniFi_Backups/bootsc…