Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # ./noc migrate
- Traceback (most recent call last):
- File "manage.py", line 44, in <module>
- execute_from_command_line(sys.argv)
- File "/opt/noc/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 443, in execute_from_command_line
- utility.execute()
- File "/opt/noc/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 382, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/opt/noc/local/lib/python2.7/site-packages/django/core/management/base.py", line 196, in run_from_argv
- self.execute(*args, **options.__dict__)
- File "/opt/noc/local/lib/python2.7/site-packages/django/core/management/base.py", line 232, in execute
- output = self.handle(*args, **options)
- File "/opt/noc/local/lib/python2.7/site-packages/south/management/commands/migrate.py", line 105, in handle
- ignore_ghosts = ignore_ghosts,
- File "/opt/noc/local/lib/python2.7/site-packages/south/migration/__init__.py", line 171, in migrate_app
- applied = check_migration_histories(applied, delete_ghosts, ignore_ghosts)
- File "/opt/noc/local/lib/python2.7/site-packages/south/migration/__init__.py", line 88, in check_migration_histories
- raise exceptions.GhostMigrations(ghosts)
- south.exceptions.GhostMigrations:
- ! These migrations are in the database but not on disk:
- <dns: 0037_extend_dnszonerecord_label>
- <sa: 0076_migrate_repo>
- <sa: 0077_drop_repo_path>
- <sa: 0078_managedobjectprofile_asset_discovery>
- <cm: 0017_drop_config>
- <inv: 0008_create_root>
- <fm: 0040_no_refresh_config>
- <gis: 0003_geodata>
- <sa: 0079_auth_profile>
- <sa: 0080_rename_Siemens>
- <ip: 0026_prefix_ip_discovery>
- <sa: 0081_collector>
- <ip: 0027_ip_address_index_address>
- <main: 0050_notification_tag>
- <sa: 0082_termination_group>
- <sa: 0083_objectnotification_alarm_reopened>
- <ip: 0028_ippool>
- <ip: 0029_ippool_name>
- <ip: 0030_ippool_technologies>
- <sa: 0084_activator_caps>
- <sa: 0085_managedobjectprofile_check_link_interval>
- <sa: 0086_maptask_script_timeout>
- <sa: 0087_managedobjectselector_managed>
- <main: 0051_profile_preview_theme>
- <main: 0052_audit_data>
- <sa: 0088_fix_ttl_index>
- <sa: 0089_failed_log_expire>
- <sa: 0090_objectprofile_caps_discovery>
- <sa: 0091_managedobjectprofile_configdiscovery>
- <pm: 0004_clean_pg>
- <pm: 0005_migrate_default_storage>
- <dns: 0038_dnsserver_sync>
- <dns: 0039_set_zone_sync>
- ! I'm not trusting myself; either fix this yourself by fiddling
- ! with the south_migrationhistory table, or pass --delete-ghost-migrations
- ! 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