Advertisement
Guest User

Terminal output Ghost on Dokku - nginx 502 problem

a guest
Jul 29th, 2015
386
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 7.07 KB | None | 0 0
  1. Martins-MacBook-Pro:ghost martinhalik$ git push dokku master
  2. perl: warning: Setting locale failed.
  3. perl: warning: Please check that your locale settings:
  4.     LANGUAGE = (unset),
  5.     LC_ALL = (unset),
  6.     LC_CTYPE = "UTF-8",
  7.     LANG = "en_US.UTF-8"
  8.     are supported and installed on your system.
  9. perl: warning: Falling back to the standard locale ("C").
  10. Counting objects: 3, done.
  11. Delta compression using up to 4 threads.
  12. Compressing objects: 100% (2/2), done.
  13. Writing objects: 100% (3/3), 265 bytes | 0 bytes/s, done.
  14. Total 3 (delta 1), reused 0 (delta 0)
  15. -----> Cleaning up...
  16. -----> Building shopify from buildstep...
  17. -----> Adding BUILD_ENV to build environment...
  18. -----> Node.js app detected
  19. -----> Requested node range: ~0.10.0 || ~0.12.0
  20. -----> Resolved node version: 0.12.7
  21. -----> Downloading and installing node
  22. -----> Restoring node_modules directory from cache
  23. -----> Pruning cached dependencies not specified in package.json
  24.        npm WARN package.json ghost@0.6.4 No license field.
  25.        unbuild mocha@2.2.5
  26.        unbuild istanbul@0.3.14
  27. -----> Exporting config vars to environment
  28. -----> Installing dependencies
  29.        npm WARN package.json ghost@0.6.4 No license field.
  30.        mocha@2.2.5 node_modules/mocha
  31.        ├── escape-string-regexp@1.0.2
  32.        ├── supports-color@1.2.1
  33.        ├── growl@1.8.1
  34.        ├── commander@2.3.0
  35.        ├── diff@1.4.0
  36.        ├── debug@2.0.0 (ms@0.6.2)
  37.        ├── mkdirp@0.5.0 (minimist@0.0.8)
  38.        ├── jade@0.26.3 (commander@0.6.1, mkdirp@0.3.0)
  39.        └── glob@3.2.3 (inherits@2.0.1, graceful-fs@2.0.3, minimatch@0.2.14)
  40.        
  41.        istanbul@0.3.14 node_modules/istanbul
  42.        ├── abbrev@1.0.6
  43.        ├── supports-color@1.3.1
  44.        ├── which@1.0.9
  45.        ├── nopt@3.0.2
  46.        ├── wordwrap@0.0.3
  47.        ├── async@0.9.2
  48.        ├── once@1.3.2 (wrappy@1.0.1)
  49.        ├── esprima@2.1.0
  50.        ├── mkdirp@0.5.1 (minimist@0.0.8)
  51.        ├── resolve@1.1.6
  52.        ├── fileset@0.1.5 (minimatch@0.4.0, glob@3.2.11)
  53.        ├── escodegen@1.6.1 (esutils@1.1.6, estraverse@1.9.3, optionator@0.5.0, source-map@0.1.43, esprima@1.2.5)
  54.        ├── handlebars@3.0.0 (optimist@0.6.1, source-map@0.1.43, uglify-js@2.3.6
  55.        └── js-yaml@3.3.1 (esprima@2.2.0, argparse@1.0.2)
  56. -----> Caching node_modules directory for future builds
  57. -----> Cleaning up node-gyp and npm artifacts
  58. -----> No Procfile found; Adding npm start to new Procfile
  59. -----> Building runtime environment
  60. -----> Discovering process types
  61.        Procfile declares types -> web
  62. -----> Releasing shopify...
  63. -----> Deploying shopify...
  64. -----> Running pre-flight checks
  65.        For more efficient zero downtime deployments, create a file CHECKS.
  66.        See http://progrium.viewdocs.io/dokku/checks-examples.md for examples
  67.        CHECKS file not found in container: Running simple container check...
  68. -----> Waiting for 10 seconds ...
  69. -----> Default container check successful!
  70. =====> shopify container output:
  71.        > ghost@0.6.4 start /app
  72.        > node index
  73.        Migrations: Database initialisation required for version 003
  74.        Migrations: Creating tables...
  75.        Migrations: Creating table: posts
  76.        Migrations: Creating table: users
  77.        Migrations: Creating table: roles
  78.        Migrations: Creating table: roles_users
  79.        Migrations: Creating table: permissions
  80.        Migrations: Creating table: permissions_users
  81.        Migrations: Creating table: permissions_roles
  82.        Migrations: Creating table: permissions_apps
  83.        Migrations: Creating table: settings
  84.        Migrations: Creating table: tags
  85.        Migrations: Creating table: posts_tags
  86.        Migrations: Creating table: apps
  87.        Migrations: Creating table: app_settings
  88.        Migrations: Creating table: app_fields
  89.        Migrations: Creating table: clients
  90.        Migrations: Creating table: accesstokens
  91.        Migrations: Creating table: refreshtokens
  92.        Migrations: Populating fixtures
  93.        Migrations: Populating permissions
  94.        Migrations: Creating owner
  95.        Migrations: Populating default settings
  96.        Migrations: Complete
  97.        Ghost is running...
  98.        Your blog is now available on http://shopify.ents.co
  99.        Ctrl+C to shut down
  100. =====> end shopify container output
  101. -----> Running post-deploy
  102. -----> Configuring shopify.ents.co...
  103. -----> Creating http nginx.conf
  104. -----> Running nginx-pre-reload
  105.        Reloading nginx
  106. -----> Shutting down old containers in 60 seconds
  107. =====> 9022aace660c02ea99365f56367b54e30cdbc3069c3f55bdb7a00e25df0df02c
  108. =====> Application deployed:
  109.        http://shopify.ents.co
  110.  
  111. To dokku@ents.co:shopify
  112.    5219b9f..ea3491e  master -> master
  113.  
  114.  
  115.  
  116. Martins-MacBook-Pro:ghost martinhalik$ dokku@ents.co config:set shopify NODE_ENV=production
  117. -bash: dokku@ents.co: command not found
  118. Martins-MacBook-Pro:ghost martinhalik$ ssh dokku@ents.co config:set shopify NODE_ENV=production
  119. -----> Setting config vars
  120.        NODE_ENV: production
  121. -----> Restarting app shopify
  122. s-----> Releasing shopify ...
  123. -----> Deploying shopify ...
  124. -----> Running pre-flight checks
  125.        For more efficient zero downtime deployments, create a file CHECKS.
  126.        See http://progrium.viewdocs.io/dokku/checks-examples.md for examples
  127.        CHECKS file not found in container: Running simple container check...
  128. -----> Waiting for 10 seconds ...
  129. -----> Default container check successful!
  130. =====> shopify container output:
  131.        > ghost@0.6.4 start /app
  132.        > node index
  133.        Migrations: Database initialisation required for version 003
  134.        Migrations: Creating tables...
  135.        Migrations: Creating table: posts
  136.        Migrations: Creating table: users
  137.        Migrations: Creating table: roles
  138.        Migrations: Creating table: roles_users
  139.        Migrations: Creating table: permissions
  140.        Migrations: Creating table: permissions_users
  141.        Migrations: Creating table: permissions_roles
  142.        Migrations: Creating table: permissions_apps
  143.        Migrations: Creating table: settings
  144.        Migrations: Creating table: tags
  145.        Migrations: Creating table: posts_tags
  146.        Migrations: Creating table: apps
  147.        Migrations: Creating table: app_settings
  148.        Migrations: Creating table: app_fields
  149.        Migrations: Creating table: clients
  150.        Migrations: Creating table: accesstokens
  151.        Migrations: Creating table: refreshtokens
  152.        Migrations: Populating fixtures
  153.        Migrations: Populating permissions
  154.        Migrations: Creating owner
  155.        Migrations: Populating default settings
  156.        Migrations: Complete
  157.        Ghost is running...
  158.        Your blog is now available on http://shopify.ents.co
  159.        Ctrl+C to shut down
  160. =====> end shopify container output
  161. -----> Running post-deploy
  162. -----> Configuring shopify.ents.co...
  163. -----> Creating http nginx.conf
  164. -----> Running nginx-pre-reload
  165.        Reloading nginx
  166. -----> Shutting down old containers in 60 seconds
  167. =====> 263d87507002e11f4ed39ce3650e0b44655b80d5362e92181ac81e3a5b91f9fc
  168. =====> Application deployed:
  169.        http://shopify.ents.co
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement