Article ID: 130540, created on Mar 29, 2017, last review on Apr 18, 2017

Symptoms

During performing pre-check for MN migration from RHEL/CENTOS 6 to RHEL/CENTOS 7 (KB 130182 or 130183):

2017-03-29 21:09:10.358 [DEBUG] read agent config from /usr/local/pem/etc/pleskd.props
2017-03-29 21:09:10.358 [DEBUG] read kernel config from /usr/local/pem/etc/Kernel.conf
2017-03-29 21:09:10.358 [DEBUG] read odbc config from /usr/local/pem/etc/odbc.ini
2017-03-29 21:09:10.371 [INFO] Log file has been created: /var/log/pa/rhel7-migration-precheck.log
2017-03-29 21:09:10.665 [INFO] Option --pgsql92 passed, skipping check for postgresql 9.6
2017-03-29 21:09:10.674 [ERROR] For some components detected properties with NULL values. Please follow https://kb.odin.com/130540 to resolve an issue.
<...>
2017-03-29 21:09:10.674 [ERROR] Check is failed

Cause

Shortcomings of previous upgrade actions for some components.

Resolution

  1. Please make sure you have actual version of migration scripts (check KB 130182 or 130183)
  2. Launch the tool actions_before_migration_to_rhel7.py from /usr/local/pem/bin/ with the option --action fix_null_properties_values:

    /usr/local/pem/bin/actions_before_migration_to_rhel7.py --action fix_null_properties_values
    

    The result should be:

    2017-03-29 21:20:47.718 [DEBUG] read agent config from /usr/local/pem/etc/pleskd.props
    2017-03-29 21:20:47.718 [DEBUG] read kernel config from /usr/local/pem/etc/Kernel.conf
    2017-03-29 21:20:47.718 [DEBUG] read odbc config from /usr/local/pem/etc/odbc.ini
    2017-03-29 21:20:47.718 [INFO] Log file has been created: /var/log/pa/actions_before_migration_to_rhel7.log
    2017-03-29 21:20:47.719 [INFO] Selected action: 'fix_null_properties_values'
    2017-03-29 21:20:47.758 [INFO] Replacing null component property values with an empty string.
    2017-03-29 21:20:47.761 [INFO] Null component property values were successfully replaced with empty strings
    

Email subscription for changes to this article
Save as PDF