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

yum update influxdb on CentOS 7 broke influxdb #6110

Closed
willemdh opened this issue Mar 24, 2016 · 3 comments · Fixed by #6172
Closed

yum update influxdb on CentOS 7 broke influxdb #6110

willemdh opened this issue Mar 24, 2016 · 3 comments · Fixed by #6172
Assignees
Milestone

Comments

@willemdh
Copy link

Tried updating from 0.9.5.1 to 0.11.0-1 on CentOS 7. So I configure /etc/yum.repos.d/influxdb.repo as listed in https://docs.influxdata.com/influxdb/v0.11/introduction/installation/ and execute:

yum update influxdb

Installation seemes successfully. Then I try to start the service, which fails.

systemctl start influxdb
Failed to start influxdb.service: Unit influxdb.service failed to load: No such file or directory.

Luckily I have a snapshot to which I reverted, so what can I do to make my upgrade work with yum?

@rossmcdonald
Copy link
Contributor

@willemdh Thanks for letting us know. I'll test this locally to see if I can reproduce the issue.

@rossmcdonald rossmcdonald self-assigned this Mar 24, 2016
@rossmcdonald rossmcdonald added this to the 0.12.0 milestone Mar 24, 2016
@rossmcdonald
Copy link
Contributor

@willemdh This turns out to be an issue with the upgrade path from 0.9 straight to 0.11. There was some logic in the 0.10 packages that corrected for this issue, but it was removed for the 0.11 release.

The way to bypass the problem is to re-install the unit file:

$ sudo cp /usr/lib/influxdb/scripts/influxdb.service /etc/systemd/system/
$ sudo systemctl enable influxdb

Which should restore all service commands.

@willemdh
Copy link
Author

willemdh commented Apr 1, 2016

@rossmcdonald It worked. Ithink I upgraded successfully now. Yum syas I'm on version 0.11.1-1, but the gui stillsyas 0.9.5. Is this a known issue?

image

Did a shift refresh, still 0.9.5..

Just noticed InfluxDB service stops after 10 seconds since the upgrade. Still looking why, but I'll make a new thread for that.. (#6184)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants