mirror of
https://github.com/UNITRONIX/BetterDesk.git
synced 2026-09-10 09:35:39 +00:00
db46242023
Preserve existing DB config during update/repair and add PostgreSQL compatibility and reliability fixes. Added preserve_database_config()/Preserve-DatabaseConfig and invoked them before console reinstall in betterdesk.sh and betterdesk.ps1 to avoid unintentionally switching PostgreSQL → SQLite. Fixed folder/user route responses to use result.id (Postgres-compatible) in web-nodejs routes. Added automatic TOTP column migrations for both SQLite and Postgres in web-nodejs/services/dbAdapter.js. Improved relay error logging and write-error handling in betterdesk-server/relay (server.go, ws.go). Updated docs and tooling: added SELinux troubleshooting (DOCKER_TROUBLESHOOTING.md), Windows build/usage notes for the migrate tool (README.md), and updated changelog/instructions (.github/copilot-instructions.md) and last-updated date.
Documentation
This directory contains comprehensive documentation for BetterDesk Console.
Quick Start
- INSTALLATION_V1.4.0.md - Installation guide
- UPDATE_GUIDE.md - Updating existing installations
- TROUBLESHOOTING_EN.md - Common issues & solutions
Docker
- DOCKER_SUPPORT.md - Docker installation guide
- DOCKER_TROUBLESHOOTING.md - Docker-specific issues
Features
- CLIENT_GENERATOR.md - Custom client generator
- CLIENT_GENERATOR_QUICKSTART_EN.md - Client generator quick start
- ID_CHANGE_FEATURE.md - Device ID change feature
- STATUS_TRACKING_v3.md - Device status tracking system
Performance
- GPU_OPTIMIZATION_EN.md - GPU optimization
- GPU_FIX_QUICKSTART_EN.md - Quick GPU fix guide
- OPTIMIZATION_SUMMARY_EN.md - Performance optimization summary
Security & Troubleshooting
- KEY_TROUBLESHOOTING.md - Key and encryption issues
- PORT_SECURITY.md - Port configuration & security
- QUICK_FIX_EN.md - Quick fixes for common issues
Development
- BUILD_GUIDE.md - Building from source
- CONTRIBUTING.md - Contribution guidelines
- PROJECT_STRUCTURE.md - Project structure overview
- CHANGELOG.md - Version history
Additional
- TRANSLATION_SUMMARY.md - Documentation translation status
Legacy HBBS Patch (Archived)
The original Rust-based HBBS patch (hbbs-patch-v2/) has been replaced by the Go server and moved to archive/. See the main README for current architecture.