Updating Technitium 1. Performs unessasary update 2. doesn't restart the application #2205

Closed
opened 2026-02-05 04:12:26 +03:00 by OVERLORD · 2 comments
Owner

Originally created by @DrEVILish on GitHub (Dec 20, 2025).

📌 Task summary

Technitium update script

📋 Task details

Technitium LXC - Debian 13
When running the /bin/update command.
2 Issues but all for the same update script

  1. Even if you're running the latest release and just ran the update script. It always performs the update and never triggers
    msg_ok "No update required. Technitium DNS is already at v${RELEASE}."

so each time I get

...
runtimes/win/lib/net6.0/Microsoft.Win32.SystemEvents.dll
runtimes/win/lib/net6.0/System.Drawing.Common.dll
  ✔️   Updated Technitium DNS
  ✔️   Updated successfully!

Ran both Verbose and Silent modes.

Update script seems to check for release in ~/.technitium but never updates it to the new release version.

  if [[ ! -f ~/.technitium || "${RELEASE}" != "$(cat ~/.technitium)" ]]; then
    msg_info "Updating Technitium DNS"
    curl -fsSL "https://download.technitium.com/dns/DnsServerPortable.tar.gz" -o /opt/DnsServerPortable.tar.gz
    $STD tar zxvf /opt/DnsServerPortable.tar.gz -C /opt/technitium/dns/
    rm -f /opt/DnsServerPortable.tar.gz
    msg_ok "Updated Technitium DNS"
    msg_ok "Updated successfully!"
  else
    msg_ok "No update required.  Technitium DNS is already at v${RELEASE}."
  fi
  1. The Technitum service is never restarted after the update, so even when the update has finished, it is still running the previous version until the service or container is restarted manually by the user.

WebUI : Technitium DNS Server Version 14.2 -> New Update (14.3) Available!

Originally created by @DrEVILish on GitHub (Dec 20, 2025). ### 📌 Task summary Technitium update script ### 📋 Task details Technitium LXC - Debian 13 When running the /bin/update command. 2 Issues but all for the same update script 1. Even if you're running the latest release and just ran the update script. It always performs the update and never triggers `msg_ok "No update required. Technitium DNS is already at v${RELEASE}."` so each time I get ``` ... runtimes/win/lib/net6.0/Microsoft.Win32.SystemEvents.dll runtimes/win/lib/net6.0/System.Drawing.Common.dll ✔️ Updated Technitium DNS ✔️ Updated successfully! ``` Ran both Verbose and Silent modes. Update script seems to check for release in ~/.technitium but never updates it to the new release version. ```RELEASE=$(curl -fsSL https://technitium.com/dns/ | grep -oP 'Version \K[\d.]+') if [[ ! -f ~/.technitium || "${RELEASE}" != "$(cat ~/.technitium)" ]]; then msg_info "Updating Technitium DNS" curl -fsSL "https://download.technitium.com/dns/DnsServerPortable.tar.gz" -o /opt/DnsServerPortable.tar.gz $STD tar zxvf /opt/DnsServerPortable.tar.gz -C /opt/technitium/dns/ rm -f /opt/DnsServerPortable.tar.gz msg_ok "Updated Technitium DNS" msg_ok "Updated successfully!" else msg_ok "No update required. Technitium DNS is already at v${RELEASE}." fi ``` 2. The Technitum service is never restarted after the update, so even when the update has finished, it is still running the previous version until the service or container is restarted manually by the user. WebUI : Technitium DNS Server Version 14.2 -> New Update (14.3) Available!
Author
Owner

@MickLesk commented on GitHub (Dec 20, 2025):

Screenshots? Why an Task?

@MickLesk commented on GitHub (Dec 20, 2025): Screenshots? Why an Task?
Author
Owner

@DrEVILish commented on GitHub (Dec 21, 2025):

As I didn't feel it was an Installation BUG it didn't seem to fit with the current "Script Issue", appologise.
I'm generating a PR atm, with the fixes.

@DrEVILish commented on GitHub (Dec 21, 2025): As I didn't feel it was an Installation BUG it didn't seem to fit with the current "Script Issue", appologise. I'm generating a PR atm, with the fixes.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ProxmoxVE#2205