Pre-Migration Checklist
Before upgrading, complete these steps:Export Chatflows
Export all chatflows as JSON from the Flowise UI:
- Open each chatflow
- Click the export button
- Save JSON files to a safe location
Review Release Notes
Read the release notes for breaking changes and new features.
General Upgrade Process
NPM Installation
Docker Installation
From Source
Version-Specific Migrations
Detailed migration guides for specific version upgrades will be added here as major versions are released.
Migrating to v3.x
Flowise v3.x is the current major version. If you’re upgrading from v2.x or earlier:Database Changes
Database Changes
- Automatic migrations run on first startup
- No manual intervention typically required
- Review logs for migration errors
Environment Variables
Environment Variables
Review new environment variables:
- Check the Environment Variables documentation
- Update your
.envfile with new options - Remove deprecated variables
Component Updates
Component Updates
- Some components may have new required fields
- Custom components may need updates
- Test all chatflows after upgrade
Common Migration Issues
Database Migration Failures
Problem: Database migration fails on startup. Solutions:-
Check database permissions:
-
Review migration logs:
-
Manual migration (advanced):
Chatflow Compatibility Issues
Problem: Existing chatflows don’t work after upgrade. Solutions:- Check component versions: Some components may have breaking changes
- Review deprecated features: Replace with recommended alternatives
- Re-configure nodes: Some nodes may require reconfiguration
- Import from backup: If needed, restore from JSON export
Custom Component Issues
Problem: Custom components stop working after upgrade. Solutions:- Update component interface: Check if the component API changed
- Rebuild components:
- Review component documentation: Check for breaking changes
- Update dependencies: Ensure compatibility with new version
Rolling Back
If you need to rollback to a previous version:NPM Installation
Docker Installation
From Source
Migration Best Practices
Test First
Always test upgrades in a development or staging environment before production
Backup Everything
Backup databases, chatflows, and environment configuration
Read Release Notes
Review all release notes between your current and target version
Plan Downtime
Schedule upgrades during low-traffic periods with planned downtime
Post-Migration Verification
After upgrading, verify:Getting Help with Migration
Migration Issues
Get help on Discord for migration problems
GitHub Discussions
Search or ask about migration issues
Release Notes
Review detailed release notes
Changelog
View version history and changes
Professional Migration Support
Need help with enterprise migrations?For enterprise deployments requiring migration assistance, consider Flowise Cloud which includes managed upgrades and professional support.