Ticket #24332: migrate_sites_failure.log

File migrate_sites_failure.log, 5.5 KB (added by Thomas Recouvreux, 6 years ago)
Line 
1$ ./manage.py migrate --database=mysite -v2
2Operations to perform:
3  Apply all migrations: admin, sites, contenttypes, auth, sessions
4Running pre-migrate handlers for application admin
5Running pre-migrate handlers for application auth
6Running pre-migrate handlers for application contenttypes
7Running pre-migrate handlers for application sessions
8Running pre-migrate handlers for application sites
9Running migrations:
10  Rendering model states... DONE (0.000s)
11  Applying contenttypes.0001_initial... OK (0.205s)
12  Applying auth.0001_initial... OK (0.235s)
13  Applying admin.0001_initial... OK (0.243s)
14  Applying auth.0002_alter_permission_name_max_length... OK (0.169s)
15  Applying auth.0003_alter_user_email_max_length... OK (0.202s)
16  Applying auth.0004_alter_user_username_opts... OK (0.210s)
17  Applying auth.0005_alter_user_last_login_null... OK (0.235s)
18  Applying contenttypes.0002_remove_content_type_name... OK (0.218s)
19  Applying sessions.0001_initial... OK (0.211s)
20  Applying sites.0001_initial... OK (0.201s)
21Running post-migrate handlers for application admin
22Adding permission 'admin | log entry | Can add log entry'
23Adding permission 'admin | log entry | Can change log entry'
24Adding permission 'admin | log entry | Can delete log entry'
25Running post-migrate handlers for application auth
26Adding permission 'auth | permission | Can add permission'
27Adding permission 'auth | permission | Can change permission'
28Adding permission 'auth | permission | Can delete permission'
29Adding permission 'auth | group | Can add group'
30Adding permission 'auth | group | Can change group'
31Adding permission 'auth | group | Can delete group'
32Adding permission 'auth | user | Can add user'
33Adding permission 'auth | user | Can change user'
34Adding permission 'auth | user | Can delete user'
35Running post-migrate handlers for application contenttypes
36Adding permission 'contenttypes | content type | Can add content type'
37Adding permission 'contenttypes | content type | Can change content type'
38Adding permission 'contenttypes | content type | Can delete content type'
39Running post-migrate handlers for application sessions
40Adding permission 'sessions | session | Can add session'
41Adding permission 'sessions | session | Can change session'
42Adding permission 'sessions | session | Can delete session'
43Running post-migrate handlers for application sites
44Adding permission 'sites | site | Can add site'
45Adding permission 'sites | site | Can change site'
46Adding permission 'sites | site | Can delete site'
47Traceback (most recent call last):
48  File "./manage.py", line 10, in <module>
49    execute_from_command_line(sys.argv)
50  File "/home/thomas/dev/nemopay/django/django/core/management/__init__.py", line 330, in execute_from_command_line
51    utility.execute()
52  File "/home/thomas/dev/nemopay/django/django/core/management/__init__.py", line 322, in execute
53    self.fetch_command(subcommand).run_from_argv(self.argv)
54  File "/home/thomas/dev/nemopay/django/django/core/management/base.py", line 347, in run_from_argv
55    self.execute(*args, **cmd_options)
56  File "/home/thomas/dev/nemopay/django/django/core/management/base.py", line 398, in execute
57    output = self.handle(*args, **options)
58  File "/home/thomas/dev/nemopay/django/django/core/management/commands/migrate.py", line 193, in handle
59    emit_post_migrate_signal(self.verbosity, self.interactive, connection.alias)
60  File "/home/thomas/dev/nemopay/django/django/core/management/sql.py", line 50, in emit_post_migrate_signal
61    using=db)
62  File "/home/thomas/dev/nemopay/django/django/dispatch/dispatcher.py", line 203, in send
63    response = receiver(signal=self, sender=sender, **named)
64  File "/home/thomas/dev/nemopay/django/django/contrib/sites/management.py", line 20, in create_default_site
65    if not Site.objects.exists():
66  File "/home/thomas/dev/nemopay/django/django/db/models/manager.py", line 127, in manager_method
67    return getattr(self.get_queryset(), name)(*args, **kwargs)
68  File "/home/thomas/dev/nemopay/django/django/db/models/query.py", line 642, in exists
69    return self.query.has_results(using=self.db)
70  File "/home/thomas/dev/nemopay/django/django/db/models/sql/query.py", line 460, in has_results
71    return compiler.has_results()
72  File "/home/thomas/dev/nemopay/django/django/db/models/sql/compiler.py", line 800, in has_results
73    return bool(self.execute_sql(SINGLE))
74  File "/home/thomas/dev/nemopay/django/django/db/models/sql/compiler.py", line 818, in execute_sql
75    sql, params = self.as_sql()
76  File "/home/thomas/dev/nemopay/django/django/db/models/sql/compiler.py", line 372, in as_sql
77    from_, f_params = self.get_from_clause()
78  File "/home/thomas/dev/nemopay/django/django/db/models/sql/compiler.py", line 604, in get_from_clause
79    clause_sql, clause_params = self.compile(from_clause)
80  File "/home/thomas/dev/nemopay/django/django/db/models/sql/compiler.py", line 347, in compile
81    sql, params = node.as_sql(self, self.connection)
82  File "/home/thomas/dev/nemopay/django/django/db/models/sql/datastructures.py", line 137, in as_sql
83    base_sql = compiler.quote_name_unless_alias(self.table_name)
84  File "/home/thomas/dev/nemopay/django/django/db/models/sql/compiler.py", line 338, in quote_name_unless_alias
85    r = self.connection.ops.quote_name(name)
86  File "/home/thomas/dev/nemopay/django/django/db/backends/dummy/base.py", line 21, in complain
87    raise ImproperlyConfigured("settings.DATABASES is improperly configured. "
88django.core.exceptions.ImproperlyConfigured: settings.DATABASES is improperly configured. Please supply the ENGINE value. Check settings documentation for more details.
89
Back to Top