Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ docker-compose up
- Creating volume "oclweb_db_web_data" with default driver
- Creating oclweb_db_web_1 ...
- Creating oclweb_db_web_1 ... done
- Creating oclweb_web_1 ...
- Creating oclweb_web_1 ... done
- Attaching to oclweb_db_web_1, oclweb_web_1
- db_web_1 | The files belonging to this database system will be owned by user "postgres".
- db_web_1 | This user must also own the server process.
- web_1 | Starting OpenBSD Secure Shell server: sshd.
- db_web_1 |
- db_web_1 | The database cluster will be initialized with locale "en_US.utf8".
- db_web_1 | The default database encoding has accordingly been set to "UTF8".
- db_web_1 | The default text search configuration will be set to "english".
- db_web_1 |
- db_web_1 | Data page checksums are disabled.
- db_web_1 |
- db_web_1 | fixing permissions on existing directory /var/lib/postgresql/data ... ok
- db_web_1 | creating subdirectories ... ok
- db_web_1 | selecting default max_connections ... 100
- db_web_1 | selecting default shared_buffers ... 128MB
- db_web_1 | selecting dynamic shared memory implementation ... posix
- db_web_1 | creating configuration files ... ok
- db_web_1 | running bootstrap script ... ok
- db_web_1 | performing post-bootstrap initialization ... ok
- db_web_1 | syncing data to disk ... ok
- db_web_1 |
- db_web_1 | WARNING: enabling "trust" authentication for local connections
- db_web_1 | You can change this by editing pg_hba.conf or using the option -A, or
- db_web_1 | --auth-local and --auth-host, the next time you run initdb.
- db_web_1 |
- db_web_1 | Success. You can now start the database server using:
- db_web_1 |
- db_web_1 | pg_ctl -D /var/lib/postgresql/data -l logfile start
- db_web_1 |
- db_web_1 | waiting for server to start....LOG: could not bind IPv6 socket: Cannot assign requested address
- db_web_1 | HINT: Is another postmaster already running on port 5432? If not, wait a few seconds and retry.
- db_web_1 | LOG: database system was shut down at 2017-08-18 14:19:18 UTC
- db_web_1 | LOG: MultiXact member wraparound protections are now enabled
- db_web_1 | LOG: database system is ready to accept connections
- db_web_1 | LOG: autovacuum launcher started
- web_1 | >>> Python 2.7.13 (default, Jul 24 2017, 20:13:18)
- web_1 | [GCC 4.9.2] on linux2
- web_1 | Type "help", "copyright", "credits" or "license" for more information.
- web_1 | (InteractiveConsole)
- web_1 | Traceback (most recent call last):
- web_1 | File "<console>", line 1, in <module>
- web_1 | File "/usr/local/lib/python2.7/site-packages/django/db/models/query.py", line 291, in count
- web_1 | return self.query.get_count(using=self.db)
- web_1 | File "/usr/local/lib/python2.7/site-packages/django/db/models/sql/query.py", line 390, in get_count
- web_1 | number = obj.get_aggregation(using=using)[None]
- web_1 | File "/usr/local/lib/python2.7/site-packages/django/db/models/sql/query.py", line 356, in get_aggregation
- web_1 | result = query.get_compiler(using).execute_sql(SINGLE)
- web_1 | File "/usr/local/lib/python2.7/site-packages/django/db/models/sql/compiler.py", line 781, in execute_sql
- web_1 | cursor = self.connection.cursor()
- web_1 | File "/usr/local/lib/python2.7/site-packages/django/db/backends/__init__.py", line 157, in cursor
- web_1 | cursor = self.make_debug_cursor(self._cursor())
- web_1 | File "/usr/local/lib/python2.7/site-packages/django/db/backends/__init__.py", line 129, in _cursor
- web_1 | self.ensure_connection()
- web_1 | File "/usr/local/lib/python2.7/site-packages/django/db/backends/__init__.py", line 124, in ensure_connection
- web_1 | self.connect()
- web_1 | File "/usr/local/lib/python2.7/site-packages/django/db/utils.py", line 99, in __exit__
- web_1 | six.reraise(dj_exc_type, dj_exc_value, traceback)
- web_1 | File "/usr/local/lib/python2.7/site-packages/django/db/backends/__init__.py", line 124, in ensure_connection
- web_1 | self.connect()
- web_1 | File "/usr/local/lib/python2.7/site-packages/django/db/backends/__init__.py", line 112, in connect
- web_1 | self.connection = self.get_new_connection(conn_params)
- web_1 | File "/usr/local/lib/python2.7/site-packages/django/db/backends/postgresql_psycopg2/base.py", line 116, in get_new_connection
- web_1 | return Database.connect(**conn_params)
- web_1 | File "/usr/local/lib/python2.7/site-packages/psycopg2/__init__.py", line 164, in connect
- web_1 | conn = _connect(dsn, connection_factory=connection_factory, async=async)
- web_1 | OperationalError: could not connect to server: Connection refused
- web_1 | Is the server running on host "dbweb.openconceptlab.org" (172.18.0.8) and accepting
- web_1 | TCP/IP connections on port 5432?
- web_1 |
- web_1 |
- db_web_1 | done
- db_web_1 | server started
- db_web_1 | CREATE DATABASE
- db_web_1 |
- db_web_1 | CREATE ROLE
- db_web_1 |
- db_web_1 |
- db_web_1 | /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/*
- db_web_1 |
- db_web_1 | LOG: received fast shutdown request
- db_web_1 | LOG: aborting any active transactions
- db_web_1 | LOG: autovacuum launcher shutting down
- db_web_1 | waiting for server to shut down....LOG: shutting down
- db_web_1 | LOG: database system is shut down
- web_1 | >>> Syncing...
- web_1 | Traceback (most recent call last):
- web_1 | File "ocl_web/manage.py", line 19, in <module>
- web_1 | execute_from_command_line(sys.argv)
- web_1 | File "/usr/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 399, in execute_from_command_line
- web_1 | utility.execute()
- web_1 | File "/usr/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 392, in execute
- web_1 | self.fetch_command(subcommand).run_from_argv(self.argv)
- web_1 | File "/usr/local/lib/python2.7/site-packages/django/core/management/base.py", line 242, in run_from_argv
- web_1 | self.execute(*args, **options.__dict__)
- web_1 | File "/usr/local/lib/python2.7/site-packages/django/core/management/base.py", line 285, in execute
- web_1 | output = self.handle(*args, **options)
- web_1 | File "/usr/local/lib/python2.7/site-packages/django/core/management/base.py", line 415, in handle
- web_1 | return self.handle_noargs(**options)
- web_1 | File "/usr/local/lib/python2.7/site-packages/south/management/commands/syncdb.py", line 92, in handle_noargs
- web_1 | syncdb.Command().execute(**options)
- web_1 | File "/usr/local/lib/python2.7/site-packages/django/core/management/base.py", line 285, in execute
- web_1 | output = self.handle(*args, **options)
- web_1 | File "/usr/local/lib/python2.7/site-packages/django/core/management/base.py", line 415, in handle
- web_1 | return self.handle_noargs(**options)
- web_1 | File "/usr/local/lib/python2.7/site-packages/django/core/management/commands/syncdb.py", line 57, in handle_noargs
- web_1 | cursor = connection.cursor()
- web_1 | File "/usr/local/lib/python2.7/site-packages/django/db/backends/__init__.py", line 157, in cursor
- web_1 | cursor = self.make_debug_cursor(self._cursor())
- web_1 | File "/usr/local/lib/python2.7/site-packages/django/db/backends/__init__.py", line 129, in _cursor
- web_1 | self.ensure_connection()
- web_1 | File "/usr/local/lib/python2.7/site-packages/django/db/backends/__init__.py", line 124, in ensure_connection
- web_1 | self.connect()
- web_1 | File "/usr/local/lib/python2.7/site-packages/django/db/utils.py", line 99, in __exit__
- web_1 | six.reraise(dj_exc_type, dj_exc_value, traceback)
- web_1 | File "/usr/local/lib/python2.7/site-packages/django/db/backends/__init__.py", line 124, in ensure_connection
- web_1 | self.connect()
- web_1 | File "/usr/local/lib/python2.7/site-packages/django/db/backends/__init__.py", line 112, in connect
- web_1 | self.connection = self.get_new_connection(conn_params)
- web_1 | File "/usr/local/lib/python2.7/site-packages/django/db/backends/postgresql_psycopg2/base.py", line 116, in get_new_connection
- web_1 | return Database.connect(**conn_params)
- web_1 | File "/usr/local/lib/python2.7/site-packages/psycopg2/__init__.py", line 164, in connect
- web_1 | conn = _connect(dsn, connection_factory=connection_factory, async=async)
- web_1 | django.db.utils.OperationalError: could not connect to server: Connection refused
- web_1 | Is the server running on host "dbweb.openconceptlab.org" (172.18.0.8) and accepting
- web_1 | TCP/IP connections on port 5432?
- web_1 |
- db_web_1 | done
- db_web_1 | server stopped
- db_web_1 |
- db_web_1 | PostgreSQL init process complete; ready for start up.
- db_web_1 |
- db_web_1 | LOG: database system was shut down at 2017-08-18 14:19:19 UTC
- db_web_1 | LOG: MultiXact member wraparound protections are now enabled
- db_web_1 | LOG: database system is ready to accept connections
- db_web_1 | LOG: autovacuum launcher started
- db_web_1 | ERROR: relation "south_migrationhistory" does not exist at character 154
- db_web_1 | STATEMENT: SELECT "south_migrationhistory"."id", "south_migrationhistory"."app_name", "south_migrationhistory"."migration", "south_migrationhistory"."applied" FROM "south_migrationhistory" WHERE "south_migrationhistory"."applied" IS NOT NULL ORDER BY "south_migrationhistory"."applied" ASC
- web_1 | Traceback (most recent call last):
- web_1 | File "ocl_web/manage.py", line 19, in <module>
- web_1 | execute_from_command_line(sys.argv)
- web_1 | File "/usr/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 399, in execute_from_command_line
- web_1 | utility.execute()
- web_1 | File "/usr/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 392, in execute
- web_1 | self.fetch_command(subcommand).run_from_argv(self.argv)
- web_1 | File "/usr/local/lib/python2.7/site-packages/django/core/management/base.py", line 242, in run_from_argv
- web_1 | self.execute(*args, **options.__dict__)
- web_1 | File "/usr/local/lib/python2.7/site-packages/django/core/management/base.py", line 285, in execute
- web_1 | output = self.handle(*args, **options)
- web_1 | File "/usr/local/lib/python2.7/site-packages/south/management/commands/migrate.py", line 111, in handle
- web_1 | ignore_ghosts = ignore_ghosts,
- web_1 | File "/usr/local/lib/python2.7/site-packages/south/migration/__init__.py", line 200, in migrate_app
- web_1 | applied_all = check_migration_histories(applied_all, delete_ghosts, ignore_ghosts)
- web_1 | File "/usr/local/lib/python2.7/site-packages/south/migration/__init__.py", line 79, in check_migration_histories
- web_1 | for h in histories:
- web_1 | File "/usr/local/lib/python2.7/site-packages/django/db/models/query.py", line 96, in __iter__
- web_1 | self._fetch_all()
- web_1 | File "/usr/local/lib/python2.7/site-packages/django/db/models/query.py", line 854, in _fetch_all
- web_1 | self._result_cache = list(self.iterator())
- web_1 | File "/usr/local/lib/python2.7/site-packages/django/db/models/query.py", line 220, in iterator
- web_1 | for row in compiler.results_iter():
- web_1 | File "/usr/local/lib/python2.7/site-packages/django/db/models/sql/compiler.py", line 709, in results_iter
- web_1 | for rows in self.execute_sql(MULTI):
- web_1 | File "/usr/local/lib/python2.7/site-packages/django/db/models/sql/compiler.py", line 782, in execute_sql
- web_1 | cursor.execute(sql, params)
- web_1 | File "/usr/local/lib/python2.7/site-packages/django/db/backends/util.py", line 69, in execute
- web_1 | return super(CursorDebugWrapper, self).execute(sql, params)
- web_1 | File "/usr/local/lib/python2.7/site-packages/django/db/backends/util.py", line 53, in execute
- web_1 | return self.cursor.execute(sql, params)
- web_1 | File "/usr/local/lib/python2.7/site-packages/django/db/utils.py", line 99, in __exit__
- web_1 | six.reraise(dj_exc_type, dj_exc_value, traceback)
- web_1 | File "/usr/local/lib/python2.7/site-packages/django/db/backends/util.py", line 53, in execute
- web_1 | return self.cursor.execute(sql, params)
- web_1 | django.db.utils.ProgrammingError: relation "south_migrationhistory" does not exist
- web_1 | LINE 1: ...gration", "south_migrationhistory"."applied" FROM "south_mig...
- web_1 | ^
- web_1 |
- web_1 | Starting the server
- web_1 | grunt-cli: The grunt command line interface (v1.2.0)
- web_1 |
- web_1 | Fatal error: Unable to find local grunt.
- web_1 |
- web_1 | If you're seeing this message, grunt hasn't been installed locally to
- web_1 | your project. For more information about installing and configuring grunt,
- web_1 | please see the Getting Started guide:
- web_1 |
- web_1 | http://gruntjs.com/getting-started
- oclweb_web_1 exited with code 99
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement