Upgrade Cacti to Latest - Originally Installed via Packages

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Moderators, Developers

Post Reply
Author
Message
jeffhochberg
Posts: 3
Joined: Mon Jul 01, 2013 8:35 pm

Upgrade Cacti to Latest - Originally Installed via Packages

#1 Post by jeffhochberg » Fri Mar 15, 2019 10:50 am

Hello all,

I built an Ubuntu Server a few weeks ago and installed Cacti + Spine from the built-in APT repository.

The APT repository is pretty far behind the current release - the most recent version in the repository is 1.1.38 for Cacti and 1.1.35 for Spine.

I'd like to be able to upgrade to the most recent version of Cacti and Spine (both 1.2.2 as of this post), but I'm concerned that if I install from the GitHub repository, it will break my existing installation.

What is the recommended course of action? Should I backup the database and rebuild on an entirely new box? Or will installing from the GitHub repository recognize that I installed via packages initially and perform an in-place upgrade?

Thanks!

-JeffH

netniV
Cacti Guru User
Posts: 2666
Joined: Sun Aug 27, 2017 12:05 am

Re: Upgrade Cacti to Latest - Originally Installed via Packa

#2 Post by netniV » Sun Mar 17, 2019 6:36 pm

GitHub sources are compatible with package sources (with the exception of a few directory locations such as the cli folder) but if you switch what you are using, you will need to pause your packages so that they are not updating over the top. You would probably be better to add one of the additional repositories that hold the later packages (unstable or testing I think they are in).

Buster, the next version of Debian, does include a 1.2 version that's due to be released soon

jeffhochberg
Posts: 3
Joined: Mon Jul 01, 2013 8:35 pm

Re: Upgrade Cacti to Latest - Originally Installed via Packa

#3 Post by jeffhochberg » Mon Mar 18, 2019 11:57 pm

Great! Thanks for the response.

I appreciate the insight!

Post Reply