"Unknown command: 'migrate'" error during Symantec App Center upgrade attempt

book

Article ID: 157932

calendar_today

Updated On:

Products

Symantec Products

Issue/Introduction

When attempting to upgrade Symantec App Center, the following error occurs:

   

[2013-04-23 05:15:13,131] running /usr/local/nukona/python/bin/python ./manage.py migrate django.auth --noinput --merge
[2013-04-23 05:15:13,227] migrate stdout:

[2013-04-23 05:15:13,227] migrate stderr:
Unknown command: 'migrate'
Type 'manage.py help' for usage.

[2013-04-23 05:15:13,227] migrate returncode: 1
[2013-04-23 05:15:13,227] command failed

  

 

Cause

This error occurs if the following file, which is required for App Center to work properly, is missing on the server:

/usr/local/nukona/appstore_cu/settings_local.py


Root cause of this file becoming missing is unknown at this time.

  
 

Resolution

On the App Center server, run the following command to regenerate this missing file:

Note:  The following command is only applicable to default installation paths for App Center. If custom installation paths were chosen during installation, contact Symantec Enterprise Technical Support

/usr/local/nukona/python/bin/python /usr/local/nukona/load_settings/load_settings.py  -c /usr/local/nukona/etc/settings.cfg

 

Once this file is replaced, re-run the App Center upgrade (setup.sh upgrade)

  


Applies To

  • Symantec App Center 4.x