Features: - Complete Ubuntu dependency resolution in requirements.txt - Safe Docker deployment that preserves existing bash startup setups - Isolated Docker environment (docker-ultroid/) with different ports - Automatic detection of existing bot configurations - Session generation scripts for Docker deployment - Health check and diagnostic tools - Comprehensive documentation and deployment guides Safety: - Detects existing 'bash startup' method and creates isolated environment - Uses different ports (8081) to avoid conflicts - Separate volumes and configs for Docker deployment - Both bash startup and Docker can run side by side - No interference with existing bot setups Files added/updated: - requirements.txt (all missing dependencies) - Docker setup (Dockerfile, docker-compose.yml, .env.sample) - Deployment scripts (ubuntu_setup.sh, docker-deploy.sh, quick-start.sh) - Safety scripts (safe-docker-setup.sh with isolation logic) - Management tools (Makefile, health_check.sh, generate-session.sh) - Documentation (SAFE_DOCKER_GUIDE.md, DOCKER_DEPLOYMENT.md, etc.) Ready for production Ubuntu server deployment!
26 lines
761 B
Bash
26 lines
761 B
Bash
#!/bin/bash
|
|
# Auto-generated Ultroid Plugin Fixes Script
|
|
|
|
echo "🔧 Installing missing dependencies..."
|
|
|
|
# Install Google API dependencies
|
|
pip3 install google-api-python-client google-auth-httplib2 google-auth-oauthlib
|
|
|
|
# Install common web dependencies
|
|
pip3 install requests aiohttp
|
|
|
|
# Install media dependencies
|
|
pip3 install Pillow
|
|
|
|
# Install other common dependencies
|
|
pip3 install beautifulsoup4 lxml
|
|
|
|
echo "✅ Dependencies installation complete!"
|
|
echo ""
|
|
echo "🔑 Next steps for Google Drive:"
|
|
echo "1. Message your assistant bot with /start"
|
|
echo "2. Follow the setup process for Google Drive"
|
|
echo "3. Set GDRIVE_CLIENT_ID and GDRIVE_CLIENT_SECRET if using custom credentials"
|
|
echo ""
|
|
echo "🧪 Run the diagnostic again: python3 diagnose_plugins.py"
|