From 05acce664523c38ddc66390f833201586bf26826 Mon Sep 17 00:00:00 2001 From: Todd Persen Date: Mon, 4 Apr 2016 15:20:27 -0700 Subject: [PATCH] Clarify the upgrade error message. --- cmd/influxd/run/server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/influxd/run/server.go b/cmd/influxd/run/server.go index 6fa6c97bee..2663f80bf7 100644 --- a/cmd/influxd/run/server.go +++ b/cmd/influxd/run/server.go @@ -119,7 +119,7 @@ func NewServer(c *Config, buildInfo *BuildInfo) (*Server, error) { // to downgrade, export, and then import the meta data raftFile := filepath.Join(c.Meta.Dir, "raft.db") if _, err := os.Stat(raftFile); err == nil { - return nil, fmt.Errorf("detected %s. either downgrade and export your meta data to import before continuing, or delete the file to start fresh", raftFile) + return nil, fmt.Errorf("detected %s. To proceed, you'll need to either 1) downgrade to v0.11.x, export your metadata, upgrade to the current version again, and then import the metadata or 2) delete the file, which will effectively reset your database. For more assistance with the upgrade, see: https://docs.influxdata.com/influxdb/v0.12/administration/upgrading/", raftFile) } // In 0.10.0 bind-address got moved to the top level. Check