Versions: Any
Component: Spectrum Report Manager
Follow the steps to fix the issue:
1. Log into the SRM system as the user that owns the Spectrum installation
2. Shutdown the OneClick tomcat
3. If on Windows, start a bash shell by running "bash -login"
4. cd to the $SPECROOT/mysql/bin directory and enter the following command to log into mysql:
./mysql --defaults-file=../my-spectrum.cnf -uroot -p<PASSWD> reporting
5. Enter the following command at the mysql prompt:
ALTER TABLE `devicemodule` CHANGE `module_index` `physical_index` int(10) DEFAULT NULL,CHANGE `module_name` `physical_modelname` varchar(255) DEFAULT NULL,ADD `physical_name` varchar(255) DEFAULT NULL AFTER `physical_modelname`,ADD `physical_class` int(10) DEFAULT NULL AFTER `physical_name`,ADD `physical_contained_in` int(10) DEFAULT NULL AFTER `physical_class`,DROP INDEX `key_idx`,ADD INDEX `key_idx`(`model_key`, `physical_index`);
6. If successful, start OneClick tomcat