Upgrade Overview
Plausible Community Edition is released twice per year with long-term support. Staying up to date ensures you have the latest bug fixes, performance improvements, and features.Release Schedule
Community Edition follows a different release schedule than Plausible Cloud:- Frequency: Long-term releases published twice per year
- Versioning: Semantic versioning (MAJOR.MINOR.PATCH)
- Support: Community-supported through GitHub Discussions
Before You Upgrade
Review the Changelog
- Breaking changes
- New features
- Configuration changes
- Migration requirements
Backup Your Data
Check System Requirements
- Docker version compatibility
- Database version requirements
- Available disk space
- Memory requirements
Plan Downtime
Standard Upgrade Procedure
Using Docker Compose
Pull Latest Changes
Pull New Images
- Latest Plausible application image
- Updated PostgreSQL (if version changed)
- Updated ClickHouse (if version changed)
Stop Services
Start Services
Run Migrations
Verify Upgrade
Migration Details
Database Migrations
Plausible uses two databases that must be migrated:- PostgreSQL
- ClickHouse
- User accounts
- Site configurations
- API keys
- Team memberships
migrate.sh script.Checking Migration Status
Manual Migration Control
For advanced users:Version-Specific Upgrade Notes
Upgrading to v3.0+
Time on Page Metric Changes
Time on Page Metric Changes
- Now uses
engagementevents from tracker - Legacy calculation used for historical data
- Warnings shown when legacy methods are used
Filter Format Changes
Filter Format Changes
- Old:
?filters=((is,page,(/docs,/blog)),...) - New:
?f=is,page,/docs,/blog&f=...
Session Tracking Updates
Session Tracking Updates
VersionedCollapsingMergeTree for visit data:- Prevents race conditions
- Improves data accuracy
- Automatic migration during upgrade
Upgrading to v2.1+
Registration Default Change
Registration Default Change
invite_only:IPv6 Environment Variables
IPv6 Environment Variables
ECTO_IPV6 and ECTO_CH_IPV6 are deprecated:- IPv6 is now automatic with IPv4 fallback
- Remove these variables from configuration
- No action needed for most deployments
Upgrading to v2.0+
Configuration Consolidation
Configuration Consolidation
Mailer Adapter Change
Mailer Adapter Change
Bamboo.Mua:Rollback Procedure
If issues occur during upgrade:Stop Services
Restore Database Backups
Revert to Previous Version
Verify
Upgrading ClickHouse
ClickHouse Version Compatibility
Plausible supports ClickHouse 21.0+. To upgrade ClickHouse:Check Current Version
Review ClickHouse Release Notes
Backup Data
Update docker-compose.yml
Restart Services
Upgrading PostgreSQL
PostgreSQL upgrades require more care:Backup Current Database
Stop All Services
Update Database Volume
Update docker-compose.yml
Start Database
Restore Backup
Start Remaining Services
Troubleshooting Upgrades
Migration Fails
Migration Fails
- Check logs:
docker compose logs plausible - Verify database connectivity
- Ensure sufficient disk space
- Check for schema conflicts
- Consult GitHub Discussions for specific error
Container Won't Start
Container Won't Start
- Check configuration:
docker compose config - Review environment variables
- Check logs:
docker compose logs plausible - Verify BASE_URL and SECRET_KEY_BASE
- Ensure databases are accessible
Performance Degradation
Performance Degradation
- Run ClickHouse OPTIMIZE:
- Check database sizes and consider archival
- Review ClickHouse buffer settings
- Monitor resource usage (CPU, RAM, disk)
Missing Data After Upgrade
Missing Data After Upgrade
- Check if migrations completed successfully
- Review ClickHouse materialized views:
- Verify ClickHouse hasn’t dropped partitions
- Restore from backup if data loss occurred
Best Practices
Test First
Backup Everything
Read Changelogs
Monitor After Upgrade
Stay Updated
Watch Releases
Join Discussions