|
|
| Author |
Message |
mangledspine
Joined: 11 Nov 2005 Posts: 9
|
Posted: Fri Nov 11, 2005 1:46 pm Post subject: Error: XML: Hash version does not exist. |
|
|
I am running two versions of cacti on different servers, 0.8.6g and 0.8.6f.
I'd like to export and import a template created in 0.8.6g back to a server that is running 0.8.6f, but I receive the infamous "Hash version does not exist" message.
I was wondering if anyone had any tips to hack around this message to get my template to import correctly into 0.8.6f -- can I simply make small changes to my XML file, can I somehow turn an option on/off in cacti, is there a downgrade tool or am I simply lost?
Thanks. |
|
| Back to top |
|
 |
rony Developer/Forum Admin
Joined: 17 Nov 2003 Posts: 5469 Location: Wisconsin, USA
|
Posted: Fri Nov 11, 2005 1:56 pm Post subject: |
|
|
Well, your not lost.....
But I can suggest the following, only because I know the changes haven't occured in the code for templates between those two versions.
On the 0.8.6f box, edit the include/config_arrays.php, change the following from:
| Code: |
$hash_version_codes = array(
"0.8.4" => "0000",
"0.8.5" => "0001",
"0.8.5a" => "0002",
"0.8.6" => "0003",
"0.8.6a" => "0004",
"0.8.6b" => "0005",
"0.8.6c" => "0006",
"0.8.6d" => "0007",
"0.8.6e" => "0008",
"0.8.6f" => "0009"
);
|
to:
| Code: |
$hash_version_codes = array(
"0.8.4" => "0000",
"0.8.5" => "0001",
"0.8.5a" => "0002",
"0.8.6" => "0003",
"0.8.6a" => "0004",
"0.8.6b" => "0005",
"0.8.6c" => "0006",
"0.8.6d" => "0007",
"0.8.6e" => "0008",
"0.8.6f" => "0009",
"0.8.6g" => "0010"
);
|
That should get you past this issue. But I warn you I'm not responsible for ANY ill affects this has on your system. |
|
| Back to top |
|
 |
mangledspine
Joined: 11 Nov 2005 Posts: 9
|
Posted: Fri Nov 11, 2005 2:03 pm Post subject: |
|
|
| Can you tell me what that change would affect? What could go wrong? |
|
| Back to top |
|
 |
rony Developer/Forum Admin
Joined: 17 Nov 2003 Posts: 5469 Location: Wisconsin, USA
|
Posted: Fri Nov 11, 2005 2:05 pm Post subject: |
|
|
See that's the problem, I'm not 100% sure, because I don't visit that part of the code offen enough to say for sure.
Sorry I don't have a better answer. |
|
| Back to top |
|
 |
mangledspine
Joined: 11 Nov 2005 Posts: 9
|
Posted: Fri Nov 11, 2005 2:08 pm Post subject: |
|
|
Is there a downgrade tool available somewhere.. maybe? I think I may start to cry if I find myself inputting all this information over again.  |
|
| Back to top |
|
 |
|
Powered by phpBB © 2001, 2005 phpBB Group
|
|