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    


Migration from 0.8.6j to 0.8.7b

 
Post new topic   Reply to topic    Cacti Forum Index -> Help: Linux/Unix Specific
Author Message
beno



Joined: 15 Jul 2008
Posts: 1

PostPosted: Wed Jul 16, 2008 12:35 am    Post subject: Migration from 0.8.6j to 0.8.7b Reply with quote

Hi,

I have migrated the applications from 0.8.6j to 0.8.7b. However, I encountered the following while upgrading in progress:

However, on the screen, I saw the following error:
Notice: Undefined variable: ldap_enable_db in /var/www/html/install/0_8_6j_to_0_8_7.php on line 79


Cacti Installation Guide
Upgrade results:

WARNING: One or more of the SQL queries needed to upgraded your Cacti installation has failed. Please see below for more details. Your Cacti MySQL user must have SELECT, INSERT, UPDATE, DELETE, ALTER, CREATE, and DROP permissions. You should try executing the failed queries as 'root' to ensure that you do not have a permissions problem.

0.8.6j -> 0.8.7

[Fail] ALTER TABLE `graph_templates_graph` ADD COLUMN `t_slope_mode` CHAR(2) DEFAULT 0 AFTER `vertical_label`, ADD COLUMN `slope_mode` CHAR(2) DEFAULT 'on' AFTER `t_slope_mode`;

[Success] ALTER TABLE `host` MODIFY COLUMN `status_last_error` VARCHAR(255);

[Success] ALTER TABLE `data_template_rrd` MODIFY COLUMN `rrd_maximum` VARCHAR(20) NOT NULL DEFAULT 0, MODIFY COLUMN `rrd_minimum` VARCHAR(20) NOT NULL DEFAULT 0

[Fail] ALTER TABLE `host` ADD INDEX `disabled`(`disabled`)

[Fail] ALTER TABLE `poller_item` ADD INDEX `rrd_next_step`(`rrd_next_step`)

Another question i have is that I do not wish to export the rrd files from the old box and wish to start afresh. How do i go about doing it?

Pse advise what the correction steps I need to take. Thanks.
Back to top
TheWitness
Developer


Joined: 14 May 2002
Posts: 9671
Location: MI, USA

PostPosted: Fri Jul 25, 2008 12:56 pm    Post subject: Reply with quote

Well, unless your architecture did not change, you don't have to do anything. However, the following scenarios require dump/import:

UNIX -> Linux,
Linux -> Windows,
Winodws -> LInux,
Linux 32 -> Linux 64,
Linux 64 -> Linux 32,
Unix (Any) -> Unix (Anything Else),

There is a nice utility that I wrote for doing this. It requires a shared file system, but is completely self sustaining. You run once script from the Old Server while at the same time running another from the other server. It's quite simple.

TheWitness
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Help: Linux/Unix Specific All times are GMT - 5 Hours
Page 1 of 1

 



Powered by phpBB © 2001, 2005 phpBB Group