v2.0.0-rc.0 #2896
Replies: 8 comments 49 replies
-
Thank you for the continues updates! |
Beta Was this translation helpful? Give feedback.
-
A suggestion for 2.0: Go through all the blessed event names, such as "Outbound Link: Click" (those with a special meaning), and give them a shared prefix and normalized casing. For example:
|
Beta Was this translation helpful? Give feedback.
-
Hey there, thanks so much for the update! Seems to have updated without issues, but wasn't this release supposed to include new metrics like total visits and views per visit? Curious if I had gotten anything wrong during the migration. |
Beta Was this translation helpful? Give feedback.
-
Does Locus has city location ?
By the way, I had to remove this line from plausible-conf.env to avoid crash :
|
Beta Was this translation helpful? Give feedback.
-
Thanks for the update! I've just updated my copy, and while I get all the text charts (apart from "Realtime", which is odd!) - I don't get the graph loading. It just has the spinner on it. I notice this in the firebug console:
I did: Update docker-compose.yml , so we have Then run:
Then update the DB: docker-compose exec plausible bin/plausible rpc Plausible.DataMigration.NumericIDs.run All of those run fine. However, upon going back to the stats page I get: |
Beta Was this translation helpful? Give feedback.
-
Hi! I just installed plausible, first v1.5 and I upgraded to v2.0.0. I ran into some problems with the cities. I installed everything following the docs on the website and I switched to MaxMind data by adding the config file when I start the container (
I got an error saying that geonames.csv is not a file
I'm now running on v2.0.0, I removed the volumes line from the
|
Beta Was this translation helpful? Give feedback.
-
Hello I managed to update from 1.5.1 to v2.0.0-rc.0 everything works fine, except the migration of old data. When running sudo docker compose exec plausible bin/plausible rpc Plausible.DataMigration.NumericIDs.run I get following error:
to be honest everything involving "rpc" command ends up the same. Any idea? Thanks |
Beta Was this translation helpful? Give feedback.
-
v2.0.0-rc.1 has been released! Changes: v2.0.0-rc.0...v2.0.0-rc.1 |
Beta Was this translation helpful? Give feedback.
-
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-alpine
please make sure to upgrade ClickHouse to at least this version.Here's the excerpt from
v1.5 release discussion
regarding 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.yml
update the image used forplausible
tov2.0.0-rc.0
and 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.0
uses the newevents_v2
andsessions_v2
tables 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
plausible
container and start the migration flowYou can attempt this migration multiple times unless you drop
v1
tables.Drop v1 tables (optional)
Once you verify the migration went well, the old tables can be dropped. It's easiest to use
clickhouse-client
for 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.env
setMAXMIND_LICENSE_KEY
environment variable and get an automatically updated GeoLite2 City geolocation database. The database edition is configurable withMAXMIND_EDITION
environment variable and defaults toGeoLite2-City
.Note that for the changes in
plausible-config.env
to propagate to theplausible
, the container needs to be recreated:Also note that using
GeoLite2-City
edition 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
tagged-events
classnamesBamboo.MailgunAdapter
,Bamboo.MandrillAdapter
,Bamboo.SendGridAdapter
Support alternative mailing services (Mailgun, Mandrill, Sendgrid) #2649PUT /api/v1/sites
)Fixed
Changed
bounce_rate
Removed
IP_BLOCKLIST
environment variableThis discussion was created from the release v2.0.0-rc.0.
Beta Was this translation helpful? Give feedback.
All reactions