Advertisement
Guest User

Untitled

a guest
Apr 2nd, 2016
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.41 KB | None | 0 0
  1. heroku run python manage.py migrate
  2.  
  3. git add .
  4. git commit -am ' ready to deploy'
  5. git push heroku master
  6.  
  7. (veins)apples-MacBook-Pro:zoe ray$ heroku logs
  8. 2016-04-02T06:01:42.740469+00:00 app[web.1]: cursor.execute(sql, params)
  9. 2016-04-02T06:01:42.740470+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.5/site-packages/django/db/backends/utils.py", line 79, in execute
  10. 2016-04-02T06:01:42.740471+00:00 app[web.1]: return super(CursorDebugWrapper, self).execute(sql, params)
  11. 2016-04-02T06:01:42.740471+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.5/site-packages/django/db/backends/utils.py", line 64, in execute
  12. 2016-04-02T06:01:42.740472+00:00 app[web.1]: return self.cursor.execute(sql, params)
  13. 2016-04-02T06:01:42.740473+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.5/site-packages/django/db/utils.py", line 95, in __exit__
  14. 2016-04-02T06:01:42.740473+00:00 app[web.1]: six.reraise(dj_exc_type, dj_exc_value, traceback)
  15. 2016-04-02T06:01:42.740474+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.5/site-packages/django/utils/six.py", line 685, in reraise
  16. 2016-04-02T06:01:42.740474+00:00 app[web.1]: raise value.with_traceback(tb)
  17. 2016-04-02T06:01:42.740475+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.5/site-packages/django/db/backends/utils.py", line 64, in execute
  18. 2016-04-02T06:01:42.740475+00:00 app[web.1]: return self.cursor.execute(sql, params)
  19. 2016-04-02T06:01:42.740476+00:00 app[web.1]: django.db.utils.ProgrammingError: relation "blog_post" does not exist
  20. 2016-04-02T06:01:42.740477+00:00 app[web.1]: LINE 1: ...blog_post"."video", "blog_post"."video_path" FROM "blog_post...
  21. 2016-04-02T06:01:42.740477+00:00 app[web.1]: ^
  22. 2016-04-02T06:01:42.740481+00:00 app[web.1]:
  23. 2016-04-02T06:01:42.946479+00:00 heroku[router]: at=info method=GET path="/" host=obscure-brushlands-92656.herokuapp.com request_id=f3c1fae5-6cc4-4550-b6c2-eb1a0e2bee56 fwd="67.86.108.92" dyno=web.1 connect=0ms service=398ms status=500 bytes=124376
  24. 2016-04-02T06:07:31.152260+00:00 heroku[slug-compiler]: Slug compilation started
  25. 2016-04-02T06:07:31.152265+00:00 heroku[slug-compiler]: Slug compilation finished
  26. 2016-04-02T06:07:30.975815+00:00 heroku[api]: Deploy 722c474 by darraysk@gmail.com
  27. 2016-04-02T06:07:30.975815+00:00 heroku[api]: Release v10 created by darraysk@gmail.com
  28. 2016-04-02T06:07:31.126625+00:00 heroku[web.1]: Restarting
  29. 2016-04-02T06:07:31.127170+00:00 heroku[web.1]: State changed from up to starting
  30. 2016-04-02T06:07:36.620656+00:00 heroku[web.1]: Stopping all processes with SIGTERM
  31. 2016-04-02T06:07:37.634475+00:00 heroku[web.1]: Starting process with command `gunicorn zoe.wsgi --log-file -`
  32. 2016-04-02T06:07:38.159253+00:00 app[web.1]: [2016-04-02 06:07:38 +0000] [3] [INFO] Handling signal: term
  33. 2016-04-02T06:07:40.023938+00:00 app[web.1]: [2016-04-02 06:07:40 +0000] [3] [INFO] Starting gunicorn 19.4.5
  34. 2016-04-02T06:07:40.024557+00:00 app[web.1]: [2016-04-02 06:07:40 +0000] [3] [INFO] Listening at: http://0.0.0.0:39370 (3)
  35. 2016-04-02T06:07:40.024671+00:00 app[web.1]: [2016-04-02 06:07:40 +0000] [3] [INFO] Using worker: sync
  36. 2016-04-02T06:07:40.027892+00:00 app[web.1]: [2016-04-02 06:07:40 +0000] [7] [INFO] Booting worker with pid: 7
  37. 2016-04-02T06:07:40.042782+00:00 app[web.1]: [2016-04-02 06:07:40 +0000] [8] [INFO] Booting worker with pid: 8
  38. 2016-04-02T06:07:41.334511+00:00 heroku[web.1]: State changed from starting to up
  39. 2016-04-02T06:07:44.708412+00:00 app[web.1]: [2016-04-02 02:07:44 -0400] [8] [INFO] Worker exiting (pid: 8)
  40. 2016-04-02T06:07:44.707345+00:00 app[web.1]: [2016-04-02 02:07:44 -0400] [7] [INFO] Worker exiting (pid: 7)
  41. 2016-04-02T06:07:44.998762+00:00 heroku[router]: at=info method=GET path="/" host=obscure-brushlands-92656.herokuapp.com request_id=4a801b6e-a744-4ba9-9110-ac975c94209c fwd="67.86.108.92" dyno=web.1 connect=0ms service=341ms status=500 bytes=239
  42. 2016-04-02T06:07:45.110398+00:00 app[web.1]: [2016-04-02 06:07:45 +0000] [3] [INFO] Shutting down: Master
  43. 2016-04-02T06:07:46.168820+00:00 heroku[web.1]: Process exited with status 0
  44. 2016-04-02T06:10:35.425027+00:00 heroku[api]: Starting process with command `python manage.py migrate` by darraysk@gmail.com
  45. 2016-04-02T06:10:42.040062+00:00 heroku[run.2415]: Awaiting client
  46. 2016-04-02T06:10:42.061407+00:00 heroku[run.2415]: Starting process with command `python manage.py migrate`
  47. 2016-04-02T06:10:42.279921+00:00 heroku[run.2415]: State changed from starting to up
  48. 2016-04-02T06:10:46.387084+00:00 heroku[run.2415]: Process exited with status 0
  49. 2016-04-02T06:10:46.416848+00:00 heroku[run.2415]: State changed from up to complete
  50. 2016-04-02T06:10:57.595523+00:00 heroku[router]: at=info method=GET path="/" host=obscure-brushlands-92656.herokuapp.com request_id=826f1c8a-aa38-4f0f-8bc8-4f1c5a4ecdbc fwd="67.86.108.92" dyno=web.1 connect=0ms service=62ms status=500 bytes=239
  51. 2016-04-02T06:11:02.831354+00:00 heroku[router]: at=info method=GET path="/" host=obscure-brushlands-92656.herokuapp.com request_id=98dc2e1f-d3d4-4f5b-83ea-41fed4173d93 fwd="67.86.108.92" dyno=web.1 connect=0ms service=57ms status=500 bytes=239
  52. 2016-04-02T06:14:09.380829+00:00 heroku[api]: Deploy 612dac6 by raysk@gmail.com
  53. 2016-04-02T06:14:09.380829+00:00 heroku[api]: Release v11 created by raysk@gmail.com
  54. 2016-04-02T06:14:09.539964+00:00 heroku[slug-compiler]: Slug compilation started
  55. 2016-04-02T06:14:09.539969+00:00 heroku[slug-compiler]: Slug compilation finished
  56. 2016-04-02T06:14:09.751419+00:00 heroku[web.1]: State changed from up to starting
  57. 2016-04-02T06:14:09.748910+00:00 heroku[web.1]: Restarting
  58. 2016-04-02T06:14:12.589888+00:00 heroku[web.1]: Stopping all processes with SIGTERM
  59. 2016-04-02T06:14:13.369470+00:00 app[web.1]: [2016-04-02 06:14:13 +0000] [3] [INFO] Handling signal: term
  60. 2016-04-02T06:14:14.302512+00:00 app[web.1]: [2016-04-02 02:14:14 -0400] [7] [INFO] Worker exiting (pid: 7)
  61. 2016-04-02T06:14:14.340173+00:00 app[web.1]: [2016-04-02 02:14:14 -0400] [8] [INFO] Worker exiting (pid: 8)
  62. 2016-04-02T06:14:14.583043+00:00 app[web.1]: [2016-04-02 06:14:14 +0000] [3] [INFO] Shutting down: Master
  63. 2016-04-02T06:14:15.409910+00:00 heroku[web.1]: Process exited with status 0
  64. 2016-04-02T06:14:15.746975+00:00 heroku[web.1]: Starting process with command `gunicorn zoe.wsgi --log-file -`
  65. 2016-04-02T06:14:18.296264+00:00 app[web.1]: [2016-04-02 06:14:18 +0000] [3] [INFO] Starting gunicorn 19.4.5
  66. 2016-04-02T06:14:18.297558+00:00 app[web.1]: [2016-04-02 06:14:18 +0000] [3] [INFO] Listening at: http://0.0.0.0:5053 (3)
  67. 2016-04-02T06:14:18.297718+00:00 app[web.1]: [2016-04-02 06:14:18 +0000] [3] [INFO] Using worker: sync
  68. 2016-04-02T06:14:18.303157+00:00 app[web.1]: [2016-04-02 06:14:18 +0000] [7] [INFO] Booting worker with pid: 7
  69. 2016-04-02T06:14:18.337725+00:00 app[web.1]: [2016-04-02 06:14:18 +0000] [8] [INFO] Booting worker with pid: 8
  70. 2016-04-02T06:14:19.451560+00:00 heroku[web.1]: State changed from starting to up
  71. 2016-04-02T06:14:21.933300+00:00 app[web.1]: Internal Server Error: /
  72. 2016-04-02T06:14:21.933312+00:00 app[web.1]: Traceback (most recent call last):
  73. 2016-04-02T06:14:21.933313+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.5/site-packages/django/core/handlers/base.py", line 149, in get_response
  74. 2016-04-02T06:14:21.933314+00:00 app[web.1]: response = self.process_exception_by_middleware(e, request)
  75. 2016-04-02T06:14:21.933315+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.5/site-packages/django/core/handlers/base.py", line 147, in get_response
  76. 2016-04-02T06:14:21.933316+00:00 app[web.1]: response = wrapped_callback(request, *callback_args, **callback_kwargs)
  77. 2016-04-02T06:14:21.933317+00:00 app[web.1]: File "/app/blog/views.py", line 21, in post_list
  78. 2016-04-02T06:14:21.933344+00:00 app[web.1]: latest_article = Post.published.latest('created')
  79. 2016-04-02T06:14:21.933345+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.5/site-packages/django/db/models/manager.py", line 122, in manager_method
  80. 2016-04-02T06:14:21.933346+00:00 app[web.1]: return getattr(self.get_queryset(), name)(*args, **kwargs)
  81. 2016-04-02T06:14:21.933347+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.5/site-packages/django/db/models/query.py", line 544, in latest
  82. 2016-04-02T06:14:21.933348+00:00 app[web.1]: return self._earliest_or_latest(field_name=field_name, direction="-")
  83. 2016-04-02T06:14:21.933349+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.5/site-packages/django/db/models/query.py", line 538, in _earliest_or_latest
  84. 2016-04-02T06:14:21.933349+00:00 app[web.1]: return obj.get()
  85. 2016-04-02T06:14:21.933350+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.5/site-packages/django/db/models/query.py", line 387, in get
  86. 2016-04-02T06:14:21.933351+00:00 app[web.1]: self.model._meta.object_name
  87. 2016-04-02T06:14:21.933446+00:00 app[web.1]: blog.models.DoesNotExist: Post matching query does not exist.
  88. 2016-04-02T06:14:22.079558+00:00 heroku[router]: at=info method=GET path="/" host=obscure-brushlands-92656.herokuapp.com request_id=dcfa294d-0e95-42b2-89ea-f3fb0079ffaf fwd="67.86.108.92" dyno=web.1 connect=1ms service=720ms status=500 bytes=74281
  89. 2016-04-02T06:25:36.260686+00:00 heroku[api]: Deploy 17dd9d2 by raysk@gmail.com
  90. 2016-04-02T06:25:36.260686+00:00 heroku[api]: Release v12 created by raysk@gmail.com
  91. 2016-04-02T06:25:36.435629+00:00 heroku[slug-compiler]: Slug compilation started
  92. 2016-04-02T06:25:36.435638+00:00 heroku[slug-compiler]: Slug compilation finished
  93. 2016-04-02T06:25:36.374326+00:00 heroku[web.1]: Restarting
  94. 2016-04-02T06:25:36.375144+00:00 heroku[web.1]: State changed from up to starting
  95. 2016-04-02T06:25:41.211458+00:00 heroku[web.1]: Stopping all processes with SIGTERM
  96. 2016-04-02T06:25:42.383832+00:00 app[web.1]: [2016-04-02 06:25:42 +0000] [3] [INFO] Handling signal: term
  97. 2016-04-02T06:25:44.015508+00:00 heroku[web.1]: Starting process with command `gunicorn zoe.wsgi --log-file -`
  98. 2016-04-02T06:25:47.892982+00:00 app[web.1]: [2016-04-02 06:25:47 +0000] [3] [INFO] Starting gunicorn 19.4.5
  99. 2016-04-02T06:25:47.893186+00:00 app[web.1]: [2016-04-02 06:25:47 +0000] [3] [INFO] Listening at: http://0.0.0.0:17481 (3)
  100. 2016-04-02T06:25:47.893308+00:00 app[web.1]: [2016-04-02 06:25:47 +0000] [3] [INFO] Using worker: sync
  101. 2016-04-02T06:25:47.905428+00:00 app[web.1]: [2016-04-02 06:25:47 +0000] [7] [INFO] Booting worker with pid: 7
  102. 2016-04-02T06:25:47.932437+00:00 app[web.1]: [2016-04-02 06:25:47 +0000] [8] [INFO] Booting worker with pid: 8
  103. 2016-04-02T06:25:48.665213+00:00 heroku[web.1]: State changed from starting to up
  104. 2016-04-02T06:25:56.840201+00:00 app[web.1]: [2016-04-02 02:25:56 -0400] [8] [INFO] Worker exiting (pid: 8)
  105. 2016-04-02T06:25:56.845143+00:00 app[web.1]: [2016-04-02 02:25:56 -0400] [7] [INFO] Worker exiting (pid: 7)
  106. 2016-04-02T06:25:57.944293+00:00 app[web.1]: [2016-04-02 06:25:57 +0000] [3] [INFO] Shutting down: Master
  107. 2016-04-02T06:25:59.048324+00:00 heroku[web.1]: Process exited with status 0
  108. 2016-04-02T06:26:29.718005+00:00 heroku[router]: at=info method=GET path="/" host=obscure-brushlands-92656.herokuapp.com request_id=60816714-1381-435c-b5f1-4b1274ca4905 fwd="67.86.108.92" dyno=web.1 connect=1ms service=690ms status=500 bytes=239
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement