Skip to content

Commit

Permalink
dev-db/influxdb: add instructions for upgrading db
Browse files Browse the repository at this point in the history
Closes: https://bugs.gentoo.org/907954
Closes: gentoo#31354
Signed-off-by: William Hubbs <[email protected]>
  • Loading branch information
stkw0 authored and williamh committed Jun 14, 2023
1 parent 4938d89 commit 9a93a86
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions dev-db/influxdb/influxdb-2.7.1-r1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -236,3 +236,13 @@ src_install() {
keepdir /var/log/influxdb
fowners influxdb:influxdb /var/log/influxdb
}

pkg_postinst() {
elog "Upgrading from InfluxDB1.x requires migration of time series data."
elog "See https://docs.influxdata.com/influxdb/v2.7/upgrade/v1-to-v2/"
elog "Keep in mind that some applications not compatible with InfluxDB 2.x
elog "may stop working."
ewarn "The InfluxDB command line client has been moved to dev-db/influx-cli"
ewarn "You will need to install it separately"
}

0 comments on commit 9a93a86

Please sign in to comment.