Administrator Settings Guide
Status: Complete
For: System Administrators
Updated: August 23, 2025
Overview
The Sasha Studio administrative interface provides system-wide configuration options that affect all users. These settings are designed for immediate application without requiring server restarts.
Accessing Admin Settings
Prerequisites
- Admin user account (contact your system administrator)
- Access to Sasha Studio web interface
Navigation
- Login to Sasha Studio with admin credentials
- Click Settings (gear icon) in the top navigation
- Select tabs to configure different aspects:
- System Health - Monitor system resources and performance
- General - Configure system-wide operational settings
- AI Admin - Manage AI provider configuration
System Health Monitoring
Disk Usage
The System Health tab displays real-time disk usage with visual indicators:
- π’ Green (< 70%): Normal operation, plenty of space available
- π‘ Yellow (70-85%): Monitor usage, consider cleanup
- π΄ Red (> 85%): Low disk space warning - immediate attention required
Refresh Rate: Updates automatically every 5 minutes
Performance Metrics
- CPU Usage: Current processor load across available cores
- Memory Usage: RAM consumption with available memory display
- Service Status: Database, Claude API, and WebSocket connection health
General Settings Configuration
File Management
Maximum Upload Size
- Current Default: 100MB per file
- Configurable Range: 1MB - 5GB (5,120MB)
- Applies: Immediately to new uploads (no restart required)
- Affects: All file upload endpoints across the application
To Change Upload Limit:
- Navigate to Settings β General tab
- Locate File Management section
- Enter desired size in MB (e.g., 200 for 200MB)
- Setting saves automatically when you change the value
- New uploads will use the updated limit immediately
Validation Rules
- Minimum: 1MB (prevents system issues)
- Maximum: 5GB (5,120MB) (prevents storage overload)
- Integer Values: Only whole numbers accepted
- Real-time Display: Current setting always visible
System Controls
Debug Mode
- Purpose: Enable verbose logging for troubleshooting
- Default: Disabled (recommended for production)
- Toggle: Click button to enable/disable instantly
- Affects: Server log verbosity, useful for support investigations
When to Enable:
- Investigating user-reported issues
- Debugging upload or processing problems
- Working with technical support
Important: Disable after debugging to maintain system performance
Usage Examples
Scenario 1: Increasing Upload Limit for Large Documents
Current: 100MB limit is preventing legal document uploads
Action: Change to 500MB in General Settings
Result: Large contracts and presentations can now be uploaded
Timeline: Effective immediately for new uploads
Scenario 2: Monitoring Disk Space
Observation: Disk usage at 78% (yellow warning)
Action: Review uploaded files and implement cleanup
Prevention: Monitor usage weekly via System Health tab
Alert: Will show red warning at 85%+
Scenario 3: Troubleshooting Upload Issues
Issue: Users report failed uploads
Action: Enable Debug Mode in General Settings
Investigation: Check server logs for detailed error information
Resolution: Disable Debug Mode after issue resolved
API Information for Developers
Endpoints
- GET
/api/admin/general-settings- Retrieve current settings - POST
/api/admin/general-settings- Update settings - POST
/api/admin/general-settings/reset- Reset to defaults
Settings Structure
{
"file": {
"maxUploadSize": 104857600, // 100MB in bytes
"maxWorkspaceSize": 1073741824, // 1GB in bytes
"retentionDays": 7
},
"session": {
"timeoutHours": 24,
"maxConcurrent": 5,
"autoSaveSeconds": 30
},
"system": {
"debugMode": false,
"maintenanceMode": false,
"analytics": true,
"errorReporting": true
}
}
Security Considerations
Admin Access Control
- Restriction: Only users with
is_adminflag can access settings - Validation: Server-side permission checks on all endpoints
- Audit: All setting changes logged with user ID and timestamp
Setting Validation
- Range Checks: Upload sizes validated against safe limits
- Type Validation: Ensures correct data types for all settings
- Error Handling: Graceful fallback to defaults if corruption occurs
Troubleshooting
Settings Not Saving
- Check Network: Ensure stable internet connection
- Verify Admin Status: Confirm admin privileges are active
- Browser Console: Check for JavaScript errors
- Try Refresh: Reload page and attempt again
Disk Usage Not Displaying
- Cross-Platform: Works on Linux/macOS, limited on Windows
- Permissions: Ensure server has filesystem access
- Fallback: Shows "unknown" if detection fails
Upload Limits Not Applied
- Cache: New settings apply to new uploads only
- Browser Cache: Hard refresh may be needed (Ctrl+F5)
- Error Messages: Check if files exceed the new limit
Best Practices
Production Environment
- Conservative Limits: Start with lower upload limits, increase as needed
- Regular Monitoring: Check System Health weekly
- Debug Mode: Keep disabled unless actively troubleshooting
- Documentation: Record setting changes and rationale
Capacity Planning
- Disk Space: Monitor usage trends to predict storage needs
- Upload Patterns: Track file size distributions to optimize limits
- User Feedback: Collect input on upload limit adequacy
Support Information
Getting Help
- Admin Documentation: Refer to this guide first
- System Health: Use built-in monitoring for diagnostics
- Debug Logs: Enable Debug Mode for detailed error information
- Contact Support: Include current settings and error messages
Reporting Issues
When contacting support, include:
- Current Settings: Screenshot of General Settings tab
- System Health: Current resource usage levels
- Error Messages: Exact text of any error dialogs
- Steps to Reproduce: Detailed sequence that caused the issue
- Browser Information: Chrome/Firefox version and OS
Version: 1.0
Last Updated: August 23, 2025
Next Review: September 2025