-
Notifications
You must be signed in to change notification settings - Fork 1
guides_update_check
Guide to automatic version checking and update notifications.
- 📋 Übersicht
- ✨ Features
- 🚀 Quick Start
- 📖 Manual & Automatic Checks
- 💡 Best Practices
- 🔧 Troubleshooting
- 📚 Siehe auch
- 📝 Changelog
ThemisDB supports automatic version checking to notify administrators when new updates are available.
Stand: 22. Dezember 2025
Version: 1.3.0
Kategorie: ⚙️ Operations/Admin
- 🔄 Automatic Checks - Periodic update polling
- 📱 Version Notifications - Alert admins of new releases
- 🔒 Security Updates - Prioritized security release detection
- 🔗 Download Links - Direct links to latest releases
- 📊 Version Comparison - Track current vs latest version
- ⚙️ Configurable - Customize check frequency
ThemisDB instances can periodically check for updates by querying the version manifest hosted on GitHub. This allows you to:
- Be notified when new versions are released
- Check for security updates
- View download links for the latest version
- Compare your current version with the latest stable release
The version manifest is hosted at:
https://raw.githubusercontent.com/makr-code/ThemisDB/main/docs/VERSION.json
You can manually check the current version of your ThemisDB instance:
# Using the version endpoint
curl http://localhost:8765/version
# Response:
{
"version": "1.0.0",
"build_date": "2025-12-02",
"commit": "abc1234",
"update_available": false
}ThemisDB can be configured to automatically check for updates:
Via Environment Variable:
export THEMIS_UPDATE_CHECK_ENABLED=true
export THEMIS_UPDATE_CHECK_INTERVAL=86400 # Check once per day (in seconds)Via Configuration File (config/config.json):
{
"features": {
"update_check": {
"enabled": true,
"interval_seconds": 86400,
"notify_on_security_updates": true,
"notify_on_breaking_changes": true,
"channel": "stable"
}
}
}| Option | Default | Description |
|---|---|---|
enabled |
false |
Enable automatic update checking |
interval_seconds |
86400 |
How often to check for updates (24 hours) |
notify_on_security_updates |
true |
Log warnings for security updates |
notify_on_breaking_changes |
true |
Log warnings for breaking changes |
channel |
stable |
Update channel: stable, beta, nightly
|
check_url |
(default) | Custom URL for version manifest |
When update checking is enabled:
- On Startup: ThemisDB checks for updates when the server starts
- Periodic Checks: Checks occur at the configured interval
- Logging: Update information is logged to the server logs
- No Auto-Update: ThemisDB never automatically updates itself - it only notifies
No Update Available:
[themis] [info] Update check: Running version 1.0.0 (latest stable)
Update Available:
[themis] [warning] Update available: v1.1.0 is now available (current: 1.0.0)
[themis] [info] Download: https://github.com/makr-code/ThemisDB/releases/tag/v1.1.0
[themis] [info] Changelog: https://github.com/makr-code/ThemisDB/blob/main/CHANGELOG.md
Security Update:
[themis] [warning] SECURITY UPDATE AVAILABLE: v1.0.1 contains security fixes
[themis] [warning] Please update as soon as possible
[themis] [info] Security advisory: https://github.com/makr-code/ThemisDB/security/advisories/...
Returns the current version and update information.
Request:
curl http://localhost:8765/versionResponse:
{
"current": {
"version": "1.0.0",
"build_date": "2025-12-02",
"commit": "abc1234",
"platform": "linux-x64"
},
"latest": {
"version": "1.0.0",
"release_date": "2025-12-02",
"channel": "stable",
"update_available": false,
"breaking_changes": false,
"security_updates": [],
"announcement": "ThemisDB v1.0.0 - First stable release"
},
"downloads": {
"linux_x64_zip": {
"url": "https://github.com/makr-code/ThemisDB/releases/download/v1.0.0/themisdb-1.0.0-linux-x64.zip",
"sha256": "8B075931270487B493F9244738829CF84752D33FF7381B624044C988A00FCC80"
},
"debian_amd64": {
"url": "https://github.com/makr-code/ThemisDB/releases/download/v1.0.0/themisdb_1.0.0_amd64.deb",
"sha256": "D922D21C4D7EAAD2FF18F784E4C447BF8411925B14F582883E4BE22369D4B5C3"
}
}
}ThemisDB does not support in-place updates. To update:
# Pull latest image
docker pull themisdb/themisdb:latest
# Restart container
docker restart themisdb# Download new .deb
wget https://github.com/makr-code/ThemisDB/releases/download/v1.1.0/themisdb_1.1.0_amd64.deb
# Stop service
sudo systemctl stop themisdb
# Backup data (optional but recommended)
sudo cp -r /var/lib/themisdb/data /var/lib/themisdb/data.backup
# Install update
sudo dpkg -i themisdb_1.1.0_amd64.deb
# Start service
sudo systemctl start themisdb# Download new .rpm
wget https://github.com/makr-code/ThemisDB/releases/download/v1.1.0/themisdb-1.1.0-1.x86_64.rpm
# Stop service
sudo systemctl stop themisdb
# Backup data
sudo cp -r /var/lib/themisdb/data /var/lib/themisdb/data.backup
# Install update
sudo rpm -Uvh themisdb-1.1.0-1.x86_64.rpm
# Start service
sudo systemctl start themisdb# Download new version
wget https://github.com/makr-code/ThemisDB/releases/download/v1.1.0/themisdb-1.1.0-linux-x64.zip
unzip themisdb-1.1.0-linux-x64.zip
# Stop current instance
pkill themis_server
# Backup data
cp -r data data.backup
# Replace binary
cp themisdb-1.1.0-linux-x64/themis_server ./themis_server
# Start new version
./themis_server- Update checks are read-only and do not modify your installation
- No sensitive data is transmitted during update checks
- Only version information is requested from GitHub
- Update checks can be disabled if you prefer manual version management
If update checks fail, check:
-
Network connectivity: Can the server reach GitHub?
curl -I https://raw.githubusercontent.com/makr-code/ThemisDB/main/docs/VERSION.json
-
Firewall rules: Ensure outbound HTTPS traffic is allowed
-
Server logs: Check for error messages
sudo journalctl -u themisdb -n 100 | grep -i update
To completely disable update checking:
Environment Variable:
export THEMIS_UPDATE_CHECK_ENABLED=falseConfiguration File:
{
"features": {
"update_check": {
"enabled": false
}
}
}ThemisDB uses semantic versioning (semver) for version comparison:
- Major version (1.x.x): Breaking changes
- Minor version (x.1.x): New features, backwards compatible
- Patch version (x.x.1): Bug fixes, backwards compatible
Update priority is determined by:
- Critical: Security updates
- High: Major version updates with breaking changes
- Normal: Minor/patch updates
- Low: Beta/preview releases
Update checks send minimal information to GitHub:
- No user data or database contents
- No server identification or hostname
- Only a HTTP GET request for the VERSION.json file
The request appears as a standard HTTP request to GitHub's raw content CDN.
- Architecture-ACCESS-MODEL-IMPLEMENTATION-SUMMARY
- Architecture-ADR-003-pg-dump-sql-parser
- Architecture-BASEENTITY-PRINCIPLE
- Architecture-CACHE-STORAGE-INTEGRATION
- Architecture-CMAKE-ARCHITECTURE
- Architecture-CMAKE-FLAGS-REFERENCE
- Architecture-CMAKE-MODULAR-ARCHITECTURE
- Architecture-CONCERNS-ARCHITECTURE-DIAGRAM
- Architecture-CONCERNS-IMPLEMENTATION-SUMMARY
- Architecture-CONTENT-MODEL
- Architecture-COPILOT-THEMISDB-GRAPH-RAG-BACKEND-ARCHITECTURE
- Architecture-CRYPTO-AND-KEYS
- Architecture-FEATURE-FLAGS-REFERENCE
- Architecture-GPU-ARCHITECTURE-REVIEW-TEMPLATE
- Architecture-HTTP-SHUTDOWN-HARDENING
- Architecture-MIGRATION-GUIDE-CONCERNS
- Architecture-MIGRATION-GUIDE-v13-v14
- Architecture-MODULARIZATION-GUIDE
- Architecture-MODULAR-ARCHITECTURE-ROADMAP
- Architecture-MODULE-ARCHITECTURE-INDEX
- Architecture-P1D01-ISSMPLUGIN-DESIGN-REVIEW
- Architecture-P1-D01-ISSMPLUGIN-DESIGN-REVIEW
- Architecture-P1-D08-MAMBA-GOVERNANCE-CONTRACT
- Architecture-P1-P2-IMPLEMENTATION-COMPLETION-INDEX
- Architecture-PHASE0-COMPLETION-ASSESSMENT
- Architecture-PHASE3-QUERYENGINE-DI-ARCHITECTURE
- Architecture-PHASE4-INDEX-MANAGER-DI
- Architecture-POSTGRESQL-WIRE-PROTOCOL
- Architecture-QUERYENGINE-IMPLEMENTATION-GUIDE
- Architecture-QUERY-SCHEDULING
- Architecture-RAFT-CONSENSUS-DESIGN
- Architecture-README
- Architecture-README-SSM-HYBRID-IMPLEMENTATION
- Architecture-REFACTORING-SUMMARY
- Architecture-RESOURCE-POOLING
- Architecture-SOURCE-DIRECTORY-GUIDE
- Architecture-THEMIS-CORE-GUIDE
- Architecture-UNIFIED-ACCESS-MODEL
- Architecture-WAL-GRPC-MTLS-CONFIGURATION
- Architecture-WIRE-PROTOCOL-RETRY
- Architecture-boltzmann-observability-draft
- Architecture-experimental-logarithmic-vector-storage
- Architecture-llm-wiki-mvp-adr
- Architecture-rewrite-engine-architecture
- Architecture-rope-api-architecture
- Architecture-ssm-gguf-mamba-status
- Architecture-ssm-hybrid-analysis
- Architecture-ssm-hybrid-rollout-plan
- Architecture-ssm-plugin-interface-design-review
- Architecture-transaction-coordinators
- Architecture-wiki-secondary-index
- Architecture-wire-protocol
- Governance-DISABLED-STUB-POLICY
- Governance-DOCS-PR-POLICY
- Governance-GA-PROMOTION-SIGN-OFF
- Governance-GITHUB-MILESTONES-SETUP
- Governance-MATURITY-CLAIM-VERIFICATION-CHECKLIST
- Governance-MATURITY-EVIDENCE-REGISTRY
- Governance-MERGE-GATE-BOT-CONFIG
- Governance-MERGE-GATE-STATUS-LIVE
- Governance-PHASE3-ENFORCEMENT-RUNBOOK
- Governance-PHASE-1-CLOSURE-REPORT
- Governance-PHASE-CLOSURE-POLICY
- Governance-PHASE-DEPENDENCY-GRAPH
- Governance-PLUGIN-SUBMODULE-ROLLBACK
- Governance-PRODUCTION-READY-2026-DELIVERY-PLAN
- Governance-PR-VERSION-TARGETING
- Governance-PR-VERSION-TARGETING-BACKFILL
- Governance-QUERY-MODULE-STATUS
- Governance-README
- Governance-RELEASE-PROMOTION-GATE-POLICY
- Governance-RELEASE-VALIDATION-CHECKLIST
- Governance-SECURITY-MODULE-5671-EVIDENCE-SUMMARY
- Governance-SHARDING-P6-RESIDUAL-RISK-ACCEPTANCE
- Governance-SOURCECODE-COMPLIANCE-GOVERNANCE
- Governance-UPDATES-DEVELOPMENT-STATUS-SIGN-OFF
- Governance-WAVE-C-IMPLEMENTATION-COMPLETE
- Module-acceleration-Roadmap
- Module-access-model-Roadmap
- Module-ai-Roadmap
- Module-analytics-Roadmap
- Module-api-Roadmap
- Module-aql-Roadmap
- Module-auth-Roadmap
- Module-base-Roadmap
- Module-cache-Roadmap
- Module-cdc-Roadmap
- Module-chaos-Roadmap
- Module-chimera-Roadmap
- Module-config-Roadmap
- Module-content-Roadmap
- Module-core-Roadmap
- Module-distributed-knowledge-Roadmap
- Module-distributed-tensor-Roadmap
- Module-document-Roadmap
- Module-ethics-ai-Roadmap
- Module-evaluation-Roadmap
- Module-execution-Roadmap
- Module-exporters-Roadmap
- Module-failover-Roadmap
- Module-geo-Roadmap
- Module-governance-Roadmap
- Module-gpu-Roadmap
- Module-graph-Roadmap
- Module-image-analysis-Roadmap
- Module-importers-Roadmap
- Module-index-Roadmap
- Module-ingestion-Roadmap
- Module-llama-cpp-Roadmap
- Module-llm-Roadmap
- Module-llm-streaming-Roadmap
- Module-llm-wiki-Roadmap
- Module-maintenance-Roadmap
- Module-metadata-Roadmap
- Module-network-Roadmap
- Module-observability-Roadmap
- Module-onnx-clip-Roadmap
- Module-performance-Roadmap
- Module-plugins-Roadmap
- Module-process-Roadmap
- Module-projects-Roadmap
- Module-prompt-engineering-Roadmap
- Module-query-Roadmap
- Module-rag-Roadmap
- Module-replication-Roadmap
- Module-retrieval-Roadmap
- Module-rpc-grpc-Roadmap
- Module-scheduler-Roadmap
- Module-scraper-Roadmap
- Module-search-Roadmap
- Module-security-Roadmap
- Module-server-Roadmap
- Module-sharding-Roadmap
- Module-stable-diffusion-Roadmap
- Module-storage-Roadmap
- Module-temporal-Roadmap
- Module-tensor-Roadmap
- Module-themis-Roadmap
- Module-timeseries-Roadmap
- Module-toolbox-Roadmap
- Module-training-Roadmap
- Module-transaction-Roadmap
- Module-updates-Roadmap
- Module-user-storage-encrypted-Roadmap
- Module-utils-Roadmap
- Module-vector-search-Roadmap
- Module-voice-Roadmap
- Module-whisper-Roadmap