Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Wed Jun 28, 2017 5:41 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 33 posts ]  Go to page 1, 2, 3  Next
Author Message
 Post subject: Cacti 0.8.7h Beta 2 Release Discussion
PostPosted: Mon May 30, 2011 10:58 pm 
Offline
Developer/Forum Admin
User avatar

Joined: Mon Nov 17, 2003 6:35 pm
Posts: 5948
Location: Michigan, USA
Please discuss any issues with the Cacti 0.8.7h beta release here! This includes PIA and Spine issues as well!

For those that missed it, you can download the beta here:
Cacti 0.8.7h Beta 2 Release

_________________
Tony Roman
Experience is what causes a person to make new mistakes instead of old ones.
There are only 3 way to complete a project: Good, Fast or Cheap, pick two.
With age comes wisdom, what you choose to do with it determines whether or not you are wise.


Top
 Profile  
 
 Post subject: Re: Cacti 0.8.7h Beta 2 Release Discussion
PostPosted: Tue May 31, 2011 12:31 am 
Offline
Cacti User

Joined: Mon Jan 17, 2011 12:15 pm
Posts: 155
Hello rony,

Thanks for your works, I will install it today and make my return.

Best Regards


Top
 Profile  
 
 Post subject: Re: Cacti 0.8.7h Beta 2 Release Discussion
PostPosted: Tue May 31, 2011 1:03 am 
Offline
Cacti Guru User

Joined: Thu Aug 05, 2010 2:04 am
Posts: 1573
Location: Japan
I saw some installation problems -- but there is a workaround.

1) blank page after changing admin password on installation
http://bugs.cacti.net/view.php?id=1998

2) some files missing in PIA-v3.0-beta2 patch
http://bugs.cacti.net/view.php?id=1999


Top
 Profile  
 
 Post subject: Re: Cacti 0.8.7h Beta 2 Release Discussion
PostPosted: Tue May 31, 2011 9:10 am 
Offline
Developer/Forum Admin
User avatar

Joined: Mon Nov 17, 2003 6:35 pm
Posts: 5948
Location: Michigan, USA
noname wrote:
I saw some installation problems -- but there is a workaround.

1) blank page after changing admin password on installation
http://bugs.cacti.net/view.php?id=1998

2) some files missing in PIA-v3.0-beta2 patch
http://bugs.cacti.net/view.php?id=1999



Um, thanks for the bugs, I will have to test the password change problem.

Does this problem happen with the PIA installed only?

_________________
Tony Roman
Experience is what causes a person to make new mistakes instead of old ones.
There are only 3 way to complete a project: Good, Fast or Cheap, pick two.
With age comes wisdom, what you choose to do with it determines whether or not you are wise.


Top
 Profile  
 
 Post subject: Re: Cacti 0.8.7h Beta 2 Release Discussion
PostPosted: Tue May 31, 2011 11:35 am 
Offline
Cacti Guru User

Joined: Thu Aug 05, 2010 2:04 am
Posts: 1573
Location: Japan
Thanks for replying.

>> Does this problem happen with the PIA installed only?

I saw this blank page before installing PIA.
I didn't test about the 1st issue with PIA yet -- because of the 2nd issue.


EDIT:
For the 1st issue, perhaps resolved with this..
Quote:
% diff --unified=0 auth_changepassword.php.org auth_changepassword.php
@@ -57 +57 @@
- header("Location: " . sanitize_search_string($_POST["ref"])); break;
+ header("Location: " . sanitize_uri($_POST["ref"])); break;
@@ -128 +128 @@
-<input type="hidden" name="ref" value="<?php print sanitize_search_string($_REQUEST["ref"]);?>">
+<input type="hidden" name="ref" value="<?php print sanitize_uri($_REQUEST["ref"]);?>">


Top
 Profile  
 
 Post subject: Re: Cacti 0.8.7h Beta 2 Release Discussion
