summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Roman <davidroman96@gmail.com>2023-06-08 12:32:05 +0200
committerWilliam Hubbs <williamh@gentoo.org>2023-06-13 19:44:31 -0500
commit9a93a860ea862040216c5a4b6845a0fbfe0db926 (patch)
tree335bff4d386deed2499fd214613fe8c5add781d2 /dev-db/influxdb
parentnet-misc/rdesktop: Stabilize 1.9.0-r4 ppc64, #908287 (diff)
downloadgentoo-9a93a860ea862040216c5a4b6845a0fbfe0db926.tar.gz
gentoo-9a93a860ea862040216c5a4b6845a0fbfe0db926.tar.bz2
gentoo-9a93a860ea862040216c5a4b6845a0fbfe0db926.zip
dev-db/influxdb: add instructions for upgrading db
Closes: https://bugs.gentoo.org/907954 Closes: https://github.com/gentoo/gentoo/pull/31354 Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'dev-db/influxdb')
-rw-r--r--dev-db/influxdb/influxdb-2.7.1-r1.ebuild10
1 files changed, 10 insertions, 0 deletions
diff --git a/dev-db/influxdb/influxdb-2.7.1-r1.ebuild b/dev-db/influxdb/influxdb-2.7.1-r1.ebuild
index 4ee0d5e90982..74dce28305f7 100644
--- a/dev-db/influxdb/influxdb-2.7.1-r1.ebuild
+++ b/dev-db/influxdb/influxdb-2.7.1-r1.ebuild
@@ -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"
+}