v2.0.0-rc.2 #3011
Replies: 6 comments 15 replies
|
Still + image: plausible/analytics:v2.0.0-rc.1 ? not + image: plausible/analytics:v2.0.0-rc.2 ? |
|
I get the following error when trying to run data migration: I'm updating from v1.5.1, running on Ubuntu 22.04.2 LTS. I saw a similar discussion in #2896 (comment) where the issue was caused by a Any ideas? |
|
Sorry for the stupid question, I do not have much clue of docker. What/where exactly is the "hosting" folder? |
|
What is the recommended and minimum CPU and RAM for this 2.0 version? |
|
There are no significant changes from |
|
Upgraded using the instructions from the docs: And thought I had lost all data, I really had a hallelujah-moment when I found this page! 😅 Please add the migration to the upgrade instructions-page so other people don't think they've deleted all their data after an upgrade. 🙏 |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
The highlights of this release are:
Upgrading Plausible Analytics to v2.0
Ensure you are using a new ClickHouse version
The steps below have been tested with
clickhouse/clickhouse-server:22.6-alpineplease make sure to upgrade ClickHouse to at least this version.Here's the excerpt from
v1.5 release discussionregarding the ClickHouse upgradeIn your docker-compose.yml update the image used for plausible_events_db to a newer ClickHouse version:
Upgrading ClickHouse to 22.6
Restart the container
This will boot up the new version of ClickHouse.
Related PR: plausible/community-edition#45
Update image tag
In your
docker-compose.ymlupdate the image used forplausibletov2.0.0-rc.2and restart the container
This will boot up the new version of the app.
If you open the dashboards now, you wouldn't see any past metrics. This is expected as
v2.0uses the newevents_v2andsessions_v2tables to store analytics data. We need to perform data migration to copy the data into the new tables.Run data migration
Connect to the running
plausiblecontainer and start the migration flowYou can attempt this migration multiple times unless you drop
v1tables.Drop v1 tables (optional)
Once you verify the migration went well, the old tables can be dropped. It's easiest to use
clickhouse-clientfor thisSee https://clickhouse.com/docs/en/operations/server-configuration-parameters/settings#max-table-size-to-drop for how to drop tables with more than 50GB of data.
Enable automatic MaxMind GeoLite2 updates (optional)
In your
plausible-config.envsetMAXMIND_LICENSE_KEYenvironment variable and get an automatically updated GeoLite2 City geolocation database. The database edition is configurable withMAXMIND_EDITIONenvironment variable and defaults toGeoLite2-City.Note that for the changes in
plausible-config.envto propagate to theplausible, the container needs to be recreated:Also note that using
GeoLite2-Cityedition requires more RAM than usingGeoLite2-Country.Now you can remove any other volumes and services used to download, store, and update geolocation databases.
Changelog
Following changes have been made since v1.5:
Added
with_imported=truein Stats API aggregate endpointtagged-eventsclassnamesBamboo.MailgunAdapter,Bamboo.MandrillAdapter,Bamboo.SendGridAdapterSupport alternative mailing services (Mailgun, Mandrill, Sendgrid) #2649PUT /api/v1/sites)LOG_FAILED_LOGIN_ATTEMPTSenvironment variable to enable failed login attempts logs add LOG_FAILED_LOGIN_ATTEMPTS #2936MAILER_NAMEenvironment variable support add MAILER_NAME #2937MAILGUN_BASE_URIsupport forBamboo.MailgunAdapteradd MAILGUN_BASE_URI #2935Fixed
Changed
bounce_rateRemoved
IP_BLOCKLISTenvironment variablecustom_dimension_filterfeature flag remove custom_dimension_filter feature and views_per_visit_metric flags #2996This discussion was created from the release v2.0.0-rc.2.
All reactions