How to Upgrade cacti version

If you figure out how to do something interesting/cool in Cacti and want to share it with the community, please post your experience here.

Moderators: Developers, Moderators

Post Reply
duwijakarta
Cacti User
Posts: 52
Joined: Thu Apr 18, 2024 10:40 pm

How to Upgrade cacti version

Post by duwijakarta »

Hello, I want to ask about updating version from 1.2.25 to 1.2.28, can it be done directly with patch 1.2.28 or do I need to do it one by one from 1.2.26-1.2.28? and is there a tutorial on upgrading the version?
thanks
User avatar
macan
Cacti Guru User
Posts: 1104
Joined: Tue Mar 18, 2008 2:30 am
Location: Czech

Re: How to Upgrade cacti version

Post by macan »

Directly.
Described here https://docs.cacti.net/Upgrading-Cacti.md
I suggest wait for days for 1.2.29 or you can use code from https://github.com/Cacti/cacti/tree/1.2.x which will be 1.2.29
1.2.28 has few issues
Let the Cacti grow!
duwijakarta
Cacti User
Posts: 52
Joined: Thu Apr 18, 2024 10:40 pm

Re: How to Upgrade cacti version

Post by duwijakarta »

macan wrote: Wed Oct 30, 2024 3:04 am Directly.
Described here https://docs.cacti.net/Upgrading-Cacti.md
I suggest wait for days for 1.2.29 or you can use code from https://github.com/Cacti/cacti/tree/1.2.x which will be 1.2.29
1.2.28 has few issues
okey, while i wait. I tried to follow the instructions on this link https://docs.cacti.net/Upgrading-Cacti.md by downloading the file from this link https://www.cacti.net/info/downloads, but after it was finished running, why did it say downgrade from version 1.2.28 to 1.2.25? while mine was previously 1.2.25, after next until finished it went back to the original state

or should I download it from this link? https://github.com/Cacti/cacti/releases
Last edited by duwijakarta on Wed Oct 30, 2024 3:11 am, edited 1 time in total.
duwijakarta
Cacti User
Posts: 52
Joined: Thu Apr 18, 2024 10:40 pm

Re: How to Upgrade cacti version

Post by duwijakarta »

duwijakarta wrote: Wed Oct 30, 2024 3:10 am
macan wrote: Wed Oct 30, 2024 3:04 am Directly.
Described here https://docs.cacti.net/Upgrading-Cacti.md
I suggest wait for days for 1.2.29 or you can use code from https://github.com/Cacti/cacti/tree/1.2.x which will be 1.2.29
1.2.28 has few issues
okey, while i wait. I tried to follow the instructions on this link https://docs.cacti.net/Upgrading-Cacti.md by downloading the file from this link https://www.cacti.net/info/downloads, but after it was finished running, why did it say downgrade from version 1.2.28 to 1.2.25? while mine was previously 1.2.25, after next until finished it went back to the original state
or should I download it from this link? https://github.com/Cacti/cacti/releases
User avatar
macan
Cacti Guru User
Posts: 1104
Joined: Tue Mar 18, 2008 2:30 am
Location: Czech

Re: How to Upgrade cacti version

Post by macan »

https://github.com/Cacti/cacti/releases - you can use it, but here is 1.2.28 only. 1.2.29 will be released soon.
If you can 1.2.29, you need download if from here now (green button code) https://github.com/Cacti/cacti/tree/1.2.x
Let the Cacti grow!
duwijakarta
Cacti User
Posts: 52
Joined: Thu Apr 18, 2024 10:40 pm

Re: How to Upgrade cacti version

Post by duwijakarta »

macan wrote: Wed Oct 30, 2024 3:18 am https://github.com/Cacti/cacti/releases - you can use it, but here is 1.2.28 only. 1.2.29 will be released soon.
If you can 1.2.29, you need download if from here now (green button code) https://github.com/Cacti/cacti/tree/1.2.x
After I open it https://github.com/Cacti/cacti/tree/1.2.x, which menu do I choose to download the tar.gz file?
User avatar
macan
Cacti Guru User
Posts: 1104
Joined: Tue Mar 18, 2008 2:30 am
Location: Czech

Re: How to Upgrade cacti version

Post by macan »

There is only one big green button "<> CODE"
Let the Cacti grow!
duwijakarta
Cacti User
Posts: 52
Joined: Thu Apr 18, 2024 10:40 pm

Re: How to Upgrade cacti version

Post by duwijakarta »

macan wrote: Wed Oct 30, 2024 3:24 am There is only one big green button "<> CODE"
I've tried doing this step,

Extract the distribution tarball.

shell> tar -xzvf cacti-version.tar.gz

Copy the distribution tarball to the existing installation.

shell> /bin/cp -rpf cacti-version cacti

but when checked again the cacti is still at the same version there is no change, how do I check it?
User avatar
macan
Cacti Guru User
Posts: 1104
Joined: Tue Mar 18, 2008 2:30 am
Location: Czech

Re: How to Upgrade cacti version

Post by macan »

it is true. You have 1.2.28 with all fixes from 1.2.29.
Let the Cacti grow!
duwijakarta
Cacti User
Posts: 52
Joined: Thu Apr 18, 2024 10:40 pm

Re: How to Upgrade cacti version

Post by duwijakarta »

macan wrote: Wed Oct 30, 2024 4:48 am it is true. You have 1.2.28 with all fixes from 1.2.29.
I mean, I upgraded earlier and was still using version 1.2.28, can I just try using version 1.2.x (1.2.29)?
or for some people who tried to upgrade to version 1.2.28 experienced the same thing as me?
User avatar
macan
Cacti Guru User
Posts: 1104
Joined: Tue Mar 18, 2008 2:30 am
Location: Czech

Re: How to Upgrade cacti version

Post by macan »

if you used code from https://github.com/Cacti/cacti/tree/1.2.x, you have 1.2.29. Only this code is not taged as 1.2.29
Let the Cacti grow!
duwijakarta
Cacti User
Posts: 52
Joined: Thu Apr 18, 2024 10:40 pm

Re: How to Upgrade cacti version

Post by duwijakarta »

macan wrote: Wed Oct 30, 2024 5:10 am if you used code from https://github.com/Cacti/cacti/tree/1.2.x, you have 1.2.29. Only this code is not taged as 1.2.29
If I upgrade the version, do I need to upgrade the Spine? And how do I upgrade it?
User avatar
macan
Cacti Guru User
Posts: 1104
Joined: Tue Mar 18, 2008 2:30 am
Location: Czech

Re: How to Upgrade cacti version

Post by macan »

You don't need exactly same version of cacti and spine. If the versions differ by a tenth, you usually won't have a problem. The more the versions differ, the more likely the problem is.
So cact 1.2.29 vs. spine 1.2.27, it will be ok.
Let the Cacti grow!
duwijakarta
Cacti User
Posts: 52
Joined: Thu Apr 18, 2024 10:40 pm

Re: How to Upgrade cacti version

Post by duwijakarta »

macan wrote: Thu Oct 31, 2024 2:31 am You don't need exactly same version of cacti and spine. If the versions differ by a tenth, you usually won't have a problem. The more the versions differ, the more likely the problem is.
So cact 1.2.29 vs. spine 1.2.27, it will be ok.
use spine 1.2.25 or 1.2.26 vs cacti 1.2.29 is it compatible?
User avatar
macan
Cacti Guru User
Posts: 1104
Joined: Tue Mar 18, 2008 2:30 am
Location: Czech

Re: How to Upgrade cacti version

Post by macan »

I quess yes
Let the Cacti grow!
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests