Skip to content

[Chore] Improve auto update mechanism #1009

Merged
henrygd merged 4 commits intohenrygd:updater-updatesfrom
svenvg93:chore/remove-update-script
Aug 25, 2025
Merged

[Chore] Improve auto update mechanism #1009
henrygd merged 4 commits intohenrygd:updater-updatesfrom
svenvg93:chore/remove-update-script

Conversation

@svenvg93
Copy link
Collaborator

📃 Description

This PR (hopefully) improves the auto update mechanism.

closes #1006
closes #469

🪵 Changelog

✏️ Changed

  • Add the service restart to the update.go for the agent and hub
  • Use the build-in update command to update the agent and hub on the timer

🗑️ Removed

  • creation of the run-update.sh

@henrygd henrygd moved this to In Progress in Beszel Roadmap Aug 7, 2025
@henrygd henrygd changed the base branch from main to updater-updates August 25, 2025 21:30
@henrygd henrygd merged commit ff854d4 into henrygd:updater-updates Aug 25, 2025
1 check passed
@github-project-automation github-project-automation bot moved this from In Progress to Done in Beszel Roadmap Aug 25, 2025
henrygd added a commit that referenced this pull request Aug 26, 2025
@henrygd
Copy link
Owner

henrygd commented Aug 26, 2025

This is merged, thanks again for your work. 👍

I ended up rewriting the updater based on what PocketBase does, so we were able to get rid of the rhysd/go-github-selfupdate dependency as well. Fingers crossed this works for everyone :)

@svenvg93 svenvg93 deleted the chore/remove-update-script branch August 26, 2025 03:46
henrygd pushed a commit that referenced this pull request Oct 29, 2025
henrygd added a commit that referenced this pull request Oct 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

[Bug]: Binary Hub/Agent not restarting after update [Bug]: install-agent.sh doesn't upgrade the agent, at least no change from hub.

3 participants