Upgrade issue - Couldnt complete migration of config files
search cancel

Upgrade issue - Couldnt complete migration of config files

book

Article ID: 271795

calendar_today

Updated On:

Products

CA Application Performance Management (APM / Wily / Introscope)

Issue/Introduction

After migrating from 10.7 to 10.8, the below customized files was not migrated, it was generated a new one with default values:

log4j.properties
tess-default.properties
teamcenter-status-mapping.properties
IntroscopeEnterpriseManager.properties
tess-db-cfg.xml
idp-metadata.xml
em-jetty-config.xml

Install logs shows the below exception:

Error running Migration Utility
                         Status: ERROR
                         Additional Notes: ERROR - Couldnt complete migration of config files (Exception in thread "main" java.io.UncheckedIOException: /disk/apps/1687799025440_wily/config
    at org.apache.commons.io.FileUtils.listFiles(FileUtils.java:2152)
    at com.ca.apm.migrate.PropertiesMigrator.getConfigFiles(PropertiesMigrator.java:234)
    at com.ca.apm.migrate.PropertiesMigrator.migrate(PropertiesMigrator.java:86)
    at com.ca.apm.migrate.ConfigUpgrader.upgrade(ConfigUpgrader.java:84)
    at com.ca.apm.configutility.ConfigUtility.main(ConfigUtility.java:84)
Caused by: java.nio.file.NoSuchFileException: /disk/apps/1687799025440_wily/config
    at sun.nio.fs.UnixException.translateToIOException(UnixException.java:86)
    at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)
    at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)
    at sun.nio.fs.UnixFileAttributeViews$Basic.readAttributes(UnixFileAttributeViews.java:55)
    at sun.nio.fs.UnixFileSystemProvider.readAttributes(UnixFileSystemProvider.java:144)
    at sun.nio.fs.LinuxFileSystemProvider.readAttributes(LinuxFileSystemProvider.java:99)
    at java.nio.file.Files.readAttributes(Files.java:1737)
    at java.nio.file.FileTreeWalker.getAttributes(FileTreeWalker.java:219)
    at java.nio.file.FileTreeWalker.visit(FileTreeWalker.java:276)
    at java.nio.file.FileTreeWalker.walk(FileTreeWalker.java:322)
    at java.nio.file.FileTreeIterator.<init>(FileTreeIterator.java:72)
    at java.nio.file.Files.walk(Files.java:3574)
    at org.apache.commons.io.file.PathUtils.walk(PathUtils.java:1049)
    at org.apache.commons.io.FileUtils.streamFiles(FileUtils.java:2970)
    at org.apache.commons.io.FileUtils.listFiles(FileUtils.java:2150)
    ... 4 more
)

Environment

Release : 10.7.0

Cause

This error occurs when the current 10.7 smartstor has a custom(Shared/Mounted) path than the default. This is a known limitation of 10.8 installer.

Resolution

You must reconfigure the below files after the installer:

log4j.properties
tess-default.properties
teamcenter-status-mapping.properties
IntroscopeEnterpriseManager.properties
tess-db-cfg.xml
idp-metadata.xml
em-jetty-config.xml

For the Smartstor date, you can use the merge feature in order to merge your 10.7 DATA with 10.8 DATA.

https://techdocs.broadcom.com/us/en/ca-enterprise-software/it-operations-management/application-performance-management/10-8/administrating/configure-enterprise-manager/configure-and-manage-smartstor-data.html