here's an update.
i clear off all containers and all volumes. dropped the existing database
and created a new blank one.
i ran the command without the detach option.
mayan.settings <7> [INFO] "<module>() No local.py settings file. Using
defaults."
mayan.settings <16> [INFO] "<module>() Good local.py found. Using user
settings."
Existing settings file at:
/usr/local/lib/python2.7/dist-packages/mayan/settings/local.py. Backup,
remove this file, and try again.
Operations to perform:
Apply all migrations: acls, actstream, admin, auth, authtoken, autoadmin,
cabinets, checkouts, common, contenttypes, converter, django_gpg, djcelery,
document_comments, document_indexing, document_parsing,
document_signatures, document_states, documents, dynamic_search, events,
linking, lock_manager, mailer, mayan_statistics, metadata, motd, ocr,
permissions, sessions, sites, sources, tags
Running migrations:
Applying contenttypes.0001_initial... OK
Applying permissions.0001_initial... OK
Applying auth.0001_initial... OK
Applying permissions.0002_auto_20150628_0533... OK
Applying acls.0001_initial... OK
Applying acls.0002_auto_20150703_0513... OK
Applying actstream.0001_initial...Traceback (most recent call last):
File "/usr/local/bin/mayan-edms.py", line 10, in <module>
execute_from_command_line(sys.argv)
File
"/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py",
line 367, in execute_from_command_line
utility.execute()
File
"/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py",
line 359, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File
"/usr/local/lib/python2.7/dist-packages/django/core/management/base.py",
line 294, in run_from_argv
self.execute(*args, **cmd_options)
File
"/usr/local/lib/python2.7/dist-packages/django/core/management/base.py",
line 345, in execute
output = self.handle(*args, **options)
File
"/usr/local/lib/python2.7/dist-packages/mayan/apps/common/management/commands/initialsetup.py",
line 13, in handle
pre_initial_setup.send(sender=self)
File
"/usr/local/lib/python2.7/dist-packages/django/dispatch/dispatcher.py",
line 191, in send
response = receiver(signal=self, sender=sender, **named)
File
"/usr/local/lib/python2.7/dist-packages/mayan/apps/common/handlers.py",
line 10, in handler_pre_initial_setup
management.call_command('migrate', interactive=False)
File
"/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py",
line 130, in call_command
return command.execute(*args, **defaults)
File
"/usr/local/lib/python2.7/dist-packages/django/core/management/base.py",
line 345, in execute
output = self.handle(*args, **options)
File
"/usr/local/lib/python2.7/dist-packages/django/core/management/commands/migrate.py",
line 204, in handle
fake_initial=fake_initial,
File
"/usr/local/lib/python2.7/dist-packages/django/db/migrations/executor.py",
line 115, in migrate
state = self._migrate_all_forwards(state, plan, full_plan, fake=fake,
fake_initial=fake_initial)
File
"/usr/local/lib/python2.7/dist-packages/django/db/migrations/executor.py",
line 145, in _migrate_all_forwards
state = self.apply_migration(state, migration, fake=fake,
fake_initial=fake_initial)
File
"/usr/local/lib/python2.7/dist-packages/django/db/migrations/executor.py",
line 244, in apply_migration
state = migration.apply(state, schema_editor)
File
"/usr/local/lib/python2.7/dist-packages/django/db/migrations/migration.py",
line 129, in apply
operation.database_forwards(self.app_label, schema_editor, old_state,
project_state)
File
"/usr/local/lib/python2.7/dist-packages/django/db/migrations/operations/models.py",
line 532, in database_forwards
getattr(new_model._meta, self.option_name, set()),
File
"/usr/local/lib/python2.7/dist-packages/django/db/backends/base/schema.py",
line 333, in alter_unique_together
self.execute(self._create_unique_sql(model, columns))
File
"/usr/local/lib/python2.7/dist-packages/django/db/backends/base/schema.py",
line 112, in execute
cursor.execute(sql, params)
File
"/usr/local/lib/python2.7/dist-packages/django/db/backends/utils.py", line
64, in execute
return self.cursor.execute(sql, params)
File "/usr/local/lib/python2.7/dist-packages/django/db/utils.py", line
94, in __exit__
six.reraise(dj_exc_type, dj_exc_value, traceback)
File
"/usr/local/lib/python2.7/dist-packages/django/db/backends/utils.py", line
64, in execute
return self.cursor.execute(sql, params)
File
"/usr/local/lib/python2.7/dist-packages/django/db/backends/mysql/base.py",
line 110, in execute
return self.cursor.execute(query, args)
File "/usr/local/lib/python2.7/dist-packages/MySQLdb/cursors.py", line
205, in execute
self.errorhandler(self, exc, value)
File "/usr/local/lib/python2.7/dist-packages/MySQLdb/connections.py",
line 36, in defaulterrorhandler
raise errorclass, errorvalue
django.db.utils.OperationalError: (1071, 'Specified key was too long; max
key length is 767 bytes')
this location is inside the container (it does not exist in the host)
"/usr/local/lib/python2.7/dist-packages/MySQLdb/connections.py"
it fails trying to exec 'actstream.0001_initial'
--
---
You received this message because you are subscribed to the Google Groups
"Mayan EDMS" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.