Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


[SOLVED] Weathermap upgrade

 
Post new topic   Reply to topic    Cacti Forum Index -> Plugin: (Network Weather Map)
Author Message
Dacob9906
Cacti User


Joined: 03 Apr 2007
Posts: 193
Location: Pullman Washington

PostPosted: Wed Oct 31, 2007 1:45 pm    Post subject: [SOLVED] Weathermap upgrade Reply with quote

I have never done this before, so I figured I would ask instead of trial and error. I am currently using Weathermap version .92 and would like to try out the new editor things in .93. How do I go about installing .93 without losing any of the info I have for my maps.... I would imagine I can just copy over everything and just retain my config files for the maps, but I don't want to screw this up. Thanks a bunch for your help!
Back to top
Howie
Cacti Guru User


Joined: 16 Sep 2004
Posts: 2167
Location: United Kingdom

PostPosted: Wed Oct 31, 2007 2:00 pm    Post subject: Reply with quote

Yes that should work. Just make sure you overwrite all the files from the new version Wierd things happen with half-one/half-other.

There isn't a editor-config.php (only -dist) in the zip, and only some dummy files in the configs folder.

You may need to check the ownership of the configs/ and output/ folders after unzipping. configs/ should be writable by your webserver, and output/
should be writable by your cactiuser

(never hurts to zip up the whole weathermap directory and save it somewhere first though )
Back to top
streaker69
Cacti Pro User


Joined: 27 Mar 2006
Posts: 647
Location: Psychic Amish Network Administrator

PostPosted: Wed Oct 31, 2007 2:03 pm    Post subject: Reply with quote

Howie wrote:
Yes that should work. Just make sure you overwrite all the files from the new version Wierd things happen with half-one/half-other.



Damn, my ears are twitchin'.
Back to top
Dacob9906
Cacti User


Joined: 03 Apr 2007
Posts: 193
Location: Pullman Washington

PostPosted: Wed Oct 31, 2007 3:16 pm    Post subject: Reply with quote

Thanks a bunch guys!
Back to top
viper8



Joined: 29 Oct 2007
Posts: 5

PostPosted: Thu Nov 01, 2007 3:59 pm    Post subject: Reply with quote

I always just:

mv weathermap weathermap-old
mv weathermap-0.93 weathermap

Then if new version isn't right, you can simply:

mv weathermap weathermap-0.93
mv weathermap-old weathermap

and be back to good!

Also this is a good method because you can copy config files and outputs very easily
Back to top
Dacob9906
Cacti User


Joined: 03 Apr 2007
Posts: 193
Location: Pullman Washington

PostPosted: Fri Nov 02, 2007 4:07 pm    Post subject: Reply with quote

So the upgrade worked perfectly, but I have one last question. Ever since I started using .92 I noticed that when I created the maps, the hover over url function didn't work, it just gave me a red X in a box. This function worked in the version I used previously, but was also a different cacti installation. After this upgrade to .93, I am still noticing the same issue, even with new links that I have made. Is there a chance that I am missing some kind of component that is required to show the graphs when I hover over the links and such. Thanks a bunch!!
Back to top
lard
Cacti User


Joined: 20 Jul 2005
Posts: 157
Location: UK - Cambridge

PostPosted: Fri Nov 02, 2007 6:32 pm    Post subject: Reply with quote

Hi,

I would firstly confirm that in the editor-config.php file that you've got the correct value in this section:

// CHANGE: this to be the URL of the base of your Cacti install
// it MUST end with a / character!
$cacti_url = "http://your-ip-address/cacti/";

I think this is where it includes the path to the hover graphs - would cause the error you are having,

HTH

Larry
Back to top
Dacob9906
Cacti User


Joined: 03 Apr 2007
Posts: 193
Location: Pullman Washington

PostPosted: Mon Nov 05, 2007 11:11 am    Post subject: Reply with quote

Thanks, that was it, I had checked it a couple times, but I fat fingered one character which of course through it all off, finally found it though. Thanks a bunch!
Back to top
lard
Cacti User


Joined: 20 Jul 2005
Posts: 157
Location: UK - Cambridge

PostPosted: Mon Nov 05, 2007 1:39 pm    Post subject: Reply with quote

Excellent - glad it's all resolved
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Plugin: (Network Weather Map) All times are GMT - 5 Hours
Page 1 of 1

 



Powered by phpBB © 2001, 2005 phpBB Group