PostPosted: Fri Jun 03, 2011 7:28 am 
Offline

Joined: Mon Oct 27, 2003 9:13 am
Posts: 37
Location: Germany, Potsdam
Hi,

Database Update error :

ALTER TABLE `data_template_rrd` ADD UNIQUE INDEX `duplicate_dsname_contraint`(`local_data_id`, `data_source_name`, `data_template_id`);
ERROR 1062 (23000): Duplicate entry '0-hdd_used-43' for key 'duplicate_dsname_contraint'

I find no entry '0-hdd_used-43' in the whole Database.

bye
UK


Top
 Profile  
 
 Post subject: Re: Cacti 0.8.7h Beta 2 Release Discussion
PostPosted: Sun Jun 05, 2011 1:43 pm 
Offline
Developer/Forum Admin
User avatar

Joined: Mon Nov 17, 2003 6:35 pm
Posts: 5948
Location: Michigan, USA
bfek-18 wrote:
Hi,

Database Update error :

ALTER TABLE `data_template_rrd` ADD UNIQUE INDEX `duplicate_dsname_contraint`(`local_data_id`, `data_source_name`, `data_template_id`);
ERROR 1062 (23000): Duplicate entry '0-hdd_used-43' for key 'duplicate_dsname_contraint'

I find no entry '0-hdd_used-43' in the whole Database.

bye
UK


This could be a corrupted index on the table.

_________________
Tony Roman
Experience is what causes a person to make new mistakes instead of old ones.
There are only 3 way to complete a project: Good, Fast or Cheap, pick two.
With age comes wisdom, what you choose to do with it determines whether or not you are wise.


Top
 Profile  
 
 Post subject: Re: Cacti 0.8.7h Beta 2 Release Discussion
PostPosted: Mon Jun 06, 2011 5:04 am 
Offline

Joined: Mon Oct 27, 2003 9:13 am
Posts: 37
Location: Germany, Potsdam
rony wrote:
bfek-18 wrote:
Hi,

Database Update error :

ALTER TABLE `data_template_rrd` ADD UNIQUE INDEX `duplicate_dsname_contraint`(`local_data_id`, `data_source_name`, `data_template_id`);
ERROR 1062 (23000): Duplicate entry '0-hdd_used-43' for key 'duplicate_dsname_contraint'

I find no entry '0-hdd_used-43' in the whole Database.

bye
UK


This could be a corrupted index on the table.


Hi rony,


not corrupt index. But mayby the error come from command syntax ?
This works:

ALTER IGNORE TABLE `data_template_rrd` ADD UNIQUE INDEX `duplicate_dsname_contraint`(`local_data_id`, `data_source_name`, `data_template_id`);

I use mysql version 5.5.13. Is this the problem ?

Thanks
UK


Top
 Profile  
 
 Post subject: Re: Cacti 0.8.7h Beta 2 Release Discussion
PostPosted: Wed Jun 15, 2011 6:29 am 
Offline
Cacti User

Joined: Mon Jan 17, 2011 12:15 pm
Posts: 155
Hello all,

I add this missing in ./include/config.php file :

/* load up old style plugins here */
$plugins = array();
//$plugins[] = 'thold';

/*
Edit this to point to the default URL of your Cacti install
ex: if your cacti install as at http://serverip/cacti/ this
would be set to /cacti/
*/
$url_path = "/cacti/";

other think, it's impossible to install and load plugins, there are no buttons to do that.

Best Regards


Top
 Profile  
 
 Post subject: Re: Cacti 0.8.7h Beta 2 Release Discussion
PostPosted: Wed Jun 15, 2011 11:57 pm 
Offline
Cacti Guru User

Joined: Thu Aug 05, 2010 2:04 am
Posts: 1573
Location: Japan
c3226026 wrote:
$url_path = "/cacti/";

other think, it's impossible to install and load plugins, there are no buttons to do that.
Thanks, I added descriptions about that.
http://bugs.cacti.net/view.php?id=1999

