Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrading Prometheus 2.0 from beta2 to beta5 fails to start. #3213

Closed
laverite opened this Issue Sep 25, 2017 · 2 comments

Comments

Projects
None yet
2 participants
@laverite
Copy link

laverite commented Sep 25, 2017

What did you do?
Updated from v2.0.0-beta.2 -> v2.0.0-beta.5

What did you expect to see?
I expected prometheus beta5 to start properly.

What did you see instead? Under which circumstances?
beta5 failed to start complaining about missing lock file. tried to touch a lockfile and then it complained about a missing chunks dir. removed my touched lock file and reverted back to beta2 and things look fine again.

Environment
k8s 1.7.4 on bare-metal

  • System information:

    Linux 4.9.13-1 x86_64

  • Prometheus version:

prometheus, version 2.0.0-beta.5 (branch: HEAD, revision: 64c7932)
build user: root@df40cc0bd79b
build date: 20170921-16:23:04
go version: go1.8.3

prometheus, version 2.0.0-beta.2 (branch: HEAD, revision: a52f082)
build user: root@41a0740ea598
build date: 20170818-08:16:50
go version: go1.8.3

  • Logs:
level=error ts=2017-09-24T23:40:02.426894698Z caller=main.go:317 msg="Opening storage failed" err="open block /prometheus/data/01BTTYEYSJJFT86B8X7286ETW9: try lock file: open /prometheus/data/01BTTYEYSJJFT86B8X7286ETW9/index: no such file or directory"

level=error ts=2017-09-24T23:38:06.766703158Z caller=main.go:317 msg="Opening storage failed" err="open block /prometheus/data/01BTTYEYSJJFT86B8X7286ETW9: open /prometheus/data/01BTTYEYSJJFT86B8X7286ETW9/chunks: no such file or directory"`
@grobie

This comment has been minimized.

Copy link
Member

grobie commented Sep 25, 2017

It's recommended to read the release notes before attempting an upgrade. The beta.4 release is incompatible with previous versions. https://github.com/prometheus/prometheus/releases

@grobie grobie closed this Sep 25, 2017

@lock

This comment has been minimized.

Copy link

lock bot commented Mar 23, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked and limited conversation to collaborators Mar 23, 2019

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
You can’t perform that action at this time.