Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Thu Dec 13, 2018 1:45 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Cacti Version Issue
PostPosted: Wed Oct 10, 2018 10:23 am 
Offline

Joined: Fri May 24, 2013 11:24 am
Posts: 14
So I have two separate cacti servers running on VMware. One is production, the other is for testing. Both are running on Redhat v7.5 and cacti was installed using yum.

The production version says I have cacti v1.1.37 and the test has v1.1.38

This is causing issues when I try to port the data over from test to the production server and I can't seem to be able to upgrade the production server no matter what I try.

The two servers were created, and cacti installed, within a few days of each other so unless the yum install version changed during that short period, I can't think of any reason for the version difference in Cacti. Oddly enough, the production server was created/installed after the test server.

How can I upgrade cacti on my production server? (yes, I followed the upgrade guide in the documentation AND completely redid the production server to no avail, it still reports as v1.1.37)?


Top
 Profile  
 
 Post subject: Re: Cacti Version Issue
PostPosted: Wed Oct 10, 2018 1:16 pm 
Offline

Joined: Fri May 24, 2013 11:24 am
Posts: 14
More info checking cacti through yum
Production:
^C[[email protected] ~]# yum info cacti
Loaded plugins: etckeeper, langpacks, package_upload, product-id, search-disabled-repos, subscription-manager
Installed Packages
Name : cacti
Arch : noarch
Version : 1.1.37
Release : 1.el7
Size : 24 M
Repo : installed
From repo : AU_EPEL7_EPEL7

Summary : An rrd based graphing tool
URL : http://www.cacti.net/
License : GPLv2+
Description : Cacti is a complete frontend to RRDTool. It stores all of the
: necessary information to create graphs and populate them with
: data in a MySQL database. The frontend is completely PHP
: driven.

Test:
[[email protected] ~]# yum info cacti
Loaded plugins: etckeeper, langpacks, package_upload, product-id, search-disabled-repos, subscription-manager
Installed Packages
Name : cacti
Arch : noarch
Version : 1.1.38
Release : 2.el7
Size : 24 M
Repo : installed
From repo : epel

Summary : An rrd based graphing tool
URL : http://www.cacti.net/
License : GPLv2+
Description : Cacti is a complete frontend to RRDTool. It stores all of the
: necessary information to create graphs and populate them with
: data in a MySQL database. The frontend is completely PHP
: driven.

I suspect the difference I see in fields "Repo" and From rep" are why I have two different versions. Who controls what repo the install's come from and ultimately, what version is in the repo(s)? Is this something the cacti people can address and have fixed?

I'm having no luck upgrading the install to v1.1.38 using the upgrade info contained in the Cacti doc's. Can anybody help me with this much at least?? Considering I have a clean install of Redhat v7.5 and I've just run the complete cacti install (as per the documentation) I have a working, but as of yet untouched, version of cacti.

How do I upgrade to v1.1.38 using the tarball on this clean install?

Thanks


Top
 Profile  
 
 Post subject: Re: Cacti Version Issue
PostPosted: Thu Oct 11, 2018 8:58 am 
Offline

Joined: Fri May 24, 2013 11:24 am
Posts: 14
Got it figured out. In the hopes that this may help someone else out in the future, here's what was done. First and foremost, I spoke with an admin friend of mine who's not only linux guru but is also a database guru. He installed the "EPEL" repository. on the production box and was able to then update it to v1.1.38

Here's the command:
# yum install epel-release

Then it was just run the install again on the production box:

# yum install cacti

I of course have no idea what happened at the other end of things (the repository) but at least now they're the same version and I was able to migrate the data from test to production.


Top
 Profile  
 
 Post subject: Re: Cacti Version Issue
PostPosted: Thu Oct 11, 2018 1:29 pm 
Offline
Cacti Guru User

Joined: Sun Aug 27, 2017 12:05 am
Posts: 1812
Sorry, only just seen this but yes, your second message clearly shows that you have used a different EPEL source for the two servers, thus you could end up with a different package.

_________________
Official Cacti Developer

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation

My resources:
How to submit Pull Requests
Development Wiki and How To's
Updated NetSNMP Memory template for Cacti 1.x
Cisco SFP template for Cacti 0.8.8


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group