commit: 9a93a860ea862040216c5a4b6845a0fbfe0db926 Author: David Roman <davidroman96 <AT> gmail <DOT> com> AuthorDate: Thu Jun 8 10:32:05 2023 +0000 Commit: William Hubbs <williamh <AT> gentoo <DOT> org> CommitDate: Wed Jun 14 00:44:31 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a93a860
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 <AT> gentoo.org> dev-db/influxdb/influxdb-2.7.1-r1.ebuild | 10 ++++++++++ 1 file changed, 10 insertions(+) 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" +}
