[PR #8785] Add proper Adguard Home update #7639

Open
opened 2025-11-20 08:06:20 -05:00 by saavagebueno · 0 comments
Owner

Original Pull Request: https://github.com/community-scripts/ProxmoxVE/pull/8785

State: closed
Merged: No


✍️ Description

Currently Adguard is listed as updateable, but the only thing it does is msg_error .... Update via the web interface might fail though (happened to me this morning), which is why Adguard has also provided manual instructions. This PR will implement the manual update. It also takes into account that github.com might not resolve anymore after stopping the Adguard service (again, happened to me, as Adguard is my only DNS server :P), so it first installs Adguard into a temporary location, and then stops the service and moves it to the correct location.

Link: #

Prerequisites (X in brackets)

  • Self-review completed – Code follows project standards.
  • Tested thoroughly – Changes work as expected.
  • No security risks – No hardcoded secrets, unnecessary privilege escalations, or permission issues.

🛠️ Type of Change (X in brackets)

  • 🐞 Bug fix – Resolves an issue without breaking functionality.
  • New feature – Adds new, non-breaking functionality.
  • 💥 Breaking change – Alters existing functionality in a way that may require updates.
  • 🆕 New script – A fully functional and tested script or script set.
  • 🌍 Website update – Changes to website-related JSON files or metadata.
  • 🔧 Refactoring / Code Cleanup – Improves readability or maintainability without changing functionality.
  • 📝 Documentation update – Changes to README, AppName.md, CONTRIBUTING.md, or other docs.
**Original Pull Request:** https://github.com/community-scripts/ProxmoxVE/pull/8785 **State:** closed **Merged:** No --- <!--🛑 New scripts must be submitted to [ProxmoxVED](https://github.com/community-scripts/ProxmoxVED) for testing. PRs without prior testing will be closed. --> ## ✍️ Description Currently Adguard is listed as updateable, but the only thing it does is `msg_error ...`. Update via the web interface might fail though (happened to me this morning), which is why Adguard has also provided [manual instructions](https://adguard-dns.io/kb/adguard-home/faq/#manual-update). This PR will implement the manual update. It also takes into account that github.com might not resolve anymore after stopping the Adguard service (again, happened to me, as Adguard is my only DNS server :P), so it first installs Adguard into a temporary location, and then stops the service and moves it to the correct location. ## 🔗 Related PR / Issue Link: # ## ✅ Prerequisites (**X** in brackets) - [x] **Self-review completed** – Code follows project standards. - [x] **Tested thoroughly** – Changes work as expected. - [x] **No security risks** – No hardcoded secrets, unnecessary privilege escalations, or permission issues. --- ## 🛠️ Type of Change (**X** in brackets) - [ ] 🐞 **Bug fix** – Resolves an issue without breaking functionality. - [x] ✨ **New feature** – Adds new, non-breaking functionality. - [ ] 💥 **Breaking change** – Alters existing functionality in a way that may require updates. - [ ] 🆕 **New script** – A fully functional and tested script or script set. - [ ] 🌍 **Website update** – Changes to website-related JSON files or metadata. - [x] 🔧 **Refactoring / Code Cleanup** – Improves readability or maintainability without changing functionality. - [ ] 📝 **Documentation update** – Changes to `README`, `AppName.md`, `CONTRIBUTING.md`, or other docs.
saavagebueno added the pull-request label 2025-11-20 08:06:20 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/ProxmoxVE#7639