Advertisement
burke

Untitled

Aug 21st, 2017
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.97 KB | None | 0 0
  1. $ docker-compose up
  2. Creating volume "oclweb_db_web_data" with default driver
  3. Creating oclweb_db_web_1 ...
  4. Creating oclweb_db_web_1 ... done
  5. Creating oclweb_web_1 ...
  6. Creating oclweb_web_1 ... done
  7. Attaching to oclweb_db_web_1, oclweb_web_1
  8. db_web_1 | The files belonging to this database system will be owned by user "postgres".
  9. db_web_1 | This user must also own the server process.
  10. db_web_1 |
  11. db_web_1 | The database cluster will be initialized with locale "en_US.utf8".
  12. db_web_1 | The default database encoding has accordingly been set to "UTF8".
  13. db_web_1 | The default text search configuration will be set to "english".
  14. web_1 | Starting OpenBSD Secure Shell server: sshd.
  15. db_web_1 |
  16. db_web_1 | Data page checksums are disabled.
  17. db_web_1 |
  18. db_web_1 | fixing permissions on existing directory /var/lib/postgresql/data ... ok
  19. db_web_1 | creating subdirectories ... ok
  20. db_web_1 | selecting default max_connections ... 100
  21. db_web_1 | selecting default shared_buffers ... 128MB
  22. db_web_1 | selecting dynamic shared memory implementation ... posix
  23. db_web_1 | creating configuration files ... ok
  24. db_web_1 | running bootstrap script ... ok
  25. db_web_1 | performing post-bootstrap initialization ... ok
  26. db_web_1 | syncing data to disk ...
  27. db_web_1 | WARNING: enabling "trust" authentication for local connections
  28. db_web_1 | You can change this by editing pg_hba.conf or using the option -A, or
  29. db_web_1 | --auth-local and --auth-host, the next time you run initdb.
  30. db_web_1 | ok
  31. db_web_1 |
  32. db_web_1 | Success. You can now start the database server using:
  33. db_web_1 |
  34. db_web_1 | pg_ctl -D /var/lib/postgresql/data -l logfile start
  35. db_web_1 |
  36. db_web_1 | waiting for server to start....LOG: could not bind IPv6 socket: Cannot assign requested address
  37. db_web_1 | HINT: Is another postmaster already running on port 5432? If not, wait a few seconds and retry.
  38. db_web_1 | LOG: database system was shut down at 2017-08-21 13:51:55 UTC
  39. db_web_1 | LOG: MultiXact member wraparound protections are now enabled
  40. db_web_1 | LOG: database system is ready to accept connections
  41. db_web_1 | LOG: autovacuum launcher started
  42. web_1 | Python 2.7.13 (default, Jul 24 2017, 20:13:18)
  43. web_1 | [GCC 4.9.2] on linux2
  44. web_1 | Type "help", "copyright", "credits" or "license" for more information.
  45. web_1 | (InteractiveConsole)
  46. web_1 | >>> >>> Traceback (most recent call last):
  47. web_1 | File "<console>", line 1, in <module>
  48. web_1 | File "/usr/local/lib/python2.7/site-packages/django/db/models/query.py", line 291, in count
  49. web_1 | return self.query.get_count(using=self.db)
  50. web_1 | File "/usr/local/lib/python2.7/site-packages/django/db/models/sql/query.py", line 390, in get_count
  51. web_1 | number = obj.get_aggregation(using=using)[None]
  52. web_1 | File "/usr/local/lib/python2.7/site-packages/django/db/models/sql/query.py", line 356, in get_aggregation
  53. web_1 | result = query.get_compiler(using).execute_sql(SINGLE)
  54. web_1 | File "/usr/local/lib/python2.7/site-packages/django/db/models/sql/compiler.py", line 781, in execute_sql
  55. web_1 | cursor = self.connection.cursor()
  56. web_1 | File "/usr/local/lib/python2.7/site-packages/django/db/backends/__init__.py", line 157, in cursor
  57. web_1 | cursor = self.make_debug_cursor(self._cursor())
  58. web_1 | File "/usr/local/lib/python2.7/site-packages/django/db/backends/__init__.py", line 129, in _cursor
  59. web_1 | self.ensure_connection()
  60. web_1 | File "/usr/local/lib/python2.7/site-packages/django/db/backends/__init__.py", line 124, in ensure_connection
  61. web_1 | self.connect()
  62. web_1 | File "/usr/local/lib/python2.7/site-packages/django/db/utils.py", line 99, in __exit__
  63. web_1 | six.reraise(dj_exc_type, dj_exc_value, traceback)
  64. web_1 | File "/usr/local/lib/python2.7/site-packages/django/db/backends/__init__.py", line 124, in ensure_connection
  65. web_1 | self.connect()
  66. web_1 | File "/usr/local/lib/python2.7/site-packages/django/db/backends/__init__.py", line 112, in connect
  67. web_1 | self.connection = self.get_new_connection(conn_params)
  68. web_1 | File "/usr/local/lib/python2.7/site-packages/django/db/backends/postgresql_psycopg2/base.py", line 116, in get_new_connection
  69. web_1 | return Database.connect(**conn_params)
  70. web_1 | File "/usr/local/lib/python2.7/site-packages/psycopg2/__init__.py", line 164, in connect
  71. web_1 | conn = _connect(dsn, connection_factory=connection_factory, async=async)
  72. web_1 | OperationalError: could not connect to server: Connection refused
  73. web_1 | Is the server running on host "dbweb.openconceptlab.org" (172.18.0.8) and accepting
  74. web_1 | TCP/IP connections on port 5432?
  75. web_1 |
  76. web_1 |
  77. db_web_1 | done
  78. db_web_1 | server started
  79. db_web_1 | CREATE DATABASE
  80. db_web_1 |
  81. db_web_1 | CREATE ROLE
  82. db_web_1 |
  83. db_web_1 |
  84. db_web_1 | /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/*
  85. db_web_1 |
  86. db_web_1 | LOG: received fast shutdown request
  87. db_web_1 | LOG: aborting any active transactions
  88. db_web_1 | LOG: autovacuum launcher shutting down
  89. db_web_1 | waiting for server to shut down....LOG: shutting down
  90. db_web_1 | LOG: database system is shut down
  91. web_1 | Syncing...
  92. web_1 | Traceback (most recent call last):
  93. web_1 | File "ocl_web/manage.py", line 19, in <module>
  94. web_1 | execute_from_command_line(sys.argv)
  95. web_1 | File "/usr/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 399, in execute_from_command_line
  96. web_1 | utility.execute()
  97. web_1 | File "/usr/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 392, in execute
  98. web_1 | self.fetch_command(subcommand).run_from_argv(self.argv)
  99. web_1 | File "/usr/local/lib/python2.7/site-packages/django/core/management/base.py", line 242, in run_from_argv
  100. web_1 | self.execute(*args, **options.__dict__)
  101. web_1 | File "/usr/local/lib/python2.7/site-packages/django/core/management/base.py", line 285, in execute
  102. web_1 | output = self.handle(*args, **options)
  103. web_1 | File "/usr/local/lib/python2.7/site-packages/django/core/management/base.py", line 415, in handle
  104. web_1 | return self.handle_noargs(**options)
  105. web_1 | File "/usr/local/lib/python2.7/site-packages/south/management/commands/syncdb.py", line 92, in handle_noargs
  106. web_1 | syncdb.Command().execute(**options)
  107. web_1 | File "/usr/local/lib/python2.7/site-packages/django/core/management/base.py", line 285, in execute
  108. web_1 | output = self.handle(*args, **options)
  109. web_1 | File "/usr/local/lib/python2.7/site-packages/django/core/management/base.py", line 415, in handle
  110. web_1 | return self.handle_noargs(**options)
  111. web_1 | File "/usr/local/lib/python2.7/site-packages/django/core/management/commands/syncdb.py", line 57, in handle_noargs
  112. web_1 | cursor = connection.cursor()
  113. web_1 | File "/usr/local/lib/python2.7/site-packages/django/db/backends/__init__.py", line 157, in cursor
  114. web_1 | cursor = self.make_debug_cursor(self._cursor())
  115. web_1 | File "/usr/local/lib/python2.7/site-packages/django/db/backends/__init__.py", line 129, in _cursor
  116. web_1 | self.ensure_connection()
  117. web_1 | File "/usr/local/lib/python2.7/site-packages/django/db/backends/__init__.py", line 124, in ensure_connection
  118. web_1 | self.connect()
  119. web_1 | File "/usr/local/lib/python2.7/site-packages/django/db/utils.py", line 99, in __exit__
  120. web_1 | six.reraise(dj_exc_type, dj_exc_value, traceback)
  121. web_1 | File "/usr/local/lib/python2.7/site-packages/django/db/backends/__init__.py", line 124, in ensure_connection
  122. web_1 | self.connect()
  123. web_1 | File "/usr/local/lib/python2.7/site-packages/django/db/backends/__init__.py", line 112, in connect
  124. web_1 | self.connection = self.get_new_connection(conn_params)
  125. web_1 | File "/usr/local/lib/python2.7/site-packages/django/db/backends/postgresql_psycopg2/base.py", line 116, in get_new_connection
  126. web_1 | return Database.connect(**conn_params)
  127. web_1 | File "/usr/local/lib/python2.7/site-packages/psycopg2/__init__.py", line 164, in connect
  128. web_1 | conn = _connect(dsn, connection_factory=connection_factory, async=async)
  129. web_1 | django.db.utils.OperationalError: could not connect to server: Connection refused
  130. web_1 | Is the server running on host "dbweb.openconceptlab.org" (172.18.0.8) and accepting
  131. web_1 | TCP/IP connections on port 5432?
  132. web_1 |
  133. db_web_1 | done
  134. db_web_1 | server stopped
  135. db_web_1 |
  136. db_web_1 | PostgreSQL init process complete; ready for start up.
  137. db_web_1 |
  138. db_web_1 | LOG: database system was shut down at 2017-08-21 13:51:56 UTC
  139. db_web_1 | LOG: MultiXact member wraparound protections are now enabled
  140. db_web_1 | LOG: database system is ready to accept connections
  141. db_web_1 | LOG: autovacuum launcher started
  142. db_web_1 | ERROR: relation "south_migrationhistory" does not exist at character 154
  143. 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
  144. web_1 | Traceback (most recent call last):
  145. web_1 | File "ocl_web/manage.py", line 19, in <module>
  146. web_1 | execute_from_command_line(sys.argv)
  147. web_1 | File "/usr/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 399, in execute_from_command_line
  148. web_1 | utility.execute()
  149. web_1 | File "/usr/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 392, in execute
  150. web_1 | self.fetch_command(subcommand).run_from_argv(self.argv)
  151. web_1 | File "/usr/local/lib/python2.7/site-packages/django/core/management/base.py", line 242, in run_from_argv
  152. web_1 | self.execute(*args, **options.__dict__)
  153. web_1 | File "/usr/local/lib/python2.7/site-packages/django/core/management/base.py", line 285, in execute
  154. web_1 | output = self.handle(*args, **options)
  155. web_1 | File "/usr/local/lib/python2.7/site-packages/south/management/commands/migrate.py", line 111, in handle
  156. web_1 | ignore_ghosts = ignore_ghosts,
  157. web_1 | File "/usr/local/lib/python2.7/site-packages/south/migration/__init__.py", line 200, in migrate_app
  158. web_1 | applied_all = check_migration_histories(applied_all, delete_ghosts, ignore_ghosts)
  159. web_1 | File "/usr/local/lib/python2.7/site-packages/south/migration/__init__.py", line 79, in check_migration_histories
  160. web_1 | for h in histories:
  161. web_1 | File "/usr/local/lib/python2.7/site-packages/django/db/models/query.py", line 96, in __iter__
  162. web_1 | self._fetch_all()
  163. web_1 | File "/usr/local/lib/python2.7/site-packages/django/db/models/query.py", line 854, in _fetch_all
  164. web_1 | self._result_cache = list(self.iterator())
  165. web_1 | File "/usr/local/lib/python2.7/site-packages/django/db/models/query.py", line 220, in iterator
  166. web_1 | for row in compiler.results_iter():
  167. web_1 | File "/usr/local/lib/python2.7/site-packages/django/db/models/sql/compiler.py", line 709, in results_iter
  168. web_1 | for rows in self.execute_sql(MULTI):
  169. web_1 | File "/usr/local/lib/python2.7/site-packages/django/db/models/sql/compiler.py", line 782, in execute_sql
  170. web_1 | cursor.execute(sql, params)
  171. web_1 | File "/usr/local/lib/python2.7/site-packages/django/db/backends/util.py", line 69, in execute
  172. web_1 | return super(CursorDebugWrapper, self).execute(sql, params)
  173. web_1 | File "/usr/local/lib/python2.7/site-packages/django/db/backends/util.py", line 53, in execute
  174. web_1 | return self.cursor.execute(sql, params)
  175. web_1 | File "/usr/local/lib/python2.7/site-packages/django/db/utils.py", line 99, in __exit__
  176. web_1 | six.reraise(dj_exc_type, dj_exc_value, traceback)
  177. web_1 | File "/usr/local/lib/python2.7/site-packages/django/db/backends/util.py", line 53, in execute
  178. web_1 | return self.cursor.execute(sql, params)
  179. web_1 | django.db.utils.ProgrammingError: relation "south_migrationhistory" does not exist
  180. web_1 | LINE 1: ...gration", "south_migrationhistory"."applied" FROM "south_mig...
  181. web_1 | ^
  182. web_1 |
  183. web_1 | Starting the server
  184. web_1 | grunt-cli: The grunt command line interface (v1.2.0)
  185. web_1 |
  186. web_1 | Fatal error: Unable to find local grunt.
  187. web_1 |
  188. web_1 | If you're seeing this message, grunt hasn't been installed locally to
  189. web_1 | your project. For more information about installing and configuring grunt,
  190. web_1 | please see the Getting Started guide:
  191. web_1 |
  192. web_1 | http://gruntjs.com/getting-started
  193. oclweb_web_1 exited with code 99
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement