Overview
Regular updates ensure your Flint Engine installation has the latest features, bug fixes, and security patches. Updates are applied through the command line or version control system.
Checking for Updates
To check the current version and available updates:
# Check current version
php artisan --version
# Check for package updates
composer outdated
# View available updates
composer show --outdated
Updating Flint Engine
Step 1: Backup
Always backup before updating:
- Backup the database:
mysqldump -u username -p database_name > backup_$(date +%Y%m%d).sql - Backup the files:
tar -czf flint-engine-backup-$(date +%Y%m%d).tar.gz /path/to/flint-engine/
Step 2: Enable Maintenance Mode
php artisan down
Step 3: Update Files
# Pull latest changes
git pull origin main
# Update dependencies
composer install --no-dev --optimize-autoloader
Step 4: Run Migrations
php artisan migrate --force
Step 5: Clear Cache
php artisan cache:clear
php artisan config:cache
php artisan route:cache
php artisan view:clear
Step 6: Disable Maintenance Mode
php artisan up
Scheduled Tasks
Flint Engine includes automated commands that run on schedule:
SendInvoiceReminders— Sends overdue invoice remindersGenerateSitemap— Regenerates the XML sitemapGenerateRecurringInvoices— Creates recurring invoices on schedule
AI Model Updates
The Flint AI module may receive updates for:
- New AI provider integrations
- Updated model configurations
- Enhanced agent capabilities
- New automation features
Post-Update Checklist
- Verify the admin panel loads correctly
- Test login functionality
- Check that email sending works
- Verify license activation API
- Review error logs for any issues
- Clear browser cache for admin users
Important: Always backup before updating. Test updates on a staging environment first if possible. Keep your Git history clean with descriptive commit messages.