...
webpack_1 | npm info lifecycle [email protected]~postclean: [email protected]
webpack_1 | npm info ok
webpack_1 | Project is running at http://0.0.0.0:3000/
webpack_1 | webpack output is served from http://0.0.0.0:3000/assets/bundles/
webpack_1 | (node:38) DeprecationWarning: loaderUtils.parseQuery() received a non-string value which can be problematic, see https://github.com/webpack/loader-utils/issues/56
webpack_1 | parseQuery() will be replaced with getOptions() in the next major version of loader-utils.
db_1 | creating configuration files ... ok
django_1 | Traceback (most recent call last):
django_1 | File "/usr/local/lib/python3.6/site-packages/django/db/backends/base/base.py", line 199, in ensure_connection
django_1 | self.connect()
django_1 | File "/usr/local/lib/python3.6/site-packages/django/db/backends/base/base.py", line 171, in connect
django_1 | self.connection = self.get_new_connection(conn_params)
django_1 | File "/usr/local/lib/python3.6/site-packages/django/db/backends/postgresql/base.py", line 176, in get_new_connection
django_1 | connection = Database.connect(**conn_params)
django_1 | File "/usr/local/lib/python3.6/site-packages/psycopg2/__init__.py", line 130, in connect
django_1 | conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
django_1 | psycopg2.OperationalError: could not connect to server: Connection refused
django_1 | Is the server running on host "db" (172.18.0.5) and accepting
django_1 | TCP/IP connections on port 5432?
django_1 |
django_1 |
django_1 | The above exception was the direct cause of the following exception:
django_1 |
django_1 | Traceback (most recent call last):
django_1 | File "/usr/local/bin/django-admin", line 11, in <module>
django_1 | sys.exit(execute_from_command_line())
django_1 | File "/usr/local/lib/python3.6/site-packages/django/core/management/__init__.py", line 367, in execute_from_command_line
django_1 | utility.execute()
django_1 | File "/usr/local/lib/python3.6/site-packages/django/core/management/__init__.py", line 359, in execute
django_1 | self.fetch_command(subcommand).run_from_argv(self.argv)
django_1 | File "/usr/local/lib/python3.6/site-packages/django/core/management/base.py", line 294, in run_from_argv
django_1 | self.execute(*args, **cmd_options)
django_1 | File "/usr/local/lib/python3.6/site-packages/django/core/management/base.py", line 345, in execute
django_1 | output = self.handle(*args, **options)
django_1 | File "/usr/local/lib/python3.6/site-packages/django/core/management/commands/migrate.py", line 83, in handle
django_1 | executor = MigrationExecutor(connection, self.migration_progress_callback)
django_1 | File "/usr/local/lib/python3.6/site-packages/django/db/migrations/executor.py", line 20, in __init__
django_1 | self.loader = MigrationLoader(self.connection)
django_1 | File "/usr/local/lib/python3.6/site-packages/django/db/migrations/loader.py", line 52, in __init__
django_1 | self.build_graph()
django_1 | File "/usr/local/lib/python3.6/site-packages/django/db/migrations/loader.py", line 203, in build_graph
django_1 | self.applied_migrations = recorder.applied_migrations()
django_1 | File "/usr/local/lib/python3.6/site-packages/django/db/migrations/recorder.py", line 65, in applied_migrations
django_1 | self.ensure_schema()
django_1 | File "/usr/local/lib/python3.6/site-packages/django/db/migrations/recorder.py", line 52, in ensure_schema
django_1 | if self.Migration._meta.db_table in self.connection.introspection.table_names(self.connection.cursor()):
django_1 | File "/usr/local/lib/python3.6/site-packages/django/db/backends/base/base.py", line 231, in cursor
django_1 | cursor = self.make_debug_cursor(self._cursor())
django_1 | File "/usr/local/lib/python3.6/site-packages/django/db/backends/base/base.py", line 204, in _cursor
django_1 | self.ensure_connection()
django_1 | File "/usr/local/lib/python3.6/site-packages/django/db/backends/base/base.py", line 199, in ensure_connection
django_1 | self.connect()
django_1 | File "/usr/local/lib/python3.6/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/python3.6/site-packages/django/utils/six.py", line 685, in reraise
django_1 | raise value.with_traceback(tb)
django_1 | File "/usr/local/lib/python3.6/site-packages/django/db/backends/base/base.py", line 199, in ensure_connection
django_1 | self.connect()
django_1 | File "/usr/local/lib/python3.6/site-packages/django/db/backends/base/base.py", line 171, in connect
django_1 | self.connection = self.get_new_connection(conn_params)
django_1 | File "/usr/local/lib/python3.6/site-packages/django/db/backends/postgresql/base.py", line 176, in get_new_connection
django_1 | connection = Database.connect(**conn_params)
django_1 | File "/usr/local/lib/python3.6/site-packages/psycopg2/__init__.py", line 130, in connect
django_1 | conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
django_1 | django.db.utils.OperationalError: could not connect to server: Connection refused
django_1 | Is the server running on host "db" (172.18.0.5) and accepting
django_1 | TCP/IP connections on port 5432?
django_1 |
db_1 | running bootstrap script ... ok
db_1 | performing post-bootstrap initialization ... ok
trends_1 | ERROR:root:could not connect to server: Connection refused
trends_1 | Is the server running on host "db" (172.18.0.5) and accepting
trends_1 | TCP/IP connections on port 5432?
trends_1 |
db_1 | syncing data to disk ... ok
db_1 |
db_1 | Success. You can now start the database server using:
db_1 |
db_1 | pg_ctl -D /var/lib/postgresql/data -l logfile start
db_1 |
db_1 |
db_1 | WARNING: enabling "trust" authentication for local connections
db_1 | You can change this by editing pg_hba.conf or using the option -A, or
db_1 | --auth-local and --auth-host, the next time you run initdb.
db_1 | ****************************************************
db_1 | WARNING: No password has been set for the database.
db_1 | This will allow anyone with access to the
db_1 | Postgres port to access your database. In
db_1 | Docker's default configuration, this is
db_1 | effectively any other container on the same
db_1 | system.
db_1 |
db_1 | Use "-e POSTGRES_PASSWORD=password" to set
db_1 | it in "docker run".
db_1 | ****************************************************
db_1 | waiting for server to start....LOG: database system was shut down at 2017-03-24 18:16:36 UTC
db_1 | LOG: MultiXact member wraparound protections are now enabled
db_1 | LOG: database system is ready to accept connections
db_1 | LOG: autovacuum launcher started
db_1 | done
db_1 | server started
db_1 | ALTER ROLE
db_1 |
db_1 |
db_1 | /docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/*
db_1 |
db_1 | LOG: received fast shutdown request
db_1 | LOG: aborting any active transactions
db_1 | waiting for server to shut down...LOG: autovacuum launcher shutting down
db_1 | .LOG: shutting down
db_1 | LOG: database system is shut down
db_1 | done
db_1 | server stopped
db_1 |
db_1 | PostgreSQL init process complete; ready for start up.
db_1 |
db_1 | LOG: database system was shut down at 2017-03-24 18:16:43 UTC
db_1 | LOG: MultiXact member wraparound protections are now enabled
db_1 | LOG: database system is ready to accept connections
db_1 | LOG: autovacuum launcher started
db_1 | ERROR: relation "docnow_user" does not exist at character 302
db_1 | STATEMENT: SELECT "docnow_user"."id", "docnow_user"."password", "docnow_user"."last_login", "docnow_user"."is_superuser", "docnow_user"."username", "docnow_user"."first_name", "docnow_user"."last_name", "docnow_user"."email", "docnow_user"."is_staff", "docnow_user"."is_active", "docnow_user"."date_joined" FROM "docnow_user" WHERE "docnow_user"."is_superuser" = true
trends_1 | ERROR:root:relation "docnow_user" does not exist
trends_1 | LINE 1: ...er"."is_active", "docnow_user"."date_joined" FROM "docnow_us...
trends_1 | ^
trends_1 |