Image


Top
 Profile  
 
 Post subject: Re: Cacti 0.8.7h Beta 2 Release Discussion
PostPosted: Thu Jun 16, 2011 12:14 am 
Offline
Cacti User

Joined: Mon Jan 17, 2011 12:15 pm
Posts: 155
Hello noname,

I've follow your solution :

%cp cacti-plugin-arch/files-0.8.7h/images/* images/

and it works fine many thanks


Top
 Profile  
 
 Post subject: Re: Cacti 0.8.7h Beta 2 Release Discussion
PostPosted: Fri Jun 17, 2011 10:20 am 
Offline

Joined: Tue Oct 18, 2005 4:38 pm
Posts: 11
Hello,

Related to the svn#1333, i think there's a small mistake in the file: /cacti/branches/0.8.7/install/0_8_7g_to_0_8_7h.php

line 62:
if (!in_array("duplicate_dsname_contraint", $_keys)) {
should be
if (!in_array("data_input_id_data_name_input_output", $_keys)) {
because we are testing the name of the index "data_input_id_data_name_input_output" and not the previous one (copy paste mistake i presume)

Best regards


Top
 Profile  
 
 Post subject: Re: Cacti 0.8.7h Beta 2 Release Discussion
PostPosted: Fri Jun 17, 2011 3:08 pm 
Offline
Developer
User avatar

Joined: Thu Dec 02, 2004 2:46 am
Posts: 22461
Location: Muenster, Germany
li0n wrote:
Hello,

Related to the svn#1333, i think there's a small mistake in the file: /cacti/branches/0.8.7/install/0_8_7g_to_0_8_7h.php

line 62:
if (!in_array("duplicate_dsname_contraint", $_keys)) {
should be
if (!in_array("data_input_id_data_name_input_output", $_keys)) {
because we are testing the name of the index "data_input_id_data_name_input_output" and not the previous one (copy paste mistake i presume)

Best regards
Indeed
R.

_________________
Official Cacti Documentation
Official Debugging Help
Central Plugin Repository
Central Templates Repository


Top
 Profile  
 
 Post subject: Re: Cacti 0.8.7h Beta 2 Release Discussion
PostPosted: Fri Jun 17, 2011 3:13 pm 
Offline
Developer
User avatar

Joined: Thu Dec 02, 2004 2:46 am
Posts: 22461
Location: Muenster, Germany
bfek-18 wrote:
ALTER IGNORE TABLE `data_template_rrd` ADD UNIQUE INDEX `duplicate_dsname_contraint`(`local_data_id`, `data_source_name`, `data_template_id`);
Please reset version (by changing the entry in table "version") to 0.8.7g and retry using latest upgrade procedure from SVN. I provided code to detect an already existing key of same name.
In case this fails again, I need a listing of all keys defined for that specific table
R.

_________________
Official Cacti Documentation
Official Debugging Help
Central Plugin Repository
Central Templates Repository


Top
 Profile  
 
 Post subject: Re: Cacti 0.8.7h Beta 2 Release Discussion
PostPosted: Mon Jun 20, 2011 3:46 pm 
Offline

Joined: Mon Oct 27, 2003 9:13 am
Posts: 37
Location: Germany, Potsdam
gandalf wrote:
bfek-18 wrote:
ALTER IGNORE TABLE `data_template_rrd` ADD UNIQUE INDEX `duplicate_dsname_contraint`(`local_data_id`, `data_source_name`, `data_template_id`);
Please reset version (by changing the entry in table "version") to 0.8.7g and retry using latest upgrade procedure from SVN. I provided code to detect an already existing key of same name.
In case this fails again, I need a listing of all keys defined for that specific table
R.


Hi,

I use SVN 6386.
This time without error.

Thanks


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 33 posts ]  Go to page 1, 2, 3  Next

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 1 guest


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