chronograf icon indicating copy to clipboard operation
chronograf copied to clipboard

Gauge disappeared in 1.4.4.0

Open goller opened this issue 8 years ago • 6 comments

image

In graph "Number of Nodes"

goller avatar Apr 15 '18 17:04 goller

I'm getting the same error since updating to 1.4.4.0. It's also worth noting that the downstream consequence is that additional dashboard widgets fails to render.

kevinjos avatar Apr 15 '18 18:04 kevinjos

@kevinjos Ah that makes sense... I was just about to report another problem, but, I bet it is because downstream widgets don't render.

goller avatar Apr 15 '18 18:04 goller

Same issue. Even when downgrading back to 1.4.3.3.

Lootvoet avatar Apr 16 '18 08:04 Lootvoet

Thanks for the reports everyone. We will take a look and address this today.

russorat avatar Apr 16 '18 14:04 russorat

@Lootvoet When downgrading from 1.4.4.0 -> 1.4.3.3, you might also try replacing your bolt database (generally chronograf-v1.db) with the automatic backup taken at the beginning of the upgrade process. By default it will be in the backup/ directory and named according to the prior version.

lukevmorris avatar Apr 16 '18 16:04 lukevmorris

@Lootvoet @goller @kevinjos Thanks for bringing this to our attention. We've pushed a fix, which is now generally available in Chronograf 1.4.4.1.

This required a change to an existing migration file (which ran automatically when you moved to 1.4.4.0). Because this migration has already been marked as run, resolving this issue on your side is not as simple as upgrading to 1.4.4.1. You will first need to restore from a backup of your internal Chronograf database (i.e. your boltdb). The process is as follows:

  1. Locate your Chronograf database (chronograf-v1.db) and your backup directory (backup/). They should be siblings of each other, and they live in your specified --bolt-path. By default, this is the current working directory where you execute the chronograf binary.
  2. Inside your backup directory, you should see a database file with a suffix corresponding with the version you upgraded from. For example, if you moved 1.4.3.3 -> 1.4.4.0, you should find a file called backup/chronograf-v1.db.1.4.3.3.
  3. Stop your chronograf server
  4. Remove your "current" database, and replace it with the backup:
rm chronograf-v1.db
mv backup/chronograf-v1.db.1.4.3.3 chronograf-v1.db
  1. Upgrade to the latest chronograf (1.4.4.1): https://portal.influxdata.com/downloads
  2. Start the chronograf server. This will automatically run the updated migration against your most-recent dashboard configuration.

If you have any questions about this process, it's likely that I need to clarify further -- please let me know. Sorry for the trouble!

lukevmorris avatar Apr 16 '18 21:04 lukevmorris