Commit Graph

9 Commits

Author SHA1 Message Date
openhands a41d638268 Fix discovery service persistence and API issues
- Add persistent discovery service auto-initialization in start_dashboard.py
- Fix 'is_scanning' field in discovery status API
- Fix scan results API to handle dictionary data correctly
- Fix database schema issues for discovery_results table
- Add debugging for service initialization

Resolves issues with discovery service not persisting across restarts
and API endpoints returning incorrect data formats.
2025-11-07 10:56:14 +00:00
openhands 1339b8bc55 Fix discovery service persistence issue
- Add discovery_results table to database schema
- Create persistent discovery service with database storage
- Update dashboard API to use persistent discovery service
- Initialize persistent discovery service on application startup
- Fix 404 errors when polling discovery scan results
2025-11-07 09:28:47 +00:00
openhands 11baac8f21 Fix deployment script health check bug
Fixed TypeError in SSHDeployer.execute_remote() method by adding 'silent' parameter
- Added silent parameter with default value False
- Modified print statements to respect silent mode
- Health checks now work correctly during deployment

This ensures the deployment script can properly wait for services to start and validate the deployment
2025-11-06 20:19:55 +00:00
openhands d9481b7246 Add untracked test files and update deployment scripts
- Add discovery protocol test files for debugging and direct testing
- Add remote test integration scripts and configuration
- Update deployment and monitoring scripts with recent changes
- Include test-remote.yml configuration for remote testing
2025-11-06 19:29:21 +00:00
openhands 84fc7f66cb feat: Add test environment deployment support
- Created test.yml configuration file for test environment
- Created .env.test environment file with protocol servers enabled
- Updated deployment script to handle test environment
- Test environment uses port 8081 and enables protocol servers for testing
2025-11-01 16:49:24 +00:00
openhands 308972c265 feat: Add production configuration to disable internal protocol servers
- Created .env.production with OPCUA_ENABLED=false and MODBUS_ENABLED=false
- Created docker-compose.production.yml that uses production environment file
- Updated deployment script to use production docker-compose file when available
- This prevents connection issues when protocol servers are not available
2025-11-01 16:02:26 +00:00
openhands 69b1752774 Complete production deployment with fixes
- Fixed PostgreSQL connection timeout parameter
- Fixed database host configuration for Docker networking
- Fixed SQL datetime syntax for PostgreSQL compatibility
- Fixed REST API binding to 0.0.0.0 for external access
- Added comprehensive documentation
- Enhanced deployment scripts
- Added dashboard configuration system
- Updated settings for production deployment
2025-11-01 10:28:25 +00:00
openhands dacb06fdc8 Fix yq syntax in deployment script for Debian yq version 2025-10-30 12:49:04 +00:00
openhands 0076e263f9 Add comprehensive SSH deployment system
- deploy/ssh/deploy-remote.sh: Main SSH deployment script
- deploy/ssh/deploy-remote.py: Python alternative deployment script
- deploy/config/example-*.yml: Example configuration files
- deploy/keys/README.md: SSH key management guide
- deploy/SSH_DEPLOYMENT.md: Complete SSH deployment documentation
- .gitignore: Added deployment configuration exclusions

Features:
- Secure SSH key management with git-ignored configs
- Environment-specific configurations (production, staging)
- Automated remote deployment with validation
- Dry-run mode for testing
- Comprehensive documentation and security best practices
2025-10-30 09:15:56 +00:00