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
Plausible Cloud receives continuous updates multiple times per week. CE releases bundle these changes into stable releases.
Before You Upgrade
Review the Changelog
Check the CHANGELOG.md for:
- Breaking changes
- New features
- Configuration changes
- Migration requirements
Check System Requirements
Verify your system meets requirements for the new version:
- Docker version compatibility
- Database version requirements
- Available disk space
- Memory requirements
Standard Upgrade Procedure
Using Docker Compose
Pull New Images
Download the latest Docker images:This downloads:
- Latest Plausible application image
- Updated PostgreSQL (if version changed)
- Updated ClickHouse (if version changed)
Run Migrations
Apply database migrations:
Migrations use an interweaved approach, running PostgreSQL and ClickHouse migrations in order.
Migration Details
Database Migrations
Plausible uses two databases that must be migrated:- PostgreSQL
- ClickHouse
Stores application data:
- 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
Version 3.0 reworked the time-on-page metric calculation:
- Now uses
engagementevents from tracker - Legacy calculation used for historical data
- Warnings shown when legacy methods are used
Filter Format Changes
Filter Format Changes
Dashboard filters changed from encoded to readable format:
- Old:
?filters=((is,page,(/docs,/blog)),...) - New:
?f=is,page,/docs,/blog&f=...
Session Tracking Updates
Session Tracking Updates
ClickHouse now uses
VersionedCollapsingMergeTree for visit data:- Prevents race conditions
- Improves data accuracy
- Automatic migration during upgrade
Upgrading to v2.1+
Registration Default Change
Registration Default Change
Default registration mode changed to
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
Cookie Changes
Cookie Changes
Upgrading to v2.0+
Configuration Consolidation
Configuration Consolidation
Environment variables consolidated:Old format:New format:Update your configuration file before upgrading.
Mailer Adapter Change
Mailer Adapter Change
Default mailer changed from Postmark to
Bamboo.Mua:Rollback Procedure
If issues occur during upgrade:Upgrading ClickHouse
ClickHouse Version Compatibility
Plausible supports ClickHouse 21.0+. To upgrade ClickHouse:Review ClickHouse Release Notes
Check ClickHouse releases for breaking changes
ClickHouse upgrades are generally backward compatible, but always test in a staging environment first.
Upgrading PostgreSQL
PostgreSQL upgrades require more care:Troubleshooting Upgrades
Migration Fails
Migration Fails
Error: Migration script exits with errorSolutions:
- 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
Error: Plausible container exits immediatelySolutions:
- 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
Issue: Plausible is slower after upgradeSolutions:
- 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
Issue: Some statistics don’t appearSolutions:
- 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
Always test upgrades in a staging environment before production
Backup Everything
Maintain regular backups and verify restoration works
Read Changelogs
Review release notes for breaking changes and new features
Monitor After Upgrade
Watch logs and metrics after upgrading to catch issues early
Stay Updated
Watch Releases
Star and watch the Plausible Analytics repository on GitHub
Join Discussions
Participate in GitHub Discussions
Next Steps
Maintenance
Learn about operations, backups, and monitoring
Configuration
Review configuration options after upgrade