Advertisement
Guest User

Untitled

a guest
Feb 6th, 2015
285
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.69 KB | None | 0 0
  1. # ./noc migrate
  2. Traceback (most recent call last):
  3. File "manage.py", line 44, in <module>
  4. execute_from_command_line(sys.argv)
  5. File "/opt/noc/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 443, in execute_from_command_line
  6. utility.execute()
  7. File "/opt/noc/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 382, in execute
  8. self.fetch_command(subcommand).run_from_argv(self.argv)
  9. File "/opt/noc/local/lib/python2.7/site-packages/django/core/management/base.py", line 196, in run_from_argv
  10. self.execute(*args, **options.__dict__)
  11. File "/opt/noc/local/lib/python2.7/site-packages/django/core/management/base.py", line 232, in execute
  12. output = self.handle(*args, **options)
  13. File "/opt/noc/local/lib/python2.7/site-packages/south/management/commands/migrate.py", line 105, in handle
  14. ignore_ghosts = ignore_ghosts,
  15. File "/opt/noc/local/lib/python2.7/site-packages/south/migration/__init__.py", line 171, in migrate_app
  16. applied = check_migration_histories(applied, delete_ghosts, ignore_ghosts)
  17. File "/opt/noc/local/lib/python2.7/site-packages/south/migration/__init__.py", line 88, in check_migration_histories
  18. raise exceptions.GhostMigrations(ghosts)
  19. south.exceptions.GhostMigrations:
  20.  
  21. ! These migrations are in the database but not on disk:
  22. <dns: 0037_extend_dnszonerecord_label>
  23. <sa: 0076_migrate_repo>
  24. <sa: 0077_drop_repo_path>
  25. <sa: 0078_managedobjectprofile_asset_discovery>
  26. <cm: 0017_drop_config>
  27. <inv: 0008_create_root>
  28. <fm: 0040_no_refresh_config>
  29. <gis: 0003_geodata>
  30. <sa: 0079_auth_profile>
  31. <sa: 0080_rename_Siemens>
  32. <ip: 0026_prefix_ip_discovery>
  33. <sa: 0081_collector>
  34. <ip: 0027_ip_address_index_address>
  35. <main: 0050_notification_tag>
  36. <sa: 0082_termination_group>
  37. <sa: 0083_objectnotification_alarm_reopened>
  38. <ip: 0028_ippool>
  39. <ip: 0029_ippool_name>
  40. <ip: 0030_ippool_technologies>
  41. <sa: 0084_activator_caps>
  42. <sa: 0085_managedobjectprofile_check_link_interval>
  43. <sa: 0086_maptask_script_timeout>
  44. <sa: 0087_managedobjectselector_managed>
  45. <main: 0051_profile_preview_theme>
  46. <main: 0052_audit_data>
  47. <sa: 0088_fix_ttl_index>
  48. <sa: 0089_failed_log_expire>
  49. <sa: 0090_objectprofile_caps_discovery>
  50. <sa: 0091_managedobjectprofile_configdiscovery>
  51. <pm: 0004_clean_pg>
  52. <pm: 0005_migrate_default_storage>
  53. <dns: 0038_dnsserver_sync>
  54. <dns: 0039_set_zone_sync>
  55. ! I'm not trusting myself; either fix this yourself by fiddling
  56. ! with the south_migrationhistory table, or pass --delete-ghost-migrations
  57. ! to South to have it delete ALL of these records (this may not be good).
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement