Project

General

Profile

Bug #20383

update.failed

Added by John Hixson over 4 years ago. Updated over 4 years ago.

Status:
Resolved
Priority:
Expected
Assignee:
William Grzybowski
Category:
OS
Severity:
New
Reason for Closing:
Reason for Blocked:
Needs QA:
Yes
Needs Doc:
Yes
Needs Merging:
Yes
Needs Automation:
No
Support Suite Ticket:
n/a
Hardware Configuration:
ChangeLog Required:
No

Description

Beginning a week or so back, I can no longer update because of this:

Syncing...
Creating tables ...
Traceback (most recent call last):
File "/usr/local/lib/migrate93/src/main.py", line 30, in <module>
run_syncdb()
File "/usr/local/lib/migrate93/src/utils.py", line 47, in run_syncdb
call_command('syncdb', interactive=False, merge=True, delete_ghosts=True, migrate=True)
File "/usr/local/lib/migrate93/django/core/management/__init__.py", line 159, in call_command
return klass.execute(args, **defaults)
File "/usr/local/lib/migrate93/django/core/management/base.py", line 285, in execute
output = self.handle(*args, **options)
File "/usr/local/lib/migrate93/django/core/management/base.py", line 415, in handle
return self.handle_noargs(
*options)
File "/usr/local/lib/python2.7/site-packages/south/management/commands/syncdb.py", line 92, in handle_noargs
syncdb.Command().execute(*options)
File "/usr/local/lib/migrate93/django/core/management/base.py", line 285, in execute
output = self.handle(*args, **options)
File "/usr/local/lib/migrate93/django/core/management/base.py", line 415, in handle
return self.handle_noargs(
*options)
File "/usr/local/lib/migrate93/django/core/management/commands/syncdb.py", line 112, in handle_noargs
emit_post_sync_signal(created_models, verbosity, interactive, db)
File "/usr/local/lib/migrate93/django/core/management/sql.py", line 216, in emit_post_sync_signal
interactive=interactive, db=db)
File "/usr/local/lib/migrate93/django/dispatch/dispatcher.py", line 185, in send
response = receiver(signal=self, sender=sender, *named)
File "/usr/local/lib/migrate93/django/contrib/auth/management/__init__.py", line 82, in create_permissions
ctype = ContentType.objects.db_manager(db).get_for_model(klass)
File "/usr/local/lib/migrate93/django/contrib/contenttypes/models.py", line 47, in get_for_model
defaults = {'name': smart_text(opts.verbose_name_raw)},
File "/usr/local/lib/migrate93/django/db/models/manager.py", line 154, in get_or_create
return self.get_queryset().get_or_create(
*kwargs)
File "/usr/local/lib/migrate93/django/db/models/query.py", line 376, in get_or_create
return self.get(**lookup), False
File "/usr/local/lib/migrate93/django/db/models/query.py", line 304, in get
num = len(clone)
File "/usr/local/lib/migrate93/django/db/models/query.py", line 77, in len
self._fetch_all()
File "/usr/local/lib/migrate93/django/db/models/query.py", line 857, in _fetch_all
self._result_cache = list(self.iterator())
File "/usr/local/lib/migrate93/django/db/models/query.py", line 220, in iterator
for row in compiler.results_iter():
File "/usr/local/lib/migrate93/django/db/models/sql/compiler.py", line 713, in results_iter
for rows in self.execute_sql(MULTI):
File "/usr/local/lib/migrate93/django/db/models/sql/compiler.py", line 786, in execute_sql
cursor.execute(sql, params)
File "/usr/local/lib/migrate93/django/db/backends/util.py", line 69, in execute
return super(CursorDebugWrapper, self).execute(sql, params)
File "/usr/local/lib/migrate93/django/db/backends/util.py", line 53, in execute
return self.cursor.execute(sql, params)
File "/usr/local/lib/migrate93/django/db/utils.py", line 99, in exit
six.reraise(dj_exc_type, dj_exc_value, traceback)
File "/usr/local/lib/migrate93/django/db/backends/util.py", line 53, in execute
return self.cursor.execute(sql, params)
File "/usr/local/lib/migrate93/django/db/backends/sqlite3/base.py", line 452, in execute
return Database.Cursor.execute(self, query, params)
django.db.utils.OperationalError: no such column: django_content_type.name


Related issues

Has duplicate FreeNAS - Bug #19877: Some issues after update to FreeNAS-9.10-MASTER-201612290414 (c9c1663)Closed: Duplicate2016-12-29

Associated revisions

Revision 256f4dcd (diff)
Added by William Grzybowski over 4 years ago

fix(migration): use custom django version Ticket: #20383

History

#1 Avatar?id=14398&size=24x24 Updated by Kris Moore over 4 years ago

  • Target version set to Master - FreeNAS Nightlies

#2 Updated by Suraj Ravichandran over 4 years ago

  • Has duplicate Bug #19877: Some issues after update to FreeNAS-9.10-MASTER-201612290414 (c9c1663) added

#3 Updated by Suraj Ravichandran over 4 years ago

  • Assignee changed from Suraj Ravichandran to William Grzybowski

William already found the fix for this and thus I am assigning this to him

#4 Updated by William Grzybowski over 4 years ago

  • Status changed from Unscreened to Resolved

Also available in: Atom PDF