☁️ CloudVault
Final Working Package - All Issues Resolved
✅ All Issues Fixed!
Problem: Previous packages failed because drizzle-kit wasn't installed (it's a dev dependency).
Solution: This package applies migrations directly from SQL files - no drizzle-kit needed!
🚀 One-Line Installation
SSH to your Ubuntu server and run:
wget http://vm6tgfyizy.preview.c24.airoapp.ai/assets/cloudvault-final-20260212_164830.tar.gz && tar -xzf cloudvault-final-20260212_164830.tar.gz && cd cloudvault-final-20260212_164830 && bash install.sh
📋 Step-by-Step Installation
1. Clean up old installations:
cd ~
rm -rf cloudvault-*
rm cloudvault-*.tar.gz
2. Download final package:
wget http://vm6tgfyizy.preview.c24.airoapp.ai/assets/cloudvault-final-20260212_164830.tar.gz
3. Extract:
tar -xzf cloudvault-final-20260212_164830.tar.gz
cd cloudvault-final-20260212_164830
4. Run installer (interactive):
bash install.sh
The installer will prompt you for:
- MySQL root password (if not using socket auth)
- Database name (default: cloudvault)
- Database user (default: cloudvault_user)
- Database password
- Server port (default: 5173)
5. Start server:
npm start
6. Test:
curl http://localhost:5173/api/health
Expected response:
{"status":"ok","timestamp":"2026-02-12T..."}
✨ What's Different
- ✅ Direct SQL migrations - Applies .sql files directly to MySQL
- ✅ No drizzle-kit dependency - Works with production dependencies only
- ✅ Simplified 5-step process - Faster and more reliable
- ✅ Better error handling - Clear messages at each step
- ✅ Smaller package - Only 172.5 KB
📋 Installation Process
The installer will:
- Check Node.js version (requires 18+)
- Detect MySQL authentication method (socket or password)
- Create database and user with proper permissions
- Generate secure JWT_SECRET and ENCRYPTION_KEY (64 chars each)
- Install production dependencies (~50 packages, 2-3 minutes)
- Apply database migrations directly from SQL files
- Create storage directory with proper permissions
Total time: 3-5 minutes
🎯 After Installation
Start the server:
npm start
You should see:
╔════════════════════════════════════════════════════════════╗
║ CloudVault Backup Server ║
╚════════════════════════════════════════════════════════════╝
🌐 Server running at: http://0.0.0.0:5173
📍 Health check endpoint: http://0.0.0.0:5173/api/health
Access from your network:
http://192.168.1.19:5173/api/health
📱 Mobile App Configuration
Configure your mobile app with:
- Server URL:
http://192.168.1.19:5173
- API Base:
/api
Available endpoints:
- Device pairing:
POST /api/devices/pair
- Upload backup:
POST /api/backup/upload
- List backups:
GET /api/backup/list
- Download backup:
GET /api/backup/download/:id
⚠️ Important Notes
- This package includes pre-generated SQL migration files
- Migrations are applied directly to MySQL (no drizzle-kit needed)
- All dependencies are production-only for smaller install size
- Server must be accessible from your network for mobile apps
Installation takes 3-5 minutes
Requires: Node.js 18+ • MySQL 8.0+ • Ubuntu/Linux