-
-
Notifications
You must be signed in to change notification settings - Fork 993
Open
Description
Feature Request
OpenFang currently has no built-in update command. Users must manually download the latest release from GitHub, stop the daemon, replace the binary, and restart.
Desired Behavior
openfang update # Check and update to latest version
openfang update --check # Only check if update availableThe command should:
- Check GitHub releases for the latest version
- Compare with current version (
openfang --version) - Download the correct binary for the platform
- Verify SHA256 checksum
- Gracefully stop the daemon
- Replace the binary
- Restart the daemon
- Confirm the update was successful
Current Workaround
Manual process via SSH:
curl -L -o /tmp/openfang.tar.gz https://github.com/RightNow-AI/openfang/releases/latest/download/openfang-x86_64-unknown-linux-gnu.tar.gz
tar xzf /tmp/openfang.tar.gz -C /tmp
openfang stop
cp /tmp/openfang /root/.openfang/bin/openfang
openfang startAdditional Suggestions
openfang croncould schedule auto-update checks (e.g., every 6 hours)- Dashboard notification when a new version is available
- Rollback option if update fails
Environment
- OpenFang v0.3.2
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels