Untitled
raw download clone
TEXT
views 60
,
size 16695 b
PS C:\work\startupafisha> docker-compose up
Starting startupafisha_autotests_1 ... done
Starting startupafisha_mysql_1     ... done
Starting startupafisha_django_1    ... done
Attaching to startupafisha_autotests_1, startupafisha_mysql_1, startupafisha_django_1
mysql_1      | 2018-12-26T11:14:58.108559Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
mysql_1      | 2018-12-26T11:14:58.132883Z 0 [Note] mysqld (mysqld 5.7.22) starting as process 1 ...
mysql_1      | 2018-12-26T11:14:58.153601Z 0 [Note] InnoDB: PUNCH HOLE support available
mysql_1      | 2018-12-26T11:14:58.153885Z 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
mysql_1      | 2018-12-26T11:14:58.154058Z 0 [Note] InnoDB: Uses event mutexes
mysql_1      | 2018-12-26T11:14:58.154209Z 0 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier
mysql_1      | 2018-12-26T11:14:58.154372Z 0 [Note] InnoDB: Compressed tables use zlib 1.2.3
mysql_1      | 2018-12-26T11:14:58.154523Z 0 [Note] InnoDB: Using Linux native AIO
mysql_1      | 2018-12-26T11:14:58.154919Z 0 [Note] InnoDB: Number of pools: 1
mysql_1      | 2018-12-26T11:14:58.155195Z 0 [Note] InnoDB: Using CPU crc32 instructions
mysql_1      | 2018-12-26T11:14:58.178246Z 0 [Note] InnoDB: Initializing buffer pool, total size = 128M, instances = 1, chunk size = 128M
mysql_1      | 2018-12-26T11:14:58.189528Z 0 [Note] InnoDB: Completed initialization of buffer pool
mysql_1      | 2018-12-26T11:14:58.192636Z 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
mysql_1      | 2018-12-26T11:14:58.247144Z 0 [Note] InnoDB: Highest supported file format is Barracuda.
mysql_1      | 2018-12-26T11:14:58.592676Z 0 [Note] InnoDB: Creating shared tablespace for temporary tables
mysql_1      | 2018-12-26T11:14:58.594051Z 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
mysql_1      | 2018-12-26T11:14:58.982614Z 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
mysql_1      | 2018-12-26T11:14:58.992480Z 0 [Note] InnoDB: 96 redo rollback segment(s) found. 96 redo rollback segment(s) are active.
mysql_1      | 2018-12-26T11:14:58.992530Z 0 [Note] InnoDB: 32 non-redo rollback segment(s) are active.
mysql_1      | 2018-12-26T11:14:58.992949Z 0 [Note] InnoDB: Waiting for purge to start
mysql_1      | 2018-12-26T11:14:59.044227Z 0 [Note] InnoDB: 5.7.22 started; log sequence number 12360984
mysql_1      | 2018-12-26T11:14:59.044691Z 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
mysql_1      | 2018-12-26T11:14:59.044727Z 0 [Note] Plugin 'FEDERATED' is disabled.
mysql_1      | 2018-12-26T11:14:59.127821Z 0 [Note] Found ca.pem, server-cert.pem and server-key.pem in data directory. Trying to enable SSL support using them.
mysql_1      | 2018-12-26T11:14:59.138470Z 0 [Warning] CA certificate ca.pem is self signed.
mysql_1      | 2018-12-26T11:14:59.141224Z 0 [Note] Server hostname (bind-address): '*'; port: 3306
mysql_1      | 2018-12-26T11:14:59.141287Z 0 [Note] IPv6 is available.
mysql_1      | 2018-12-26T11:14:59.141297Z 0 [Note]   - '::' resolves to '::';
mysql_1      | 2018-12-26T11:14:59.141307Z 0 [Note] Server socket created on IP: '::'.
mysql_1      | 2018-12-26T11:14:59.229026Z 0 [Note] InnoDB: Buffer pool(s) load completed at 181226 11:14:59
mysql_1      | 2018-12-26T11:14:59.360236Z 0 [Warning] Insecure configuration for --pid-file: Location '/var/run/mysqld' in the path is accessible to all OS users. Consider choosing a different directory.
mysql_1      | 2018-12-26T11:14:59.400991Z 0 [Warning] 'user' entry 'root@localhost' ignored in --skip-name-resolve mode.
mysql_1      | 2018-12-26T11:14:59.401044Z 0 [Warning] 'user' entry 'mysql.session@localhost' ignored in --skip-name-resolve mode.
mysql_1      | 2018-12-26T11:14:59.401054Z 0 [Warning] 'user' entry 'mysql.sys@localhost' ignored in --skip-name-resolve mode.
mysql_1      | 2018-12-26T11:14:59.401362Z 0 [Warning] 'db' entry 'performance_schema mysql.session@localhost' ignored in --skip-name-resolve mode.
mysql_1      | 2018-12-26T11:14:59.401389Z 0 [Warning] 'db' entry 'sys mysql.sys@localhost' ignored in --skip-name-resolve mode.
mysql_1      | 2018-12-26T11:14:59.402036Z 0 [Warning] 'proxies_priv' entry '@ root@localhost' ignored in --skip-name-resolve mode.
mysql_1      | 2018-12-26T11:14:59.498948Z 0 [Warning] 'tables_priv' entry 'user mysql.session@localhost' ignored in --skip-name-resolve mode.
mysql_1      | 2018-12-26T11:14:59.498994Z 0 [Warning] 'tables_priv' entry 'sys_config mysql.sys@localhost' ignored in --skip-name-resolve mode.
mysql_1      | 2018-12-26T11:14:59.942660Z 0 [Note] Event Scheduler: Loaded 0 events
mysql_1      | 2018-12-26T11:14:59.943188Z 0 [Note] mysqld: ready for connections.
mysql_1      | Version: '5.7.22'  socket: '/var/run/mysqld/mysqld.sock'  port: 3306  MySQL Community Server (GPL)
autotests_1  | Unhandled exception in thread started by <function wrapper at 0x7f8cabf487d0>
autotests_1  | Traceback (most recent call last):
autotests_1  |   File "/usr/local/lib/python2.7/site-packages/django/utils/autoreload.py", line 228, in wrapper
autotests_1  | Performing system checks...
autotests_1  |
autotests_1  |     fn(*args, **kwargs)
autotests_1  |   File "/usr/local/lib/python2.7/site-packages/django/core/management/commands/runserver.py", line 124, in inner_run
autotests_1  |     self.check(display_num_errors=True)
autotests_1  |   File "/usr/local/lib/python2.7/site-packages/django/core/management/base.py", line 359, in check
autotests_1  |     include_deployment_checks=include_deployment_checks,
autotests_1  |   File "/usr/local/lib/python2.7/site-packages/django/core/management/base.py", line 346, in _run_checks
autotests_1  |     return checks.run_checks(**kwargs)
autotests_1  |   File "/usr/local/lib/python2.7/site-packages/django/core/checks/registry.py", line 81, in run_checks
autotests_1  |     new_errors = check(app_configs=app_configs)
autotests_1  |   File "/usr/local/lib/python2.7/site-packages/django/core/checks/model_checks.py", line 30, in check_all_models
autotests_1  |     errors.extend(model.check(**kwargs))
autotests_1  |   File "/usr/local/lib/python2.7/site-packages/django/db/models/base.py", line 1284, in check
autotests_1  |     errors.extend(cls._check_fields(**kwargs))
autotests_1  |   File "/usr/local/lib/python2.7/site-packages/django/db/models/base.py", line 1359, in _check_fields
autotests_1  |     errors.extend(field.check(**kwargs))
autotests_1  |   File "/usr/local/lib/python2.7/site-packages/django/db/models/fields/__init__.py", line 913, in check
autotests_1  |     errors = super(AutoField, self).check(**kwargs)
autotests_1  |   File "/usr/local/lib/python2.7/site-packages/django/db/models/fields/__init__.py", line 219, in check
autotests_1  |     errors.extend(self._check_backend_specific_checks(**kwargs))
autotests_1  |   File "/usr/local/lib/python2.7/site-packages/django/db/models/fields/__init__.py", line 322, in _check_backend_specific_checks
autotests_1  |     return connections[db].validation.check_field(self, **kwargs)
autotests_1  |   File "/usr/local/lib/python2.7/site-packages/django/db/backends/mysql/validation.py", line 49, in check_field
autotests_1  |     field_type = field.db_type(self.connection)
autotests_1  |   File "/usr/local/lib/python2.7/site-packages/django/db/models/fields/__init__.py", line 644, in db_type
autotests_1  |     return connection.data_types[self.get_internal_type()] % data
autotests_1  |   File "/usr/local/lib/python2.7/site-packages/django/utils/functional.py", line 35, in __get__
autotests_1  |     res = instance.__dict__[self.name] = self.func(instance)
autotests_1  |   File "/usr/local/lib/python2.7/site-packages/django/db/backends/mysql/base.py", line 174, in data_types
autotests_1  |     if self.features.supports_microsecond_precision:
autotests_1  |   File "/usr/local/lib/python2.7/site-packages/django/utils/functional.py", line 35, in __get__
autotests_1  |     res = instance.__dict__[self.name] = self.func(instance)
autotests_1  |   File "/usr/local/lib/python2.7/site-packages/django/db/backends/mysql/features.py", line 53, in supports_microsecond_precision
autotests_1  |     return self.connection.mysql_version >= (5, 6, 4) and Database.version_info >= (1, 2, 5)
autotests_1  |   File "/usr/local/lib/python2.7/site-packages/django/utils/functional.py", line 35, in __get__
autotests_1  |     res = instance.__dict__[self.name] = self.func(instance)
autotests_1  |   File "/usr/local/lib/python2.7/site-packages/django/db/backends/mysql/base.py", line 385, in mysql_version
autotests_1  |     with self.temporary_connection() as cursor:
autotests_1  |   File "/usr/local/lib/python2.7/contextlib.py", line 17, in __enter__
autotests_1  |     return self.gen.next()
autotests_1  |   File "/usr/local/lib/python2.7/site-packages/django/db/backends/base/base.py", line 591, in temporary_connection
autotests_1  |     cursor = self.cursor()
autotests_1  |   File "/usr/local/lib/python2.7/site-packages/django/db/backends/base/base.py", line 254, in cursor
autotests_1  |     return self._cursor()
autotests_1  |   File "/usr/local/lib/python2.7/site-packages/django/db/backends/base/base.py", line 229, in _cursor
autotests_1  |     self.ensure_connection()
autotests_1  |   File "/usr/local/lib/python2.7/site-packages/django/db/backends/base/base.py", line 213, in ensure_connection
autotests_1  |     self.connect()
autotests_1  |   File "/usr/local/lib/python2.7/site-packages/django/db/utils.py", line 94, in __exit__
autotests_1  |     six.reraise(dj_exc_type, dj_exc_value, traceback)
autotests_1  |   File "/usr/local/lib/python2.7/site-packages/django/db/backends/base/base.py", line 213, in ensure_connection
autotests_1  |     self.connect()
autotests_1  |   File "/usr/local/lib/python2.7/site-packages/django/db/backends/base/base.py", line 189, in connect
autotests_1  |     self.connection = self.get_new_connection(conn_params)
autotests_1  |   File "/usr/local/lib/python2.7/site-packages/django/db/backends/mysql/base.py", line 274, in get_new_connection
autotests_1  |     conn = Database.connect(**conn_params)
autotests_1  |   File "/usr/local/lib/python2.7/site-packages/MySQLdb/__init__.py", line 81, in Connect
autotests_1  |     return Connection(*args, **kwargs)
autotests_1  |   File "/usr/local/lib/python2.7/site-packages/MySQLdb/connections.py", line 193, in __init__
autotests_1  |     super(Connection, self).__init__(*args, **kwargs2)
autotests_1  | django.db.utils.OperationalError: (2005, "Unknown MySQL server host 'mydb' (-2)")
django_1     | Performing system checks...
django_1     |
django_1     | Unhandled exception in thread started by <function wrapper at 0x7f315f4347d0>
django_1     | Traceback (most recent call last):
django_1     |   File "/usr/local/lib/python2.7/site-packages/django/utils/autoreload.py", line 228, in wrapper
django_1     |     fn(*args, **kwargs)
django_1     |   File "/usr/local/lib/python2.7/site-packages/django/core/management/commands/runserver.py", line 124, in inner_run
django_1     |     self.check(display_num_errors=True)
django_1     |   File "/usr/local/lib/python2.7/site-packages/django/core/management/base.py", line 359, in check
django_1     |     include_deployment_checks=include_deployment_checks,
django_1     |   File "/usr/local/lib/python2.7/site-packages/django/core/management/base.py", line 346, in _run_checks
django_1     |     return checks.run_checks(**kwargs)
django_1     |   File "/usr/local/lib/python2.7/site-packages/django/core/checks/registry.py", line 81, in run_checks
django_1     |     new_errors = check(app_configs=app_configs)
django_1     |   File "/usr/local/lib/python2.7/site-packages/django/core/checks/model_checks.py", line 30, in check_all_models
django_1     |     errors.extend(model.check(**kwargs))
django_1     |   File "/usr/local/lib/python2.7/site-packages/django/db/models/base.py", line 1284, in check
django_1     |     errors.extend(cls._check_fields(**kwargs))
django_1     |   File "/usr/local/lib/python2.7/site-packages/django/db/models/base.py", line 1359, in _check_fields
django_1     |     errors.extend(field.check(**kwargs))
django_1     |   File "/usr/local/lib/python2.7/site-packages/django/db/models/fields/__init__.py", line 913, in check
django_1     |     errors = super(AutoField, self).check(**kwargs)
django_1     |   File "/usr/local/lib/python2.7/site-packages/django/db/models/fields/__init__.py", line 219, in check
django_1     |     errors.extend(self._check_backend_specific_checks(**kwargs))
django_1     |   File "/usr/local/lib/python2.7/site-packages/django/db/models/fields/__init__.py", line 322, in _check_backend_specific_checks
django_1     |     return connections[db].validation.check_field(self, **kwargs)
django_1     |   File "/usr/local/lib/python2.7/site-packages/django/db/backends/mysql/validation.py", line 49, in check_field
django_1     |     field_type = field.db_type(self.connection)
django_1     |   File "/usr/local/lib/python2.7/site-packages/django/db/models/fields/__init__.py", line 644, in db_type
django_1     |     return connection.data_types[self.get_internal_type()] % data
django_1     |   File "/usr/local/lib/python2.7/site-packages/django/utils/functional.py", line 35, in __get__
django_1     |     res = instance.__dict__[self.name] = self.func(instance)
django_1     |   File "/usr/local/lib/python2.7/site-packages/django/db/backends/mysql/base.py", line 174, in data_types
django_1     |     if self.features.supports_microsecond_precision:
django_1     |   File "/usr/local/lib/python2.7/site-packages/django/utils/functional.py", line 35, in __get__
django_1     |     res = instance.__dict__[self.name] = self.func(instance)
django_1     |   File "/usr/local/lib/python2.7/site-packages/django/db/backends/mysql/features.py", line 53, in supports_microsecond_precision
django_1     |     return self.connection.mysql_version >= (5, 6, 4) and Database.version_info >= (1, 2, 5)
django_1     |   File "/usr/local/lib/python2.7/site-packages/django/utils/functional.py", line 35, in __get__
django_1     |     res = instance.__dict__[self.name] = self.func(instance)
django_1     |   File "/usr/local/lib/python2.7/site-packages/django/db/backends/mysql/base.py", line 385, in mysql_version
django_1     |     with self.temporary_connection() as cursor:
django_1     |   File "/usr/local/lib/python2.7/contextlib.py", line 17, in __enter__
django_1     |     return self.gen.next()
django_1     |   File "/usr/local/lib/python2.7/site-packages/django/db/backends/base/base.py", line 591, in temporary_connection
django_1     |     cursor = self.cursor()
django_1     |   File "/usr/local/lib/python2.7/site-packages/django/db/backends/base/base.py", line 254, in cursor
django_1     |     return self._cursor()
django_1     |   File "/usr/local/lib/python2.7/site-packages/django/db/backends/base/base.py", line 229, in _cursor
django_1     |     self.ensure_connection()
django_1     |   File "/usr/local/lib/python2.7/site-packages/django/db/backends/base/base.py", line 213, in ensure_connection
django_1     |     self.connect()
django_1     |   File "/usr/local/lib/python2.7/site-packages/django/db/utils.py", line 94, in __exit__
django_1     |     six.reraise(dj_exc_type, dj_exc_value, traceback)
django_1     |   File "/usr/local/lib/python2.7/site-packages/django/db/backends/base/base.py", line 213, in ensure_connection
django_1     |     self.connect()
django_1     |   File "/usr/local/lib/python2.7/site-packages/django/db/backends/base/base.py", line 189, in connect
django_1     |     self.connection = self.get_new_connection(conn_params)
django_1     |   File "/usr/local/lib/python2.7/site-packages/django/db/backends/mysql/base.py", line 274, in get_new_connection
django_1     |     conn = Database.connect(**conn_params)
django_1     |   File "/usr/local/lib/python2.7/site-packages/MySQLdb/__init__.py", line 81, in Connect
django_1     |     return Connection(*args, **kwargs)
django_1     |   File "/usr/local/lib/python2.7/site-packages/MySQLdb/connections.py", line 193, in __init__
django_1     |     super(Connection, self).__init__(*args, **kwargs2)
django_1     | django.db.utils.OperationalError: (1049, "Unknown database 'rb_ru'")
close fullscreen
Login or Register to edit or fork this paste. It's free.