⚠️ CRITICAL FIX
AUTO-SETUP SYSTEM DISABLED - INSTALLER NOW WORKS CORRECTLY
🐞 The Bug
The server had an auto-setup system that was running on startup and automatically creating database tables. This was bypassing the installer completely!
Result: Even after dropping the database, the server would recreate tables with old data on startup, making fresh installs impossible.
✅ The Fix
The auto-setup system in src/server/configure.js has been DISABLED.
Now:
- Server does NOT create tables automatically
- Installer has full control over database
- Fresh installs work correctly
- Setup wizard shows admin creation (not login)
📦 Download Fixed Package (549.8K)
🚀 Installation (FRESH INSTALL)
cd ~
rm -rf cloudvault-v1.0-final-*
wget http://vm6tgfyizy.preview.c24.airoapp.ai/assets/cloudvault-v1.0-final-20260218_001528.tar.gz
tar -xzf cloudvault-v1.0-final-20260218_001528.tar.gz
cd cloudvault-v1.0-final-20260218_001528
npm install
# MANDATORY FRESH INSTALL (type 'yes' not 'y'):
bash install/fresh-install.sh
📝 Important Notes
- Type
yes (full word) when prompted, not just y
- The script will drop the database using MySQL
- Then it runs the auto-installer with a clean database
- Setup wizard will show admin creation (not login)
📄 What Changed
- File:
src/server/configure.js
- Change: Commented out
configureDatabase() call
- Reason: Prevents automatic table creation on server startup
- Impact: Installer now has full control over database setup
🎯 What to Test
- ✅ Fresh install drops database completely
- ✅ Setup wizard shows admin creation (not login)
- ✅ No auto-setup messages in server log
- ✅ Database tables created by installer only
- ✅ All columns correct (pairing_token, is_connected, updated_at)
📚 Configuration File
A new CLOUDVAULT_CONFIG.md file has been added to the repository with all critical rules and requirements to prevent future regressions.