Advertisement
Guest User

Untitled

a guest
Apr 13th, 2017
604
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 8.32 KB | None | 0 0
  1. essling-shu@fd-staging-php56:/var/www/essling.site-check.me$ cap production deploy
  2. [Deprecation Notice] Future versions of Capistrano will not load the Git SCM
  3. plugin by default. To silence this deprecation warning, add the following to
  4. your Capfile:
  5.  
  6.     require "capistrano/scm/git"
  7.     install_plugin Capistrano::SCM::Git
  8.  
  9. 00:00 essling:build_assets
  10.       01 composer install  ;
  11.       01 Loading composer repositories with package information
  12.       01 Installing dependencies (including require-dev) from lock file
  13.       01 Nothing to install or update
  14.       01 Generating autoload files
  15.     ✔ 01 essling-shu@localhost 0.382s
  16.       02 cd web/app/themes/essling && npm prune && npm install && bower install && gulp ;
  17.       02 npm WARN package.json essling@1.0.0 No README data
  18.       02 npm WARN package.json essling@1.0.0 No license field.
  19.       02 npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules/chokidar/node_modules/fsevents):
  20.       02 npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.1.1: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
  21.       02 npm WARN essling@1.0.0 No license field.
  22.       02 [11:36:14] Using gulpfile /var/www/essling.site-check.me/web/app/themes/essling/gulpfile.js
  23.       02 [11:36:14] Starting 'default'...
  24.       02 [11:36:14] Starting 'distRemove'...
  25.       02 Cleaning: /var/www/essling.site-check.me/web/app/themes/essling/public/dist
  26.       02 [11:36:14] Finished 'distRemove' after 16 ms
  27.       02 [11:36:14] Starting 'fontsBuilder'...
  28.       02 [11:36:14] Finished 'fontsBuilder' after 14 ms
  29.       02 [11:36:14] Starting 'iconsBuilder'...
  30.       02 [11:36:14] Finished 'iconsBuilder' after 81 ms
  31.       02 [11:36:14] Starting 'imagesBuilder'...
  32.       02 [11:36:14] gulp-imagemin: Minified 1 image (saved 0 B - 0%)
  33.       02 [11:36:14] Finished 'imagesBuilder' after 63 ms
  34.       02 [11:36:14] Starting 'stylesheetBuilder'...
  35.       02 [11:36:14] Finished 'stylesheetBuilder' after 558 ms
  36.       02 [11:36:14] Starting 'javascriptBuilder'...
  37.       02 [11:36:15] Finished 'javascriptBuilder' after 706 ms
  38.       02 [11:36:15] Finished 'default' after 1.44 s
  39.     ✔ 02 essling-shu@localhost 17.920s
  40. 00:18 git:wrapper
  41.       01 mkdir -p /homez.77/esslingcxe/tmp
  42.     ✔ 01 esslingcxe@ftp.cluster023.hosting.ovh.net 1.909s
  43.       Uploading /homez.77/esslingcxe/tmp/git-ssh-essling.dep-production-essling-shu.sh 100.0%
  44.       02 chmod 700 /homez.77/esslingcxe/tmp/git-ssh-essling.dep-production-essling-shu.sh
  45.     ✔ 02 esslingcxe@ftp.cluster023.hosting.ovh.net 0.006s
  46. 00:20 git:check
  47.       01 git ls-remote git@bitbucket.org:fddo/essling.git HEAD
  48.       01 1c25f1e3d0b4623a916f9f146925bff10e221186       HEAD
  49.     ✔ 01 esslingcxe@ftp.cluster023.hosting.ovh.net 1.146s
  50. 00:21 deploy:check:directories
  51.       01 mkdir -p ~/www/shared ~/www/releases
  52.     ✔ 01 esslingcxe@ftp.cluster023.hosting.ovh.net 0.017s
  53. 00:21 deploy:check:linked_dirs
  54.       01 mkdir -p ~/www/shared/web/app/uploads
  55.     ✔ 01 esslingcxe@ftp.cluster023.hosting.ovh.net 0.007s
  56. 00:21 deploy:check:make_linked_dirs
  57.       01 mkdir -p ~/www/shared
  58.     ✔ 01 esslingcxe@ftp.cluster023.hosting.ovh.net 0.005s
  59. 00:21 git:clone
  60.       01 git clone --mirror git@bitbucket.org:fddo/essling.git ~/www/repo
  61.       01 Cloning into bare repository '/homez.77/esslingcxe/www/repo'...
  62.       01 Warning: Permanently added the RSA host key for IP address '104.192.143.3' to the list of known hosts.
  63.     ✔ 01 esslingcxe@ftp.cluster023.hosting.ovh.net 6.032s
  64. 00:27 git:update
  65.       01 git remote set-url origin git@bitbucket.org:fddo/essling.git
  66.     ✔ 01 esslingcxe@ftp.cluster023.hosting.ovh.net 0.008s
  67.       02 git remote update --prune
  68.       02 Fetching origin
  69.     ✔ 02 esslingcxe@ftp.cluster023.hosting.ovh.net 1.132s
  70. 00:28 git:create_release
  71.       01 mkdir -p ~/www/releases/20170413113618
  72.     ✔ 01 esslingcxe@ftp.cluster023.hosting.ovh.net 0.005s
  73.       02 git archive master | /usr/bin/env tar -x -f - -C ~/www/releases/20170413113618
  74.     ✔ 02 esslingcxe@ftp.cluster023.hosting.ovh.net 4.230s
  75. 00:32 deploy:set_current_revision
  76.       01 echo "1c25f1e3d0b4623a916f9f146925bff10e221186" >> REVISION
  77.     ✔ 01 esslingcxe@ftp.cluster023.hosting.ovh.net 0.005s
  78. 00:32 deploy:symlink:linked_files
  79.       01 mkdir -p ~/www/releases/20170413113618
  80.     ✔ 01 esslingcxe@ftp.cluster023.hosting.ovh.net 0.004s
  81.       02 ln -s ~/www/shared/.env ~/www/releases/20170413113618/.env
  82.     ✔ 02 esslingcxe@ftp.cluster023.hosting.ovh.net 0.005s
  83. 00:32 deploy:symlink:linked_dirs
  84.       01 mkdir -p ~/www/releases/20170413113618/web/app
  85.     ✔ 01 esslingcxe@ftp.cluster023.hosting.ovh.net 0.004s
  86.       02 rm -rf ~/www/releases/20170413113618/web/app/uploads
  87.     ✔ 02 esslingcxe@ftp.cluster023.hosting.ovh.net 0.004s
  88.       03 ln -s ~/www/shared/web/app/uploads ~/www/releases/20170413113618/web/app/uploads
  89.     ✔ 03 esslingcxe@ftp.cluster023.hosting.ovh.net 0.004s
  90. (Backtrace restricted to imported tasks)
  91. cap aborted!
  92. SSHKit::Runner::ExecuteError: Exception while executing as esslingcxe@ftp.cluster023.hosting.ovh.net: scp: ~/www/releases/20170413113618/: No such file or directory
  93.  
  94. scp: ~/www/releases/20170413113618/: No such file or directory
  95.  
  96. Tasks: TOP => essling:upload_assets
  97. (See full trace by running task with --trace)
  98. The deploy has failed with an error: Exception while executing as esslingcxe@ftp.cluster023.hosting.ovh.net: scp: ~/www/releases/20170413113618/: No such file or directory
  99.  
  100.  
  101. ** DEPLOY FAILED
  102. ** Refer to logs/capistrano.log for details. Here are the last 20 lines:
  103.  
  104.  
  105.   INFO [c29ff586] Running /usr/bin/env git remote set-url origin git@bitbucket.org:fddo/essling.git as esslingcxe@ftp.cluster023.hosting.ovh.net
  106.  
  107.   INFO [c29ff586] Finished in 0.008 seconds with exit status 0 (successful).
  108.  
  109.   INFO [5bdd8a51] Running /usr/bin/env git remote update --prune as esslingcxe@ftp.cluster023.hosting.ovh.net
  110.  
  111.   INFO [5bdd8a51] Finished in 1.132 seconds with exit status 0 (successful).
  112.  
  113.   INFO [beb7d6ad] Running /usr/bin/env mkdir -p ~/www/releases/20170413113618 as esslingcxe@ftp.cluster023.hosting.ovh.net
  114.  
  115.   INFO [beb7d6ad] Finished in 0.005 seconds with exit status 0 (successful).
  116.  
  117.   INFO [95c94c55] Running /usr/bin/env git archive master | /usr/bin/env tar -x -f - -C ~/www/releases/20170413113618 as esslingcxe@ftp.cluster023.hosting.ovh.net
  118.  
  119.   INFO [95c94c55] Finished in 4.230 seconds with exit status 0 (successful).
  120.  
  121.   INFO [98e0fa8b] Running /usr/bin/env echo "1c25f1e3d0b4623a916f9f146925bff10e221186" >> REVISION as esslingcxe@ftp.cluster023.hosting.ovh.net
  122.  
  123.   INFO [98e0fa8b] Finished in 0.005 seconds with exit status 0 (successful).
  124.  
  125.   INFO [9f4af82c] Running /usr/bin/env mkdir -p ~/www/releases/20170413113618 as esslingcxe@ftp.cluster023.hosting.ovh.net
  126.  
  127.   INFO [9f4af82c] Finished in 0.004 seconds with exit status 0 (successful).
  128.  
  129.   INFO [4dcdfd60] Running /usr/bin/env ln -s ~/www/shared/.env ~/www/releases/20170413113618/.env as esslingcxe@ftp.cluster023.hosting.ovh.net
  130.  
  131.   INFO [4dcdfd60] Finished in 0.005 seconds with exit status 0 (successful).
  132.  
  133.   INFO [36f078fb] Running /usr/bin/env mkdir -p ~/www/releases/20170413113618/web/app as esslingcxe@ftp.cluster023.hosting.ovh.net
  134.  
  135.   INFO [36f078fb] Finished in 0.004 seconds with exit status 0 (successful).
  136.  
  137.   INFO [b931262e] Running /usr/bin/env rm -rf ~/www/releases/20170413113618/web/app/uploads as esslingcxe@ftp.cluster023.hosting.ovh.net
  138.  
  139.   INFO [b931262e] Finished in 0.004 seconds with exit status 0 (successful).
  140.  
  141.   INFO [ffd9eeea] Running /usr/bin/env ln -s ~/www/shared/web/app/uploads ~/www/releases/20170413113618/web/app/uploads as esslingcxe@ftp.cluster023.hosting.ovh.net
  142.  
  143.   INFO [ffd9eeea] Finished in 0.004 seconds with exit status 0 (successful).
  144.  
  145. essling-shu@fd-staging-php56:/var/www/essling.site-check.me$ ls -al^C
  146. essling-shu@fd-staging-php56:/var/www/essling.site-check.me$ cd config/deploy/
  147. essling-shu@fd-staging-php56:/var/www/essling.site-check.me/config/deploy$ cat production.rb
  148. set :stage, :production
  149. set :keep_releases, 3
  150. set :deploy_to, '~/www'
  151. set :branch, :master
  152. set :tmp_dir, "/homez.77/esslingcxe/tmp"
  153.  
  154. server 'ftp.cluster023.hosting.ovh.net', user: 'esslingcxe', ssh_options: {auth_methods: ['publickey']}, roles: %w{web app db}, primary: true
  155.  
  156. #fetch(:default_env).merge!(wp_env: :production)
  157. essling-shu@fd-staging-php56:/var/www/essling.site-check.me/config/deploy$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement