Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Mon Mar 27, 2017 11:27 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Not able to edit Weathermaps after upgrade to 0.98
PostPosted: Wed Mar 15, 2017 10:13 am 
Offline

Joined: Tue Mar 14, 2017 6:49 am
Posts: 5
Good afternoon,

I've run into a bit of problem after upgrading from Weathermaps 0.97a to 0.98 that I hope you can help with.

I'm not able to edit any existing maps in the online editor since the upgrade. When I go to the editor I can't see any of the existing maps to choose from. The maps are still running and updating fine and I can manually edit the text files in the \cacti\plugins\weathermap\configs\ folder.

Edit: - I can't create new maps or new maps based on existing maps. I can however, create a new map by using File Explorer and copy/pasting/renaming the 'simple.conf'. I can edit these new maps with the editor as they appear in the list.

I've searched the forum and checked the manual but I'm still stuck, so any help would be appreciated.

In case it helps, I'm running this on Windows XP and:

Cacti Version 0.8.8a
Cacti OS win32
SNMP Version NET-SNMP version: 5.5
RRDTool Version RRDTool 1.2.x

PHP Information
PHP Version 5.2.14
PHP OS WINNT
PHP uname Windows NT xxxxxxx 5.1 build 2600
PHP SNMP Installed
max_execution_time 30
memory_limit 128M

Regards,

Kris.


Top
 Profile  
 
 Post subject: Re: Not able to edit Weathermaps after upgrade to 0.98
PostPosted: Mon Mar 20, 2017 12:34 pm 
Offline
Cacti Guru User
User avatar

Joined: Thu Sep 16, 2004 5:53 am
Posts: 5058
Location: United Kingdom
This sounds like file permissions. Can the user that runs your webserver create files in the configs directory?

(the editor should actually complain about the directory being read-only on the green file-picker screen, hopefully)

Oh, wait - are your files names *.conf? At some point relatively recently the editor was restricted to only load *.conf files as part of sanitising its input.

(YUUMMMM, so much ancient software! :-) I hope it's not publicly available )

_________________
Weathermap 0.98 is out! & QuickTree 0.2. Superlinks is over there now.
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)


Top
 Profile  
 
 Post subject: Re: Not able to edit Weathermaps after upgrade to 0.98
PostPosted: Wed Mar 22, 2017 11:58 am 
Offline

Joined: Tue Mar 14, 2017 6:49 am
Posts: 5
Hi Howie,

The web server is Apache and is on the same machine. I'll check on the rights the cacti user has for creating files, but there's no error message in the editor about read-only. I checked again and noticed that I can create a brand new file and one based on another map, as long as I specified the .conf as part of the file name! They appear in the list fine.

The filenames are all .conf.

I've actually worked round this by creating new files by hand in File Explorer and copying the configs from the old files to the new ones.

No, it's not public facing :D I'm a bit of a s/w numpty and when I've tried upgrading the various bits of software for Cacti in the past I've managed to break everything. I find that the support and documentation is more Linux orientated than Windows, so I've left it as it is :). Looks like I 'll need to work it all out now that Cacti v1 is out...

I think I'm actually sorted with this for now, without actually solving the problem. Thanks for your help.

Cheers,

Kris.


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

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 4 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