Advertisement
Guest User

eb activity log

a guest
Jan 27th, 2019
238
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 461.47 KB | None | 0 0
  1. [2019-01-27T09:55:33.274Z] INFO [2861] - [Initialization] : Starting activity...
  2. [2019-01-27T09:55:33.274Z] INFO [2861] - [Initialization/AddonsBefore] : Starting activity...
  3. [2019-01-27T09:55:33.274Z] INFO [2861] - [Initialization/AddonsBefore/InstallCWLAgent] : Starting activity...
  4. [2019-01-27T09:55:33.274Z] INFO [2861] - [Initialization/AddonsBefore/InstallCWLAgent/01-install-cwl-agent.sh] : Starting activity...
  5. [2019-01-27T09:55:35.285Z] INFO [2861] - [Initialization/AddonsBefore/InstallCWLAgent/01-install-cwl-agent.sh] : Completed activity. Result:
  6. + grep -iq 'Amazon Linux' /etc/issue
  7. + yum install -y awslogs
  8. Loaded plugins: priorities, update-motd, upgrade-helper
  9. Resolving Dependencies
  10. --> Running transaction check
  11. ---> Package awslogs.noarch 0:1.1.4-1.12.amzn1 will be installed
  12. --> Processing Dependency: aws-cli-plugin-cloudwatch-logs(python27) for package: awslogs-1.1.4-1.12.amzn1.noarch
  13. --> Running transaction check
  14. ---> Package aws-cli-plugin-cloudwatch-logs.noarch 0:1.4.4-1.16.amzn1 will be installed
  15. --> Finished Dependency Resolution
  16.  
  17. Dependencies Resolved
  18.  
  19. ================================================================================
  20. Package Arch Version Repository Size
  21. ================================================================================
  22. Installing:
  23. awslogs noarch 1.1.4-1.12.amzn1 amzn-main 9.2 k
  24. Installing for dependencies:
  25. aws-cli-plugin-cloudwatch-logs noarch 1.4.4-1.16.amzn1 amzn-main 71 k
  26.  
  27. Transaction Summary
  28. ================================================================================
  29. Install 1 Package (+1 Dependent package)
  30.  
  31. Total download size: 81 k
  32. Installed size: 246 k
  33. Downloading packages:
  34. --------------------------------------------------------------------------------
  35. Total 739 kB/s | 81 kB 00:00
  36. Running transaction check
  37. Running transaction test
  38. Transaction test succeeded
  39. Running transaction
  40. Installing : aws-cli-plugin-cloudwatch-logs-1.4.4-1.16.amzn1.noarch 1/2
  41. Installing : awslogs-1.1.4-1.12.amzn1.noarch 2/2
  42. Verifying : awslogs-1.1.4-1.12.amzn1.noarch 1/2
  43. Verifying : aws-cli-plugin-cloudwatch-logs-1.4.4-1.16.amzn1.noarch 2/2
  44.  
  45. Installed:
  46. awslogs.noarch 0:1.1.4-1.12.amzn1
  47.  
  48. Dependency Installed:
  49. aws-cli-plugin-cloudwatch-logs.noarch 0:1.4.4-1.16.amzn1
  50.  
  51. Complete!
  52. + cat
  53. ++ sed 's/.$//'
  54. ++ curl 169.254.169.254/latest/meta-data/placement/availability-zone
  55. % Total % Received % Xferd Average Speed Time Time Time Current
  56. Dload Upload Total Spent Left Speed
  57.  
  58. 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
  59. 100 10 100 10 0 0 7547 0 --:--:-- --:--:-- --:--:-- 10000
  60. + region=us-east-2
  61. + sed -i -e 's/region = .*/region = us-east-2/g' /etc/awslogs/awscli.conf
  62. + /opt/elasticbeanstalk/bin/log-conf -n awslogs -l/var/log/awslogs.log
  63. [2019-01-27T09:55:35.285Z] INFO [2861] - [Initialization/AddonsBefore/InstallCWLAgent] : Completed activity. Result:
  64. Successfully execute hooks in directory /opt/elasticbeanstalk/addons/logstreaming/hooks/install.
  65. [2019-01-27T09:55:35.285Z] INFO [2861] - [Initialization/AddonsBefore] : Completed activity.
  66. [2019-01-27T09:55:35.285Z] INFO [2861] - [Initialization/PreInitStage0] : Starting activity...
  67. [2019-01-27T09:55:35.286Z] INFO [2861] - [Initialization/PreInitStage0/DownloadSourceBundle] : Starting activity...
  68. [2019-01-27T09:55:35.734Z] INFO [2861] - [Initialization/PreInitStage0/DownloadSourceBundle] : Completed activity. Result:
  69. [2019-01-27T09:55:35.385Z] INFO [2921] : Application version will be saved to /opt/elasticbeanstalk/deploy/appsource.
  70. [2019-01-27T09:55:35.385Z] INFO [2921] : Using manifest cache with deployment ID 12 and serial 14.
  71. [2019-01-27T09:55:35.385Z] INFO [2921] : Attempting to download application source bundle to: '/opt/elasticbeanstalk/deploy/appsource/source_bundle'.
  72. [2019-01-27T09:55:35.385Z] INFO [2921] : Using computed s3 key.
  73. [2019-01-27T09:55:35.500Z] INFO [2921] : Downloading from bucket 'elasticbeanstalk-us-east-2-387358288273' with key 'resources/environments/e-sv4jqab3r8/_runtime/_versions/test/app-4d95-190127_151346' and version '' to '/opt/elasticbeanstalk/deploy/appsource/source_bundle'.
  74. [2019-01-27T09:55:35.548Z] INFO [2921] : Size: 9504972, ETag: "cbcf989f646f29ab2b074b98c8ca5dc7", Metadata: {"environmentid"=>"e-sv4jqab3r8", "requestid"=>"2f537cca-d632-4274-8e25-d7f0fc1b7d5d"}.
  75. [2019-01-27T09:55:35.726Z] INFO [2921] : Downloaded size: 9504972.
  76. [2019-01-27T09:55:35.726Z] INFO [2921] : Successfully downloaded to '/opt/elasticbeanstalk/deploy/appsource/source_bundle'.
  77. [2019-01-27T09:55:35.734Z] INFO [2861] - [Initialization/PreInitStage0/PreInitHook] : Starting activity...
  78. [2019-01-27T09:55:35.737Z] INFO [2861] - [Initialization/PreInitStage0/PreInitHook/01_install_xray_daemon.sh] : Starting activity...
  79. [2019-01-27T09:55:35.842Z] INFO [2861] - [Initialization/PreInitStage0/PreInitHook/01_install_xray_daemon.sh] : Completed activity. Result:
  80. Executing: /bin/chown -R xray:xray /var/log/xray
  81.  
  82. [2019-01-27T09:55:35.842Z] INFO [2861] - [Initialization/PreInitStage0/PreInitHook/01_setup_envvars.sh] : Starting activity...
  83. [2019-01-27T09:55:36.058Z] INFO [2861] - [Initialization/PreInitStage0/PreInitHook/01_setup_envvars.sh] : Completed activity. Result:
  84. ++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
  85. + EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
  86. + /opt/elasticbeanstalk/support/export_envvars
  87. + ln -sf /opt/elasticbeanstalk/support/envvars /etc/profile.d/eb_envvars.sh
  88. [2019-01-27T09:55:36.058Z] INFO [2861] - [Initialization/PreInitStage0/PreInitHook/02_web_user.sh] : Starting activity...
  89. [2019-01-27T09:55:36.180Z] INFO [2861] - [Initialization/PreInitStage0/PreInitHook/02_web_user.sh] : Completed activity. Result:
  90. ++ /opt/elasticbeanstalk/bin/get-config container -k app_user
  91. + EB_APP_USER=webapp
  92. + id -u webapp
  93. id: webapp: no such user
  94. + adduser --system --user-group webapp -s /sbin/nologin
  95. [2019-01-27T09:55:36.180Z] INFO [2861] - [Initialization/PreInitStage0/PreInitHook/03_common_packages.sh] : Starting activity...
  96. [2019-01-27T09:55:36.453Z] INFO [2861] - [Initialization/PreInitStage0/PreInitHook/03_common_packages.sh] : Completed activity. Result:
  97. ++ /opt/elasticbeanstalk/bin/get-config container -k tarball_url
  98. + EB_TARBALL_URL=https://s3.dualstack.us-east-2.amazonaws.com/elasticbeanstalk-env-resources-us-east-2/stalks/eb_ruby_puma_4.0.1.201497.0/lib/tarballs
  99. ++ /opt/elasticbeanstalk/bin/get-config container -k script_dir
  100. + EB_SCRIPT_DIR=/opt/elasticbeanstalk/support/scripts
  101. ++ /opt/elasticbeanstalk/bin/get-config container -k ruby_version
  102. + EB_RUBY_VERSION=2.4.5
  103. + is_baked ruby_packages
  104. + [[ -f /etc/elasticbeanstalk/baking_manifest/ruby_packages ]]
  105. + true
  106. + echo Ruby supporting packages have already been installed. Skipping installation.
  107. Ruby supporting packages have already been installed. Skipping installation.
  108. + echo 2.4.5
  109. + ln -sf /opt/rubies/ruby-2.4.5 /opt/rubies/ruby-current
  110. + ln -sf /opt/elasticbeanstalk/support/scripts/use-app-ruby.sh /etc/profile.d/
  111. [2019-01-27T09:55:36.453Z] INFO [2861] - [Initialization/PreInitStage0/PreInitHook/04_puma_packages.sh] : Starting activity...
  112. [2019-01-27T09:55:36.770Z] INFO [2861] - [Initialization/PreInitStage0/PreInitHook/04_puma_packages.sh] : Completed activity. Result:
  113. + is_baked puma_packages
  114. + [[ -f /etc/elasticbeanstalk/baking_manifest/puma_packages ]]
  115. + true
  116. + echo Puma supporting packages have already been installed. Skipping installation.
  117. Puma supporting packages have already been installed. Skipping installation.
  118. ++ /opt/elasticbeanstalk/bin/get-config container -k app_user
  119. + EB_APP_USER=webapp
  120. ++ /opt/elasticbeanstalk/bin/get-config container -k puma_log_dir
  121. + EB_PUMA_LOG_DIR=/var/log/puma
  122. ++ /opt/elasticbeanstalk/bin/get-config container -k puma_pid_dir
  123. + EB_PUMA_PID_DIR=/var/run/puma
  124. + mkdir -p /var/log/puma /var/run/puma
  125. + chown -R webapp:webapp /var/log/puma /var/run/puma
  126. + /opt/elasticbeanstalk/bin/log-conf -n puma '-l/var/log/puma/*'
  127. [2019-01-27T09:55:36.771Z] INFO [2861] - [Initialization/PreInitStage0/PreInitHook/10_layout.sh] : Starting activity...
  128. [2019-01-27T09:55:37.218Z] INFO [2861] - [Initialization/PreInitStage0/PreInitHook/10_layout.sh] : Completed activity. Result:
  129. ++ /opt/elasticbeanstalk/bin/get-config container -k app_user
  130. + EB_APP_USER=webapp
  131. ++ /opt/elasticbeanstalk/bin/get-config container -k app_deploy_dir
  132. + EB_APP_DEPLOY_DIR=/var/app/current
  133. ++ /opt/elasticbeanstalk/bin/get-config container -k app_log_dir
  134. + EB_APP_LOG_DIR=/var/app/containerfiles/logs
  135. ++ /opt/elasticbeanstalk/bin/get-config container -k app_pid_dir
  136. + EB_APP_PID_DIR=/var/app/containerfiles/pids
  137. ++ /opt/elasticbeanstalk/bin/get-config container -k app_asset_dir
  138. + EB_APP_ASSET_DIR=/var/app/containerfiles/assets
  139. + mkdir -p /var/app/current /var/app/containerfiles/logs /var/app/containerfiles/pids /var/app/containerfiles/assets
  140. + chown -R webapp:webapp /var/app/current /var/app/containerfiles/logs /var/app/containerfiles/pids /var/app/containerfiles/assets
  141. [2019-01-27T09:55:37.218Z] INFO [2861] - [Initialization/PreInitStage0/PreInitHook/11_logging.sh] : Starting activity...
  142. [2019-01-27T09:55:37.360Z] INFO [2861] - [Initialization/PreInitStage0/PreInitHook/11_logging.sh] : Completed activity. Result:
  143. ++ /opt/elasticbeanstalk/bin/get-config container -k app_log_dir
  144. + EB_APP_LOG_DIR=/var/app/containerfiles/logs
  145. + /opt/elasticbeanstalk/bin/log-conf -n webapp '-l/var/app/containerfiles/logs/*'
  146. + rm -f /etc/logrotate.d/nginx
  147. [2019-01-27T09:55:37.360Z] INFO [2861] - [Initialization/PreInitStage0/PreInitHook/12_leader_only_script.sh] : Starting activity...
  148. [2019-01-27T09:55:37.451Z] INFO [2861] - [Initialization/PreInitStage0/PreInitHook/12_leader_only_script.sh] : Completed activity. Result:
  149. ++ /opt/elasticbeanstalk/bin/get-config container -k script_dir
  150. + EB_SCRIPT_DIR=/opt/elasticbeanstalk/support/scripts
  151. + ln -sf /opt/elasticbeanstalk/support/scripts/leader_only /usr/bin/
  152. [2019-01-27T09:55:37.451Z] INFO [2861] - [Initialization/PreInitStage0/PreInitHook/22_gems.sh] : Starting activity...
  153. [2019-01-27T09:55:37.741Z] INFO [2861] - [Initialization/PreInitStage0/PreInitHook/22_gems.sh] : Completed activity. Result:
  154. ++ /opt/elasticbeanstalk/bin/get-config container -k script_dir
  155. + EB_SCRIPT_DIR=/opt/elasticbeanstalk/support/scripts
  156. ++ /opt/elasticbeanstalk/bin/get-config container -k gem_dir
  157. + EB_GEM_DIR=/opt/elasticbeanstalk/support/gems/puma
  158. + . /opt/elasticbeanstalk/support/scripts/use-app-ruby.sh
  159. ++ . /usr/local/share/chruby/chruby.sh
  160. +++ CHRUBY_VERSION=0.3.9
  161. +++ RUBIES=()
  162. +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
  163. +++ [[ -d /opt/rubies ]]
  164. ++++ ls -A /opt/rubies
  165. +++ [[ -n ruby-1.9.3-p551
  166. ruby-2.0.0-p648
  167. ruby-2.1.10
  168. ruby-2.2.10
  169. ruby-2.3.8
  170. ruby-2.4.5
  171. ruby-2.5.3
  172. ruby-2.6.0
  173. ruby-current ]]
  174. +++ RUBIES+=("$dir"/*)
  175. +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
  176. +++ [[ -d /.rubies ]]
  177. +++ unset dir
  178. +++ cat /etc/elasticbeanstalk/.ruby_version
  179. ++ chruby 2.4.5
  180. ++ case "$1" in
  181. ++ local dir match
  182. ++ for dir in '"${RUBIES[@]}"'
  183. ++ dir=/opt/rubies/ruby-1.9.3-p551
  184. ++ case "${dir##*/}" in
  185. ++ for dir in '"${RUBIES[@]}"'
  186. ++ dir=/opt/rubies/ruby-2.0.0-p648
  187. ++ case "${dir##*/}" in
  188. ++ for dir in '"${RUBIES[@]}"'
  189. ++ dir=/opt/rubies/ruby-2.1.10
  190. ++ case "${dir##*/}" in
  191. ++ for dir in '"${RUBIES[@]}"'
  192. ++ dir=/opt/rubies/ruby-2.2.10
  193. ++ case "${dir##*/}" in
  194. ++ for dir in '"${RUBIES[@]}"'
  195. ++ dir=/opt/rubies/ruby-2.3.8
  196. ++ case "${dir##*/}" in
  197. ++ for dir in '"${RUBIES[@]}"'
  198. ++ dir=/opt/rubies/ruby-2.4.5
  199. ++ case "${dir##*/}" in
  200. ++ match=/opt/rubies/ruby-2.4.5
  201. ++ for dir in '"${RUBIES[@]}"'
  202. ++ dir=/opt/rubies/ruby-2.5.3
  203. ++ case "${dir##*/}" in
  204. ++ for dir in '"${RUBIES[@]}"'
  205. ++ dir=/opt/rubies/ruby-2.6.0
  206. ++ case "${dir##*/}" in
  207. ++ for dir in '"${RUBIES[@]}"'
  208. ++ dir=/opt/rubies/ruby-current
  209. ++ case "${dir##*/}" in
  210. ++ [[ -z /opt/rubies/ruby-2.4.5 ]]
  211. ++ shift
  212. ++ chruby_use /opt/rubies/ruby-2.4.5 ''
  213. ++ [[ ! -x /opt/rubies/ruby-2.4.5/bin/ruby ]]
  214. ++ [[ -n '' ]]
  215. ++ export RUBY_ROOT=/opt/rubies/ruby-2.4.5
  216. ++ RUBY_ROOT=/opt/rubies/ruby-2.4.5
  217. ++ export RUBYOPT=
  218. ++ RUBYOPT=
  219. ++ export PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/opt/elasticbeanstalk/lib/ruby/bin:/sbin:/usr/sbin:/bin:/usr/bin
  220. ++ PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/opt/elasticbeanstalk/lib/ruby/bin:/sbin:/usr/sbin:/bin:/usr/bin
  221. +++ /opt/rubies/ruby-2.4.5/bin/ruby -
  222. ++ eval 'export RUBY_ENGINE=ruby;
  223. export RUBY_VERSION=2.4.5;
  224. export GEM_ROOT="/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0";'
  225. +++ export RUBY_ENGINE=ruby
  226. +++ RUBY_ENGINE=ruby
  227. +++ export RUBY_VERSION=2.4.5
  228. +++ RUBY_VERSION=2.4.5
  229. +++ export GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
  230. +++ GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
  231. ++ (( 0 != 0 ))
  232. + is_baked gems
  233. + [[ -f /etc/elasticbeanstalk/baking_manifest/gems ]]
  234. + true
  235. + echo Gems have already been installed. Skipping installation.
  236. Gems have already been installed. Skipping installation.
  237. [2019-01-27T09:55:37.741Z] INFO [2861] - [Initialization/PreInitStage0/PreInitHook/27_nodejs.sh] : Starting activity...
  238. [2019-01-27T09:55:37.744Z] INFO [2861] - [Initialization/PreInitStage0/PreInitHook/27_nodejs.sh] : Completed activity. Result:
  239. + is_baked nodejs
  240. + [[ -f /etc/elasticbeanstalk/baking_manifest/nodejs ]]
  241. + true
  242. + echo Node.js has already been installed. Skipping installation.
  243. Node.js has already been installed. Skipping installation.
  244. [2019-01-27T09:55:37.744Z] INFO [2861] - [Initialization/PreInitStage0/PreInitHook/30_nginx_setup.sh] : Starting activity...
  245. [2019-01-27T09:55:37.892Z] INFO [2861] - [Initialization/PreInitStage0/PreInitHook/30_nginx_setup.sh] : Completed activity. Result:
  246. ++ /opt/elasticbeanstalk/bin/get-config container -k app_user
  247. + EB_APP_USER=webapp
  248. + sed -i '/worker_processes 1;/c worker_processes auto;' /etc/nginx/nginx.conf
  249. + grep -q 'maintained by Elastic Beanstalk' /etc/nginx/nginx.conf
  250. + sed -i '/gzip/c\
  251. gzip on; # maintained by Elastic Beanstalk\
  252. gzip_comp_level 4;\
  253. gzip_types text/html text/plain text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript;' /etc/nginx/nginx.conf
  254. + sed -i s/default_server//g /etc/nginx/nginx.conf
  255. + /opt/elasticbeanstalk/bin/log-conf -n nginx '-l/var/log/nginx/*'
  256. [2019-01-27T09:55:37.892Z] INFO [2861] - [Initialization/PreInitStage0/PreInitHook/31_nginx_start.sh] : Starting activity...
  257. [2019-01-27T09:55:38.032Z] INFO [2861] - [Initialization/PreInitStage0/PreInitHook/31_nginx_start.sh] : Completed activity. Result:
  258. ++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
  259. + EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
  260. + mkdir -p /var/log/nginx
  261. + '[' -d /etc/healthd ']'
  262. + mkdir -p /var/log/nginx/healthd
  263. + ln -sf /opt/elasticbeanstalk/support/conf/webapp_healthd.conf /etc/nginx/conf.d/
  264. + chown -R nginx:nginx /var/log/nginx
  265. + SET_LIMIT_SH=/etc/elasticbeanstalk/set-ulimit.sh
  266. + grep -q /etc/elasticbeanstalk/set-ulimit.sh
  267. + cat /etc/sysconfig/nginx
  268. + cat
  269. + service nginx start
  270. Starting nginx: nginx: [warn] conflicting server name "localhost" on 0.0.0.0:80, ignored
  271. [ OK ]
  272. [2019-01-27T09:55:38.033Z] INFO [2861] - [Initialization/PreInitStage0/PreInitHook/32_puma_upstart.sh] : Starting activity...
  273. [2019-01-27T09:55:38.128Z] INFO [2861] - [Initialization/PreInitStage0/PreInitHook/32_puma_upstart.sh] : Completed activity. Result:
  274. ++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
  275. + EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
  276. + ln -sf /opt/elasticbeanstalk/support/conf/puma.conf /etc/init/
  277. + initctl reload-configuration
  278. [2019-01-27T09:55:38.128Z] INFO [2861] - [Initialization/PreInitStage0/PreInitHook] : Completed activity. Result:
  279. Successfully execute hooks in directory /opt/elasticbeanstalk/hooks/preinit.
  280. [2019-01-27T09:55:38.128Z] INFO [2861] - [Initialization/PreInitStage0] : Completed activity. Result:
  281. Initialization - Command CMD-PreInit stage 0 completed
  282. [2019-01-27T09:55:38.128Z] INFO [2861] - [Initialization/AddonsAfter] : Starting activity...
  283. [2019-01-27T09:55:38.128Z] INFO [2861] - [Initialization/AddonsAfter] : Completed activity.
  284. [2019-01-27T09:55:38.128Z] INFO [2861] - [Initialization] : Completed activity. Result:
  285. Initialization - Command CMD-PreInit succeeded
  286. [2019-01-27T09:55:38.311Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12] : Starting activity...
  287. [2019-01-27T09:55:38.311Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12/AddonsBefore] : Starting activity...
  288. [2019-01-27T09:55:38.311Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12/AddonsBefore/ConfigCWLAgent] : Starting activity...
  289. [2019-01-27T09:55:38.311Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12/AddonsBefore/ConfigCWLAgent/10-config.sh] : Starting activity...
  290. [2019-01-27T09:55:38.430Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12/AddonsBefore/ConfigCWLAgent/10-config.sh] : Completed activity. Result:
  291. Log streaming option setting is not specified, ignore cloudwatch logs setup.
  292.  
  293. Disabled log streaming.
  294. [2019-01-27T09:55:38.430Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12/AddonsBefore/ConfigCWLAgent] : Completed activity. Result:
  295. Successfully execute hooks in directory /opt/elasticbeanstalk/addons/logstreaming/hooks/config.
  296. [2019-01-27T09:55:38.430Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12/AddonsBefore] : Completed activity.
  297. [2019-01-27T09:55:38.430Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12/StartupStage0] : Starting activity...
  298. [2019-01-27T09:55:38.430Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12/StartupStage0/HealthdLogRotation] : Starting activity...
  299. [2019-01-27T09:55:38.435Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12/StartupStage0/HealthdLogRotation] : Completed activity. Result:
  300. ["/etc/cron.hourly/cron.logrotate.elasticbeanstalk.healthd.conf"]
  301. [2019-01-27T09:55:38.435Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12/StartupStage0/HealthdHTTPDLogging] : Starting activity...
  302. [2019-01-27T09:55:38.435Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12/StartupStage0/HealthdHTTPDLogging] : Completed activity.
  303. [2019-01-27T09:55:38.435Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12/StartupStage0/HealthdNginxLogging] : Starting activity...
  304. [2019-01-27T09:55:38.435Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12/StartupStage0/HealthdNginxLogging] : Completed activity.
  305. [2019-01-27T09:55:38.435Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12/StartupStage0/EbExtensionPreBuild] : Starting activity...
  306. [2019-01-27T09:55:38.833Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12/StartupStage0/EbExtensionPreBuild/Infra-EmbeddedPreBuild] : Starting activity...
  307. [2019-01-27T09:55:38.836Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12/StartupStage0/EbExtensionPreBuild/Infra-EmbeddedPreBuild/prebuild_0_test] : Starting activity...
  308. [2019-01-27T09:55:40.068Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12/StartupStage0/EbExtensionPreBuild/Infra-EmbeddedPreBuild/prebuild_0_test/yum install git] : Starting activity...
  309. [2019-01-27T09:55:41.699Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12/StartupStage0/EbExtensionPreBuild/Infra-EmbeddedPreBuild/prebuild_0_test/yum install git] : Completed activity. Result:
  310. Loaded plugins: priorities, update-motd, upgrade-helper
  311. Resolving Dependencies
  312. --> Running transaction check
  313. ---> Package git.x86_64 0:2.14.5-1.60.amzn1 will be installed
  314. --> Processing Dependency: perl-Git = 2.14.5-1.60.amzn1 for package: git-2.14.5-1.60.amzn1.x86_64
  315. --> Processing Dependency: perl(Term::ReadKey) for package: git-2.14.5-1.60.amzn1.x86_64
  316. --> Processing Dependency: perl(Git::I18N) for package: git-2.14.5-1.60.amzn1.x86_64
  317. --> Processing Dependency: perl(Git) for package: git-2.14.5-1.60.amzn1.x86_64
  318. --> Processing Dependency: perl(Error) for package: git-2.14.5-1.60.amzn1.x86_64
  319. --> Running transaction check
  320. ---> Package perl-Error.noarch 1:0.17020-2.9.amzn1 will be installed
  321. ---> Package perl-Git.noarch 0:2.14.5-1.60.amzn1 will be installed
  322. ---> Package perl-TermReadKey.x86_64 0:2.30-20.9.amzn1 will be installed
  323. --> Finished Dependency Resolution
  324.  
  325. Dependencies Resolved
  326.  
  327. ================================================================================
  328. Package Arch Version Repository Size
  329. ================================================================================
  330. Installing:
  331. git x86_64 2.14.5-1.60.amzn1 amzn-updates 12 M
  332. Installing for dependencies:
  333. perl-Error noarch 1:0.17020-2.9.amzn1 amzn-main 33 k
  334. perl-Git noarch 2.14.5-1.60.amzn1 amzn-updates 69 k
  335. perl-TermReadKey x86_64 2.30-20.9.amzn1 amzn-main 33 k
  336.  
  337. Transaction Summary
  338. ================================================================================
  339. Install 1 Package (+3 Dependent packages)
  340.  
  341. Total download size: 12 M
  342. Installed size: 29 M
  343. Downloading packages:
  344. --------------------------------------------------------------------------------
  345. Total 23 MB/s | 12 MB 00:00
  346. Running transaction check
  347. Running transaction test
  348. Transaction test succeeded
  349. Running transaction
  350. Installing : 1:perl-Error-0.17020-2.9.amzn1.noarch 1/4
  351. Installing : perl-TermReadKey-2.30-20.9.amzn1.x86_64 2/4
  352. Installing : perl-Git-2.14.5-1.60.amzn1.noarch 3/4
  353. Installing : git-2.14.5-1.60.amzn1.x86_64 4/4
  354. Verifying : git-2.14.5-1.60.amzn1.x86_64 1/4
  355. Verifying : 1:perl-Error-0.17020-2.9.amzn1.noarch 2/4
  356. Verifying : perl-Git-2.14.5-1.60.amzn1.noarch 3/4
  357. Verifying : perl-TermReadKey-2.30-20.9.amzn1.x86_64 4/4
  358.  
  359. Installed:
  360. git.x86_64 0:2.14.5-1.60.amzn1
  361.  
  362. Dependency Installed:
  363. perl-Error.noarch 1:0.17020-2.9.amzn1 perl-Git.noarch 0:2.14.5-1.60.amzn1
  364. perl-TermReadKey.x86_64 0:2.30-20.9.amzn1
  365.  
  366. Complete!
  367.  
  368. [2019-01-27T09:55:41.699Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12/StartupStage0/EbExtensionPreBuild/Infra-EmbeddedPreBuild/prebuild_0_test] : Completed activity.
  369. [2019-01-27T09:55:41.699Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12/StartupStage0/EbExtensionPreBuild/Infra-EmbeddedPreBuild] : Completed activity.
  370. [2019-01-27T09:55:41.720Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12/StartupStage0/EbExtensionPreBuild] : Completed activity.
  371. [2019-01-27T09:55:41.720Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12/StartupStage0/AppDeployPreHook] : Starting activity...
  372. [2019-01-27T09:55:41.721Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12/StartupStage0/AppDeployPreHook/01_configure_xray.sh] : Starting activity...
  373. [2019-01-27T09:55:41.826Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12/StartupStage0/AppDeployPreHook/01_configure_xray.sh] : Completed activity.
  374. [2019-01-27T09:55:41.826Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12/StartupStage0/AppDeployPreHook/01_unzip.rb] : Starting activity...
  375. [2019-01-27T09:55:42.373Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12/StartupStage0/AppDeployPreHook/01_unzip.rb] : Completed activity.
  376. [2019-01-27T09:55:42.373Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12/StartupStage0/AppDeployPreHook/02_setup_envvars.sh] : Starting activity...
  377. [2019-01-27T09:55:42.596Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12/StartupStage0/AppDeployPreHook/02_setup_envvars.sh] : Completed activity. Result:
  378. ++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
  379. + EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
  380. + /opt/elasticbeanstalk/support/export_envvars
  381. [2019-01-27T09:55:42.596Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12/StartupStage0/AppDeployPreHook/10_bundle_install.sh] : Starting activity...
  382. [2019-01-27T09:56:57.861Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12/StartupStage0/AppDeployPreHook/10_bundle_install.sh] : Completed activity. Result:
  383. ++ /opt/elasticbeanstalk/bin/get-config container -k script_dir
  384. + EB_SCRIPT_DIR=/opt/elasticbeanstalk/support/scripts
  385. ++ /opt/elasticbeanstalk/bin/get-config container -k app_staging_dir
  386. + EB_APP_STAGING_DIR=/var/app/ondeck
  387. ++ /opt/elasticbeanstalk/bin/get-config container -k app_user
  388. + EB_APP_USER=webapp
  389. ++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
  390. + EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
  391. + . /opt/elasticbeanstalk/support/envvars-wrapper.sh
  392. +++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
  393. ++ EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
  394. ++ set +x
  395. + . /opt/elasticbeanstalk/support/scripts/use-app-ruby.sh
  396. ++ . /usr/local/share/chruby/chruby.sh
  397. +++ CHRUBY_VERSION=0.3.9
  398. +++ RUBIES=()
  399. +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
  400. +++ [[ -d /opt/rubies ]]
  401. ++++ ls -A /opt/rubies
  402. +++ [[ -n ruby-1.9.3-p551
  403. ruby-2.0.0-p648
  404. ruby-2.1.10
  405. ruby-2.2.10
  406. ruby-2.3.8
  407. ruby-2.4.5
  408. ruby-2.5.3
  409. ruby-2.6.0
  410. ruby-current ]]
  411. +++ RUBIES+=("$dir"/*)
  412. +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
  413. +++ [[ -d /.rubies ]]
  414. +++ unset dir
  415. +++ cat /etc/elasticbeanstalk/.ruby_version
  416. ++ chruby 2.4.5
  417. ++ case "$1" in
  418. ++ local dir match
  419. ++ for dir in '"${RUBIES[@]}"'
  420. ++ dir=/opt/rubies/ruby-1.9.3-p551
  421. ++ case "${dir##*/}" in
  422. ++ for dir in '"${RUBIES[@]}"'
  423. ++ dir=/opt/rubies/ruby-2.0.0-p648
  424. ++ case "${dir##*/}" in
  425. ++ for dir in '"${RUBIES[@]}"'
  426. ++ dir=/opt/rubies/ruby-2.1.10
  427. ++ case "${dir##*/}" in
  428. ++ for dir in '"${RUBIES[@]}"'
  429. ++ dir=/opt/rubies/ruby-2.2.10
  430. ++ case "${dir##*/}" in
  431. ++ for dir in '"${RUBIES[@]}"'
  432. ++ dir=/opt/rubies/ruby-2.3.8
  433. ++ case "${dir##*/}" in
  434. ++ for dir in '"${RUBIES[@]}"'
  435. ++ dir=/opt/rubies/ruby-2.4.5
  436. ++ case "${dir##*/}" in
  437. ++ match=/opt/rubies/ruby-2.4.5
  438. ++ for dir in '"${RUBIES[@]}"'
  439. ++ dir=/opt/rubies/ruby-2.5.3
  440. ++ case "${dir##*/}" in
  441. ++ for dir in '"${RUBIES[@]}"'
  442. ++ dir=/opt/rubies/ruby-2.6.0
  443. ++ case "${dir##*/}" in
  444. ++ for dir in '"${RUBIES[@]}"'
  445. ++ dir=/opt/rubies/ruby-current
  446. ++ case "${dir##*/}" in
  447. ++ [[ -z /opt/rubies/ruby-2.4.5 ]]
  448. ++ shift
  449. ++ chruby_use /opt/rubies/ruby-2.4.5 ''
  450. ++ [[ ! -x /opt/rubies/ruby-2.4.5/bin/ruby ]]
  451. ++ [[ -n '' ]]
  452. ++ export RUBY_ROOT=/opt/rubies/ruby-2.4.5
  453. ++ RUBY_ROOT=/opt/rubies/ruby-2.4.5
  454. ++ export RUBYOPT=
  455. ++ RUBYOPT=
  456. ++ export PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/opt/elasticbeanstalk/lib/ruby/bin:/sbin:/usr/sbin:/bin:/usr/bin
  457. ++ PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/opt/elasticbeanstalk/lib/ruby/bin:/sbin:/usr/sbin:/bin:/usr/bin
  458. +++ /opt/rubies/ruby-2.4.5/bin/ruby -
  459. ++ eval 'export RUBY_ENGINE=ruby;
  460. export RUBY_VERSION=2.4.5;
  461. export GEM_ROOT="/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0";'
  462. +++ export RUBY_ENGINE=ruby
  463. +++ RUBY_ENGINE=ruby
  464. +++ export RUBY_VERSION=2.4.5
  465. +++ RUBY_VERSION=2.4.5
  466. +++ export GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
  467. +++ GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
  468. ++ (( 0 != 0 ))
  469. + cd /var/app/ondeck
  470. + '[' -f Gemfile ']'
  471. + echo 'running '\''bundle install'\'' with Gemfile:'
  472. running 'bundle install' with Gemfile:
  473. + cat Gemfile
  474. source 'https://rubygems.org'
  475.  
  476.  
  477. # Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
  478. gem 'rails', '~> 5.0.0', '>= 5.0.0.1'
  479.  
  480.  
  481. # sqlite3 fails on heroku
  482. # group :development do
  483. # gem 'sqlite3' #gem to use in development environment
  484. # end
  485. # gem 'sqlite3'
  486. # group :production do
  487. gem 'pg', '~> 0.18' #gem to use in production environment
  488. # end
  489. gem 'will_paginate', '~> 3.1.0'
  490. gem 'simple_form'
  491. gem 'bootstrap-sass'
  492. gem 'devise'
  493. gem 'nested_scaffold'
  494. # Use Puma as the app server
  495. gem 'puma', '~> 3.0'
  496. # Use SCSS for stylesheets
  497. gem 'sass-rails', '~> 5.0'
  498. # Use Uglifier as compressor for JavaScript assets
  499. gem 'uglifier', '>= 1.3.0'
  500. # Use CoffeeScript for .coffee assets and views
  501. gem 'coffee-rails', '~> 4.2'
  502. # See https://github.com/rails/execjs#readme for more supported runtimes
  503. # gem 'therubyracer', platforms: :ruby
  504.  
  505. # Use jquery as the JavaScript library
  506. gem 'jquery-rails'
  507. # Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks
  508. gem 'turbolinks', '~> 5'
  509. # Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
  510. gem 'jbuilder', '~> 2.5'
  511. # Use Redis adapter to run Action Cable in production
  512. # gem 'redis', '~> 3.0'
  513. # Use ActiveModel has_secure_password
  514. # gem 'bcrypt', '~> 3.1.7'
  515.  
  516. # Use Capistrano for deployment
  517. # gem 'capistrano-rails', group: :development
  518.  
  519. group :development, :test do
  520. # Call 'byebug' anywhere in the code to stop execution and get a debugger console
  521. gem 'byebug', platform: :mri
  522. end
  523.  
  524. group :development do
  525. # Access an IRB console on exception pages or by using <%= console %> anywhere in the code.
  526. gem 'web-console'
  527. end
  528.  
  529. # Windows does not include zoneinfo files, so bundle the tzinfo-data gem
  530. gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
  531.  
  532. gem 'activeadmin'
  533. + '[' -d /var/app/ondeck/vendor/cache ']'
  534. + bundle install
  535. Don't run Bundler as root. Bundler can ask for sudo if it is needed, and
  536. installing your bundle as root will break this application for all non-root
  537. users on this machine.
  538. Fetching gem metadata from https://rubygems.org/..........
  539. Fetching gem metadata from https://rubygems.org/.
  540. Resolving dependencies...
  541. Using rake 12.0.0
  542. Fetching concurrent-ruby 1.0.5
  543. Installing concurrent-ruby 1.0.5
  544. Fetching i18n 0.8.1
  545. Installing i18n 0.8.1
  546. Using minitest 5.10.1
  547. Fetching thread_safe 0.3.6
  548. Installing thread_safe 0.3.6
  549. Fetching tzinfo 1.2.3
  550. Installing tzinfo 1.2.3
  551. Fetching activesupport 5.0.2
  552. Installing activesupport 5.0.2
  553. Fetching builder 3.2.3
  554. Installing builder 3.2.3
  555. Fetching erubis 2.7.0
  556. Installing erubis 2.7.0
  557. Fetching mini_portile2 2.1.0
  558. Installing mini_portile2 2.1.0
  559. Fetching nokogiri 1.7.1
  560. Installing nokogiri 1.7.1 with native extensions
  561. Fetching rails-dom-testing 2.0.2
  562. Installing rails-dom-testing 2.0.2
  563. Fetching loofah 2.0.3
  564. Installing loofah 2.0.3
  565. Fetching rails-html-sanitizer 1.0.3
  566. Installing rails-html-sanitizer 1.0.3
  567. Fetching actionview 5.0.2
  568. Installing actionview 5.0.2
  569. Fetching rack 2.0.1
  570. Installing rack 2.0.1
  571. Fetching rack-test 0.6.3
  572. Installing rack-test 0.6.3
  573. Fetching actionpack 5.0.2
  574. Installing actionpack 5.0.2
  575. Fetching nio4r 2.0.0
  576. Installing nio4r 2.0.0 with native extensions
  577. Fetching websocket-extensions 0.1.2
  578. Installing websocket-extensions 0.1.2
  579. Fetching websocket-driver 0.6.5
  580. Installing websocket-driver 0.6.5 with native extensions
  581. Fetching actioncable 5.0.2
  582. Installing actioncable 5.0.2
  583. Fetching globalid 0.4.0
  584. Installing globalid 0.4.0
  585. Fetching activejob 5.0.2
  586. Installing activejob 5.0.2
  587. Fetching mime-types-data 3.2016.0521
  588. Installing mime-types-data 3.2016.0521
  589. Fetching mime-types 3.1
  590. Installing mime-types 3.1
  591. Fetching mail 2.6.4
  592. Installing mail 2.6.4
  593. Fetching actionmailer 5.0.2
  594. Installing actionmailer 5.0.2
  595. Fetching arbre 1.1.1
  596. Installing arbre 1.1.1
  597. Fetching sass 3.4.23
  598. Installing sass 3.4.23
  599. Fetching thor 0.19.4
  600. Installing thor 0.19.4
  601. Fetching bourbon 4.3.4
  602. Installing bourbon 4.3.4
  603. Fetching coffee-script-source 1.12.2
  604. Installing coffee-script-source 1.12.2
  605. Fetching execjs 2.7.0
  606. Installing execjs 2.7.0
  607. Fetching coffee-script 2.4.1
  608. Installing coffee-script 2.4.1
  609. Fetching method_source 0.8.2
  610. Installing method_source 0.8.2
  611. Fetching railties 5.0.2
  612. Installing railties 5.0.2
  613. Fetching coffee-rails 4.2.1
  614. Installing coffee-rails 4.2.1
  615. Fetching formtastic 3.1.5
  616. Installing formtastic 3.1.5
  617. Fetching formtastic_i18n 0.6.0
  618. Installing formtastic_i18n 0.6.0
  619. Fetching has_scope 0.7.1
  620. Installing has_scope 0.7.1
  621. Fetching responders 2.3.0
  622. Installing responders 2.3.0
  623. Fetching inherited_resources 1.7.2
  624. Installing inherited_resources 1.7.2
  625. Fetching jquery-rails 4.3.1
  626. Installing jquery-rails 4.3.1
  627. Fetching jquery-ui-rails 6.0.1
  628. Installing jquery-ui-rails 6.0.1
  629. Fetching kaminari-core 1.0.1
  630. Installing kaminari-core 1.0.1
  631. Fetching kaminari-actionview 1.0.1
  632. Installing kaminari-actionview 1.0.1
  633. Fetching activemodel 5.0.2
  634. Installing activemodel 5.0.2
  635. Fetching arel 7.1.4
  636. Installing arel 7.1.4
  637. Fetching activerecord 5.0.2
  638. Installing activerecord 5.0.2
  639. Fetching kaminari-activerecord 1.0.1
  640. Installing kaminari-activerecord 1.0.1
  641. Fetching kaminari 1.0.1
  642. Installing kaminari 1.0.1
  643. Fetching polyamorous 1.3.1
  644. Installing polyamorous 1.3.1
  645. Fetching ransack 1.8.2
  646. Installing ransack 1.8.2
  647. Fetching sprockets 3.7.1
  648. Installing sprockets 3.7.1
  649. Fetching sprockets-rails 3.2.0
  650. Installing sprockets-rails 3.2.0
  651. Fetching tilt 2.0.7
  652. Installing tilt 2.0.7
  653. Fetching sass-rails 5.0.6
  654. Installing sass-rails 5.0.6
  655. Fetching activeadmin 1.0.0
  656. Installing activeadmin 1.0.0
  657. Fetching autoprefixer-rails 6.7.7.2
  658. Installing autoprefixer-rails 6.7.7.2
  659. Fetching bcrypt 3.1.11
  660. Installing bcrypt 3.1.11 with native extensions
  661. Fetching bootstrap-sass 3.3.7
  662. Installing bootstrap-sass 3.3.7
  663. Using bundler 1.16.2
  664. Fetching orm_adapter 0.5.0
  665. Installing orm_adapter 0.5.0
  666. Fetching warden 1.2.7
  667. Installing warden 1.2.7
  668. Fetching devise 4.2.1
  669. Installing devise 4.2.1
  670. Fetching multi_json 1.12.1
  671. Installing multi_json 1.12.1
  672. Fetching jbuilder 2.6.3
  673. Installing jbuilder 2.6.3
  674. Fetching nested_scaffold 1.0.0
  675. Installing nested_scaffold 1.0.0
  676. Fetching pg 0.21.0
  677. Installing pg 0.21.0 with native extensions
  678. Fetching puma 3.8.2
  679. Installing puma 3.8.2 with native extensions
  680. Fetching rails 5.0.2
  681. Installing rails 5.0.2
  682. Fetching simple_form 3.4.0
  683. Installing simple_form 3.4.0
  684. Fetching turbolinks-source 5.0.0
  685. Installing turbolinks-source 5.0.0
  686. Fetching turbolinks 5.0.1
  687. Installing turbolinks 5.0.1
  688. Fetching uglifier 3.2.0
  689. Installing uglifier 3.2.0
  690. Fetching will_paginate 3.1.5
  691. Installing will_paginate 3.1.5
  692. Bundle complete! 18 Gemfile dependencies, 77 gems now installed.
  693. Gems in the groups test and development were not installed.
  694. Use `bundle info [gemname]` to see where a bundled gem is installed.
  695. + '[' -f Gemfile.lock ']'
  696. + echo 'encountered a Gemfile.lock, setting proper permissions'
  697. encountered a Gemfile.lock, setting proper permissions
  698. + chown webapp:webapp Gemfile.lock
  699. + '[' '' = 1 ']'
  700. [2019-01-27T09:56:57.861Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12/StartupStage0/AppDeployPreHook/11_asset_compilation.sh] : Starting activity...
  701. [2019-01-27T09:57:17.620Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12/StartupStage0/AppDeployPreHook/11_asset_compilation.sh] : Completed activity. Result:
  702. ++ /opt/elasticbeanstalk/bin/get-config container -k script_dir
  703. + EB_SCRIPT_DIR=/opt/elasticbeanstalk/support/scripts
  704. ++ /opt/elasticbeanstalk/bin/get-config container -k app_staging_dir
  705. + EB_APP_STAGING_DIR=/var/app/ondeck
  706. ++ /opt/elasticbeanstalk/bin/get-config container -k app_user
  707. + EB_APP_USER=webapp
  708. ++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
  709. + EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
  710. + . /opt/elasticbeanstalk/support/envvars-wrapper.sh
  711. +++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
  712. ++ EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
  713. ++ set +x
  714. + RAKE_TASK=assets:precompile
  715. + . /opt/elasticbeanstalk/support/scripts/use-app-ruby.sh
  716. ++ . /usr/local/share/chruby/chruby.sh
  717. +++ CHRUBY_VERSION=0.3.9
  718. +++ RUBIES=()
  719. +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
  720. +++ [[ -d /opt/rubies ]]
  721. ++++ ls -A /opt/rubies
  722. +++ [[ -n ruby-1.9.3-p551
  723. ruby-2.0.0-p648
  724. ruby-2.1.10
  725. ruby-2.2.10
  726. ruby-2.3.8
  727. ruby-2.4.5
  728. ruby-2.5.3
  729. ruby-2.6.0
  730. ruby-current ]]
  731. +++ RUBIES+=("$dir"/*)
  732. +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
  733. +++ [[ -d /.rubies ]]
  734. +++ unset dir
  735. +++ cat /etc/elasticbeanstalk/.ruby_version
  736. ++ chruby 2.4.5
  737. ++ case "$1" in
  738. ++ local dir match
  739. ++ for dir in '"${RUBIES[@]}"'
  740. ++ dir=/opt/rubies/ruby-1.9.3-p551
  741. ++ case "${dir##*/}" in
  742. ++ for dir in '"${RUBIES[@]}"'
  743. ++ dir=/opt/rubies/ruby-2.0.0-p648
  744. ++ case "${dir##*/}" in
  745. ++ for dir in '"${RUBIES[@]}"'
  746. ++ dir=/opt/rubies/ruby-2.1.10
  747. ++ case "${dir##*/}" in
  748. ++ for dir in '"${RUBIES[@]}"'
  749. ++ dir=/opt/rubies/ruby-2.2.10
  750. ++ case "${dir##*/}" in
  751. ++ for dir in '"${RUBIES[@]}"'
  752. ++ dir=/opt/rubies/ruby-2.3.8
  753. ++ case "${dir##*/}" in
  754. ++ for dir in '"${RUBIES[@]}"'
  755. ++ dir=/opt/rubies/ruby-2.4.5
  756. ++ case "${dir##*/}" in
  757. ++ match=/opt/rubies/ruby-2.4.5
  758. ++ for dir in '"${RUBIES[@]}"'
  759. ++ dir=/opt/rubies/ruby-2.5.3
  760. ++ case "${dir##*/}" in
  761. ++ for dir in '"${RUBIES[@]}"'
  762. ++ dir=/opt/rubies/ruby-2.6.0
  763. ++ case "${dir##*/}" in
  764. ++ for dir in '"${RUBIES[@]}"'
  765. ++ dir=/opt/rubies/ruby-current
  766. ++ case "${dir##*/}" in
  767. ++ [[ -z /opt/rubies/ruby-2.4.5 ]]
  768. ++ shift
  769. ++ chruby_use /opt/rubies/ruby-2.4.5 ''
  770. ++ [[ ! -x /opt/rubies/ruby-2.4.5/bin/ruby ]]
  771. ++ [[ -n '' ]]
  772. ++ export RUBY_ROOT=/opt/rubies/ruby-2.4.5
  773. ++ RUBY_ROOT=/opt/rubies/ruby-2.4.5
  774. ++ export RUBYOPT=
  775. ++ RUBYOPT=
  776. ++ export PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/opt/elasticbeanstalk/lib/ruby/bin:/sbin:/usr/sbin:/bin:/usr/bin
  777. ++ PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/opt/elasticbeanstalk/lib/ruby/bin:/sbin:/usr/sbin:/bin:/usr/bin
  778. +++ /opt/rubies/ruby-2.4.5/bin/ruby -
  779. ++ eval 'export RUBY_ENGINE=ruby;
  780. export RUBY_VERSION=2.4.5;
  781. export GEM_ROOT="/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0";'
  782. +++ export RUBY_ENGINE=ruby
  783. +++ RUBY_ENGINE=ruby
  784. +++ export RUBY_VERSION=2.4.5
  785. +++ RUBY_VERSION=2.4.5
  786. +++ export GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
  787. +++ GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
  788. ++ (( 0 != 0 ))
  789. + cd /var/app/ondeck
  790. + su -s /bin/bash -c 'bundle exec /opt/elasticbeanstalk/support/scripts/check-for-rake-task.rb assets:precompile' webapp
  791. `/home/webapp` is not a directory.
  792. Bundler will use `/tmp/bundler/home/webapp' as your home directory temporarily.
  793. + '[' false == true ']'
  794. + su -s /bin/bash -c 'bundle exec rake assets:precompile' webapp
  795. `/home/webapp` is not a directory.
  796. Bundler will use `/tmp/bundler/home/webapp' as your home directory temporarily.
  797. DEPRECATION WARNING: `config.static_cache_control` is deprecated and will be removed in Rails 5.1.
  798. Please use
  799. `config.public_file_server.headers = { 'Cache-Control' => 'public, max-age=2592000' }`
  800. instead.
  801. (called from block in <top (required)> at /var/app/ondeck/config/environments/production.rb:28)
  802. intializing git
  803. error: could not lock config file /home/webapp/.gitconfig: No such file or directory
  804. sh: line 0: cd: /home/webapp: No such file or directory
  805. I, [2019-01-27T09:57:04.021307 #16020] INFO -- : Writing /var/app/ondeck/public/assets/active_admin-8f4a05166e4e3f3733b924879539581f823c7895202c31a69559fb0bd8ead8ff.css
  806. I, [2019-01-27T09:57:04.021744 #16020] INFO -- : Writing /var/app/ondeck/public/assets/active_admin-8f4a05166e4e3f3733b924879539581f823c7895202c31a69559fb0bd8ead8ff.css.gz
  807. I, [2019-01-27T09:57:04.022025 #16020] INFO -- : Writing /var/app/ondeck/public/assets/active_admin/nested_menu_arrow-15084d93c65c1964d7077700ea748bd2d70cfa2d4c19707c58a9c64e232dd442.gif
  808. I, [2019-01-27T09:57:04.022332 #16020] INFO -- : Writing /var/app/ondeck/public/assets/active_admin/nested_menu_arrow_dark-7c43b8e0a5f8823875f49a093c9d7a6b374f885b6f9cc248ae9cd7e6e9b29034.gif
  809. I, [2019-01-27T09:57:04.022627 #16020] INFO -- : Writing /var/app/ondeck/public/assets/active_admin/datepicker/datepicker-input-icon-d9c2bb73769af777c8a71720d29741f3a499aebd5a043e9a119bd0d9597aed47.png
  810. I, [2019-01-27T09:57:04.022893 #16020] INFO -- : Writing /var/app/ondeck/public/assets/active_admin/orderable-29374dbb55b0012d78a37c614d573bb3474f0779849b478a147d0f1845ca6617.png
  811. I, [2019-01-27T09:57:04.155085 #16020] INFO -- : Writing /var/app/ondeck/public/assets/active_admin/print-87c5ffc1d869a919123bcc1dc5ec51b20bc79fd9aeab9eed77e3438c6acd4f68.css
  812. I, [2019-01-27T09:57:04.155455 #16020] INFO -- : Writing /var/app/ondeck/public/assets/active_admin/print-87c5ffc1d869a919123bcc1dc5ec51b20bc79fd9aeab9eed77e3438c6acd4f68.css.gz
  813. I, [2019-01-27T09:57:11.381637 #16020] INFO -- : Writing /var/app/ondeck/public/assets/active_admin-12a74b3ffff1babd45eaca3fef9dce6596642a2fc91eb7d5e03d69c2b8c76570.js
  814. I, [2019-01-27T09:57:11.382167 #16020] INFO -- : Writing /var/app/ondeck/public/assets/active_admin-12a74b3ffff1babd45eaca3fef9dce6596642a2fc91eb7d5e03d69c2b8c76570.js.gz
  815. I, [2019-01-27T09:57:11.388709 #16020] INFO -- : Writing /var/app/ondeck/public/assets/danger-869dd8b0616e1a5b646dc898db2a5d6428f45fe14a90fa6d0c7130f64d886c48.png
  816. I, [2019-01-27T09:57:11.393381 #16020] INFO -- : Writing /var/app/ondeck/public/assets/dark-607bed84e53ccb497978bd3ae9e51d4b57de94e954da4e8e1ec5b51a78d8898e.png
  817. I, [2019-01-27T09:57:11.397277 #16020] INFO -- : Writing /var/app/ondeck/public/assets/do-e798277592b8fde73e6568cdde6687220f6d2a83f53250c561edf11619d5b1c1.jpg
  818. I, [2019-01-27T09:57:11.400776 #16020] INFO -- : Writing /var/app/ondeck/public/assets/favicon-21c44bf091fb9557f8a4527913b0254924fc136d6e71dcee1676b7f37c8175ef.ico
  819. I, [2019-01-27T09:57:11.403241 #16020] INFO -- : Writing /var/app/ondeck/public/assets/favicon-21c44bf091fb9557f8a4527913b0254924fc136d6e71dcee1676b7f37c8175ef.ico.gz
  820. I, [2019-01-27T09:57:11.406290 #16020] INFO -- : Writing /var/app/ondeck/public/assets/home-f3281914e0ac5072115e9ba6f458cec56ad002cc5e65ca75988afc86af858e01.jpg
  821. I, [2019-01-27T09:57:11.409046 #16020] INFO -- : Writing /var/app/ondeck/public/assets/info-967cdd33af0671563a0e72bed22f1cddb95a138e241dffbd5013750360bf7113.png
  822. I, [2019-01-27T09:57:11.413135 #16020] INFO -- : Writing /var/app/ondeck/public/assets/primary-093ae3386f858ff56855e5c8a09137d4ce87c2c7aa2b152af81eac5d7667a98d.png
  823. I, [2019-01-27T09:57:11.417218 #16020] INFO -- : Writing /var/app/ondeck/public/assets/secondary-1c1a37a441b0e6f6ca2bfb1435df8f1160a0e4ec1db5798a5e5a72374172942c.png
  824. I, [2019-01-27T09:57:11.421284 #16020] INFO -- : Writing /var/app/ondeck/public/assets/success-5a1b362ddb5e5ed6131beffc575d91a3615864b678d24706bff24b055b6a594c.png
  825. I, [2019-01-27T09:57:11.424762 #16020] INFO -- : Writing /var/app/ondeck/public/assets/warning-a3e35927fa71a99455166de5b62a03122ffb5287e33c9ed2c42532622f543fa5.png
  826. I, [2019-01-27T09:57:14.876032 #16020] INFO -- : Writing /var/app/ondeck/public/assets/application-a4d1530f7a05b9cfdfa450e5267e5ceb57d855a8ec9b934785f2ba95a8556c6c.js
  827. I, [2019-01-27T09:57:14.876468 #16020] INFO -- : Writing /var/app/ondeck/public/assets/application-a4d1530f7a05b9cfdfa450e5267e5ceb57d855a8ec9b934785f2ba95a8556c6c.js.gz
  828. I, [2019-01-27T09:57:17.565834 #16020] INFO -- : Writing /var/app/ondeck/public/assets/application-da22e659ddaed5260aa445b696e4e8945e554c6c97884a0be799b74eb511ccf3.css
  829. I, [2019-01-27T09:57:17.566244 #16020] INFO -- : Writing /var/app/ondeck/public/assets/application-da22e659ddaed5260aa445b696e4e8945e554c6c97884a0be799b74eb511ccf3.css.gz
  830. [2019-01-27T09:57:17.621Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12/StartupStage0/AppDeployPreHook/12_db_migration.sh] : Starting activity...
  831. [2019-01-27T09:57:19.647Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12/StartupStage0/AppDeployPreHook/12_db_migration.sh] : Completed activity. Result:
  832. ++ /opt/elasticbeanstalk/bin/get-config container -k script_dir
  833. + EB_SCRIPT_DIR=/opt/elasticbeanstalk/support/scripts
  834. ++ /opt/elasticbeanstalk/bin/get-config container -k app_staging_dir
  835. + EB_APP_STAGING_DIR=/var/app/ondeck
  836. ++ /opt/elasticbeanstalk/bin/get-config container -k app_user
  837. + EB_APP_USER=webapp
  838. ++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
  839. + EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
  840. + . /opt/elasticbeanstalk/support/envvars-wrapper.sh
  841. +++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
  842. ++ EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
  843. ++ set +x
  844. + RAKE_TASK=db:migrate
  845. + . /opt/elasticbeanstalk/support/scripts/use-app-ruby.sh
  846. ++ . /usr/local/share/chruby/chruby.sh
  847. +++ CHRUBY_VERSION=0.3.9
  848. +++ RUBIES=()
  849. +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
  850. +++ [[ -d /opt/rubies ]]
  851. ++++ ls -A /opt/rubies
  852. +++ [[ -n ruby-1.9.3-p551
  853. ruby-2.0.0-p648
  854. ruby-2.1.10
  855. ruby-2.2.10
  856. ruby-2.3.8
  857. ruby-2.4.5
  858. ruby-2.5.3
  859. ruby-2.6.0
  860. ruby-current ]]
  861. +++ RUBIES+=("$dir"/*)
  862. +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
  863. +++ [[ -d /.rubies ]]
  864. +++ unset dir
  865. +++ cat /etc/elasticbeanstalk/.ruby_version
  866. ++ chruby 2.4.5
  867. ++ case "$1" in
  868. ++ local dir match
  869. ++ for dir in '"${RUBIES[@]}"'
  870. ++ dir=/opt/rubies/ruby-1.9.3-p551
  871. ++ case "${dir##*/}" in
  872. ++ for dir in '"${RUBIES[@]}"'
  873. ++ dir=/opt/rubies/ruby-2.0.0-p648
  874. ++ case "${dir##*/}" in
  875. ++ for dir in '"${RUBIES[@]}"'
  876. ++ dir=/opt/rubies/ruby-2.1.10
  877. ++ case "${dir##*/}" in
  878. ++ for dir in '"${RUBIES[@]}"'
  879. ++ dir=/opt/rubies/ruby-2.2.10
  880. ++ case "${dir##*/}" in
  881. ++ for dir in '"${RUBIES[@]}"'
  882. ++ dir=/opt/rubies/ruby-2.3.8
  883. ++ case "${dir##*/}" in
  884. ++ for dir in '"${RUBIES[@]}"'
  885. ++ dir=/opt/rubies/ruby-2.4.5
  886. ++ case "${dir##*/}" in
  887. ++ match=/opt/rubies/ruby-2.4.5
  888. ++ for dir in '"${RUBIES[@]}"'
  889. ++ dir=/opt/rubies/ruby-2.5.3
  890. ++ case "${dir##*/}" in
  891. ++ for dir in '"${RUBIES[@]}"'
  892. ++ dir=/opt/rubies/ruby-2.6.0
  893. ++ case "${dir##*/}" in
  894. ++ for dir in '"${RUBIES[@]}"'
  895. ++ dir=/opt/rubies/ruby-current
  896. ++ case "${dir##*/}" in
  897. ++ [[ -z /opt/rubies/ruby-2.4.5 ]]
  898. ++ shift
  899. ++ chruby_use /opt/rubies/ruby-2.4.5 ''
  900. ++ [[ ! -x /opt/rubies/ruby-2.4.5/bin/ruby ]]
  901. ++ [[ -n '' ]]
  902. ++ export RUBY_ROOT=/opt/rubies/ruby-2.4.5
  903. ++ RUBY_ROOT=/opt/rubies/ruby-2.4.5
  904. ++ export RUBYOPT=
  905. ++ RUBYOPT=
  906. ++ export PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/opt/elasticbeanstalk/lib/ruby/bin:/sbin:/usr/sbin:/bin:/usr/bin
  907. ++ PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/opt/elasticbeanstalk/lib/ruby/bin:/sbin:/usr/sbin:/bin:/usr/bin
  908. +++ /opt/rubies/ruby-2.4.5/bin/ruby -
  909. ++ eval 'export RUBY_ENGINE=ruby;
  910. export RUBY_VERSION=2.4.5;
  911. export GEM_ROOT="/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0";'
  912. +++ export RUBY_ENGINE=ruby
  913. +++ RUBY_ENGINE=ruby
  914. +++ export RUBY_VERSION=2.4.5
  915. +++ RUBY_VERSION=2.4.5
  916. +++ export GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
  917. +++ GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
  918. ++ (( 0 != 0 ))
  919. + cd /var/app/ondeck
  920. + su -s /bin/bash -c 'bundle exec /opt/elasticbeanstalk/support/scripts/check-for-rake-task.rb db:migrate' webapp
  921. `/home/webapp` is not a directory.
  922. Bundler will use `/tmp/bundler/home/webapp' as your home directory temporarily.
  923. + '[' false = true ']'
  924. + su -s /bin/bash -c 'leader_only bundle exec rake db:migrate' webapp
  925. [2019-01-27T09:57:19.647Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12/StartupStage0/AppDeployPreHook/13_test_for_puma.sh] : Starting activity...
  926. [2019-01-27T09:57:20.150Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12/StartupStage0/AppDeployPreHook/13_test_for_puma.sh] : Completed activity. Result:
  927. ++ /opt/elasticbeanstalk/bin/get-config container -k script_dir
  928. + EB_SCRIPT_DIR=/opt/elasticbeanstalk/support/scripts
  929. ++ /opt/elasticbeanstalk/bin/get-config container -k app_staging_dir
  930. + EB_APP_STAGING_DIR=/var/app/ondeck
  931. ++ /opt/elasticbeanstalk/bin/get-config container -k app_user
  932. + EB_APP_USER=webapp
  933. + . /opt/elasticbeanstalk/support/scripts/use-app-ruby.sh
  934. ++ . /usr/local/share/chruby/chruby.sh
  935. +++ CHRUBY_VERSION=0.3.9
  936. +++ RUBIES=()
  937. +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
  938. +++ [[ -d /opt/rubies ]]
  939. ++++ ls -A /opt/rubies
  940. +++ [[ -n ruby-1.9.3-p551
  941. ruby-2.0.0-p648
  942. ruby-2.1.10
  943. ruby-2.2.10
  944. ruby-2.3.8
  945. ruby-2.4.5
  946. ruby-2.5.3
  947. ruby-2.6.0
  948. ruby-current ]]
  949. +++ RUBIES+=("$dir"/*)
  950. +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
  951. +++ [[ -d /.rubies ]]
  952. +++ unset dir
  953. +++ cat /etc/elasticbeanstalk/.ruby_version
  954. ++ chruby 2.4.5
  955. ++ case "$1" in
  956. ++ local dir match
  957. ++ for dir in '"${RUBIES[@]}"'
  958. ++ dir=/opt/rubies/ruby-1.9.3-p551
  959. ++ case "${dir##*/}" in
  960. ++ for dir in '"${RUBIES[@]}"'
  961. ++ dir=/opt/rubies/ruby-2.0.0-p648
  962. ++ case "${dir##*/}" in
  963. ++ for dir in '"${RUBIES[@]}"'
  964. ++ dir=/opt/rubies/ruby-2.1.10
  965. ++ case "${dir##*/}" in
  966. ++ for dir in '"${RUBIES[@]}"'
  967. ++ dir=/opt/rubies/ruby-2.2.10
  968. ++ case "${dir##*/}" in
  969. ++ for dir in '"${RUBIES[@]}"'
  970. ++ dir=/opt/rubies/ruby-2.3.8
  971. ++ case "${dir##*/}" in
  972. ++ for dir in '"${RUBIES[@]}"'
  973. ++ dir=/opt/rubies/ruby-2.4.5
  974. ++ case "${dir##*/}" in
  975. ++ match=/opt/rubies/ruby-2.4.5
  976. ++ for dir in '"${RUBIES[@]}"'
  977. ++ dir=/opt/rubies/ruby-2.5.3
  978. ++ case "${dir##*/}" in
  979. ++ for dir in '"${RUBIES[@]}"'
  980. ++ dir=/opt/rubies/ruby-2.6.0
  981. ++ case "${dir##*/}" in
  982. ++ for dir in '"${RUBIES[@]}"'
  983. ++ dir=/opt/rubies/ruby-current
  984. ++ case "${dir##*/}" in
  985. ++ [[ -z /opt/rubies/ruby-2.4.5 ]]
  986. ++ shift
  987. ++ chruby_use /opt/rubies/ruby-2.4.5 ''
  988. ++ [[ ! -x /opt/rubies/ruby-2.4.5/bin/ruby ]]
  989. ++ [[ -n '' ]]
  990. ++ export RUBY_ROOT=/opt/rubies/ruby-2.4.5
  991. ++ RUBY_ROOT=/opt/rubies/ruby-2.4.5
  992. ++ export RUBYOPT=
  993. ++ RUBYOPT=
  994. ++ export PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/opt/elasticbeanstalk/lib/ruby/bin:/sbin:/usr/sbin:/bin:/usr/bin
  995. ++ PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/opt/elasticbeanstalk/lib/ruby/bin:/sbin:/usr/sbin:/bin:/usr/bin
  996. +++ /opt/rubies/ruby-2.4.5/bin/ruby -
  997. ++ eval 'export RUBY_ENGINE=ruby;
  998. export RUBY_VERSION=2.4.5;
  999. export GEM_ROOT="/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0";'
  1000. +++ export RUBY_ENGINE=ruby
  1001. +++ RUBY_ENGINE=ruby
  1002. +++ export RUBY_VERSION=2.4.5
  1003. +++ RUBY_VERSION=2.4.5
  1004. +++ export GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
  1005. +++ GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
  1006. ++ (( 0 != 0 ))
  1007. + /opt/elasticbeanstalk/support/scripts/check-for-gem.rb puma
  1008. + echo true
  1009. [2019-01-27T09:57:20.154Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12/StartupStage0/AppDeployPreHook] : Completed activity. Result:
  1010. Successfully execute hooks in directory /opt/elasticbeanstalk/hooks/appdeploy/pre.
  1011. [2019-01-27T09:57:20.154Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12/StartupStage0/EbExtensionPostBuild] : Starting activity...
  1012. [2019-01-27T09:57:20.512Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12/StartupStage0/EbExtensionPostBuild/Infra-EmbeddedPostBuild] : Starting activity...
  1013. [2019-01-27T09:57:20.512Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12/StartupStage0/EbExtensionPostBuild/Infra-EmbeddedPostBuild] : Completed activity.
  1014. [2019-01-27T09:57:20.527Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12/StartupStage0/EbExtensionPostBuild] : Completed activity.
  1015. [2019-01-27T09:57:20.527Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12/StartupStage0/InfraCleanEbextension] : Starting activity...
  1016. [2019-01-27T09:57:20.538Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12/StartupStage0/InfraCleanEbextension] : Completed activity. Result:
  1017. Cleaned ebextensions subdirectories from /var/app/ondeck.
  1018. [2019-01-27T09:57:20.538Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12/StartupStage0] : Completed activity. Result:
  1019. Application deployment - Command CMD-SelfStartup stage 0 completed
  1020. [2019-01-27T09:57:20.538Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12/StartupStage1] : Starting activity...
  1021. [2019-01-27T09:57:20.538Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12/StartupStage1/AppDeployEnactHook] : Starting activity...
  1022. [2019-01-27T09:57:20.539Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12/StartupStage1/AppDeployEnactHook/01_flip.sh] : Starting activity...
  1023. [2019-01-27T09:57:20.821Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12/StartupStage1/AppDeployEnactHook/01_flip.sh] : Completed activity. Result:
  1024. ++ /opt/elasticbeanstalk/bin/get-config container -k app_staging_dir
  1025. + EB_APP_STAGING_DIR=/var/app/ondeck
  1026. ++ /opt/elasticbeanstalk/bin/get-config container -k app_deploy_dir
  1027. + EB_APP_DEPLOY_DIR=/var/app/current
  1028. ++ /opt/elasticbeanstalk/bin/get-config container -k app_user
  1029. + EB_APP_USER=webapp
  1030. + '[' -d /var/app/current ']'
  1031. + mv /var/app/current /var/app/current.old
  1032. + mv /var/app/ondeck /var/app/current
  1033. + mkdir -p /var/app/current/tmp /var/app/current/public
  1034. + chown -R webapp:webapp /var/app/current/tmp /var/app/current/public
  1035. + nohup rm -rf /var/app/current.old
  1036. [2019-01-27T09:57:20.821Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12/StartupStage1/AppDeployEnactHook/01stop_xray.sh] : Starting activity...
  1037. [2019-01-27T09:57:22.935Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12/StartupStage1/AppDeployEnactHook/01stop_xray.sh] : Completed activity. Result:
  1038. Executing: if ( initctl status xray | grep start ); then initctl stop xray; fi
  1039. xray start/running, process 2278
  1040. xray stop/waiting
  1041. [2019-01-27T09:57:22.935Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12/StartupStage1/AppDeployEnactHook/02_restart_app_server.sh] : Starting activity...
  1042. [2019-01-27T09:57:22.941Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12/StartupStage1/AppDeployEnactHook/02_restart_app_server.sh] : Completed activity. Result:
  1043. + initctl restart puma
  1044. initctl: Unknown instance:
  1045. + initctl start puma
  1046. puma start/running, process 16260
  1047. [2019-01-27T09:57:22.941Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12/StartupStage1/AppDeployEnactHook/02start_xray.sh] : Starting activity...
  1048. [2019-01-27T09:57:23.160Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12/StartupStage1/AppDeployEnactHook/02start_xray.sh] : Completed activity.
  1049. [2019-01-27T09:57:23.160Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12/StartupStage1/AppDeployEnactHook/28_create_pids.sh] : Starting activity...
  1050. [2019-01-27T09:57:24.540Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12/StartupStage1/AppDeployEnactHook/28_create_pids.sh] : Completed activity. Result:
  1051. + /opt/elasticbeanstalk/bin/healthd-track-pidfile --proxy nginx
  1052. ++ /opt/elasticbeanstalk/bin/get-config container -k puma_pid_dir
  1053. + PUMA_PID_DIR=/var/run/puma
  1054. + /opt/elasticbeanstalk/bin/healthd-track-pidfile --name application --location /var/run/puma/puma.pid
  1055. [2019-01-27T09:57:24.540Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12/StartupStage1/AppDeployEnactHook] : Completed activity. Result:
  1056. Successfully execute hooks in directory /opt/elasticbeanstalk/hooks/appdeploy/enact.
  1057. [2019-01-27T09:57:24.540Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12/StartupStage1/AppDeployPostHook] : Starting activity...
  1058. [2019-01-27T09:57:24.540Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12/StartupStage1/AppDeployPostHook/01_rails_support.sh] : Starting activity...
  1059. [2019-01-27T09:57:24.923Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12/StartupStage1/AppDeployPostHook/01_rails_support.sh] : Completed activity. Result:
  1060. ++ /opt/elasticbeanstalk/bin/get-config container -k app_deploy_dir
  1061. + EB_APP_DEPLOY_DIR=/var/app/current
  1062. ++ /opt/elasticbeanstalk/bin/get-config container -k app_log_dir
  1063. + EB_APP_LOG_DIR=/var/app/containerfiles/logs
  1064. + ln -sf /var/app/current/log/production.log /var/app/containerfiles/logs
  1065. [2019-01-27T09:57:24.923Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12/StartupStage1/AppDeployPostHook] : Completed activity. Result:
  1066. Successfully execute hooks in directory /opt/elasticbeanstalk/hooks/appdeploy/post.
  1067. [2019-01-27T09:57:24.924Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12/StartupStage1/PostInitHook] : Starting activity...
  1068. [2019-01-27T09:57:24.924Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12/StartupStage1/PostInitHook] : Completed activity. Result:
  1069. Successfully execute hooks in directory /opt/elasticbeanstalk/hooks/postinit.
  1070. [2019-01-27T09:57:24.924Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12/StartupStage1] : Completed activity. Result:
  1071. Application deployment - Command CMD-SelfStartup stage 1 completed
  1072. [2019-01-27T09:57:24.924Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12/AddonsAfter] : Starting activity...
  1073. [2019-01-27T09:57:24.924Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12/AddonsAfter/ConfigLogRotation] : Starting activity...
  1074. [2019-01-27T09:57:24.924Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12/AddonsAfter/ConfigLogRotation/10-config.sh] : Starting activity...
  1075. [2019-01-27T09:57:25.088Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12/AddonsAfter/ConfigLogRotation/10-config.sh] : Completed activity. Result:
  1076. Disabled forced hourly log rotation.
  1077. [2019-01-27T09:57:25.088Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12/AddonsAfter/ConfigLogRotation] : Completed activity. Result:
  1078. Successfully execute hooks in directory /opt/elasticbeanstalk/addons/logpublish/hooks/config.
  1079. [2019-01-27T09:57:25.088Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12/AddonsAfter] : Completed activity.
  1080. [2019-01-27T09:57:25.088Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12] : Completed activity. Result:
  1081. Application deployment - Command CMD-SelfStartup succeeded
  1082. [2019-01-27T09:58:23.002Z] INFO [16454] - [Application update app-4d95-190127_152805@13] : Starting activity...
  1083. [2019-01-27T09:58:23.002Z] INFO [16454] - [Application update app-4d95-190127_152805@13/AddonsBefore] : Starting activity...
  1084. [2019-01-27T09:58:23.002Z] INFO [16454] - [Application update app-4d95-190127_152805@13/AddonsBefore/ConfigCWLAgent] : Starting activity...
  1085. [2019-01-27T09:58:23.002Z] INFO [16454] - [Application update app-4d95-190127_152805@13/AddonsBefore/ConfigCWLAgent/10-config.sh] : Starting activity...
  1086. [2019-01-27T09:58:23.125Z] INFO [16454] - [Application update app-4d95-190127_152805@13/AddonsBefore/ConfigCWLAgent/10-config.sh] : Completed activity. Result:
  1087. Log streaming option setting is not specified, ignore cloudwatch logs setup.
  1088.  
  1089. Disabled log streaming.
  1090. [2019-01-27T09:58:23.125Z] INFO [16454] - [Application update app-4d95-190127_152805@13/AddonsBefore/ConfigCWLAgent] : Completed activity. Result:
  1091. Successfully execute hooks in directory /opt/elasticbeanstalk/addons/logstreaming/hooks/config.
  1092. [2019-01-27T09:58:23.125Z] INFO [16454] - [Application update app-4d95-190127_152805@13/AddonsBefore] : Completed activity.
  1093. [2019-01-27T09:58:23.516Z] INFO [16454] - [Application update app-4d95-190127_152805@13/AppDeployStage0] : Starting activity...
  1094. [2019-01-27T09:58:23.516Z] INFO [16454] - [Application update app-4d95-190127_152805@13/AppDeployStage0/DownloadSourceBundle] : Starting activity...
  1095. [2019-01-27T09:58:23.987Z] INFO [16454] - [Application update app-4d95-190127_152805@13/AppDeployStage0/DownloadSourceBundle] : Completed activity. Result:
  1096. [2019-01-27T09:58:23.619Z] INFO [16497] : Application version will be saved to /opt/elasticbeanstalk/deploy/appsource.
  1097. [2019-01-27T09:58:23.619Z] INFO [16497] : Using manifest cache with deployment ID 13 and serial 15.
  1098. [2019-01-27T09:58:23.619Z] INFO [16497] : Attempting to download application source bundle to: '/opt/elasticbeanstalk/deploy/appsource/source_bundle'.
  1099. [2019-01-27T09:58:23.619Z] INFO [16497] : Using computed s3 key.
  1100. [2019-01-27T09:58:23.739Z] INFO [16497] : Downloading from bucket 'elasticbeanstalk-us-east-2-387358288273' with key 'resources/environments/e-sv4jqab3r8/_runtime/_versions/test/app-4d95-190127_152805' and version '' to '/opt/elasticbeanstalk/deploy/appsource/source_bundle'.
  1101. [2019-01-27T09:58:23.791Z] INFO [16497] : Size: 9504972, ETag: "cbcf989f646f29ab2b074b98c8ca5dc7", Metadata: {"environmentid"=>"e-sv4jqab3r8", "requestid"=>"f8d9e5e1-5392-4319-80ca-e4d53aa88411"}.
  1102. [2019-01-27T09:58:23.979Z] INFO [16497] : Downloaded size: 9504972.
  1103. [2019-01-27T09:58:23.979Z] INFO [16497] : Successfully downloaded to '/opt/elasticbeanstalk/deploy/appsource/source_bundle'.
  1104. [2019-01-27T09:58:23.987Z] INFO [16454] - [Application update app-4d95-190127_152805@13/AppDeployStage0/EbExtensionPreBuild] : Starting activity...
  1105. [2019-01-27T09:58:24.335Z] INFO [16454] - [Application update app-4d95-190127_152805@13/AppDeployStage0/EbExtensionPreBuild/Infra-EmbeddedPreBuild] : Starting activity...
  1106. [2019-01-27T09:58:24.339Z] INFO [16454] - [Application update app-4d95-190127_152805@13/AppDeployStage0/EbExtensionPreBuild/Infra-EmbeddedPreBuild/prebuild_0_test] : Starting activity...
  1107. [2019-01-27T09:58:24.339Z] INFO [16454] - [Application update app-4d95-190127_152805@13/AppDeployStage0/EbExtensionPreBuild/Infra-EmbeddedPreBuild/prebuild_0_test] : Completed activity.
  1108. [2019-01-27T09:58:24.339Z] INFO [16454] - [Application update app-4d95-190127_152805@13/AppDeployStage0/EbExtensionPreBuild/Infra-EmbeddedPreBuild] : Completed activity.
  1109. [2019-01-27T09:58:24.705Z] INFO [16454] - [Application update app-4d95-190127_152805@13/AppDeployStage0/EbExtensionPreBuild] : Completed activity.
  1110. [2019-01-27T09:58:24.705Z] INFO [16454] - [Application update app-4d95-190127_152805@13/AppDeployStage0/AppDeployPreHook] : Starting activity...
  1111. [2019-01-27T09:58:24.705Z] INFO [16454] - [Application update app-4d95-190127_152805@13/AppDeployStage0/AppDeployPreHook/01_configure_xray.sh] : Starting activity...
  1112. [2019-01-27T09:58:24.811Z] INFO [16454] - [Application update app-4d95-190127_152805@13/AppDeployStage0/AppDeployPreHook/01_configure_xray.sh] : Completed activity.
  1113. [2019-01-27T09:58:24.811Z] INFO [16454] - [Application update app-4d95-190127_152805@13/AppDeployStage0/AppDeployPreHook/01_unzip.rb] : Starting activity...
  1114. [2019-01-27T09:58:25.295Z] INFO [16454] - [Application update app-4d95-190127_152805@13/AppDeployStage0/AppDeployPreHook/01_unzip.rb] : Completed activity.
  1115. [2019-01-27T09:58:25.295Z] INFO [16454] - [Application update app-4d95-190127_152805@13/AppDeployStage0/AppDeployPreHook/02_setup_envvars.sh] : Starting activity...
  1116. [2019-01-27T09:58:25.515Z] INFO [16454] - [Application update app-4d95-190127_152805@13/AppDeployStage0/AppDeployPreHook/02_setup_envvars.sh] : Completed activity. Result:
  1117. ++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
  1118. + EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
  1119. + /opt/elasticbeanstalk/support/export_envvars
  1120. [2019-01-27T09:58:25.515Z] INFO [16454] - [Application update app-4d95-190127_152805@13/AppDeployStage0/AppDeployPreHook/10_bundle_install.sh] : Starting activity...
  1121. [2019-01-27T09:58:28.469Z] INFO [16454] - [Application update app-4d95-190127_152805@13/AppDeployStage0/AppDeployPreHook/10_bundle_install.sh] : Completed activity. Result:
  1122. ++ /opt/elasticbeanstalk/bin/get-config container -k script_dir
  1123. + EB_SCRIPT_DIR=/opt/elasticbeanstalk/support/scripts
  1124. ++ /opt/elasticbeanstalk/bin/get-config container -k app_staging_dir
  1125. + EB_APP_STAGING_DIR=/var/app/ondeck
  1126. ++ /opt/elasticbeanstalk/bin/get-config container -k app_user
  1127. + EB_APP_USER=webapp
  1128. ++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
  1129. + EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
  1130. + . /opt/elasticbeanstalk/support/envvars-wrapper.sh
  1131. +++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
  1132. ++ EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
  1133. ++ set +x
  1134. + . /opt/elasticbeanstalk/support/scripts/use-app-ruby.sh
  1135. ++ . /usr/local/share/chruby/chruby.sh
  1136. +++ CHRUBY_VERSION=0.3.9
  1137. +++ RUBIES=()
  1138. +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
  1139. +++ [[ -d /opt/rubies ]]
  1140. ++++ ls -A /opt/rubies
  1141. +++ [[ -n ruby-1.9.3-p551
  1142. ruby-2.0.0-p648
  1143. ruby-2.1.10
  1144. ruby-2.2.10
  1145. ruby-2.3.8
  1146. ruby-2.4.5
  1147. ruby-2.5.3
  1148. ruby-2.6.0
  1149. ruby-current ]]
  1150. +++ RUBIES+=("$dir"/*)
  1151. +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
  1152. +++ [[ -d /.rubies ]]
  1153. +++ unset dir
  1154. +++ cat /etc/elasticbeanstalk/.ruby_version
  1155. ++ chruby 2.4.5
  1156. ++ case "$1" in
  1157. ++ local dir match
  1158. ++ for dir in '"${RUBIES[@]}"'
  1159. ++ dir=/opt/rubies/ruby-1.9.3-p551
  1160. ++ case "${dir##*/}" in
  1161. ++ for dir in '"${RUBIES[@]}"'
  1162. ++ dir=/opt/rubies/ruby-2.0.0-p648
  1163. ++ case "${dir##*/}" in
  1164. ++ for dir in '"${RUBIES[@]}"'
  1165. ++ dir=/opt/rubies/ruby-2.1.10
  1166. ++ case "${dir##*/}" in
  1167. ++ for dir in '"${RUBIES[@]}"'
  1168. ++ dir=/opt/rubies/ruby-2.2.10
  1169. ++ case "${dir##*/}" in
  1170. ++ for dir in '"${RUBIES[@]}"'
  1171. ++ dir=/opt/rubies/ruby-2.3.8
  1172. ++ case "${dir##*/}" in
  1173. ++ for dir in '"${RUBIES[@]}"'
  1174. ++ dir=/opt/rubies/ruby-2.4.5
  1175. ++ case "${dir##*/}" in
  1176. ++ match=/opt/rubies/ruby-2.4.5
  1177. ++ for dir in '"${RUBIES[@]}"'
  1178. ++ dir=/opt/rubies/ruby-2.5.3
  1179. ++ case "${dir##*/}" in
  1180. ++ for dir in '"${RUBIES[@]}"'
  1181. ++ dir=/opt/rubies/ruby-2.6.0
  1182. ++ case "${dir##*/}" in
  1183. ++ for dir in '"${RUBIES[@]}"'
  1184. ++ dir=/opt/rubies/ruby-current
  1185. ++ case "${dir##*/}" in
  1186. ++ [[ -z /opt/rubies/ruby-2.4.5 ]]
  1187. ++ shift
  1188. ++ chruby_use /opt/rubies/ruby-2.4.5 ''
  1189. ++ [[ ! -x /opt/rubies/ruby-2.4.5/bin/ruby ]]
  1190. ++ [[ -n '' ]]
  1191. ++ export RUBY_ROOT=/opt/rubies/ruby-2.4.5
  1192. ++ RUBY_ROOT=/opt/rubies/ruby-2.4.5
  1193. ++ export RUBYOPT=
  1194. ++ RUBYOPT=
  1195. ++ export PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
  1196. ++ PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
  1197. +++ /opt/rubies/ruby-2.4.5/bin/ruby -
  1198. ++ eval 'export RUBY_ENGINE=ruby;
  1199. export RUBY_VERSION=2.4.5;
  1200. export GEM_ROOT="/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0";'
  1201. +++ export RUBY_ENGINE=ruby
  1202. +++ RUBY_ENGINE=ruby
  1203. +++ export RUBY_VERSION=2.4.5
  1204. +++ RUBY_VERSION=2.4.5
  1205. +++ export GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
  1206. +++ GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
  1207. ++ (( 0 != 0 ))
  1208. + cd /var/app/ondeck
  1209. + '[' -f Gemfile ']'
  1210. + echo 'running '\''bundle install'\'' with Gemfile:'
  1211. running 'bundle install' with Gemfile:
  1212. + cat Gemfile
  1213. source 'https://rubygems.org'
  1214.  
  1215.  
  1216. # Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
  1217. gem 'rails', '~> 5.0.0', '>= 5.0.0.1'
  1218.  
  1219.  
  1220. # sqlite3 fails on heroku
  1221. # group :development do
  1222. # gem 'sqlite3' #gem to use in development environment
  1223. # end
  1224. # gem 'sqlite3'
  1225. # group :production do
  1226. gem 'pg', '~> 0.18' #gem to use in production environment
  1227. # end
  1228. gem 'will_paginate', '~> 3.1.0'
  1229. gem 'simple_form'
  1230. gem 'bootstrap-sass'
  1231. gem 'devise'
  1232. gem 'nested_scaffold'
  1233. # Use Puma as the app server
  1234. gem 'puma', '~> 3.0'
  1235. # Use SCSS for stylesheets
  1236. gem 'sass-rails', '~> 5.0'
  1237. # Use Uglifier as compressor for JavaScript assets
  1238. gem 'uglifier', '>= 1.3.0'
  1239. # Use CoffeeScript for .coffee assets and views
  1240. gem 'coffee-rails', '~> 4.2'
  1241. # See https://github.com/rails/execjs#readme for more supported runtimes
  1242. # gem 'therubyracer', platforms: :ruby
  1243.  
  1244. # Use jquery as the JavaScript library
  1245. gem 'jquery-rails'
  1246. # Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks
  1247. gem 'turbolinks', '~> 5'
  1248. # Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
  1249. gem 'jbuilder', '~> 2.5'
  1250. # Use Redis adapter to run Action Cable in production
  1251. # gem 'redis', '~> 3.0'
  1252. # Use ActiveModel has_secure_password
  1253. # gem 'bcrypt', '~> 3.1.7'
  1254.  
  1255. # Use Capistrano for deployment
  1256. # gem 'capistrano-rails', group: :development
  1257.  
  1258. group :development, :test do
  1259. # Call 'byebug' anywhere in the code to stop execution and get a debugger console
  1260. gem 'byebug', platform: :mri
  1261. end
  1262.  
  1263. group :development do
  1264. # Access an IRB console on exception pages or by using <%= console %> anywhere in the code.
  1265. gem 'web-console'
  1266. end
  1267.  
  1268. # Windows does not include zoneinfo files, so bundle the tzinfo-data gem
  1269. gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
  1270.  
  1271. gem 'activeadmin'
  1272. + '[' -d /var/app/ondeck/vendor/cache ']'
  1273. + bundle install
  1274. Don't run Bundler as root. Bundler can ask for sudo if it is needed, and
  1275. installing your bundle as root will break this application for all non-root
  1276. users on this machine.
  1277. Fetching gem metadata from https://rubygems.org/..........
  1278. Fetching gem metadata from https://rubygems.org/.
  1279. Resolving dependencies...
  1280. Using rake 12.0.0
  1281. Using concurrent-ruby 1.0.5
  1282. Using i18n 0.8.1
  1283. Using minitest 5.10.1
  1284. Using thread_safe 0.3.6
  1285. Using tzinfo 1.2.3
  1286. Using activesupport 5.0.2
  1287. Using builder 3.2.3
  1288. Using erubis 2.7.0
  1289. Using mini_portile2 2.1.0
  1290. Using nokogiri 1.7.1
  1291. Using rails-dom-testing 2.0.2
  1292. Using loofah 2.0.3
  1293. Using rails-html-sanitizer 1.0.3
  1294. Using actionview 5.0.2
  1295. Using rack 2.0.1
  1296. Using rack-test 0.6.3
  1297. Using actionpack 5.0.2
  1298. Using nio4r 2.0.0
  1299. Using websocket-extensions 0.1.2
  1300. Using websocket-driver 0.6.5
  1301. Using actioncable 5.0.2
  1302. Using globalid 0.4.0
  1303. Using activejob 5.0.2
  1304. Using mime-types-data 3.2016.0521
  1305. Using mime-types 3.1
  1306. Using mail 2.6.4
  1307. Using actionmailer 5.0.2
  1308. Using arbre 1.1.1
  1309. Using sass 3.4.23
  1310. Using thor 0.19.4
  1311. Using bourbon 4.3.4
  1312. Using coffee-script-source 1.12.2
  1313. Using execjs 2.7.0
  1314. Using coffee-script 2.4.1
  1315. Using method_source 0.8.2
  1316. Using railties 5.0.2
  1317. Using coffee-rails 4.2.1
  1318. Using formtastic 3.1.5
  1319. Using formtastic_i18n 0.6.0
  1320. Using has_scope 0.7.1
  1321. Using responders 2.3.0
  1322. Using inherited_resources 1.7.2
  1323. Using jquery-rails 4.3.1
  1324. Using jquery-ui-rails 6.0.1
  1325. Using kaminari-core 1.0.1
  1326. Using kaminari-actionview 1.0.1
  1327. Using activemodel 5.0.2
  1328. Using arel 7.1.4
  1329. Using activerecord 5.0.2
  1330. Using kaminari-activerecord 1.0.1
  1331. Using kaminari 1.0.1
  1332. Using polyamorous 1.3.1
  1333. Using ransack 1.8.2
  1334. Using sprockets 3.7.1
  1335. Using sprockets-rails 3.2.0
  1336. Using tilt 2.0.7
  1337. Using sass-rails 5.0.6
  1338. Using activeadmin 1.0.0
  1339. Using autoprefixer-rails 6.7.7.2
  1340. Using bcrypt 3.1.11
  1341. Using bootstrap-sass 3.3.7
  1342. Using bundler 1.16.2
  1343. Using orm_adapter 0.5.0
  1344. Using warden 1.2.7
  1345. Using devise 4.2.1
  1346. Using multi_json 1.12.1
  1347. Using jbuilder 2.6.3
  1348. Using nested_scaffold 1.0.0
  1349. Using pg 0.21.0
  1350. Using puma 3.8.2
  1351. Using rails 5.0.2
  1352. Using simple_form 3.4.0
  1353. Using turbolinks-source 5.0.0
  1354. Using turbolinks 5.0.1
  1355. Using uglifier 3.2.0
  1356. Using will_paginate 3.1.5
  1357. Bundle complete! 18 Gemfile dependencies, 77 gems now installed.
  1358. Gems in the groups test and development were not installed.
  1359. Use `bundle info [gemname]` to see where a bundled gem is installed.
  1360. + '[' -f Gemfile.lock ']'
  1361. + echo 'encountered a Gemfile.lock, setting proper permissions'
  1362. encountered a Gemfile.lock, setting proper permissions
  1363. + chown webapp:webapp Gemfile.lock
  1364. + '[' '' = 1 ']'
  1365. [2019-01-27T09:58:28.469Z] INFO [16454] - [Application update app-4d95-190127_152805@13/AppDeployStage0/AppDeployPreHook/11_asset_compilation.sh] : Starting activity...
  1366. [2019-01-27T09:58:47.536Z] INFO [16454] - [Application update app-4d95-190127_152805@13/AppDeployStage0/AppDeployPreHook/11_asset_compilation.sh] : Completed activity. Result:
  1367. ++ /opt/elasticbeanstalk/bin/get-config container -k script_dir
  1368. + EB_SCRIPT_DIR=/opt/elasticbeanstalk/support/scripts
  1369. ++ /opt/elasticbeanstalk/bin/get-config container -k app_staging_dir
  1370. + EB_APP_STAGING_DIR=/var/app/ondeck
  1371. ++ /opt/elasticbeanstalk/bin/get-config container -k app_user
  1372. + EB_APP_USER=webapp
  1373. ++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
  1374. + EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
  1375. + . /opt/elasticbeanstalk/support/envvars-wrapper.sh
  1376. +++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
  1377. ++ EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
  1378. ++ set +x
  1379. + RAKE_TASK=assets:precompile
  1380. + . /opt/elasticbeanstalk/support/scripts/use-app-ruby.sh
  1381. ++ . /usr/local/share/chruby/chruby.sh
  1382. +++ CHRUBY_VERSION=0.3.9
  1383. +++ RUBIES=()
  1384. +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
  1385. +++ [[ -d /opt/rubies ]]
  1386. ++++ ls -A /opt/rubies
  1387. +++ [[ -n ruby-1.9.3-p551
  1388. ruby-2.0.0-p648
  1389. ruby-2.1.10
  1390. ruby-2.2.10
  1391. ruby-2.3.8
  1392. ruby-2.4.5
  1393. ruby-2.5.3
  1394. ruby-2.6.0
  1395. ruby-current ]]
  1396. +++ RUBIES+=("$dir"/*)
  1397. +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
  1398. +++ [[ -d /.rubies ]]
  1399. +++ unset dir
  1400. +++ cat /etc/elasticbeanstalk/.ruby_version
  1401. ++ chruby 2.4.5
  1402. ++ case "$1" in
  1403. ++ local dir match
  1404. ++ for dir in '"${RUBIES[@]}"'
  1405. ++ dir=/opt/rubies/ruby-1.9.3-p551
  1406. ++ case "${dir##*/}" in
  1407. ++ for dir in '"${RUBIES[@]}"'
  1408. ++ dir=/opt/rubies/ruby-2.0.0-p648
  1409. ++ case "${dir##*/}" in
  1410. ++ for dir in '"${RUBIES[@]}"'
  1411. ++ dir=/opt/rubies/ruby-2.1.10
  1412. ++ case "${dir##*/}" in
  1413. ++ for dir in '"${RUBIES[@]}"'
  1414. ++ dir=/opt/rubies/ruby-2.2.10
  1415. ++ case "${dir##*/}" in
  1416. ++ for dir in '"${RUBIES[@]}"'
  1417. ++ dir=/opt/rubies/ruby-2.3.8
  1418. ++ case "${dir##*/}" in
  1419. ++ for dir in '"${RUBIES[@]}"'
  1420. ++ dir=/opt/rubies/ruby-2.4.5
  1421. ++ case "${dir##*/}" in
  1422. ++ match=/opt/rubies/ruby-2.4.5
  1423. ++ for dir in '"${RUBIES[@]}"'
  1424. ++ dir=/opt/rubies/ruby-2.5.3
  1425. ++ case "${dir##*/}" in
  1426. ++ for dir in '"${RUBIES[@]}"'
  1427. ++ dir=/opt/rubies/ruby-2.6.0
  1428. ++ case "${dir##*/}" in
  1429. ++ for dir in '"${RUBIES[@]}"'
  1430. ++ dir=/opt/rubies/ruby-current
  1431. ++ case "${dir##*/}" in
  1432. ++ [[ -z /opt/rubies/ruby-2.4.5 ]]
  1433. ++ shift
  1434. ++ chruby_use /opt/rubies/ruby-2.4.5 ''
  1435. ++ [[ ! -x /opt/rubies/ruby-2.4.5/bin/ruby ]]
  1436. ++ [[ -n '' ]]
  1437. ++ export RUBY_ROOT=/opt/rubies/ruby-2.4.5
  1438. ++ RUBY_ROOT=/opt/rubies/ruby-2.4.5
  1439. ++ export RUBYOPT=
  1440. ++ RUBYOPT=
  1441. ++ export PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
  1442. ++ PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
  1443. +++ /opt/rubies/ruby-2.4.5/bin/ruby -
  1444. ++ eval 'export RUBY_ENGINE=ruby;
  1445. export RUBY_VERSION=2.4.5;
  1446. export GEM_ROOT="/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0";'
  1447. +++ export RUBY_ENGINE=ruby
  1448. +++ RUBY_ENGINE=ruby
  1449. +++ export RUBY_VERSION=2.4.5
  1450. +++ RUBY_VERSION=2.4.5
  1451. +++ export GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
  1452. +++ GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
  1453. ++ (( 0 != 0 ))
  1454. + cd /var/app/ondeck
  1455. + su -s /bin/bash -c 'bundle exec /opt/elasticbeanstalk/support/scripts/check-for-rake-task.rb assets:precompile' webapp
  1456. `/home/webapp` is not a directory.
  1457. Bundler will use `/tmp/bundler/home/webapp' as your home directory temporarily.
  1458. + '[' false == true ']'
  1459. + su -s /bin/bash -c 'bundle exec rake assets:precompile' webapp
  1460. `/home/webapp` is not a directory.
  1461. Bundler will use `/tmp/bundler/home/webapp' as your home directory temporarily.
  1462. DEPRECATION WARNING: `config.static_cache_control` is deprecated and will be removed in Rails 5.1.
  1463. Please use
  1464. `config.public_file_server.headers = { 'Cache-Control' => 'public, max-age=2592000' }`
  1465. instead.
  1466. (called from block in <top (required)> at /var/app/ondeck/config/environments/production.rb:28)
  1467. intializing git
  1468. error: could not lock config file /home/webapp/.gitconfig: No such file or directory
  1469. sh: line 0: cd: /home/webapp: No such file or directory
  1470. I, [2019-01-27T09:58:34.403925 #16650] INFO -- : Writing /var/app/ondeck/public/assets/active_admin-8f4a05166e4e3f3733b924879539581f823c7895202c31a69559fb0bd8ead8ff.css
  1471. I, [2019-01-27T09:58:34.404308 #16650] INFO -- : Writing /var/app/ondeck/public/assets/active_admin-8f4a05166e4e3f3733b924879539581f823c7895202c31a69559fb0bd8ead8ff.css.gz
  1472. I, [2019-01-27T09:58:34.404578 #16650] INFO -- : Writing /var/app/ondeck/public/assets/active_admin/nested_menu_arrow-15084d93c65c1964d7077700ea748bd2d70cfa2d4c19707c58a9c64e232dd442.gif
  1473. I, [2019-01-27T09:58:34.404857 #16650] INFO -- : Writing /var/app/ondeck/public/assets/active_admin/nested_menu_arrow_dark-7c43b8e0a5f8823875f49a093c9d7a6b374f885b6f9cc248ae9cd7e6e9b29034.gif
  1474. I, [2019-01-27T09:58:34.405102 #16650] INFO -- : Writing /var/app/ondeck/public/assets/active_admin/datepicker/datepicker-input-icon-d9c2bb73769af777c8a71720d29741f3a499aebd5a043e9a119bd0d9597aed47.png
  1475. I, [2019-01-27T09:58:34.405398 #16650] INFO -- : Writing /var/app/ondeck/public/assets/active_admin/orderable-29374dbb55b0012d78a37c614d573bb3474f0779849b478a147d0f1845ca6617.png
  1476. I, [2019-01-27T09:58:34.527511 #16650] INFO -- : Writing /var/app/ondeck/public/assets/active_admin/print-87c5ffc1d869a919123bcc1dc5ec51b20bc79fd9aeab9eed77e3438c6acd4f68.css
  1477. I, [2019-01-27T09:58:34.527833 #16650] INFO -- : Writing /var/app/ondeck/public/assets/active_admin/print-87c5ffc1d869a919123bcc1dc5ec51b20bc79fd9aeab9eed77e3438c6acd4f68.css.gz
  1478. I, [2019-01-27T09:58:41.548122 #16650] INFO -- : Writing /var/app/ondeck/public/assets/active_admin-12a74b3ffff1babd45eaca3fef9dce6596642a2fc91eb7d5e03d69c2b8c76570.js
  1479. I, [2019-01-27T09:58:41.548676 #16650] INFO -- : Writing /var/app/ondeck/public/assets/active_admin-12a74b3ffff1babd45eaca3fef9dce6596642a2fc91eb7d5e03d69c2b8c76570.js.gz
  1480. I, [2019-01-27T09:58:41.556669 #16650] INFO -- : Writing /var/app/ondeck/public/assets/danger-869dd8b0616e1a5b646dc898db2a5d6428f45fe14a90fa6d0c7130f64d886c48.png
  1481. I, [2019-01-27T09:58:41.558918 #16650] INFO -- : Writing /var/app/ondeck/public/assets/dark-607bed84e53ccb497978bd3ae9e51d4b57de94e954da4e8e1ec5b51a78d8898e.png
  1482. I, [2019-01-27T09:58:41.565310 #16650] INFO -- : Writing /var/app/ondeck/public/assets/do-e798277592b8fde73e6568cdde6687220f6d2a83f53250c561edf11619d5b1c1.jpg
  1483. I, [2019-01-27T09:58:41.567111 #16650] INFO -- : Writing /var/app/ondeck/public/assets/favicon-21c44bf091fb9557f8a4527913b0254924fc136d6e71dcee1676b7f37c8175ef.ico
  1484. I, [2019-01-27T09:58:41.571238 #16650] INFO -- : Writing /var/app/ondeck/public/assets/favicon-21c44bf091fb9557f8a4527913b0254924fc136d6e71dcee1676b7f37c8175ef.ico.gz
  1485. I, [2019-01-27T09:58:41.576533 #16650] INFO -- : Writing /var/app/ondeck/public/assets/home-f3281914e0ac5072115e9ba6f458cec56ad002cc5e65ca75988afc86af858e01.jpg
  1486. I, [2019-01-27T09:58:41.578795 #16650] INFO -- : Writing /var/app/ondeck/public/assets/info-967cdd33af0671563a0e72bed22f1cddb95a138e241dffbd5013750360bf7113.png
  1487. I, [2019-01-27T09:58:41.584406 #16650] INFO -- : Writing /var/app/ondeck/public/assets/primary-093ae3386f858ff56855e5c8a09137d4ce87c2c7aa2b152af81eac5d7667a98d.png
  1488. I, [2019-01-27T09:58:41.588029 #16650] INFO -- : Writing /var/app/ondeck/public/assets/secondary-1c1a37a441b0e6f6ca2bfb1435df8f1160a0e4ec1db5798a5e5a72374172942c.png
  1489. I, [2019-01-27T09:58:41.591283 #16650] INFO -- : Writing /var/app/ondeck/public/assets/success-5a1b362ddb5e5ed6131beffc575d91a3615864b678d24706bff24b055b6a594c.png
  1490. I, [2019-01-27T09:58:41.593593 #16650] INFO -- : Writing /var/app/ondeck/public/assets/warning-a3e35927fa71a99455166de5b62a03122ffb5287e33c9ed2c42532622f543fa5.png
  1491. I, [2019-01-27T09:58:44.949724 #16650] INFO -- : Writing /var/app/ondeck/public/assets/application-a4d1530f7a05b9cfdfa450e5267e5ceb57d855a8ec9b934785f2ba95a8556c6c.js
  1492. I, [2019-01-27T09:58:44.950190 #16650] INFO -- : Writing /var/app/ondeck/public/assets/application-a4d1530f7a05b9cfdfa450e5267e5ceb57d855a8ec9b934785f2ba95a8556c6c.js.gz
  1493. I, [2019-01-27T09:58:47.482305 #16650] INFO -- : Writing /var/app/ondeck/public/assets/application-da22e659ddaed5260aa445b696e4e8945e554c6c97884a0be799b74eb511ccf3.css
  1494. I, [2019-01-27T09:58:47.482739 #16650] INFO -- : Writing /var/app/ondeck/public/assets/application-da22e659ddaed5260aa445b696e4e8945e554c6c97884a0be799b74eb511ccf3.css.gz
  1495. [2019-01-27T09:58:47.537Z] INFO [16454] - [Application update app-4d95-190127_152805@13/AppDeployStage0/AppDeployPreHook/12_db_migration.sh] : Starting activity...
  1496. [2019-01-27T09:58:51.505Z] INFO [16454] - [Application update app-4d95-190127_152805@13/AppDeployStage0/AppDeployPreHook/12_db_migration.sh] : Activity execution failed, because: ++ /opt/elasticbeanstalk/bin/get-config container -k script_dir
  1497. + EB_SCRIPT_DIR=/opt/elasticbeanstalk/support/scripts
  1498. ++ /opt/elasticbeanstalk/bin/get-config container -k app_staging_dir
  1499. + EB_APP_STAGING_DIR=/var/app/ondeck
  1500. ++ /opt/elasticbeanstalk/bin/get-config container -k app_user
  1501. + EB_APP_USER=webapp
  1502. ++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
  1503. + EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
  1504. + . /opt/elasticbeanstalk/support/envvars-wrapper.sh
  1505. +++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
  1506. ++ EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
  1507. ++ set +x
  1508. + RAKE_TASK=db:migrate
  1509. + . /opt/elasticbeanstalk/support/scripts/use-app-ruby.sh
  1510. ++ . /usr/local/share/chruby/chruby.sh
  1511. +++ CHRUBY_VERSION=0.3.9
  1512. +++ RUBIES=()
  1513. +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
  1514. +++ [[ -d /opt/rubies ]]
  1515. ++++ ls -A /opt/rubies
  1516. +++ [[ -n ruby-1.9.3-p551
  1517. ruby-2.0.0-p648
  1518. ruby-2.1.10
  1519. ruby-2.2.10
  1520. ruby-2.3.8
  1521. ruby-2.4.5
  1522. ruby-2.5.3
  1523. ruby-2.6.0
  1524. ruby-current ]]
  1525. +++ RUBIES+=("$dir"/*)
  1526. +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
  1527. +++ [[ -d /.rubies ]]
  1528. +++ unset dir
  1529. +++ cat /etc/elasticbeanstalk/.ruby_version
  1530. ++ chruby 2.4.5
  1531. ++ case "$1" in
  1532. ++ local dir match
  1533. ++ for dir in '"${RUBIES[@]}"'
  1534. ++ dir=/opt/rubies/ruby-1.9.3-p551
  1535. ++ case "${dir##*/}" in
  1536. ++ for dir in '"${RUBIES[@]}"'
  1537. ++ dir=/opt/rubies/ruby-2.0.0-p648
  1538. ++ case "${dir##*/}" in
  1539. ++ for dir in '"${RUBIES[@]}"'
  1540. ++ dir=/opt/rubies/ruby-2.1.10
  1541. ++ case "${dir##*/}" in
  1542. ++ for dir in '"${RUBIES[@]}"'
  1543. ++ dir=/opt/rubies/ruby-2.2.10
  1544. ++ case "${dir##*/}" in
  1545. ++ for dir in '"${RUBIES[@]}"'
  1546. ++ dir=/opt/rubies/ruby-2.3.8
  1547. ++ case "${dir##*/}" in
  1548. ++ for dir in '"${RUBIES[@]}"'
  1549. ++ dir=/opt/rubies/ruby-2.4.5
  1550. ++ case "${dir##*/}" in
  1551. ++ match=/opt/rubies/ruby-2.4.5
  1552. ++ for dir in '"${RUBIES[@]}"'
  1553. ++ dir=/opt/rubies/ruby-2.5.3
  1554. ++ case "${dir##*/}" in
  1555. ++ for dir in '"${RUBIES[@]}"'
  1556. ++ dir=/opt/rubies/ruby-2.6.0
  1557. ++ case "${dir##*/}" in
  1558. ++ for dir in '"${RUBIES[@]}"'
  1559. ++ dir=/opt/rubies/ruby-current
  1560. ++ case "${dir##*/}" in
  1561. ++ [[ -z /opt/rubies/ruby-2.4.5 ]]
  1562. ++ shift
  1563. ++ chruby_use /opt/rubies/ruby-2.4.5 ''
  1564. ++ [[ ! -x /opt/rubies/ruby-2.4.5/bin/ruby ]]
  1565. ++ [[ -n '' ]]
  1566. ++ export RUBY_ROOT=/opt/rubies/ruby-2.4.5
  1567. ++ RUBY_ROOT=/opt/rubies/ruby-2.4.5
  1568. ++ export RUBYOPT=
  1569. ++ RUBYOPT=
  1570. ++ export PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
  1571. ++ PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
  1572. +++ /opt/rubies/ruby-2.4.5/bin/ruby -
  1573. ++ eval 'export RUBY_ENGINE=ruby;
  1574. export RUBY_VERSION=2.4.5;
  1575. export GEM_ROOT="/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0";'
  1576. +++ export RUBY_ENGINE=ruby
  1577. +++ RUBY_ENGINE=ruby
  1578. +++ export RUBY_VERSION=2.4.5
  1579. +++ RUBY_VERSION=2.4.5
  1580. +++ export GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
  1581. +++ GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
  1582. ++ (( 0 != 0 ))
  1583. + cd /var/app/ondeck
  1584. + su -s /bin/bash -c 'bundle exec /opt/elasticbeanstalk/support/scripts/check-for-rake-task.rb db:migrate' webapp
  1585. `/home/webapp` is not a directory.
  1586. Bundler will use `/tmp/bundler/home/webapp' as your home directory temporarily.
  1587. + '[' false = true ']'
  1588. + su -s /bin/bash -c 'leader_only bundle exec rake db:migrate' webapp
  1589. `/home/webapp` is not a directory.
  1590. Bundler will use `/tmp/bundler/home/webapp' as your home directory temporarily.
  1591. DEPRECATION WARNING: `config.static_cache_control` is deprecated and will be removed in Rails 5.1.
  1592. Please use
  1593. `config.public_file_server.headers = { 'Cache-Control' => 'public, max-age=2592000' }`
  1594. instead.
  1595. (called from block in <top (required)> at /var/app/ondeck/config/environments/production.rb:28)
  1596. intializing git
  1597. error: could not lock config file /home/webapp/.gitconfig: No such file or directory
  1598. sh: line 0: cd: /home/webapp: No such file or directory
  1599. The PGconn, PGresult, and PGError constants are deprecated, and will be
  1600. removed as of version 1.0.
  1601.  
  1602. You should use PG::Connection, PG::Result, and PG::Error instead, respectively.
  1603.  
  1604. Called from /opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0/gems/activesupport-5.0.2/lib/active_support/dependencies.rb:259:in `load_dependency'
  1605. rake aborted!
  1606. PG::ConnectionBad: FATAL: password authentication failed for user "justine"
  1607. FATAL: password authentication failed for user "justine"
  1608. /opt/rubies/ruby-2.4.5/bin/bundle:23:in `load'
  1609. /opt/rubies/ruby-2.4.5/bin/bundle:23:in `<main>'
  1610. Tasks: TOP => db:migrate
  1611. (See full trace by running task with --trace) (ElasticBeanstalk::ExternalInvocationError)
  1612. caused by: ++ /opt/elasticbeanstalk/bin/get-config container -k script_dir
  1613. + EB_SCRIPT_DIR=/opt/elasticbeanstalk/support/scripts
  1614. ++ /opt/elasticbeanstalk/bin/get-config container -k app_staging_dir
  1615. + EB_APP_STAGING_DIR=/var/app/ondeck
  1616. ++ /opt/elasticbeanstalk/bin/get-config container -k app_user
  1617. + EB_APP_USER=webapp
  1618. ++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
  1619. + EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
  1620. + . /opt/elasticbeanstalk/support/envvars-wrapper.sh
  1621. +++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
  1622. ++ EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
  1623. ++ set +x
  1624. + RAKE_TASK=db:migrate
  1625. + . /opt/elasticbeanstalk/support/scripts/use-app-ruby.sh
  1626. ++ . /usr/local/share/chruby/chruby.sh
  1627. +++ CHRUBY_VERSION=0.3.9
  1628. +++ RUBIES=()
  1629. +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
  1630. +++ [[ -d /opt/rubies ]]
  1631. ++++ ls -A /opt/rubies
  1632. +++ [[ -n ruby-1.9.3-p551
  1633. ruby-2.0.0-p648
  1634. ruby-2.1.10
  1635. ruby-2.2.10
  1636. ruby-2.3.8
  1637. ruby-2.4.5
  1638. ruby-2.5.3
  1639. ruby-2.6.0
  1640. ruby-current ]]
  1641. +++ RUBIES+=("$dir"/*)
  1642. +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
  1643. +++ [[ -d /.rubies ]]
  1644. +++ unset dir
  1645. +++ cat /etc/elasticbeanstalk/.ruby_version
  1646. ++ chruby 2.4.5
  1647. ++ case "$1" in
  1648. ++ local dir match
  1649. ++ for dir in '"${RUBIES[@]}"'
  1650. ++ dir=/opt/rubies/ruby-1.9.3-p551
  1651. ++ case "${dir##*/}" in
  1652. ++ for dir in '"${RUBIES[@]}"'
  1653. ++ dir=/opt/rubies/ruby-2.0.0-p648
  1654. ++ case "${dir##*/}" in
  1655. ++ for dir in '"${RUBIES[@]}"'
  1656. ++ dir=/opt/rubies/ruby-2.1.10
  1657. ++ case "${dir##*/}" in
  1658. ++ for dir in '"${RUBIES[@]}"'
  1659. ++ dir=/opt/rubies/ruby-2.2.10
  1660. ++ case "${dir##*/}" in
  1661. ++ for dir in '"${RUBIES[@]}"'
  1662. ++ dir=/opt/rubies/ruby-2.3.8
  1663. ++ case "${dir##*/}" in
  1664. ++ for dir in '"${RUBIES[@]}"'
  1665. ++ dir=/opt/rubies/ruby-2.4.5
  1666. ++ case "${dir##*/}" in
  1667. ++ match=/opt/rubies/ruby-2.4.5
  1668. ++ for dir in '"${RUBIES[@]}"'
  1669. ++ dir=/opt/rubies/ruby-2.5.3
  1670. ++ case "${dir##*/}" in
  1671. ++ for dir in '"${RUBIES[@]}"'
  1672. ++ dir=/opt/rubies/ruby-2.6.0
  1673. ++ case "${dir##*/}" in
  1674. ++ for dir in '"${RUBIES[@]}"'
  1675. ++ dir=/opt/rubies/ruby-current
  1676. ++ case "${dir##*/}" in
  1677. ++ [[ -z /opt/rubies/ruby-2.4.5 ]]
  1678. ++ shift
  1679. ++ chruby_use /opt/rubies/ruby-2.4.5 ''
  1680. ++ [[ ! -x /opt/rubies/ruby-2.4.5/bin/ruby ]]
  1681. ++ [[ -n '' ]]
  1682. ++ export RUBY_ROOT=/opt/rubies/ruby-2.4.5
  1683. ++ RUBY_ROOT=/opt/rubies/ruby-2.4.5
  1684. ++ export RUBYOPT=
  1685. ++ RUBYOPT=
  1686. ++ export PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
  1687. ++ PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
  1688. +++ /opt/rubies/ruby-2.4.5/bin/ruby -
  1689. ++ eval 'export RUBY_ENGINE=ruby;
  1690. export RUBY_VERSION=2.4.5;
  1691. export GEM_ROOT="/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0";'
  1692. +++ export RUBY_ENGINE=ruby
  1693. +++ RUBY_ENGINE=ruby
  1694. +++ export RUBY_VERSION=2.4.5
  1695. +++ RUBY_VERSION=2.4.5
  1696. +++ export GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
  1697. +++ GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
  1698. ++ (( 0 != 0 ))
  1699. + cd /var/app/ondeck
  1700. + su -s /bin/bash -c 'bundle exec /opt/elasticbeanstalk/support/scripts/check-for-rake-task.rb db:migrate' webapp
  1701. `/home/webapp` is not a directory.
  1702. Bundler will use `/tmp/bundler/home/webapp' as your home directory temporarily.
  1703. + '[' false = true ']'
  1704. + su -s /bin/bash -c 'leader_only bundle exec rake db:migrate' webapp
  1705. `/home/webapp` is not a directory.
  1706. Bundler will use `/tmp/bundler/home/webapp' as your home directory temporarily.
  1707. DEPRECATION WARNING: `config.static_cache_control` is deprecated and will be removed in Rails 5.1.
  1708. Please use
  1709. `config.public_file_server.headers = { 'Cache-Control' => 'public, max-age=2592000' }`
  1710. instead.
  1711. (called from block in <top (required)> at /var/app/ondeck/config/environments/production.rb:28)
  1712. intializing git
  1713. error: could not lock config file /home/webapp/.gitconfig: No such file or directory
  1714. sh: line 0: cd: /home/webapp: No such file or directory
  1715. The PGconn, PGresult, and PGError constants are deprecated, and will be
  1716. removed as of version 1.0.
  1717.  
  1718. You should use PG::Connection, PG::Result, and PG::Error instead, respectively.
  1719.  
  1720. Called from /opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0/gems/activesupport-5.0.2/lib/active_support/dependencies.rb:259:in `load_dependency'
  1721. rake aborted!
  1722. PG::ConnectionBad: FATAL: password authentication failed for user "justine"
  1723. FATAL: password authentication failed for user "justine"
  1724. /opt/rubies/ruby-2.4.5/bin/bundle:23:in `load'
  1725. /opt/rubies/ruby-2.4.5/bin/bundle:23:in `<main>'
  1726. Tasks: TOP => db:migrate
  1727. (See full trace by running task with --trace) (Executor::NonZeroExitStatus)
  1728.  
  1729.  
  1730. [2019-01-27T09:58:51.505Z] INFO [16454] - [Application update app-4d95-190127_152805@13/AppDeployStage0/AppDeployPreHook/12_db_migration.sh] : Activity failed.
  1731. [2019-01-27T09:58:51.505Z] INFO [16454] - [Application update app-4d95-190127_152805@13/AppDeployStage0/AppDeployPreHook] : Activity failed.
  1732. [2019-01-27T09:58:51.505Z] INFO [16454] - [Application update app-4d95-190127_152805@13/AppDeployStage0] : Activity failed.
  1733. [2019-01-27T09:58:51.506Z] INFO [16454] - [Application update app-4d95-190127_152805@13] : Completed activity. Result:
  1734. Application update - Command CMD-AppDeploy failed
  1735. [2019-01-27T09:59:16.743Z] INFO [16849] - [CMD-TailLogs] : Starting activity...
  1736. [2019-01-27T09:59:16.743Z] INFO [16849] - [CMD-TailLogs/AddonsBefore] : Starting activity...
  1737. [2019-01-27T09:59:16.743Z] INFO [16849] - [CMD-TailLogs/AddonsBefore] : Completed activity.
  1738. [2019-01-27T09:59:16.743Z] INFO [16849] - [CMD-TailLogs/TailLogs] : Starting activity...
  1739. [2019-01-27T09:59:16.743Z] INFO [16849] - [CMD-TailLogs/TailLogs/TailLogs] : Starting activity...
  1740. [2019-01-27T09:59:16.989Z] INFO [16849] - [CMD-TailLogs/TailLogs/TailLogs] : Completed activity.
  1741. [2019-01-27T09:59:16.989Z] INFO [16849] - [CMD-TailLogs/TailLogs] : Completed activity. Result:
  1742. CMD-TailLogs - stage 0 - Command CMD-TailLogs stage 0 completed
  1743. [2019-01-27T09:59:16.990Z] INFO [16849] - [CMD-TailLogs/AddonsAfter] : Starting activity...
  1744. [2019-01-27T09:59:16.990Z] INFO [16849] - [CMD-TailLogs/AddonsAfter] : Completed activity.
  1745. [2019-01-27T09:59:16.990Z] INFO [16849] - [CMD-TailLogs] : Completed activity. Result:
  1746. CMD-TailLogs - Command CMD-TailLogs succeeded
  1747. [2019-01-27T10:09:17.732Z] INFO [17209] - [Application update app-8f92-190127_153849@14] : Starting activity...
  1748. [2019-01-27T10:09:17.732Z] INFO [17209] - [Application update app-8f92-190127_153849@14/AddonsBefore] : Starting activity...
  1749. [2019-01-27T10:09:17.732Z] INFO [17209] - [Application update app-8f92-190127_153849@14/AddonsBefore/ConfigCWLAgent] : Starting activity...
  1750. [2019-01-27T10:09:17.732Z] INFO [17209] - [Application update app-8f92-190127_153849@14/AddonsBefore/ConfigCWLAgent/10-config.sh] : Starting activity...
  1751. [2019-01-27T10:09:17.858Z] INFO [17209] - [Application update app-8f92-190127_153849@14/AddonsBefore/ConfigCWLAgent/10-config.sh] : Completed activity. Result:
  1752. Log streaming option setting is not specified, ignore cloudwatch logs setup.
  1753.  
  1754. Disabled log streaming.
  1755. [2019-01-27T10:09:17.858Z] INFO [17209] - [Application update app-8f92-190127_153849@14/AddonsBefore/ConfigCWLAgent] : Completed activity. Result:
  1756. Successfully execute hooks in directory /opt/elasticbeanstalk/addons/logstreaming/hooks/config.
  1757. [2019-01-27T10:09:17.858Z] INFO [17209] - [Application update app-8f92-190127_153849@14/AddonsBefore] : Completed activity.
  1758. [2019-01-27T10:09:18.251Z] INFO [17209] - [Application update app-8f92-190127_153849@14/AppDeployStage0] : Starting activity...
  1759. [2019-01-27T10:09:18.251Z] INFO [17209] - [Application update app-8f92-190127_153849@14/AppDeployStage0/DownloadSourceBundle] : Starting activity...
  1760. [2019-01-27T10:09:18.761Z] INFO [17209] - [Application update app-8f92-190127_153849@14/AppDeployStage0/DownloadSourceBundle] : Completed activity. Result:
  1761. [2019-01-27T10:09:18.359Z] INFO [17252] : Application version will be saved to /opt/elasticbeanstalk/deploy/appsource.
  1762. [2019-01-27T10:09:18.359Z] INFO [17252] : Using manifest cache with deployment ID 14 and serial 17.
  1763. [2019-01-27T10:09:18.359Z] INFO [17252] : Attempting to download application source bundle to: '/opt/elasticbeanstalk/deploy/appsource/source_bundle'.
  1764. [2019-01-27T10:09:18.359Z] INFO [17252] : Using computed s3 key.
  1765. [2019-01-27T10:09:18.482Z] INFO [17252] : Downloading from bucket 'elasticbeanstalk-us-east-2-387358288273' with key 'resources/environments/e-sv4jqab3r8/_runtime/_versions/test/app-8f92-190127_153849' and version '' to '/opt/elasticbeanstalk/deploy/appsource/source_bundle'.
  1766. [2019-01-27T10:09:18.535Z] INFO [17252] : Size: 9503209, ETag: "dbde2a996eda96887cdf32557558cc95", Metadata: {"environmentid"=>"e-sv4jqab3r8", "requestid"=>"e63128de-bdb7-4eee-bc42-0278c2755521"}.
  1767. [2019-01-27T10:09:18.752Z] INFO [17252] : Downloaded size: 9503209.
  1768. [2019-01-27T10:09:18.752Z] INFO [17252] : Successfully downloaded to '/opt/elasticbeanstalk/deploy/appsource/source_bundle'.
  1769. [2019-01-27T10:09:18.761Z] INFO [17209] - [Application update app-8f92-190127_153849@14/AppDeployStage0/EbExtensionPreBuild] : Starting activity...
  1770. [2019-01-27T10:09:19.108Z] INFO [17209] - [Application update app-8f92-190127_153849@14/AppDeployStage0/EbExtensionPreBuild/Infra-EmbeddedPreBuild] : Starting activity...
  1771. [2019-01-27T10:09:19.111Z] INFO [17209] - [Application update app-8f92-190127_153849@14/AppDeployStage0/EbExtensionPreBuild/Infra-EmbeddedPreBuild/prebuild_0_test] : Starting activity...
  1772. [2019-01-27T10:09:19.111Z] INFO [17209] - [Application update app-8f92-190127_153849@14/AppDeployStage0/EbExtensionPreBuild/Infra-EmbeddedPreBuild/prebuild_0_test] : Completed activity.
  1773. [2019-01-27T10:09:19.111Z] INFO [17209] - [Application update app-8f92-190127_153849@14/AppDeployStage0/EbExtensionPreBuild/Infra-EmbeddedPreBuild] : Completed activity.
  1774. [2019-01-27T10:09:19.490Z] INFO [17209] - [Application update app-8f92-190127_153849@14/AppDeployStage0/EbExtensionPreBuild] : Completed activity.
  1775. [2019-01-27T10:09:19.490Z] INFO [17209] - [Application update app-8f92-190127_153849@14/AppDeployStage0/AppDeployPreHook] : Starting activity...
  1776. [2019-01-27T10:09:19.490Z] INFO [17209] - [Application update app-8f92-190127_153849@14/AppDeployStage0/AppDeployPreHook/01_configure_xray.sh] : Starting activity...
  1777. [2019-01-27T10:09:19.600Z] INFO [17209] - [Application update app-8f92-190127_153849@14/AppDeployStage0/AppDeployPreHook/01_configure_xray.sh] : Completed activity.
  1778. [2019-01-27T10:09:19.601Z] INFO [17209] - [Application update app-8f92-190127_153849@14/AppDeployStage0/AppDeployPreHook/01_unzip.rb] : Starting activity...
  1779. [2019-01-27T10:09:20.167Z] INFO [17209] - [Application update app-8f92-190127_153849@14/AppDeployStage0/AppDeployPreHook/01_unzip.rb] : Completed activity.
  1780. [2019-01-27T10:09:20.167Z] INFO [17209] - [Application update app-8f92-190127_153849@14/AppDeployStage0/AppDeployPreHook/02_setup_envvars.sh] : Starting activity...
  1781. [2019-01-27T10:09:20.393Z] INFO [17209] - [Application update app-8f92-190127_153849@14/AppDeployStage0/AppDeployPreHook/02_setup_envvars.sh] : Completed activity. Result:
  1782. ++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
  1783. + EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
  1784. + /opt/elasticbeanstalk/support/export_envvars
  1785. [2019-01-27T10:09:20.393Z] INFO [17209] - [Application update app-8f92-190127_153849@14/AppDeployStage0/AppDeployPreHook/10_bundle_install.sh] : Starting activity...
  1786. [2019-01-27T10:12:03.386Z] INFO [17209] - [Application update app-8f92-190127_153849@14/AppDeployStage0/AppDeployPreHook/10_bundle_install.sh] : Completed activity. Result:
  1787. ++ /opt/elasticbeanstalk/bin/get-config container -k script_dir
  1788. + EB_SCRIPT_DIR=/opt/elasticbeanstalk/support/scripts
  1789. ++ /opt/elasticbeanstalk/bin/get-config container -k app_staging_dir
  1790. + EB_APP_STAGING_DIR=/var/app/ondeck
  1791. ++ /opt/elasticbeanstalk/bin/get-config container -k app_user
  1792. + EB_APP_USER=webapp
  1793. ++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
  1794. + EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
  1795. + . /opt/elasticbeanstalk/support/envvars-wrapper.sh
  1796. +++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
  1797. ++ EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
  1798. ++ set +x
  1799. + . /opt/elasticbeanstalk/support/scripts/use-app-ruby.sh
  1800. ++ . /usr/local/share/chruby/chruby.sh
  1801. +++ CHRUBY_VERSION=0.3.9
  1802. +++ RUBIES=()
  1803. +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
  1804. +++ [[ -d /opt/rubies ]]
  1805. ++++ ls -A /opt/rubies
  1806. +++ [[ -n ruby-1.9.3-p551
  1807. ruby-2.0.0-p648
  1808. ruby-2.1.10
  1809. ruby-2.2.10
  1810. ruby-2.3.8
  1811. ruby-2.4.5
  1812. ruby-2.5.3
  1813. ruby-2.6.0
  1814. ruby-current ]]
  1815. +++ RUBIES+=("$dir"/*)
  1816. +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
  1817. +++ [[ -d /.rubies ]]
  1818. +++ unset dir
  1819. +++ cat /etc/elasticbeanstalk/.ruby_version
  1820. ++ chruby 2.4.5
  1821. ++ case "$1" in
  1822. ++ local dir match
  1823. ++ for dir in '"${RUBIES[@]}"'
  1824. ++ dir=/opt/rubies/ruby-1.9.3-p551
  1825. ++ case "${dir##*/}" in
  1826. ++ for dir in '"${RUBIES[@]}"'
  1827. ++ dir=/opt/rubies/ruby-2.0.0-p648
  1828. ++ case "${dir##*/}" in
  1829. ++ for dir in '"${RUBIES[@]}"'
  1830. ++ dir=/opt/rubies/ruby-2.1.10
  1831. ++ case "${dir##*/}" in
  1832. ++ for dir in '"${RUBIES[@]}"'
  1833. ++ dir=/opt/rubies/ruby-2.2.10
  1834. ++ case "${dir##*/}" in
  1835. ++ for dir in '"${RUBIES[@]}"'
  1836. ++ dir=/opt/rubies/ruby-2.3.8
  1837. ++ case "${dir##*/}" in
  1838. ++ for dir in '"${RUBIES[@]}"'
  1839. ++ dir=/opt/rubies/ruby-2.4.5
  1840. ++ case "${dir##*/}" in
  1841. ++ match=/opt/rubies/ruby-2.4.5
  1842. ++ for dir in '"${RUBIES[@]}"'
  1843. ++ dir=/opt/rubies/ruby-2.5.3
  1844. ++ case "${dir##*/}" in
  1845. ++ for dir in '"${RUBIES[@]}"'
  1846. ++ dir=/opt/rubies/ruby-2.6.0
  1847. ++ case "${dir##*/}" in
  1848. ++ for dir in '"${RUBIES[@]}"'
  1849. ++ dir=/opt/rubies/ruby-current
  1850. ++ case "${dir##*/}" in
  1851. ++ [[ -z /opt/rubies/ruby-2.4.5 ]]
  1852. ++ shift
  1853. ++ chruby_use /opt/rubies/ruby-2.4.5 ''
  1854. ++ [[ ! -x /opt/rubies/ruby-2.4.5/bin/ruby ]]
  1855. ++ [[ -n '' ]]
  1856. ++ export RUBY_ROOT=/opt/rubies/ruby-2.4.5
  1857. ++ RUBY_ROOT=/opt/rubies/ruby-2.4.5
  1858. ++ export RUBYOPT=
  1859. ++ RUBYOPT=
  1860. ++ export PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
  1861. ++ PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
  1862. +++ /opt/rubies/ruby-2.4.5/bin/ruby -
  1863. ++ eval 'export RUBY_ENGINE=ruby;
  1864. export RUBY_VERSION=2.4.5;
  1865. export GEM_ROOT="/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0";'
  1866. +++ export RUBY_ENGINE=ruby
  1867. +++ RUBY_ENGINE=ruby
  1868. +++ export RUBY_VERSION=2.4.5
  1869. +++ RUBY_VERSION=2.4.5
  1870. +++ export GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
  1871. +++ GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
  1872. ++ (( 0 != 0 ))
  1873. + cd /var/app/ondeck
  1874. + '[' -f Gemfile ']'
  1875. + echo 'running '\''bundle install'\'' with Gemfile:'
  1876. running 'bundle install' with Gemfile:
  1877. + cat Gemfile
  1878. source 'https://rubygems.org'
  1879.  
  1880.  
  1881. # Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
  1882. gem 'rails', '~> 5.0.0', '>= 5.0.0.1'
  1883.  
  1884.  
  1885. # sqlite3 fails on heroku
  1886. # group :development do
  1887. # gem 'sqlite3' #gem to use in development environment
  1888. # end
  1889. # gem 'sqlite3'
  1890. # group :production do
  1891. gem 'pg', '~> 0.18' #gem to use in production environment
  1892. # end
  1893. gem 'will_paginate', '~> 3.1.0'
  1894. gem 'simple_form'
  1895. gem 'bootstrap-sass'
  1896. gem 'devise'
  1897. gem 'nested_scaffold'
  1898. # Use Puma as the app server
  1899. gem 'puma', '~> 3.0'
  1900. # Use SCSS for stylesheets
  1901. gem 'sass-rails', '~> 5.0'
  1902. # Use Uglifier as compressor for JavaScript assets
  1903. gem 'uglifier', '>= 1.3.0'
  1904. # Use CoffeeScript for .coffee assets and views
  1905. gem 'coffee-rails', '~> 4.2'
  1906. # See https://github.com/rails/execjs#readme for more supported runtimes
  1907. # gem 'therubyracer', platforms: :ruby
  1908.  
  1909. # Use jquery as the JavaScript library
  1910. gem 'jquery-rails'
  1911. # Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks
  1912. gem 'turbolinks', '~> 5'
  1913. # Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
  1914. gem 'jbuilder', '~> 2.5'
  1915. # Use Redis adapter to run Action Cable in production
  1916. # gem 'redis', '~> 3.0'
  1917. # Use ActiveModel has_secure_password
  1918. # gem 'bcrypt', '~> 3.1.7'
  1919.  
  1920. # Use Capistrano for deployment
  1921. # gem 'capistrano-rails', group: :development
  1922.  
  1923. group :development, :test do
  1924. # Call 'byebug' anywhere in the code to stop execution and get a debugger console
  1925. gem 'byebug', platform: :mri
  1926. end
  1927.  
  1928. group :development do
  1929. # Access an IRB console on exception pages or by using <%= console %> anywhere in the code.
  1930. gem 'web-console'
  1931. end
  1932.  
  1933. # Windows does not include zoneinfo files, so bundle the tzinfo-data gem
  1934. gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
  1935.  
  1936. gem 'activeadmin'
  1937. + '[' -d /var/app/ondeck/vendor/cache ']'
  1938. + bundle install
  1939. Don't run Bundler as root. Bundler can ask for sudo if it is needed, and
  1940. installing your bundle as root will break this application for all non-root
  1941. users on this machine.
  1942. The dependency tzinfo-data (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for x86-mingw32, x86-mswin32, x64-mingw32, java. To add those platforms to the bundle, run `bundle lock --add-platform x86-mingw32 x86-mswin32 x64-mingw32 java`.
  1943. Fetching gem metadata from https://rubygems.org/..........
  1944. Fetching gem metadata from https://rubygems.org/.
  1945. Resolving dependencies......
  1946. Fetching rake 12.3.2
  1947. Installing rake 12.3.2
  1948. Fetching concurrent-ruby 1.1.4
  1949. Installing concurrent-ruby 1.1.4
  1950. Fetching i18n 1.5.3
  1951. Installing i18n 1.5.3
  1952. Fetching minitest 5.11.3
  1953. Installing minitest 5.11.3
  1954. Using thread_safe 0.3.6
  1955. Fetching tzinfo 1.2.5
  1956. Installing tzinfo 1.2.5
  1957. Fetching activesupport 5.0.7.1
  1958. Installing activesupport 5.0.7.1
  1959. Using builder 3.2.3
  1960. Using erubis 2.7.0
  1961. Fetching mini_portile2 2.4.0
  1962. Installing mini_portile2 2.4.0
  1963. Fetching nokogiri 1.10.1
  1964. Installing nokogiri 1.10.1 with native extensions
  1965. Fetching rails-dom-testing 2.0.3
  1966. Installing rails-dom-testing 2.0.3
  1967. Fetching crass 1.0.4
  1968. Installing crass 1.0.4
  1969. Fetching loofah 2.2.3
  1970. Installing loofah 2.2.3
  1971. Fetching rails-html-sanitizer 1.0.4
  1972. Installing rails-html-sanitizer 1.0.4
  1973. Fetching actionview 5.0.7.1
  1974. Installing actionview 5.0.7.1
  1975. Fetching rack 2.0.6
  1976. Installing rack 2.0.6
  1977. Using rack-test 0.6.3
  1978. Fetching actionpack 5.0.7.1
  1979. Installing actionpack 5.0.7.1
  1980. Fetching nio4r 2.3.1
  1981. Installing nio4r 2.3.1 with native extensions
  1982. Fetching websocket-extensions 0.1.3
  1983. Installing websocket-extensions 0.1.3
  1984. Using websocket-driver 0.6.5
  1985. Fetching actioncable 5.0.7.1
  1986. Installing actioncable 5.0.7.1
  1987. Fetching globalid 0.4.2
  1988. Installing globalid 0.4.2
  1989. Fetching activejob 5.0.7.1
  1990. Installing activejob 5.0.7.1
  1991. Fetching mini_mime 1.0.1
  1992. Installing mini_mime 1.0.1
  1993. Fetching mail 2.7.1
  1994. Installing mail 2.7.1
  1995. Fetching actionmailer 5.0.7.1
  1996. Installing actionmailer 5.0.7.1
  1997. Using arbre 1.1.1
  1998. Using coffee-script-source 1.12.2
  1999. Using execjs 2.7.0
  2000. Using coffee-script 2.4.1
  2001. Fetching method_source 0.9.2
  2002. Installing method_source 0.9.2
  2003. Fetching thor 0.20.3
  2004. Installing thor 0.20.3
  2005. Fetching railties 5.0.7.1
  2006. Installing railties 5.0.7.1
  2007. Fetching coffee-rails 4.2.2
  2008. Installing coffee-rails 4.2.2
  2009. Using formtastic 3.1.5
  2010. Using formtastic_i18n 0.6.0
  2011. Fetching has_scope 0.7.2
  2012. Installing has_scope 0.7.2
  2013. Fetching responders 2.4.1
  2014. Installing responders 2.4.1
  2015. Fetching inherited_resources 1.9.0
  2016. Installing inherited_resources 1.9.0
  2017. Fetching jquery-rails 4.3.3
  2018. Installing jquery-rails 4.3.3
  2019. Fetching kaminari-core 1.1.1
  2020. Installing kaminari-core 1.1.1
  2021. Fetching kaminari-actionview 1.1.1
  2022. Installing kaminari-actionview 1.1.1
  2023. Fetching activemodel 5.0.7.1
  2024. Installing activemodel 5.0.7.1
  2025. Using arel 7.1.4
  2026. Fetching activerecord 5.0.7.1
  2027. Installing activerecord 5.0.7.1
  2028. Fetching kaminari-activerecord 1.1.1
  2029. Installing kaminari-activerecord 1.1.1
  2030. Fetching kaminari 1.1.1
  2031. Installing kaminari 1.1.1
  2032. Fetching ransack 2.1.1
  2033. Installing ransack 2.1.1
  2034. Fetching rb-fsevent 0.10.3
  2035. Installing rb-fsevent 0.10.3
  2036. Fetching ffi 1.9.25
  2037. Installing ffi 1.9.25 with native extensions
  2038. Fetching rb-inotify 0.10.0
  2039. Installing rb-inotify 0.10.0
  2040. Fetching sass-listen 4.0.0
  2041. Installing sass-listen 4.0.0
  2042. Fetching sass 3.7.3
  2043. Installing sass 3.7.3
  2044. Fetching sprockets 3.7.2
  2045. Installing sprockets 3.7.2
  2046. Fetching activeadmin 1.4.3
  2047. Installing activeadmin 1.4.3
  2048. Fetching autoprefixer-rails 9.4.6
  2049. Installing autoprefixer-rails 9.4.6
  2050. Fetching bcrypt 3.1.12
  2051. Installing bcrypt 3.1.12 with native extensions
  2052. Fetching sassc 2.0.0
  2053. Installing sassc 2.0.0 with native extensions
  2054. Fetching bootstrap-sass 3.4.0
  2055. Installing bootstrap-sass 3.4.0
  2056. Using bundler 1.16.2
  2057. Using orm_adapter 0.5.0
  2058. Fetching warden 1.2.8
  2059. Installing warden 1.2.8
  2060. Fetching devise 4.5.0
  2061. Installing devise 4.5.0
  2062. Fetching multi_json 1.13.1
  2063. Installing multi_json 1.13.1
  2064. Fetching jbuilder 2.8.0
  2065. Installing jbuilder 2.8.0
  2066. Using nested_scaffold 1.0.0
  2067. Using pg 0.21.0
  2068. Fetching puma 3.12.0
  2069. Installing puma 3.12.0 with native extensions
  2070. Fetching sprockets-rails 3.2.1
  2071. Installing sprockets-rails 3.2.1
  2072. Fetching rails 5.0.7.1
  2073. Installing rails 5.0.7.1
  2074. Fetching tilt 2.0.9
  2075. Installing tilt 2.0.9
  2076. Fetching sass-rails 5.0.7
  2077. Installing sass-rails 5.0.7
  2078. Fetching simple_form 4.1.0
  2079. Installing simple_form 4.1.0
  2080. Fetching turbolinks-source 5.2.0
  2081. Installing turbolinks-source 5.2.0
  2082. Fetching turbolinks 5.2.0
  2083. Installing turbolinks 5.2.0
  2084. Fetching uglifier 4.1.20
  2085. Installing uglifier 4.1.20
  2086. Fetching will_paginate 3.1.6
  2087. Installing will_paginate 3.1.6
  2088. Bundle complete! 18 Gemfile dependencies, 79 gems now installed.
  2089. Gems in the groups test and development were not installed.
  2090. Use `bundle info [gemname]` to see where a bundled gem is installed.
  2091. Post-install message from i18n:
  2092.  
  2093. HEADS UP! i18n 1.1 changed fallbacks to exclude default locale.
  2094. But that may break your application.
  2095.  
  2096. Please check your Rails app for 'config.i18n.fallbacks = true'.
  2097. If you're using I18n (>= 1.1.0) and Rails (< 5.2.2), this should be
  2098. 'config.i18n.fallbacks = [I18n.default_locale]'.
  2099. If not, fallbacks will be broken in your app by I18n 1.1.x.
  2100.  
  2101. For more info see:
  2102. https://github.com/svenfuchs/i18n/releases/tag/v1.1.0
  2103.  
  2104. Post-install message from sass:
  2105.  
  2106. Ruby Sass is deprecated and will be unmaintained as of 26 March 2019.
  2107.  
  2108. * If you use Sass as a command-line tool, we recommend using Dart Sass, the new
  2109. primary implementation: https://sass-lang.com/install
  2110.  
  2111. * If you use Sass as a plug-in for a Ruby web framework, we recommend using the
  2112. sassc gem: https://github.com/sass/sassc-ruby#readme
  2113.  
  2114. * For more details, please refer to the Sass blog:
  2115. http://sass.logdown.com/posts/7081811
  2116.  
  2117. + '[' -f Gemfile.lock ']'
  2118. + echo 'encountered a Gemfile.lock, setting proper permissions'
  2119. encountered a Gemfile.lock, setting proper permissions
  2120. + chown webapp:webapp Gemfile.lock
  2121. + '[' '' = 1 ']'
  2122. [2019-01-27T10:12:03.386Z] INFO [17209] - [Application update app-8f92-190127_153849@14/AppDeployStage0/AppDeployPreHook/11_asset_compilation.sh] : Starting activity...
  2123. [2019-01-27T10:12:29.699Z] INFO [17209] - [Application update app-8f92-190127_153849@14/AppDeployStage0/AppDeployPreHook/11_asset_compilation.sh] : Completed activity. Result:
  2124. ++ /opt/elasticbeanstalk/bin/get-config container -k script_dir
  2125. + EB_SCRIPT_DIR=/opt/elasticbeanstalk/support/scripts
  2126. ++ /opt/elasticbeanstalk/bin/get-config container -k app_staging_dir
  2127. + EB_APP_STAGING_DIR=/var/app/ondeck
  2128. ++ /opt/elasticbeanstalk/bin/get-config container -k app_user
  2129. + EB_APP_USER=webapp
  2130. ++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
  2131. + EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
  2132. + . /opt/elasticbeanstalk/support/envvars-wrapper.sh
  2133. +++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
  2134. ++ EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
  2135. ++ set +x
  2136. + RAKE_TASK=assets:precompile
  2137. + . /opt/elasticbeanstalk/support/scripts/use-app-ruby.sh
  2138. ++ . /usr/local/share/chruby/chruby.sh
  2139. +++ CHRUBY_VERSION=0.3.9
  2140. +++ RUBIES=()
  2141. +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
  2142. +++ [[ -d /opt/rubies ]]
  2143. ++++ ls -A /opt/rubies
  2144. +++ [[ -n ruby-1.9.3-p551
  2145. ruby-2.0.0-p648
  2146. ruby-2.1.10
  2147. ruby-2.2.10
  2148. ruby-2.3.8
  2149. ruby-2.4.5
  2150. ruby-2.5.3
  2151. ruby-2.6.0
  2152. ruby-current ]]
  2153. +++ RUBIES+=("$dir"/*)
  2154. +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
  2155. +++ [[ -d /.rubies ]]
  2156. +++ unset dir
  2157. +++ cat /etc/elasticbeanstalk/.ruby_version
  2158. ++ chruby 2.4.5
  2159. ++ case "$1" in
  2160. ++ local dir match
  2161. ++ for dir in '"${RUBIES[@]}"'
  2162. ++ dir=/opt/rubies/ruby-1.9.3-p551
  2163. ++ case "${dir##*/}" in
  2164. ++ for dir in '"${RUBIES[@]}"'
  2165. ++ dir=/opt/rubies/ruby-2.0.0-p648
  2166. ++ case "${dir##*/}" in
  2167. ++ for dir in '"${RUBIES[@]}"'
  2168. ++ dir=/opt/rubies/ruby-2.1.10
  2169. ++ case "${dir##*/}" in
  2170. ++ for dir in '"${RUBIES[@]}"'
  2171. ++ dir=/opt/rubies/ruby-2.2.10
  2172. ++ case "${dir##*/}" in
  2173. ++ for dir in '"${RUBIES[@]}"'
  2174. ++ dir=/opt/rubies/ruby-2.3.8
  2175. ++ case "${dir##*/}" in
  2176. ++ for dir in '"${RUBIES[@]}"'
  2177. ++ dir=/opt/rubies/ruby-2.4.5
  2178. ++ case "${dir##*/}" in
  2179. ++ match=/opt/rubies/ruby-2.4.5
  2180. ++ for dir in '"${RUBIES[@]}"'
  2181. ++ dir=/opt/rubies/ruby-2.5.3
  2182. ++ case "${dir##*/}" in
  2183. ++ for dir in '"${RUBIES[@]}"'
  2184. ++ dir=/opt/rubies/ruby-2.6.0
  2185. ++ case "${dir##*/}" in
  2186. ++ for dir in '"${RUBIES[@]}"'
  2187. ++ dir=/opt/rubies/ruby-current
  2188. ++ case "${dir##*/}" in
  2189. ++ [[ -z /opt/rubies/ruby-2.4.5 ]]
  2190. ++ shift
  2191. ++ chruby_use /opt/rubies/ruby-2.4.5 ''
  2192. ++ [[ ! -x /opt/rubies/ruby-2.4.5/bin/ruby ]]
  2193. ++ [[ -n '' ]]
  2194. ++ export RUBY_ROOT=/opt/rubies/ruby-2.4.5
  2195. ++ RUBY_ROOT=/opt/rubies/ruby-2.4.5
  2196. ++ export RUBYOPT=
  2197. ++ RUBYOPT=
  2198. ++ export PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
  2199. ++ PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
  2200. +++ /opt/rubies/ruby-2.4.5/bin/ruby -
  2201. ++ eval 'export RUBY_ENGINE=ruby;
  2202. export RUBY_VERSION=2.4.5;
  2203. export GEM_ROOT="/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0";'
  2204. +++ export RUBY_ENGINE=ruby
  2205. +++ RUBY_ENGINE=ruby
  2206. +++ export RUBY_VERSION=2.4.5
  2207. +++ RUBY_VERSION=2.4.5
  2208. +++ export GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
  2209. +++ GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
  2210. ++ (( 0 != 0 ))
  2211. + cd /var/app/ondeck
  2212. + su -s /bin/bash -c 'bundle exec /opt/elasticbeanstalk/support/scripts/check-for-rake-task.rb assets:precompile' webapp
  2213. `/home/webapp` is not a directory.
  2214. Bundler will use `/tmp/bundler/home/webapp' as your home directory temporarily.
  2215. + '[' false == true ']'
  2216. + su -s /bin/bash -c 'bundle exec rake assets:precompile' webapp
  2217. `/home/webapp` is not a directory.
  2218. Bundler will use `/tmp/bundler/home/webapp' as your home directory temporarily.
  2219. DEPRECATION WARNING: `config.static_cache_control` is deprecated and will be removed in Rails 5.1.
  2220. Please use
  2221. `config.public_file_server.headers = { 'Cache-Control' => 'public, max-age=2592000' }`
  2222. instead.
  2223. (called from block in <top (required)> at /var/app/ondeck/config/environments/production.rb:28)
  2224. intializing git
  2225. error: could not lock config file /home/webapp/.gitconfig: No such file or directory
  2226. sh: line 0: cd: /home/webapp: No such file or directory
  2227. I, [2019-01-27T10:12:10.395522 #30774] INFO -- : Writing /var/app/ondeck/public/assets/active_admin-6f1b843b5bbbbe3257701ffd3bd6475c519e5523a0e1604f9c9af6ec18e4ad25.css
  2228. I, [2019-01-27T10:12:10.395864 #30774] INFO -- : Writing /var/app/ondeck/public/assets/active_admin-6f1b843b5bbbbe3257701ffd3bd6475c519e5523a0e1604f9c9af6ec18e4ad25.css.gz
  2229. I, [2019-01-27T10:12:10.396166 #30774] INFO -- : Writing /var/app/ondeck/public/assets/active_admin/nested_menu_arrow-15084d93c65c1964d7077700ea748bd2d70cfa2d4c19707c58a9c64e232dd442.gif
  2230. I, [2019-01-27T10:12:10.396472 #30774] INFO -- : Writing /var/app/ondeck/public/assets/active_admin/nested_menu_arrow_dark-7c43b8e0a5f8823875f49a093c9d7a6b374f885b6f9cc248ae9cd7e6e9b29034.gif
  2231. I, [2019-01-27T10:12:10.396751 #30774] INFO -- : Writing /var/app/ondeck/public/assets/active_admin/orderable-29374dbb55b0012d78a37c614d573bb3474f0779849b478a147d0f1845ca6617.png
  2232. I, [2019-01-27T10:12:10.581692 #30774] INFO -- : Writing /var/app/ondeck/public/assets/active_admin/print-cf99cbf27fb92065a9eacd28e6fad48fa72cadaf6e0918790e8d35b11d8f99f6.css
  2233. I, [2019-01-27T10:12:10.582051 #30774] INFO -- : Writing /var/app/ondeck/public/assets/active_admin/print-cf99cbf27fb92065a9eacd28e6fad48fa72cadaf6e0918790e8d35b11d8f99f6.css.gz
  2234. I, [2019-01-27T10:12:20.642380 #30774] INFO -- : Writing /var/app/ondeck/public/assets/active_admin-aad478f9674ed0cc76f83512b458a5e516b90e017d64c576f5f9eaf05ea52b38.js
  2235. I, [2019-01-27T10:12:20.642912 #30774] INFO -- : Writing /var/app/ondeck/public/assets/active_admin-aad478f9674ed0cc76f83512b458a5e516b90e017d64c576f5f9eaf05ea52b38.js.gz
  2236. I, [2019-01-27T10:12:20.650424 #30774] INFO -- : Writing /var/app/ondeck/public/assets/danger-869dd8b0616e1a5b646dc898db2a5d6428f45fe14a90fa6d0c7130f64d886c48.png
  2237. I, [2019-01-27T10:12:20.657536 #30774] INFO -- : Writing /var/app/ondeck/public/assets/dark-607bed84e53ccb497978bd3ae9e51d4b57de94e954da4e8e1ec5b51a78d8898e.png
  2238. I, [2019-01-27T10:12:20.661461 #30774] INFO -- : Writing /var/app/ondeck/public/assets/do-e798277592b8fde73e6568cdde6687220f6d2a83f53250c561edf11619d5b1c1.jpg
  2239. I, [2019-01-27T10:12:20.664224 #30774] INFO -- : Writing /var/app/ondeck/public/assets/favicon-21c44bf091fb9557f8a4527913b0254924fc136d6e71dcee1676b7f37c8175ef.ico
  2240. I, [2019-01-27T10:12:20.664524 #30774] INFO -- : Writing /var/app/ondeck/public/assets/favicon-21c44bf091fb9557f8a4527913b0254924fc136d6e71dcee1676b7f37c8175ef.ico.gz
  2241. I, [2019-01-27T10:12:20.669367 #30774] INFO -- : Writing /var/app/ondeck/public/assets/home-f3281914e0ac5072115e9ba6f458cec56ad002cc5e65ca75988afc86af858e01.jpg
  2242. I, [2019-01-27T10:12:20.673404 #30774] INFO -- : Writing /var/app/ondeck/public/assets/info-967cdd33af0671563a0e72bed22f1cddb95a138e241dffbd5013750360bf7113.png
  2243. I, [2019-01-27T10:12:20.677430 #30774] INFO -- : Writing /var/app/ondeck/public/assets/primary-093ae3386f858ff56855e5c8a09137d4ce87c2c7aa2b152af81eac5d7667a98d.png
  2244. I, [2019-01-27T10:12:20.683371 #30774] INFO -- : Writing /var/app/ondeck/public/assets/secondary-1c1a37a441b0e6f6ca2bfb1435df8f1160a0e4ec1db5798a5e5a72374172942c.png
  2245. I, [2019-01-27T10:12:20.687635 #30774] INFO -- : Writing /var/app/ondeck/public/assets/success-5a1b362ddb5e5ed6131beffc575d91a3615864b678d24706bff24b055b6a594c.png
  2246. I, [2019-01-27T10:12:20.691828 #30774] INFO -- : Writing /var/app/ondeck/public/assets/warning-a3e35927fa71a99455166de5b62a03122ffb5287e33c9ed2c42532622f543fa5.png
  2247. I, [2019-01-27T10:12:26.357986 #30774] INFO -- : Writing /var/app/ondeck/public/assets/application-5770a9512b971d7fb2a232494ee2a78c8f1d383bfc452a26a9dea3a712e6c3b2.js
  2248. I, [2019-01-27T10:12:26.358457 #30774] INFO -- : Writing /var/app/ondeck/public/assets/application-5770a9512b971d7fb2a232494ee2a78c8f1d383bfc452a26a9dea3a712e6c3b2.js.gz
  2249. I, [2019-01-27T10:12:29.644046 #30774] INFO -- : Writing /var/app/ondeck/public/assets/application-da22e659ddaed5260aa445b696e4e8945e554c6c97884a0be799b74eb511ccf3.css
  2250. I, [2019-01-27T10:12:29.644463 #30774] INFO -- : Writing /var/app/ondeck/public/assets/application-da22e659ddaed5260aa445b696e4e8945e554c6c97884a0be799b74eb511ccf3.css.gz
  2251. [2019-01-27T10:12:29.699Z] INFO [17209] - [Application update app-8f92-190127_153849@14/AppDeployStage0/AppDeployPreHook/12_db_migration.sh] : Starting activity...
  2252. [2019-01-27T10:12:33.737Z] INFO [17209] - [Application update app-8f92-190127_153849@14/AppDeployStage0/AppDeployPreHook/12_db_migration.sh] : Activity execution failed, because: ++ /opt/elasticbeanstalk/bin/get-config container -k script_dir
  2253. + EB_SCRIPT_DIR=/opt/elasticbeanstalk/support/scripts
  2254. ++ /opt/elasticbeanstalk/bin/get-config container -k app_staging_dir
  2255. + EB_APP_STAGING_DIR=/var/app/ondeck
  2256. ++ /opt/elasticbeanstalk/bin/get-config container -k app_user
  2257. + EB_APP_USER=webapp
  2258. ++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
  2259. + EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
  2260. + . /opt/elasticbeanstalk/support/envvars-wrapper.sh
  2261. +++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
  2262. ++ EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
  2263. ++ set +x
  2264. + RAKE_TASK=db:migrate
  2265. + . /opt/elasticbeanstalk/support/scripts/use-app-ruby.sh
  2266. ++ . /usr/local/share/chruby/chruby.sh
  2267. +++ CHRUBY_VERSION=0.3.9
  2268. +++ RUBIES=()
  2269. +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
  2270. +++ [[ -d /opt/rubies ]]
  2271. ++++ ls -A /opt/rubies
  2272. +++ [[ -n ruby-1.9.3-p551
  2273. ruby-2.0.0-p648
  2274. ruby-2.1.10
  2275. ruby-2.2.10
  2276. ruby-2.3.8
  2277. ruby-2.4.5
  2278. ruby-2.5.3
  2279. ruby-2.6.0
  2280. ruby-current ]]
  2281. +++ RUBIES+=("$dir"/*)
  2282. +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
  2283. +++ [[ -d /.rubies ]]
  2284. +++ unset dir
  2285. +++ cat /etc/elasticbeanstalk/.ruby_version
  2286. ++ chruby 2.4.5
  2287. ++ case "$1" in
  2288. ++ local dir match
  2289. ++ for dir in '"${RUBIES[@]}"'
  2290. ++ dir=/opt/rubies/ruby-1.9.3-p551
  2291. ++ case "${dir##*/}" in
  2292. ++ for dir in '"${RUBIES[@]}"'
  2293. ++ dir=/opt/rubies/ruby-2.0.0-p648
  2294. ++ case "${dir##*/}" in
  2295. ++ for dir in '"${RUBIES[@]}"'
  2296. ++ dir=/opt/rubies/ruby-2.1.10
  2297. ++ case "${dir##*/}" in
  2298. ++ for dir in '"${RUBIES[@]}"'
  2299. ++ dir=/opt/rubies/ruby-2.2.10
  2300. ++ case "${dir##*/}" in
  2301. ++ for dir in '"${RUBIES[@]}"'
  2302. ++ dir=/opt/rubies/ruby-2.3.8
  2303. ++ case "${dir##*/}" in
  2304. ++ for dir in '"${RUBIES[@]}"'
  2305. ++ dir=/opt/rubies/ruby-2.4.5
  2306. ++ case "${dir##*/}" in
  2307. ++ match=/opt/rubies/ruby-2.4.5
  2308. ++ for dir in '"${RUBIES[@]}"'
  2309. ++ dir=/opt/rubies/ruby-2.5.3
  2310. ++ case "${dir##*/}" in
  2311. ++ for dir in '"${RUBIES[@]}"'
  2312. ++ dir=/opt/rubies/ruby-2.6.0
  2313. ++ case "${dir##*/}" in
  2314. ++ for dir in '"${RUBIES[@]}"'
  2315. ++ dir=/opt/rubies/ruby-current
  2316. ++ case "${dir##*/}" in
  2317. ++ [[ -z /opt/rubies/ruby-2.4.5 ]]
  2318. ++ shift
  2319. ++ chruby_use /opt/rubies/ruby-2.4.5 ''
  2320. ++ [[ ! -x /opt/rubies/ruby-2.4.5/bin/ruby ]]
  2321. ++ [[ -n '' ]]
  2322. ++ export RUBY_ROOT=/opt/rubies/ruby-2.4.5
  2323. ++ RUBY_ROOT=/opt/rubies/ruby-2.4.5
  2324. ++ export RUBYOPT=
  2325. ++ RUBYOPT=
  2326. ++ export PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
  2327. ++ PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
  2328. +++ /opt/rubies/ruby-2.4.5/bin/ruby -
  2329. ++ eval 'export RUBY_ENGINE=ruby;
  2330. export RUBY_VERSION=2.4.5;
  2331. export GEM_ROOT="/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0";'
  2332. +++ export RUBY_ENGINE=ruby
  2333. +++ RUBY_ENGINE=ruby
  2334. +++ export RUBY_VERSION=2.4.5
  2335. +++ RUBY_VERSION=2.4.5
  2336. +++ export GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
  2337. +++ GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
  2338. ++ (( 0 != 0 ))
  2339. + cd /var/app/ondeck
  2340. + su -s /bin/bash -c 'bundle exec /opt/elasticbeanstalk/support/scripts/check-for-rake-task.rb db:migrate' webapp
  2341. `/home/webapp` is not a directory.
  2342. Bundler will use `/tmp/bundler/home/webapp' as your home directory temporarily.
  2343. + '[' false = true ']'
  2344. + su -s /bin/bash -c 'leader_only bundle exec rake db:migrate' webapp
  2345. `/home/webapp` is not a directory.
  2346. Bundler will use `/tmp/bundler/home/webapp' as your home directory temporarily.
  2347. DEPRECATION WARNING: `config.static_cache_control` is deprecated and will be removed in Rails 5.1.
  2348. Please use
  2349. `config.public_file_server.headers = { 'Cache-Control' => 'public, max-age=2592000' }`
  2350. instead.
  2351. (called from block in <top (required)> at /var/app/ondeck/config/environments/production.rb:28)
  2352. intializing git
  2353. error: could not lock config file /home/webapp/.gitconfig: No such file or directory
  2354. sh: line 0: cd: /home/webapp: No such file or directory
  2355. rake aborted!
  2356. PG::ConnectionBad: FATAL: password authentication failed for user "justine"
  2357. FATAL: password authentication failed for user "justine"
  2358. /opt/rubies/ruby-2.4.5/bin/bundle:23:in `load'
  2359. /opt/rubies/ruby-2.4.5/bin/bundle:23:in `<main>'
  2360. Tasks: TOP => db:migrate
  2361. (See full trace by running task with --trace) (ElasticBeanstalk::ExternalInvocationError)
  2362. caused by: ++ /opt/elasticbeanstalk/bin/get-config container -k script_dir
  2363. + EB_SCRIPT_DIR=/opt/elasticbeanstalk/support/scripts
  2364. ++ /opt/elasticbeanstalk/bin/get-config container -k app_staging_dir
  2365. + EB_APP_STAGING_DIR=/var/app/ondeck
  2366. ++ /opt/elasticbeanstalk/bin/get-config container -k app_user
  2367. + EB_APP_USER=webapp
  2368. ++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
  2369. + EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
  2370. + . /opt/elasticbeanstalk/support/envvars-wrapper.sh
  2371. +++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
  2372. ++ EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
  2373. ++ set +x
  2374. + RAKE_TASK=db:migrate
  2375. + . /opt/elasticbeanstalk/support/scripts/use-app-ruby.sh
  2376. ++ . /usr/local/share/chruby/chruby.sh
  2377. +++ CHRUBY_VERSION=0.3.9
  2378. +++ RUBIES=()
  2379. +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
  2380. +++ [[ -d /opt/rubies ]]
  2381. ++++ ls -A /opt/rubies
  2382. +++ [[ -n ruby-1.9.3-p551
  2383. ruby-2.0.0-p648
  2384. ruby-2.1.10
  2385. ruby-2.2.10
  2386. ruby-2.3.8
  2387. ruby-2.4.5
  2388. ruby-2.5.3
  2389. ruby-2.6.0
  2390. ruby-current ]]
  2391. +++ RUBIES+=("$dir"/*)
  2392. +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
  2393. +++ [[ -d /.rubies ]]
  2394. +++ unset dir
  2395. +++ cat /etc/elasticbeanstalk/.ruby_version
  2396. ++ chruby 2.4.5
  2397. ++ case "$1" in
  2398. ++ local dir match
  2399. ++ for dir in '"${RUBIES[@]}"'
  2400. ++ dir=/opt/rubies/ruby-1.9.3-p551
  2401. ++ case "${dir##*/}" in
  2402. ++ for dir in '"${RUBIES[@]}"'
  2403. ++ dir=/opt/rubies/ruby-2.0.0-p648
  2404. ++ case "${dir##*/}" in
  2405. ++ for dir in '"${RUBIES[@]}"'
  2406. ++ dir=/opt/rubies/ruby-2.1.10
  2407. ++ case "${dir##*/}" in
  2408. ++ for dir in '"${RUBIES[@]}"'
  2409. ++ dir=/opt/rubies/ruby-2.2.10
  2410. ++ case "${dir##*/}" in
  2411. ++ for dir in '"${RUBIES[@]}"'
  2412. ++ dir=/opt/rubies/ruby-2.3.8
  2413. ++ case "${dir##*/}" in
  2414. ++ for dir in '"${RUBIES[@]}"'
  2415. ++ dir=/opt/rubies/ruby-2.4.5
  2416. ++ case "${dir##*/}" in
  2417. ++ match=/opt/rubies/ruby-2.4.5
  2418. ++ for dir in '"${RUBIES[@]}"'
  2419. ++ dir=/opt/rubies/ruby-2.5.3
  2420. ++ case "${dir##*/}" in
  2421. ++ for dir in '"${RUBIES[@]}"'
  2422. ++ dir=/opt/rubies/ruby-2.6.0
  2423. ++ case "${dir##*/}" in
  2424. ++ for dir in '"${RUBIES[@]}"'
  2425. ++ dir=/opt/rubies/ruby-current
  2426. ++ case "${dir##*/}" in
  2427. ++ [[ -z /opt/rubies/ruby-2.4.5 ]]
  2428. ++ shift
  2429. ++ chruby_use /opt/rubies/ruby-2.4.5 ''
  2430. ++ [[ ! -x /opt/rubies/ruby-2.4.5/bin/ruby ]]
  2431. ++ [[ -n '' ]]
  2432. ++ export RUBY_ROOT=/opt/rubies/ruby-2.4.5
  2433. ++ RUBY_ROOT=/opt/rubies/ruby-2.4.5
  2434. ++ export RUBYOPT=
  2435. ++ RUBYOPT=
  2436. ++ export PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
  2437. ++ PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
  2438. +++ /opt/rubies/ruby-2.4.5/bin/ruby -
  2439. ++ eval 'export RUBY_ENGINE=ruby;
  2440. export RUBY_VERSION=2.4.5;
  2441. export GEM_ROOT="/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0";'
  2442. +++ export RUBY_ENGINE=ruby
  2443. +++ RUBY_ENGINE=ruby
  2444. +++ export RUBY_VERSION=2.4.5
  2445. +++ RUBY_VERSION=2.4.5
  2446. +++ export GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
  2447. +++ GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
  2448. ++ (( 0 != 0 ))
  2449. + cd /var/app/ondeck
  2450. + su -s /bin/bash -c 'bundle exec /opt/elasticbeanstalk/support/scripts/check-for-rake-task.rb db:migrate' webapp
  2451. `/home/webapp` is not a directory.
  2452. Bundler will use `/tmp/bundler/home/webapp' as your home directory temporarily.
  2453. + '[' false = true ']'
  2454. + su -s /bin/bash -c 'leader_only bundle exec rake db:migrate' webapp
  2455. `/home/webapp` is not a directory.
  2456. Bundler will use `/tmp/bundler/home/webapp' as your home directory temporarily.
  2457. DEPRECATION WARNING: `config.static_cache_control` is deprecated and will be removed in Rails 5.1.
  2458. Please use
  2459. `config.public_file_server.headers = { 'Cache-Control' => 'public, max-age=2592000' }`
  2460. instead.
  2461. (called from block in <top (required)> at /var/app/ondeck/config/environments/production.rb:28)
  2462. intializing git
  2463. error: could not lock config file /home/webapp/.gitconfig: No such file or directory
  2464. sh: line 0: cd: /home/webapp: No such file or directory
  2465. rake aborted!
  2466. PG::ConnectionBad: FATAL: password authentication failed for user "justine"
  2467. FATAL: password authentication failed for user "justine"
  2468. /opt/rubies/ruby-2.4.5/bin/bundle:23:in `load'
  2469. /opt/rubies/ruby-2.4.5/bin/bundle:23:in `<main>'
  2470. Tasks: TOP => db:migrate
  2471. (See full trace by running task with --trace) (Executor::NonZeroExitStatus)
  2472.  
  2473.  
  2474. [2019-01-27T10:12:33.737Z] INFO [17209] - [Application update app-8f92-190127_153849@14/AppDeployStage0/AppDeployPreHook/12_db_migration.sh] : Activity failed.
  2475. [2019-01-27T10:12:33.737Z] INFO [17209] - [Application update app-8f92-190127_153849@14/AppDeployStage0/AppDeployPreHook] : Activity failed.
  2476. [2019-01-27T10:12:33.737Z] INFO [17209] - [Application update app-8f92-190127_153849@14/AppDeployStage0] : Activity failed.
  2477. [2019-01-27T10:12:33.738Z] INFO [17209] - [Application update app-8f92-190127_153849@14] : Completed activity. Result:
  2478. Application update - Command CMD-AppDeploy failed
  2479. [2019-01-27T10:25:37.519Z] INFO [6212] - [Application update app-6a4a-190127_155519@15] : Starting activity...
  2480. [2019-01-27T10:25:37.519Z] INFO [6212] - [Application update app-6a4a-190127_155519@15/AddonsBefore] : Starting activity...
  2481. [2019-01-27T10:25:37.519Z] INFO [6212] - [Application update app-6a4a-190127_155519@15/AddonsBefore/ConfigCWLAgent] : Starting activity...
  2482. [2019-01-27T10:25:37.521Z] INFO [6212] - [Application update app-6a4a-190127_155519@15/AddonsBefore/ConfigCWLAgent/10-config.sh] : Starting activity...
  2483. [2019-01-27T10:25:37.646Z] INFO [6212] - [Application update app-6a4a-190127_155519@15/AddonsBefore/ConfigCWLAgent/10-config.sh] : Completed activity. Result:
  2484. Log streaming option setting is not specified, ignore cloudwatch logs setup.
  2485.  
  2486. Disabled log streaming.
  2487. [2019-01-27T10:25:37.646Z] INFO [6212] - [Application update app-6a4a-190127_155519@15/AddonsBefore/ConfigCWLAgent] : Completed activity. Result:
  2488. Successfully execute hooks in directory /opt/elasticbeanstalk/addons/logstreaming/hooks/config.
  2489. [2019-01-27T10:25:37.646Z] INFO [6212] - [Application update app-6a4a-190127_155519@15/AddonsBefore] : Completed activity.
  2490. [2019-01-27T10:25:37.989Z] INFO [6212] - [Application update app-6a4a-190127_155519@15/AppDeployStage0] : Starting activity...
  2491. [2019-01-27T10:25:37.989Z] INFO [6212] - [Application update app-6a4a-190127_155519@15/AppDeployStage0/DownloadSourceBundle] : Starting activity...
  2492. [2019-01-27T10:25:38.508Z] INFO [6212] - [Application update app-6a4a-190127_155519@15/AppDeployStage0/DownloadSourceBundle] : Completed activity. Result:
  2493. [2019-01-27T10:25:38.099Z] INFO [6255] : Application version will be saved to /opt/elasticbeanstalk/deploy/appsource.
  2494. [2019-01-27T10:25:38.100Z] INFO [6255] : Using manifest cache with deployment ID 15 and serial 19.
  2495. [2019-01-27T10:25:38.100Z] INFO [6255] : Attempting to download application source bundle to: '/opt/elasticbeanstalk/deploy/appsource/source_bundle'.
  2496. [2019-01-27T10:25:38.100Z] INFO [6255] : Using computed s3 key.
  2497. [2019-01-27T10:25:38.221Z] INFO [6255] : Downloading from bucket 'elasticbeanstalk-us-east-2-387358288273' with key 'resources/environments/e-sv4jqab3r8/_runtime/_versions/test/app-6a4a-190127_155519' and version '' to '/opt/elasticbeanstalk/deploy/appsource/source_bundle'.
  2498. [2019-01-27T10:25:38.279Z] INFO [6255] : Size: 9503207, ETag: "14e0f6788b55859159d8b0cb2120717f", Metadata: {"environmentid"=>"e-sv4jqab3r8", "requestid"=>"9ca44e92-667b-4e37-8e30-ee15e665fa81"}.
  2499. [2019-01-27T10:25:38.499Z] INFO [6255] : Downloaded size: 9503207.
  2500. [2019-01-27T10:25:38.499Z] INFO [6255] : Successfully downloaded to '/opt/elasticbeanstalk/deploy/appsource/source_bundle'.
  2501. [2019-01-27T10:25:38.508Z] INFO [6212] - [Application update app-6a4a-190127_155519@15/AppDeployStage0/EbExtensionPreBuild] : Starting activity...
  2502. [2019-01-27T10:25:38.878Z] INFO [6212] - [Application update app-6a4a-190127_155519@15/AppDeployStage0/EbExtensionPreBuild/Infra-EmbeddedPreBuild] : Starting activity...
  2503. [2019-01-27T10:25:38.881Z] INFO [6212] - [Application update app-6a4a-190127_155519@15/AppDeployStage0/EbExtensionPreBuild/Infra-EmbeddedPreBuild/prebuild_0_test] : Starting activity...
  2504. [2019-01-27T10:25:38.881Z] INFO [6212] - [Application update app-6a4a-190127_155519@15/AppDeployStage0/EbExtensionPreBuild/Infra-EmbeddedPreBuild/prebuild_0_test] : Completed activity.
  2505. [2019-01-27T10:25:38.881Z] INFO [6212] - [Application update app-6a4a-190127_155519@15/AppDeployStage0/EbExtensionPreBuild/Infra-EmbeddedPreBuild] : Completed activity.
  2506. [2019-01-27T10:25:39.504Z] INFO [6212] - [Application update app-6a4a-190127_155519@15/AppDeployStage0/EbExtensionPreBuild] : Completed activity.
  2507. [2019-01-27T10:25:39.504Z] INFO [6212] - [Application update app-6a4a-190127_155519@15/AppDeployStage0/AppDeployPreHook] : Starting activity...
  2508. [2019-01-27T10:25:39.506Z] INFO [6212] - [Application update app-6a4a-190127_155519@15/AppDeployStage0/AppDeployPreHook/01_configure_xray.sh] : Starting activity...
  2509. [2019-01-27T10:25:39.627Z] INFO [6212] - [Application update app-6a4a-190127_155519@15/AppDeployStage0/AppDeployPreHook/01_configure_xray.sh] : Completed activity.
  2510. [2019-01-27T10:25:39.627Z] INFO [6212] - [Application update app-6a4a-190127_155519@15/AppDeployStage0/AppDeployPreHook/01_unzip.rb] : Starting activity...
  2511. [2019-01-27T10:25:40.256Z] INFO [6212] - [Application update app-6a4a-190127_155519@15/AppDeployStage0/AppDeployPreHook/01_unzip.rb] : Completed activity.
  2512. [2019-01-27T10:25:40.256Z] INFO [6212] - [Application update app-6a4a-190127_155519@15/AppDeployStage0/AppDeployPreHook/02_setup_envvars.sh] : Starting activity...
  2513. [2019-01-27T10:25:40.479Z] INFO [6212] - [Application update app-6a4a-190127_155519@15/AppDeployStage0/AppDeployPreHook/02_setup_envvars.sh] : Completed activity. Result:
  2514. ++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
  2515. + EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
  2516. + /opt/elasticbeanstalk/support/export_envvars
  2517. [2019-01-27T10:25:40.480Z] INFO [6212] - [Application update app-6a4a-190127_155519@15/AppDeployStage0/AppDeployPreHook/10_bundle_install.sh] : Starting activity...
  2518. [2019-01-27T10:25:56.902Z] INFO [6212] - [Application update app-6a4a-190127_155519@15/AppDeployStage0/AppDeployPreHook/10_bundle_install.sh] : Completed activity. Result:
  2519. ++ /opt/elasticbeanstalk/bin/get-config container -k script_dir
  2520. + EB_SCRIPT_DIR=/opt/elasticbeanstalk/support/scripts
  2521. ++ /opt/elasticbeanstalk/bin/get-config container -k app_staging_dir
  2522. + EB_APP_STAGING_DIR=/var/app/ondeck
  2523. ++ /opt/elasticbeanstalk/bin/get-config container -k app_user
  2524. + EB_APP_USER=webapp
  2525. ++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
  2526. + EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
  2527. + . /opt/elasticbeanstalk/support/envvars-wrapper.sh
  2528. +++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
  2529. ++ EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
  2530. ++ set +x
  2531. + . /opt/elasticbeanstalk/support/scripts/use-app-ruby.sh
  2532. ++ . /usr/local/share/chruby/chruby.sh
  2533. +++ CHRUBY_VERSION=0.3.9
  2534. +++ RUBIES=()
  2535. +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
  2536. +++ [[ -d /opt/rubies ]]
  2537. ++++ ls -A /opt/rubies
  2538. +++ [[ -n ruby-1.9.3-p551
  2539. ruby-2.0.0-p648
  2540. ruby-2.1.10
  2541. ruby-2.2.10
  2542. ruby-2.3.8
  2543. ruby-2.4.5
  2544. ruby-2.5.3
  2545. ruby-2.6.0
  2546. ruby-current ]]
  2547. +++ RUBIES+=("$dir"/*)
  2548. +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
  2549. +++ [[ -d /.rubies ]]
  2550. +++ unset dir
  2551. +++ cat /etc/elasticbeanstalk/.ruby_version
  2552. ++ chruby 2.4.5
  2553. ++ case "$1" in
  2554. ++ local dir match
  2555. ++ for dir in '"${RUBIES[@]}"'
  2556. ++ dir=/opt/rubies/ruby-1.9.3-p551
  2557. ++ case "${dir##*/}" in
  2558. ++ for dir in '"${RUBIES[@]}"'
  2559. ++ dir=/opt/rubies/ruby-2.0.0-p648
  2560. ++ case "${dir##*/}" in
  2561. ++ for dir in '"${RUBIES[@]}"'
  2562. ++ dir=/opt/rubies/ruby-2.1.10
  2563. ++ case "${dir##*/}" in
  2564. ++ for dir in '"${RUBIES[@]}"'
  2565. ++ dir=/opt/rubies/ruby-2.2.10
  2566. ++ case "${dir##*/}" in
  2567. ++ for dir in '"${RUBIES[@]}"'
  2568. ++ dir=/opt/rubies/ruby-2.3.8
  2569. ++ case "${dir##*/}" in
  2570. ++ for dir in '"${RUBIES[@]}"'
  2571. ++ dir=/opt/rubies/ruby-2.4.5
  2572. ++ case "${dir##*/}" in
  2573. ++ match=/opt/rubies/ruby-2.4.5
  2574. ++ for dir in '"${RUBIES[@]}"'
  2575. ++ dir=/opt/rubies/ruby-2.5.3
  2576. ++ case "${dir##*/}" in
  2577. ++ for dir in '"${RUBIES[@]}"'
  2578. ++ dir=/opt/rubies/ruby-2.6.0
  2579. ++ case "${dir##*/}" in
  2580. ++ for dir in '"${RUBIES[@]}"'
  2581. ++ dir=/opt/rubies/ruby-current
  2582. ++ case "${dir##*/}" in
  2583. ++ [[ -z /opt/rubies/ruby-2.4.5 ]]
  2584. ++ shift
  2585. ++ chruby_use /opt/rubies/ruby-2.4.5 ''
  2586. ++ [[ ! -x /opt/rubies/ruby-2.4.5/bin/ruby ]]
  2587. ++ [[ -n '' ]]
  2588. ++ export RUBY_ROOT=/opt/rubies/ruby-2.4.5
  2589. ++ RUBY_ROOT=/opt/rubies/ruby-2.4.5
  2590. ++ export RUBYOPT=
  2591. ++ RUBYOPT=
  2592. ++ export PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
  2593. ++ PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
  2594. +++ /opt/rubies/ruby-2.4.5/bin/ruby -
  2595. ++ eval 'export RUBY_ENGINE=ruby;
  2596. export RUBY_VERSION=2.4.5;
  2597. export GEM_ROOT="/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0";'
  2598. +++ export RUBY_ENGINE=ruby
  2599. +++ RUBY_ENGINE=ruby
  2600. +++ export RUBY_VERSION=2.4.5
  2601. +++ RUBY_VERSION=2.4.5
  2602. +++ export GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
  2603. +++ GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
  2604. ++ (( 0 != 0 ))
  2605. + cd /var/app/ondeck
  2606. + '[' -f Gemfile ']'
  2607. + echo 'running '\''bundle install'\'' with Gemfile:'
  2608. running 'bundle install' with Gemfile:
  2609. + cat Gemfile
  2610. source 'https://rubygems.org'
  2611.  
  2612.  
  2613. # Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
  2614. gem 'rails', '~> 5.0.0', '>= 5.0.0.1'
  2615.  
  2616.  
  2617. # sqlite3 fails on heroku
  2618. # group :development do
  2619. # gem 'sqlite3' #gem to use in development environment
  2620. # end
  2621. # gem 'sqlite3'
  2622. # group :production do
  2623. gem 'pg', '~> 0.20.0' #gem to use in production environment
  2624. # end
  2625. gem 'will_paginate', '~> 3.1.0'
  2626. gem 'simple_form'
  2627. gem 'bootstrap-sass'
  2628. gem 'devise'
  2629. gem 'nested_scaffold'
  2630. # Use Puma as the app server
  2631. gem 'puma', '~> 3.0'
  2632. # Use SCSS for stylesheets
  2633. gem 'sass-rails', '~> 5.0'
  2634. # Use Uglifier as compressor for JavaScript assets
  2635. gem 'uglifier', '>= 1.3.0'
  2636. # Use CoffeeScript for .coffee assets and views
  2637. gem 'coffee-rails', '~> 4.2'
  2638. # See https://github.com/rails/execjs#readme for more supported runtimes
  2639. # gem 'therubyracer', platforms: :ruby
  2640.  
  2641. # Use jquery as the JavaScript library
  2642. gem 'jquery-rails'
  2643. # Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks
  2644. gem 'turbolinks', '~> 5'
  2645. # Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
  2646. gem 'jbuilder', '~> 2.5'
  2647. # Use Redis adapter to run Action Cable in production
  2648. # gem 'redis', '~> 3.0'
  2649. # Use ActiveModel has_secure_password
  2650. # gem 'bcrypt', '~> 3.1.7'
  2651.  
  2652. # Use Capistrano for deployment
  2653. # gem 'capistrano-rails', group: :development
  2654.  
  2655. group :development, :test do
  2656. # Call 'byebug' anywhere in the code to stop execution and get a debugger console
  2657. gem 'byebug', platform: :mri
  2658. end
  2659.  
  2660. group :development do
  2661. # Access an IRB console on exception pages or by using <%= console %> anywhere in the code.
  2662. gem 'web-console'
  2663. end
  2664.  
  2665. # Windows does not include zoneinfo files, so bundle the tzinfo-data gem
  2666. gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
  2667.  
  2668. gem 'activeadmin'
  2669. + '[' -d /var/app/ondeck/vendor/cache ']'
  2670. + bundle install
  2671. Don't run Bundler as root. Bundler can ask for sudo if it is needed, and
  2672. installing your bundle as root will break this application for all non-root
  2673. users on this machine.
  2674. The dependency tzinfo-data (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for x86-mingw32, x86-mswin32, x64-mingw32, java. To add those platforms to the bundle, run `bundle lock --add-platform x86-mingw32 x86-mswin32 x64-mingw32 java`.
  2675. Fetching gem metadata from https://rubygems.org/..........
  2676. Fetching gem metadata from https://rubygems.org/.
  2677. Resolving dependencies......
  2678. Using rake 12.3.2
  2679. Using concurrent-ruby 1.1.4
  2680. Using i18n 1.5.3
  2681. Using minitest 5.11.3
  2682. Using thread_safe 0.3.6
  2683. Using tzinfo 1.2.5
  2684. Using activesupport 5.0.7.1
  2685. Using builder 3.2.3
  2686. Using erubis 2.7.0
  2687. Using mini_portile2 2.4.0
  2688. Using nokogiri 1.10.1
  2689. Using rails-dom-testing 2.0.3
  2690. Using crass 1.0.4
  2691. Using loofah 2.2.3
  2692. Using rails-html-sanitizer 1.0.4
  2693. Using actionview 5.0.7.1
  2694. Using rack 2.0.6
  2695. Using rack-test 0.6.3
  2696. Using actionpack 5.0.7.1
  2697. Using nio4r 2.3.1
  2698. Using websocket-extensions 0.1.3
  2699. Using websocket-driver 0.6.5
  2700. Using actioncable 5.0.7.1
  2701. Using globalid 0.4.2
  2702. Using activejob 5.0.7.1
  2703. Using mini_mime 1.0.1
  2704. Using mail 2.7.1
  2705. Using actionmailer 5.0.7.1
  2706. Using arbre 1.1.1
  2707. Using coffee-script-source 1.12.2
  2708. Using execjs 2.7.0
  2709. Using coffee-script 2.4.1
  2710. Using method_source 0.9.2
  2711. Using thor 0.20.3
  2712. Using railties 5.0.7.1
  2713. Using coffee-rails 4.2.2
  2714. Using formtastic 3.1.5
  2715. Using formtastic_i18n 0.6.0
  2716. Using has_scope 0.7.2
  2717. Using responders 2.4.1
  2718. Using inherited_resources 1.9.0
  2719. Using jquery-rails 4.3.3
  2720. Using kaminari-core 1.1.1
  2721. Using kaminari-actionview 1.1.1
  2722. Using activemodel 5.0.7.1
  2723. Using arel 7.1.4
  2724. Using activerecord 5.0.7.1
  2725. Using kaminari-activerecord 1.1.1
  2726. Using kaminari 1.1.1
  2727. Using ransack 2.1.1
  2728. Using rb-fsevent 0.10.3
  2729. Using ffi 1.9.25
  2730. Using rb-inotify 0.10.0
  2731. Using sass-listen 4.0.0
  2732. Using sass 3.7.3
  2733. Using sprockets 3.7.2
  2734. Using activeadmin 1.4.3
  2735. Using autoprefixer-rails 9.4.6
  2736. Using bcrypt 3.1.12
  2737. Using sassc 2.0.0
  2738. Using bootstrap-sass 3.4.0
  2739. Using bundler 1.16.2
  2740. Using orm_adapter 0.5.0
  2741. Using warden 1.2.8
  2742. Using devise 4.5.0
  2743. Using multi_json 1.13.1
  2744. Using jbuilder 2.8.0
  2745. Using nested_scaffold 1.0.0
  2746. Fetching pg 0.20.0
  2747. Installing pg 0.20.0 with native extensions
  2748. Using puma 3.12.0
  2749. Using sprockets-rails 3.2.1
  2750. Using rails 5.0.7.1
  2751. Using tilt 2.0.9
  2752. Using sass-rails 5.0.7
  2753. Using simple_form 4.1.0
  2754. Using turbolinks-source 5.2.0
  2755. Using turbolinks 5.2.0
  2756. Using uglifier 4.1.20
  2757. Using will_paginate 3.1.6
  2758. Bundle complete! 18 Gemfile dependencies, 79 gems now installed.
  2759. Gems in the groups test and development were not installed.
  2760. Use `bundle info [gemname]` to see where a bundled gem is installed.
  2761. + '[' -f Gemfile.lock ']'
  2762. + echo 'encountered a Gemfile.lock, setting proper permissions'
  2763. encountered a Gemfile.lock, setting proper permissions
  2764. + chown webapp:webapp Gemfile.lock
  2765. + '[' '' = 1 ']'
  2766. [2019-01-27T10:25:56.902Z] INFO [6212] - [Application update app-6a4a-190127_155519@15/AppDeployStage0/AppDeployPreHook/11_asset_compilation.sh] : Starting activity...
  2767. [2019-01-27T10:26:21.548Z] INFO [6212] - [Application update app-6a4a-190127_155519@15/AppDeployStage0/AppDeployPreHook/11_asset_compilation.sh] : Completed activity. Result:
  2768. ++ /opt/elasticbeanstalk/bin/get-config container -k script_dir
  2769. + EB_SCRIPT_DIR=/opt/elasticbeanstalk/support/scripts
  2770. ++ /opt/elasticbeanstalk/bin/get-config container -k app_staging_dir
  2771. + EB_APP_STAGING_DIR=/var/app/ondeck
  2772. ++ /opt/elasticbeanstalk/bin/get-config container -k app_user
  2773. + EB_APP_USER=webapp
  2774. ++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
  2775. + EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
  2776. + . /opt/elasticbeanstalk/support/envvars-wrapper.sh
  2777. +++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
  2778. ++ EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
  2779. ++ set +x
  2780. + RAKE_TASK=assets:precompile
  2781. + . /opt/elasticbeanstalk/support/scripts/use-app-ruby.sh
  2782. ++ . /usr/local/share/chruby/chruby.sh
  2783. +++ CHRUBY_VERSION=0.3.9
  2784. +++ RUBIES=()
  2785. +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
  2786. +++ [[ -d /opt/rubies ]]
  2787. ++++ ls -A /opt/rubies
  2788. +++ [[ -n ruby-1.9.3-p551
  2789. ruby-2.0.0-p648
  2790. ruby-2.1.10
  2791. ruby-2.2.10
  2792. ruby-2.3.8
  2793. ruby-2.4.5
  2794. ruby-2.5.3
  2795. ruby-2.6.0
  2796. ruby-current ]]
  2797. +++ RUBIES+=("$dir"/*)
  2798. +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
  2799. +++ [[ -d /.rubies ]]
  2800. +++ unset dir
  2801. +++ cat /etc/elasticbeanstalk/.ruby_version
  2802. ++ chruby 2.4.5
  2803. ++ case "$1" in
  2804. ++ local dir match
  2805. ++ for dir in '"${RUBIES[@]}"'
  2806. ++ dir=/opt/rubies/ruby-1.9.3-p551
  2807. ++ case "${dir##*/}" in
  2808. ++ for dir in '"${RUBIES[@]}"'
  2809. ++ dir=/opt/rubies/ruby-2.0.0-p648
  2810. ++ case "${dir##*/}" in
  2811. ++ for dir in '"${RUBIES[@]}"'
  2812. ++ dir=/opt/rubies/ruby-2.1.10
  2813. ++ case "${dir##*/}" in
  2814. ++ for dir in '"${RUBIES[@]}"'
  2815. ++ dir=/opt/rubies/ruby-2.2.10
  2816. ++ case "${dir##*/}" in
  2817. ++ for dir in '"${RUBIES[@]}"'
  2818. ++ dir=/opt/rubies/ruby-2.3.8
  2819. ++ case "${dir##*/}" in
  2820. ++ for dir in '"${RUBIES[@]}"'
  2821. ++ dir=/opt/rubies/ruby-2.4.5
  2822. ++ case "${dir##*/}" in
  2823. ++ match=/opt/rubies/ruby-2.4.5
  2824. ++ for dir in '"${RUBIES[@]}"'
  2825. ++ dir=/opt/rubies/ruby-2.5.3
  2826. ++ case "${dir##*/}" in
  2827. ++ for dir in '"${RUBIES[@]}"'
  2828. ++ dir=/opt/rubies/ruby-2.6.0
  2829. ++ case "${dir##*/}" in
  2830. ++ for dir in '"${RUBIES[@]}"'
  2831. ++ dir=/opt/rubies/ruby-current
  2832. ++ case "${dir##*/}" in
  2833. ++ [[ -z /opt/rubies/ruby-2.4.5 ]]
  2834. ++ shift
  2835. ++ chruby_use /opt/rubies/ruby-2.4.5 ''
  2836. ++ [[ ! -x /opt/rubies/ruby-2.4.5/bin/ruby ]]
  2837. ++ [[ -n '' ]]
  2838. ++ export RUBY_ROOT=/opt/rubies/ruby-2.4.5
  2839. ++ RUBY_ROOT=/opt/rubies/ruby-2.4.5
  2840. ++ export RUBYOPT=
  2841. ++ RUBYOPT=
  2842. ++ export PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
  2843. ++ PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
  2844. +++ /opt/rubies/ruby-2.4.5/bin/ruby -
  2845. ++ eval 'export RUBY_ENGINE=ruby;
  2846. export RUBY_VERSION=2.4.5;
  2847. export GEM_ROOT="/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0";'
  2848. +++ export RUBY_ENGINE=ruby
  2849. +++ RUBY_ENGINE=ruby
  2850. +++ export RUBY_VERSION=2.4.5
  2851. +++ RUBY_VERSION=2.4.5
  2852. +++ export GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
  2853. +++ GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
  2854. ++ (( 0 != 0 ))
  2855. + cd /var/app/ondeck
  2856. + su -s /bin/bash -c 'bundle exec /opt/elasticbeanstalk/support/scripts/check-for-rake-task.rb assets:precompile' webapp
  2857. `/home/webapp` is not a directory.
  2858. Bundler will use `/tmp/bundler/home/webapp' as your home directory temporarily.
  2859. + '[' false == true ']'
  2860. + su -s /bin/bash -c 'bundle exec rake assets:precompile' webapp
  2861. `/home/webapp` is not a directory.
  2862. Bundler will use `/tmp/bundler/home/webapp' as your home directory temporarily.
  2863. DEPRECATION WARNING: `config.static_cache_control` is deprecated and will be removed in Rails 5.1.
  2864. Please use
  2865. `config.public_file_server.headers = { 'Cache-Control' => 'public, max-age=2592000' }`
  2866. instead.
  2867. (called from block in <top (required)> at /var/app/ondeck/config/environments/production.rb:28)
  2868. intializing git
  2869. error: could not lock config file /home/webapp/.gitconfig: No such file or directory
  2870. sh: line 0: cd: /home/webapp: No such file or directory
  2871. I, [2019-01-27T10:26:02.409954 #6721] INFO -- : Writing /var/app/ondeck/public/assets/active_admin-6f1b843b5bbbbe3257701ffd3bd6475c519e5523a0e1604f9c9af6ec18e4ad25.css
  2872. I, [2019-01-27T10:26:02.410322 #6721] INFO -- : Writing /var/app/ondeck/public/assets/active_admin-6f1b843b5bbbbe3257701ffd3bd6475c519e5523a0e1604f9c9af6ec18e4ad25.css.gz
  2873. I, [2019-01-27T10:26:02.410617 #6721] INFO -- : Writing /var/app/ondeck/public/assets/active_admin/nested_menu_arrow-15084d93c65c1964d7077700ea748bd2d70cfa2d4c19707c58a9c64e232dd442.gif
  2874. I, [2019-01-27T10:26:02.410966 #6721] INFO -- : Writing /var/app/ondeck/public/assets/active_admin/nested_menu_arrow_dark-7c43b8e0a5f8823875f49a093c9d7a6b374f885b6f9cc248ae9cd7e6e9b29034.gif
  2875. I, [2019-01-27T10:26:02.411295 #6721] INFO -- : Writing /var/app/ondeck/public/assets/active_admin/orderable-29374dbb55b0012d78a37c614d573bb3474f0779849b478a147d0f1845ca6617.png
  2876. I, [2019-01-27T10:26:02.600958 #6721] INFO -- : Writing /var/app/ondeck/public/assets/active_admin/print-cf99cbf27fb92065a9eacd28e6fad48fa72cadaf6e0918790e8d35b11d8f99f6.css
  2877. I, [2019-01-27T10:26:02.601326 #6721] INFO -- : Writing /var/app/ondeck/public/assets/active_admin/print-cf99cbf27fb92065a9eacd28e6fad48fa72cadaf6e0918790e8d35b11d8f99f6.css.gz
  2878. I, [2019-01-27T10:26:12.619742 #6721] INFO -- : Writing /var/app/ondeck/public/assets/active_admin-aad478f9674ed0cc76f83512b458a5e516b90e017d64c576f5f9eaf05ea52b38.js
  2879. I, [2019-01-27T10:26:12.620292 #6721] INFO -- : Writing /var/app/ondeck/public/assets/active_admin-aad478f9674ed0cc76f83512b458a5e516b90e017d64c576f5f9eaf05ea52b38.js.gz
  2880. I, [2019-01-27T10:26:12.628698 #6721] INFO -- : Writing /var/app/ondeck/public/assets/danger-869dd8b0616e1a5b646dc898db2a5d6428f45fe14a90fa6d0c7130f64d886c48.png
  2881. I, [2019-01-27T10:26:12.630887 #6721] INFO -- : Writing /var/app/ondeck/public/assets/dark-607bed84e53ccb497978bd3ae9e51d4b57de94e954da4e8e1ec5b51a78d8898e.png
  2882. I, [2019-01-27T10:26:12.637328 #6721] INFO -- : Writing /var/app/ondeck/public/assets/do-e798277592b8fde73e6568cdde6687220f6d2a83f53250c561edf11619d5b1c1.jpg
  2883. I, [2019-01-27T10:26:12.639076 #6721] INFO -- : Writing /var/app/ondeck/public/assets/favicon-21c44bf091fb9557f8a4527913b0254924fc136d6e71dcee1676b7f37c8175ef.ico
  2884. I, [2019-01-27T10:26:12.639364 #6721] INFO -- : Writing /var/app/ondeck/public/assets/favicon-21c44bf091fb9557f8a4527913b0254924fc136d6e71dcee1676b7f37c8175ef.ico.gz
  2885. I, [2019-01-27T10:26:12.642457 #6721] INFO -- : Writing /var/app/ondeck/public/assets/home-f3281914e0ac5072115e9ba6f458cec56ad002cc5e65ca75988afc86af858e01.jpg
  2886. I, [2019-01-27T10:26:12.649171 #6721] INFO -- : Writing /var/app/ondeck/public/assets/info-967cdd33af0671563a0e72bed22f1cddb95a138e241dffbd5013750360bf7113.png
  2887. I, [2019-01-27T10:26:12.654542 #6721] INFO -- : Writing /var/app/ondeck/public/assets/primary-093ae3386f858ff56855e5c8a09137d4ce87c2c7aa2b152af81eac5d7667a98d.png
  2888. I, [2019-01-27T10:26:12.656807 #6721] INFO -- : Writing /var/app/ondeck/public/assets/secondary-1c1a37a441b0e6f6ca2bfb1435df8f1160a0e4ec1db5798a5e5a72374172942c.png
  2889. I, [2019-01-27T10:26:12.659762 #6721] INFO -- : Writing /var/app/ondeck/public/assets/success-5a1b362ddb5e5ed6131beffc575d91a3615864b678d24706bff24b055b6a594c.png
  2890. I, [2019-01-27T10:26:12.661960 #6721] INFO -- : Writing /var/app/ondeck/public/assets/warning-a3e35927fa71a99455166de5b62a03122ffb5287e33c9ed2c42532622f543fa5.png
  2891. I, [2019-01-27T10:26:18.199658 #6721] INFO -- : Writing /var/app/ondeck/public/assets/application-5770a9512b971d7fb2a232494ee2a78c8f1d383bfc452a26a9dea3a712e6c3b2.js
  2892. I, [2019-01-27T10:26:18.200076 #6721] INFO -- : Writing /var/app/ondeck/public/assets/application-5770a9512b971d7fb2a232494ee2a78c8f1d383bfc452a26a9dea3a712e6c3b2.js.gz
  2893. I, [2019-01-27T10:26:21.508838 #6721] INFO -- : Writing /var/app/ondeck/public/assets/application-da22e659ddaed5260aa445b696e4e8945e554c6c97884a0be799b74eb511ccf3.css
  2894. I, [2019-01-27T10:26:21.509246 #6721] INFO -- : Writing /var/app/ondeck/public/assets/application-da22e659ddaed5260aa445b696e4e8945e554c6c97884a0be799b74eb511ccf3.css.gz
  2895. [2019-01-27T10:26:21.548Z] INFO [6212] - [Application update app-6a4a-190127_155519@15/AppDeployStage0/AppDeployPreHook/12_db_migration.sh] : Starting activity...
  2896. [2019-01-27T10:26:25.514Z] INFO [6212] - [Application update app-6a4a-190127_155519@15/AppDeployStage0/AppDeployPreHook/12_db_migration.sh] : Activity execution failed, because: ++ /opt/elasticbeanstalk/bin/get-config container -k script_dir
  2897. + EB_SCRIPT_DIR=/opt/elasticbeanstalk/support/scripts
  2898. ++ /opt/elasticbeanstalk/bin/get-config container -k app_staging_dir
  2899. + EB_APP_STAGING_DIR=/var/app/ondeck
  2900. ++ /opt/elasticbeanstalk/bin/get-config container -k app_user
  2901. + EB_APP_USER=webapp
  2902. ++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
  2903. + EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
  2904. + . /opt/elasticbeanstalk/support/envvars-wrapper.sh
  2905. +++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
  2906. ++ EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
  2907. ++ set +x
  2908. + RAKE_TASK=db:migrate
  2909. + . /opt/elasticbeanstalk/support/scripts/use-app-ruby.sh
  2910. ++ . /usr/local/share/chruby/chruby.sh
  2911. +++ CHRUBY_VERSION=0.3.9
  2912. +++ RUBIES=()
  2913. +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
  2914. +++ [[ -d /opt/rubies ]]
  2915. ++++ ls -A /opt/rubies
  2916. +++ [[ -n ruby-1.9.3-p551
  2917. ruby-2.0.0-p648
  2918. ruby-2.1.10
  2919. ruby-2.2.10
  2920. ruby-2.3.8
  2921. ruby-2.4.5
  2922. ruby-2.5.3
  2923. ruby-2.6.0
  2924. ruby-current ]]
  2925. +++ RUBIES+=("$dir"/*)
  2926. +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
  2927. +++ [[ -d /.rubies ]]
  2928. +++ unset dir
  2929. +++ cat /etc/elasticbeanstalk/.ruby_version
  2930. ++ chruby 2.4.5
  2931. ++ case "$1" in
  2932. ++ local dir match
  2933. ++ for dir in '"${RUBIES[@]}"'
  2934. ++ dir=/opt/rubies/ruby-1.9.3-p551
  2935. ++ case "${dir##*/}" in
  2936. ++ for dir in '"${RUBIES[@]}"'
  2937. ++ dir=/opt/rubies/ruby-2.0.0-p648
  2938. ++ case "${dir##*/}" in
  2939. ++ for dir in '"${RUBIES[@]}"'
  2940. ++ dir=/opt/rubies/ruby-2.1.10
  2941. ++ case "${dir##*/}" in
  2942. ++ for dir in '"${RUBIES[@]}"'
  2943. ++ dir=/opt/rubies/ruby-2.2.10
  2944. ++ case "${dir##*/}" in
  2945. ++ for dir in '"${RUBIES[@]}"'
  2946. ++ dir=/opt/rubies/ruby-2.3.8
  2947. ++ case "${dir##*/}" in
  2948. ++ for dir in '"${RUBIES[@]}"'
  2949. ++ dir=/opt/rubies/ruby-2.4.5
  2950. ++ case "${dir##*/}" in
  2951. ++ match=/opt/rubies/ruby-2.4.5
  2952. ++ for dir in '"${RUBIES[@]}"'
  2953. ++ dir=/opt/rubies/ruby-2.5.3
  2954. ++ case "${dir##*/}" in
  2955. ++ for dir in '"${RUBIES[@]}"'
  2956. ++ dir=/opt/rubies/ruby-2.6.0
  2957. ++ case "${dir##*/}" in
  2958. ++ for dir in '"${RUBIES[@]}"'
  2959. ++ dir=/opt/rubies/ruby-current
  2960. ++ case "${dir##*/}" in
  2961. ++ [[ -z /opt/rubies/ruby-2.4.5 ]]
  2962. ++ shift
  2963. ++ chruby_use /opt/rubies/ruby-2.4.5 ''
  2964. ++ [[ ! -x /opt/rubies/ruby-2.4.5/bin/ruby ]]
  2965. ++ [[ -n '' ]]
  2966. ++ export RUBY_ROOT=/opt/rubies/ruby-2.4.5
  2967. ++ RUBY_ROOT=/opt/rubies/ruby-2.4.5
  2968. ++ export RUBYOPT=
  2969. ++ RUBYOPT=
  2970. ++ export PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
  2971. ++ PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
  2972. +++ /opt/rubies/ruby-2.4.5/bin/ruby -
  2973. ++ eval 'export RUBY_ENGINE=ruby;
  2974. export RUBY_VERSION=2.4.5;
  2975. export GEM_ROOT="/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0";'
  2976. +++ export RUBY_ENGINE=ruby
  2977. +++ RUBY_ENGINE=ruby
  2978. +++ export RUBY_VERSION=2.4.5
  2979. +++ RUBY_VERSION=2.4.5
  2980. +++ export GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
  2981. +++ GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
  2982. ++ (( 0 != 0 ))
  2983. + cd /var/app/ondeck
  2984. + su -s /bin/bash -c 'bundle exec /opt/elasticbeanstalk/support/scripts/check-for-rake-task.rb db:migrate' webapp
  2985. `/home/webapp` is not a directory.
  2986. Bundler will use `/tmp/bundler/home/webapp' as your home directory temporarily.
  2987. + '[' false = true ']'
  2988. + su -s /bin/bash -c 'leader_only bundle exec rake db:migrate' webapp
  2989. `/home/webapp` is not a directory.
  2990. Bundler will use `/tmp/bundler/home/webapp' as your home directory temporarily.
  2991. DEPRECATION WARNING: `config.static_cache_control` is deprecated and will be removed in Rails 5.1.
  2992. Please use
  2993. `config.public_file_server.headers = { 'Cache-Control' => 'public, max-age=2592000' }`
  2994. instead.
  2995. (called from block in <top (required)> at /var/app/ondeck/config/environments/production.rb:28)
  2996. intializing git
  2997. error: could not lock config file /home/webapp/.gitconfig: No such file or directory
  2998. sh: line 0: cd: /home/webapp: No such file or directory
  2999. rake aborted!
  3000. PG::ConnectionBad: FATAL: password authentication failed for user "justine"
  3001. FATAL: password authentication failed for user "justine"
  3002. /opt/rubies/ruby-2.4.5/bin/bundle:23:in `load'
  3003. /opt/rubies/ruby-2.4.5/bin/bundle:23:in `<main>'
  3004. Tasks: TOP => db:migrate
  3005. (See full trace by running task with --trace) (ElasticBeanstalk::ExternalInvocationError)
  3006. caused by: ++ /opt/elasticbeanstalk/bin/get-config container -k script_dir
  3007. + EB_SCRIPT_DIR=/opt/elasticbeanstalk/support/scripts
  3008. ++ /opt/elasticbeanstalk/bin/get-config container -k app_staging_dir
  3009. + EB_APP_STAGING_DIR=/var/app/ondeck
  3010. ++ /opt/elasticbeanstalk/bin/get-config container -k app_user
  3011. + EB_APP_USER=webapp
  3012. ++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
  3013. + EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
  3014. + . /opt/elasticbeanstalk/support/envvars-wrapper.sh
  3015. +++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
  3016. ++ EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
  3017. ++ set +x
  3018. + RAKE_TASK=db:migrate
  3019. + . /opt/elasticbeanstalk/support/scripts/use-app-ruby.sh
  3020. ++ . /usr/local/share/chruby/chruby.sh
  3021. +++ CHRUBY_VERSION=0.3.9
  3022. +++ RUBIES=()
  3023. +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
  3024. +++ [[ -d /opt/rubies ]]
  3025. ++++ ls -A /opt/rubies
  3026. +++ [[ -n ruby-1.9.3-p551
  3027. ruby-2.0.0-p648
  3028. ruby-2.1.10
  3029. ruby-2.2.10
  3030. ruby-2.3.8
  3031. ruby-2.4.5
  3032. ruby-2.5.3
  3033. ruby-2.6.0
  3034. ruby-current ]]
  3035. +++ RUBIES+=("$dir"/*)
  3036. +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
  3037. +++ [[ -d /.rubies ]]
  3038. +++ unset dir
  3039. +++ cat /etc/elasticbeanstalk/.ruby_version
  3040. ++ chruby 2.4.5
  3041. ++ case "$1" in
  3042. ++ local dir match
  3043. ++ for dir in '"${RUBIES[@]}"'
  3044. ++ dir=/opt/rubies/ruby-1.9.3-p551
  3045. ++ case "${dir##*/}" in
  3046. ++ for dir in '"${RUBIES[@]}"'
  3047. ++ dir=/opt/rubies/ruby-2.0.0-p648
  3048. ++ case "${dir##*/}" in
  3049. ++ for dir in '"${RUBIES[@]}"'
  3050. ++ dir=/opt/rubies/ruby-2.1.10
  3051. ++ case "${dir##*/}" in
  3052. ++ for dir in '"${RUBIES[@]}"'
  3053. ++ dir=/opt/rubies/ruby-2.2.10
  3054. ++ case "${dir##*/}" in
  3055. ++ for dir in '"${RUBIES[@]}"'
  3056. ++ dir=/opt/rubies/ruby-2.3.8
  3057. ++ case "${dir##*/}" in
  3058. ++ for dir in '"${RUBIES[@]}"'
  3059. ++ dir=/opt/rubies/ruby-2.4.5
  3060. ++ case "${dir##*/}" in
  3061. ++ match=/opt/rubies/ruby-2.4.5
  3062. ++ for dir in '"${RUBIES[@]}"'
  3063. ++ dir=/opt/rubies/ruby-2.5.3
  3064. ++ case "${dir##*/}" in
  3065. ++ for dir in '"${RUBIES[@]}"'
  3066. ++ dir=/opt/rubies/ruby-2.6.0
  3067. ++ case "${dir##*/}" in
  3068. ++ for dir in '"${RUBIES[@]}"'
  3069. ++ dir=/opt/rubies/ruby-current
  3070. ++ case "${dir##*/}" in
  3071. ++ [[ -z /opt/rubies/ruby-2.4.5 ]]
  3072. ++ shift
  3073. ++ chruby_use /opt/rubies/ruby-2.4.5 ''
  3074. ++ [[ ! -x /opt/rubies/ruby-2.4.5/bin/ruby ]]
  3075. ++ [[ -n '' ]]
  3076. ++ export RUBY_ROOT=/opt/rubies/ruby-2.4.5
  3077. ++ RUBY_ROOT=/opt/rubies/ruby-2.4.5
  3078. ++ export RUBYOPT=
  3079. ++ RUBYOPT=
  3080. ++ export PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
  3081. ++ PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
  3082. +++ /opt/rubies/ruby-2.4.5/bin/ruby -
  3083. ++ eval 'export RUBY_ENGINE=ruby;
  3084. export RUBY_VERSION=2.4.5;
  3085. export GEM_ROOT="/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0";'
  3086. +++ export RUBY_ENGINE=ruby
  3087. +++ RUBY_ENGINE=ruby
  3088. +++ export RUBY_VERSION=2.4.5
  3089. +++ RUBY_VERSION=2.4.5
  3090. +++ export GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
  3091. +++ GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
  3092. ++ (( 0 != 0 ))
  3093. + cd /var/app/ondeck
  3094. + su -s /bin/bash -c 'bundle exec /opt/elasticbeanstalk/support/scripts/check-for-rake-task.rb db:migrate' webapp
  3095. `/home/webapp` is not a directory.
  3096. Bundler will use `/tmp/bundler/home/webapp' as your home directory temporarily.
  3097. + '[' false = true ']'
  3098. + su -s /bin/bash -c 'leader_only bundle exec rake db:migrate' webapp
  3099. `/home/webapp` is not a directory.
  3100. Bundler will use `/tmp/bundler/home/webapp' as your home directory temporarily.
  3101. DEPRECATION WARNING: `config.static_cache_control` is deprecated and will be removed in Rails 5.1.
  3102. Please use
  3103. `config.public_file_server.headers = { 'Cache-Control' => 'public, max-age=2592000' }`
  3104. instead.
  3105. (called from block in <top (required)> at /var/app/ondeck/config/environments/production.rb:28)
  3106. intializing git
  3107. error: could not lock config file /home/webapp/.gitconfig: No such file or directory
  3108. sh: line 0: cd: /home/webapp: No such file or directory
  3109. rake aborted!
  3110. PG::ConnectionBad: FATAL: password authentication failed for user "justine"
  3111. FATAL: password authentication failed for user "justine"
  3112. /opt/rubies/ruby-2.4.5/bin/bundle:23:in `load'
  3113. /opt/rubies/ruby-2.4.5/bin/bundle:23:in `<main>'
  3114. Tasks: TOP => db:migrate
  3115. (See full trace by running task with --trace) (Executor::NonZeroExitStatus)
  3116.  
  3117.  
  3118. [2019-01-27T10:26:25.514Z] INFO [6212] - [Application update app-6a4a-190127_155519@15/AppDeployStage0/AppDeployPreHook/12_db_migration.sh] : Activity failed.
  3119. [2019-01-27T10:26:25.514Z] INFO [6212] - [Application update app-6a4a-190127_155519@15/AppDeployStage0/AppDeployPreHook] : Activity failed.
  3120. [2019-01-27T10:26:25.514Z] INFO [6212] - [Application update app-6a4a-190127_155519@15/AppDeployStage0] : Activity failed.
  3121. [2019-01-27T10:26:25.514Z] INFO [6212] - [Application update app-6a4a-190127_155519@15] : Completed activity. Result:
  3122. Application update - Command CMD-AppDeploy failed
  3123. [2019-01-27T10:29:29.807Z] INFO [7001] - [CMD-TailLogs] : Starting activity...
  3124. [2019-01-27T10:29:29.807Z] INFO [7001] - [CMD-TailLogs/AddonsBefore] : Starting activity...
  3125. [2019-01-27T10:29:29.807Z] INFO [7001] - [CMD-TailLogs/AddonsBefore] : Completed activity.
  3126. [2019-01-27T10:29:29.807Z] INFO [7001] - [CMD-TailLogs/TailLogs] : Starting activity...
  3127. [2019-01-27T10:29:29.807Z] INFO [7001] - [CMD-TailLogs/TailLogs/TailLogs] : Starting activity...
  3128. [2019-01-27T10:29:30.001Z] INFO [7001] - [CMD-TailLogs/TailLogs/TailLogs] : Completed activity.
  3129. [2019-01-27T10:29:30.001Z] INFO [7001] - [CMD-TailLogs/TailLogs] : Completed activity. Result:
  3130. CMD-TailLogs - stage 0 - Command CMD-TailLogs stage 0 completed
  3131. [2019-01-27T10:29:30.001Z] INFO [7001] - [CMD-TailLogs/AddonsAfter] : Starting activity...
  3132. [2019-01-27T10:29:30.001Z] INFO [7001] - [CMD-TailLogs/AddonsAfter] : Completed activity.
  3133. [2019-01-27T10:29:30.002Z] INFO [7001] - [CMD-TailLogs] : Completed activity. Result:
  3134. CMD-TailLogs - Command CMD-TailLogs succeeded
  3135. [2019-01-27T10:43:22.003Z] INFO [7420] - [Application update app-3547-190127_161301@16] : Starting activity...
  3136. [2019-01-27T10:43:22.003Z] INFO [7420] - [Application update app-3547-190127_161301@16/AddonsBefore] : Starting activity...
  3137. [2019-01-27T10:43:22.003Z] INFO [7420] - [Application update app-3547-190127_161301@16/AddonsBefore/ConfigCWLAgent] : Starting activity...
  3138. [2019-01-27T10:43:22.003Z] INFO [7420] - [Application update app-3547-190127_161301@16/AddonsBefore/ConfigCWLAgent/10-config.sh] : Starting activity...
  3139. [2019-01-27T10:43:22.128Z] INFO [7420] - [Application update app-3547-190127_161301@16/AddonsBefore/ConfigCWLAgent/10-config.sh] : Completed activity. Result:
  3140. Log streaming option setting is not specified, ignore cloudwatch logs setup.
  3141.  
  3142. Disabled log streaming.
  3143. [2019-01-27T10:43:22.128Z] INFO [7420] - [Application update app-3547-190127_161301@16/AddonsBefore/ConfigCWLAgent] : Completed activity. Result:
  3144. Successfully execute hooks in directory /opt/elasticbeanstalk/addons/logstreaming/hooks/config.
  3145. [2019-01-27T10:43:22.128Z] INFO [7420] - [Application update app-3547-190127_161301@16/AddonsBefore] : Completed activity.
  3146. [2019-01-27T10:43:22.530Z] INFO [7420] - [Application update app-3547-190127_161301@16/AppDeployStage0] : Starting activity...
  3147. [2019-01-27T10:43:22.530Z] INFO [7420] - [Application update app-3547-190127_161301@16/AppDeployStage0/DownloadSourceBundle] : Starting activity...
  3148. [2019-01-27T10:43:22.953Z] INFO [7420] - [Application update app-3547-190127_161301@16/AppDeployStage0/DownloadSourceBundle] : Completed activity. Result:
  3149. [2019-01-27T10:43:22.636Z] INFO [7464] : Application version will be saved to /opt/elasticbeanstalk/deploy/appsource.
  3150. [2019-01-27T10:43:22.636Z] INFO [7464] : Using manifest cache with deployment ID 16 and serial 21.
  3151. [2019-01-27T10:43:22.637Z] INFO [7464] : Attempting to download application source bundle to: '/opt/elasticbeanstalk/deploy/appsource/source_bundle'.
  3152. [2019-01-27T10:43:22.637Z] INFO [7464] : Using computed s3 key.
  3153. [2019-01-27T10:43:22.758Z] INFO [7464] : Downloading from bucket 'elasticbeanstalk-us-east-2-387358288273' with key 'resources/environments/e-sv4jqab3r8/_runtime/_versions/test/app-3547-190127_161301' and version '' to '/opt/elasticbeanstalk/deploy/appsource/source_bundle'.
  3154. [2019-01-27T10:43:22.813Z] INFO [7464] : Size: 9505470, ETag: "4626a689e58d2854f4031b8c1d5acea0", Metadata: {"environmentid"=>"e-sv4jqab3r8", "requestid"=>"bb955ef8-6b58-4c2b-adcd-4164f2536b1d"}.
  3155. [2019-01-27T10:43:22.945Z] INFO [7464] : Downloaded size: 9505470.
  3156. [2019-01-27T10:43:22.945Z] INFO [7464] : Successfully downloaded to '/opt/elasticbeanstalk/deploy/appsource/source_bundle'.
  3157. [2019-01-27T10:43:22.954Z] INFO [7420] - [Application update app-3547-190127_161301@16/AppDeployStage0/EbExtensionPreBuild] : Starting activity...
  3158. [2019-01-27T10:43:23.304Z] INFO [7420] - [Application update app-3547-190127_161301@16/AppDeployStage0/EbExtensionPreBuild/Infra-EmbeddedPreBuild] : Starting activity...
  3159. [2019-01-27T10:43:23.307Z] INFO [7420] - [Application update app-3547-190127_161301@16/AppDeployStage0/EbExtensionPreBuild/Infra-EmbeddedPreBuild/prebuild_0_test] : Starting activity...
  3160. [2019-01-27T10:43:23.307Z] INFO [7420] - [Application update app-3547-190127_161301@16/AppDeployStage0/EbExtensionPreBuild/Infra-EmbeddedPreBuild/prebuild_0_test] : Completed activity.
  3161. [2019-01-27T10:43:23.307Z] INFO [7420] - [Application update app-3547-190127_161301@16/AppDeployStage0/EbExtensionPreBuild/Infra-EmbeddedPreBuild] : Completed activity.
  3162. [2019-01-27T10:43:23.670Z] INFO [7420] - [Application update app-3547-190127_161301@16/AppDeployStage0/EbExtensionPreBuild] : Completed activity.
  3163. [2019-01-27T10:43:23.670Z] INFO [7420] - [Application update app-3547-190127_161301@16/AppDeployStage0/AppDeployPreHook] : Starting activity...
  3164. [2019-01-27T10:43:23.670Z] INFO [7420] - [Application update app-3547-190127_161301@16/AppDeployStage0/AppDeployPreHook/01_configure_xray.sh] : Starting activity...
  3165. [2019-01-27T10:43:23.775Z] INFO [7420] - [Application update app-3547-190127_161301@16/AppDeployStage0/AppDeployPreHook/01_configure_xray.sh] : Completed activity.
  3166. [2019-01-27T10:43:23.775Z] INFO [7420] - [Application update app-3547-190127_161301@16/AppDeployStage0/AppDeployPreHook/01_unzip.rb] : Starting activity...
  3167. [2019-01-27T10:43:24.320Z] INFO [7420] - [Application update app-3547-190127_161301@16/AppDeployStage0/AppDeployPreHook/01_unzip.rb] : Completed activity.
  3168. [2019-01-27T10:43:24.320Z] INFO [7420] - [Application update app-3547-190127_161301@16/AppDeployStage0/AppDeployPreHook/02_setup_envvars.sh] : Starting activity...
  3169. [2019-01-27T10:43:24.540Z] INFO [7420] - [Application update app-3547-190127_161301@16/AppDeployStage0/AppDeployPreHook/02_setup_envvars.sh] : Completed activity. Result:
  3170. ++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
  3171. + EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
  3172. + /opt/elasticbeanstalk/support/export_envvars
  3173. [2019-01-27T10:43:24.540Z] INFO [7420] - [Application update app-3547-190127_161301@16/AppDeployStage0/AppDeployPreHook/10_bundle_install.sh] : Starting activity...
  3174. [2019-01-27T10:43:25.407Z] INFO [7420] - [Application update app-3547-190127_161301@16/AppDeployStage0/AppDeployPreHook/10_bundle_install.sh] : Completed activity. Result:
  3175. ++ /opt/elasticbeanstalk/bin/get-config container -k script_dir
  3176. + EB_SCRIPT_DIR=/opt/elasticbeanstalk/support/scripts
  3177. ++ /opt/elasticbeanstalk/bin/get-config container -k app_staging_dir
  3178. + EB_APP_STAGING_DIR=/var/app/ondeck
  3179. ++ /opt/elasticbeanstalk/bin/get-config container -k app_user
  3180. + EB_APP_USER=webapp
  3181. ++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
  3182. + EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
  3183. + . /opt/elasticbeanstalk/support/envvars-wrapper.sh
  3184. +++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
  3185. ++ EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
  3186. ++ set +x
  3187. + . /opt/elasticbeanstalk/support/scripts/use-app-ruby.sh
  3188. ++ . /usr/local/share/chruby/chruby.sh
  3189. +++ CHRUBY_VERSION=0.3.9
  3190. +++ RUBIES=()
  3191. +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
  3192. +++ [[ -d /opt/rubies ]]
  3193. ++++ ls -A /opt/rubies
  3194. +++ [[ -n ruby-1.9.3-p551
  3195. ruby-2.0.0-p648
  3196. ruby-2.1.10
  3197. ruby-2.2.10
  3198. ruby-2.3.8
  3199. ruby-2.4.5
  3200. ruby-2.5.3
  3201. ruby-2.6.0
  3202. ruby-current ]]
  3203. +++ RUBIES+=("$dir"/*)
  3204. +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
  3205. +++ [[ -d /.rubies ]]
  3206. +++ unset dir
  3207. +++ cat /etc/elasticbeanstalk/.ruby_version
  3208. ++ chruby 2.4.5
  3209. ++ case "$1" in
  3210. ++ local dir match
  3211. ++ for dir in '"${RUBIES[@]}"'
  3212. ++ dir=/opt/rubies/ruby-1.9.3-p551
  3213. ++ case "${dir##*/}" in
  3214. ++ for dir in '"${RUBIES[@]}"'
  3215. ++ dir=/opt/rubies/ruby-2.0.0-p648
  3216. ++ case "${dir##*/}" in
  3217. ++ for dir in '"${RUBIES[@]}"'
  3218. ++ dir=/opt/rubies/ruby-2.1.10
  3219. ++ case "${dir##*/}" in
  3220. ++ for dir in '"${RUBIES[@]}"'
  3221. ++ dir=/opt/rubies/ruby-2.2.10
  3222. ++ case "${dir##*/}" in
  3223. ++ for dir in '"${RUBIES[@]}"'
  3224. ++ dir=/opt/rubies/ruby-2.3.8
  3225. ++ case "${dir##*/}" in
  3226. ++ for dir in '"${RUBIES[@]}"'
  3227. ++ dir=/opt/rubies/ruby-2.4.5
  3228. ++ case "${dir##*/}" in
  3229. ++ match=/opt/rubies/ruby-2.4.5
  3230. ++ for dir in '"${RUBIES[@]}"'
  3231. ++ dir=/opt/rubies/ruby-2.5.3
  3232. ++ case "${dir##*/}" in
  3233. ++ for dir in '"${RUBIES[@]}"'
  3234. ++ dir=/opt/rubies/ruby-2.6.0
  3235. ++ case "${dir##*/}" in
  3236. ++ for dir in '"${RUBIES[@]}"'
  3237. ++ dir=/opt/rubies/ruby-current
  3238. ++ case "${dir##*/}" in
  3239. ++ [[ -z /opt/rubies/ruby-2.4.5 ]]
  3240. ++ shift
  3241. ++ chruby_use /opt/rubies/ruby-2.4.5 ''
  3242. ++ [[ ! -x /opt/rubies/ruby-2.4.5/bin/ruby ]]
  3243. ++ [[ -n '' ]]
  3244. ++ export RUBY_ROOT=/opt/rubies/ruby-2.4.5
  3245. ++ RUBY_ROOT=/opt/rubies/ruby-2.4.5
  3246. ++ export RUBYOPT=
  3247. ++ RUBYOPT=
  3248. ++ export PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
  3249. ++ PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
  3250. +++ /opt/rubies/ruby-2.4.5/bin/ruby -
  3251. ++ eval 'export RUBY_ENGINE=ruby;
  3252. export RUBY_VERSION=2.4.5;
  3253. export GEM_ROOT="/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0";'
  3254. +++ export RUBY_ENGINE=ruby
  3255. +++ RUBY_ENGINE=ruby
  3256. +++ export RUBY_VERSION=2.4.5
  3257. +++ RUBY_VERSION=2.4.5
  3258. +++ export GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
  3259. +++ GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
  3260. ++ (( 0 != 0 ))
  3261. + cd /var/app/ondeck
  3262. + '[' -f Gemfile ']'
  3263. + echo 'running '\''bundle install'\'' with Gemfile:'
  3264. running 'bundle install' with Gemfile:
  3265. + cat Gemfile
  3266. source 'https://rubygems.org'
  3267.  
  3268.  
  3269. # Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
  3270. gem 'rails', '~> 5.0.0', '>= 5.0.0.1'
  3271.  
  3272.  
  3273. # sqlite3 fails on heroku
  3274. # group :development do
  3275. # gem 'sqlite3' #gem to use in development environment
  3276. # end
  3277. # gem 'sqlite3'
  3278. # group :production do
  3279. gem 'pg', '~> 0.18' #gem to use in production environment
  3280. # end
  3281. gem 'will_paginate', '~> 3.1.0'
  3282. gem 'simple_form'
  3283. gem 'bootstrap-sass'
  3284. gem 'devise'
  3285. gem 'nested_scaffold'
  3286. # Use Puma as the app server
  3287. gem 'puma', '~> 3.0'
  3288. # Use SCSS for stylesheets
  3289. gem 'sass-rails', '~> 5.0'
  3290. # Use Uglifier as compressor for JavaScript assets
  3291. gem 'uglifier', '>= 1.3.0'
  3292. # Use CoffeeScript for .coffee assets and views
  3293. gem 'coffee-rails', '~> 4.2'
  3294. # See https://github.com/rails/execjs#readme for more supported runtimes
  3295. # gem 'therubyracer', platforms: :ruby
  3296.  
  3297. # Use jquery as the JavaScript library
  3298. gem 'jquery-rails'
  3299. # Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks
  3300. gem 'turbolinks', '~> 5'
  3301. # Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
  3302. gem 'jbuilder', '~> 2.5'
  3303. # Use Redis adapter to run Action Cable in production
  3304. # gem 'redis', '~> 3.0'
  3305. # Use ActiveModel has_secure_password
  3306. # gem 'bcrypt', '~> 3.1.7'
  3307.  
  3308. # Use Capistrano for deployment
  3309. # gem 'capistrano-rails', group: :development
  3310.  
  3311. group :development, :test do
  3312. # Call 'byebug' anywhere in the code to stop execution and get a debugger console
  3313. gem 'byebug', platform: :mri
  3314. end
  3315.  
  3316. group :development do
  3317. # Access an IRB console on exception pages or by using <%= console %> anywhere in the code.
  3318. gem 'web-console'
  3319. end
  3320.  
  3321. # Windows does not include zoneinfo files, so bundle the tzinfo-data gem
  3322. gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
  3323.  
  3324. gem 'activeadmin'
  3325. + '[' -d /var/app/ondeck/vendor/cache ']'
  3326. + bundle install
  3327. Don't run Bundler as root. Bundler can ask for sudo if it is needed, and
  3328. installing your bundle as root will break this application for all non-root
  3329. users on this machine.
  3330. Warning: the running version of Bundler (1.16.2) is older than the version that created the lockfile (1.16.3). We suggest you upgrade to the latest version of Bundler by running `gem install bundler`.
  3331. Using rake 12.0.0
  3332. Using concurrent-ruby 1.0.5
  3333. Using i18n 0.8.1
  3334. Using minitest 5.10.1
  3335. Using thread_safe 0.3.6
  3336. Using tzinfo 1.2.3
  3337. Using activesupport 5.0.2
  3338. Using builder 3.2.3
  3339. Using erubis 2.7.0
  3340. Using mini_portile2 2.1.0
  3341. Using nokogiri 1.7.1
  3342. Using rails-dom-testing 2.0.2
  3343. Using loofah 2.0.3
  3344. Using rails-html-sanitizer 1.0.3
  3345. Using actionview 5.0.2
  3346. Using rack 2.0.1
  3347. Using rack-test 0.6.3
  3348. Using actionpack 5.0.2
  3349. Using nio4r 2.0.0
  3350. Using websocket-extensions 0.1.2
  3351. Using websocket-driver 0.6.5
  3352. Using actioncable 5.0.2
  3353. Using globalid 0.4.0
  3354. Using activejob 5.0.2
  3355. Using mime-types-data 3.2016.0521
  3356. Using mime-types 3.1
  3357. Using mail 2.6.4
  3358. Using actionmailer 5.0.2
  3359. Using arbre 1.1.1
  3360. Using sass 3.4.23
  3361. Using thor 0.19.4
  3362. Using bourbon 4.3.4
  3363. Using coffee-script-source 1.12.2
  3364. Using execjs 2.7.0
  3365. Using coffee-script 2.4.1
  3366. Using method_source 0.8.2
  3367. Using railties 5.0.2
  3368. Using coffee-rails 4.2.1
  3369. Using formtastic 3.1.5
  3370. Using formtastic_i18n 0.6.0
  3371. Using has_scope 0.7.1
  3372. Using responders 2.3.0
  3373. Using inherited_resources 1.7.2
  3374. Using jquery-rails 4.3.1
  3375. Using jquery-ui-rails 6.0.1
  3376. Using kaminari-core 1.0.1
  3377. Using kaminari-actionview 1.0.1
  3378. Using activemodel 5.0.2
  3379. Using arel 7.1.4
  3380. Using activerecord 5.0.2
  3381. Using kaminari-activerecord 1.0.1
  3382. Using kaminari 1.0.1
  3383. Using polyamorous 1.3.1
  3384. Using ransack 1.8.2
  3385. Using sprockets 3.7.1
  3386. Using sprockets-rails 3.2.0
  3387. Using tilt 2.0.7
  3388. Using sass-rails 5.0.6
  3389. Using activeadmin 1.0.0
  3390. Using autoprefixer-rails 6.7.7.2
  3391. Using bcrypt 3.1.11
  3392. Using bootstrap-sass 3.3.7
  3393. Using bundler 1.16.2
  3394. Using orm_adapter 0.5.0
  3395. Using warden 1.2.7
  3396. Using devise 4.2.1
  3397. Using multi_json 1.12.1
  3398. Using jbuilder 2.6.3
  3399. Using nested_scaffold 1.0.0
  3400. Using pg 0.21.0
  3401. Using puma 3.8.2
  3402. Using rails 5.0.2
  3403. Using simple_form 3.4.0
  3404. Using turbolinks-source 5.0.0
  3405. Using turbolinks 5.0.1
  3406. Using uglifier 3.2.0
  3407. Using will_paginate 3.1.5
  3408. Bundle complete! 18 Gemfile dependencies, 77 gems now installed.
  3409. Gems in the groups test and development were not installed.
  3410. Use `bundle info [gemname]` to see where a bundled gem is installed.
  3411. + '[' -f Gemfile.lock ']'
  3412. + echo 'encountered a Gemfile.lock, setting proper permissions'
  3413. encountered a Gemfile.lock, setting proper permissions
  3414. + chown webapp:webapp Gemfile.lock
  3415. + '[' '' = 1 ']'
  3416. [2019-01-27T10:43:25.407Z] INFO [7420] - [Application update app-3547-190127_161301@16/AppDeployStage0/AppDeployPreHook/11_asset_compilation.sh] : Starting activity...
  3417. [2019-01-27T10:43:46.920Z] INFO [7420] - [Application update app-3547-190127_161301@16/AppDeployStage0/AppDeployPreHook/11_asset_compilation.sh] : Completed activity. Result:
  3418. ++ /opt/elasticbeanstalk/bin/get-config container -k script_dir
  3419. + EB_SCRIPT_DIR=/opt/elasticbeanstalk/support/scripts
  3420. ++ /opt/elasticbeanstalk/bin/get-config container -k app_staging_dir
  3421. + EB_APP_STAGING_DIR=/var/app/ondeck
  3422. ++ /opt/elasticbeanstalk/bin/get-config container -k app_user
  3423. + EB_APP_USER=webapp
  3424. ++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
  3425. + EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
  3426. + . /opt/elasticbeanstalk/support/envvars-wrapper.sh
  3427. +++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
  3428. ++ EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
  3429. ++ set +x
  3430. + RAKE_TASK=assets:precompile
  3431. + . /opt/elasticbeanstalk/support/scripts/use-app-ruby.sh
  3432. ++ . /usr/local/share/chruby/chruby.sh
  3433. +++ CHRUBY_VERSION=0.3.9
  3434. +++ RUBIES=()
  3435. +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
  3436. +++ [[ -d /opt/rubies ]]
  3437. ++++ ls -A /opt/rubies
  3438. +++ [[ -n ruby-1.9.3-p551
  3439. ruby-2.0.0-p648
  3440. ruby-2.1.10
  3441. ruby-2.2.10
  3442. ruby-2.3.8
  3443. ruby-2.4.5
  3444. ruby-2.5.3
  3445. ruby-2.6.0
  3446. ruby-current ]]
  3447. +++ RUBIES+=("$dir"/*)
  3448. +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
  3449. +++ [[ -d /.rubies ]]
  3450. +++ unset dir
  3451. +++ cat /etc/elasticbeanstalk/.ruby_version
  3452. ++ chruby 2.4.5
  3453. ++ case "$1" in
  3454. ++ local dir match
  3455. ++ for dir in '"${RUBIES[@]}"'
  3456. ++ dir=/opt/rubies/ruby-1.9.3-p551
  3457. ++ case "${dir##*/}" in
  3458. ++ for dir in '"${RUBIES[@]}"'
  3459. ++ dir=/opt/rubies/ruby-2.0.0-p648
  3460. ++ case "${dir##*/}" in
  3461. ++ for dir in '"${RUBIES[@]}"'
  3462. ++ dir=/opt/rubies/ruby-2.1.10
  3463. ++ case "${dir##*/}" in
  3464. ++ for dir in '"${RUBIES[@]}"'
  3465. ++ dir=/opt/rubies/ruby-2.2.10
  3466. ++ case "${dir##*/}" in
  3467. ++ for dir in '"${RUBIES[@]}"'
  3468. ++ dir=/opt/rubies/ruby-2.3.8
  3469. ++ case "${dir##*/}" in
  3470. ++ for dir in '"${RUBIES[@]}"'
  3471. ++ dir=/opt/rubies/ruby-2.4.5
  3472. ++ case "${dir##*/}" in
  3473. ++ match=/opt/rubies/ruby-2.4.5
  3474. ++ for dir in '"${RUBIES[@]}"'
  3475. ++ dir=/opt/rubies/ruby-2.5.3
  3476. ++ case "${dir##*/}" in
  3477. ++ for dir in '"${RUBIES[@]}"'
  3478. ++ dir=/opt/rubies/ruby-2.6.0
  3479. ++ case "${dir##*/}" in
  3480. ++ for dir in '"${RUBIES[@]}"'
  3481. ++ dir=/opt/rubies/ruby-current
  3482. ++ case "${dir##*/}" in
  3483. ++ [[ -z /opt/rubies/ruby-2.4.5 ]]
  3484. ++ shift
  3485. ++ chruby_use /opt/rubies/ruby-2.4.5 ''
  3486. ++ [[ ! -x /opt/rubies/ruby-2.4.5/bin/ruby ]]
  3487. ++ [[ -n '' ]]
  3488. ++ export RUBY_ROOT=/opt/rubies/ruby-2.4.5
  3489. ++ RUBY_ROOT=/opt/rubies/ruby-2.4.5
  3490. ++ export RUBYOPT=
  3491. ++ RUBYOPT=
  3492. ++ export PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
  3493. ++ PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
  3494. +++ /opt/rubies/ruby-2.4.5/bin/ruby -
  3495. ++ eval 'export RUBY_ENGINE=ruby;
  3496. export RUBY_VERSION=2.4.5;
  3497. export GEM_ROOT="/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0";'
  3498. +++ export RUBY_ENGINE=ruby
  3499. +++ RUBY_ENGINE=ruby
  3500. +++ export RUBY_VERSION=2.4.5
  3501. +++ RUBY_VERSION=2.4.5
  3502. +++ export GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
  3503. +++ GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
  3504. ++ (( 0 != 0 ))
  3505. + cd /var/app/ondeck
  3506. + su -s /bin/bash -c 'bundle exec /opt/elasticbeanstalk/support/scripts/check-for-rake-task.rb assets:precompile' webapp
  3507. `/home/webapp` is not a directory.
  3508. Bundler will use `/tmp/bundler/home/webapp' as your home directory temporarily.
  3509. ./bin/monkey_patch.rb:11:in `read': No such file or directory @ rb_sysopen - `/home/webapp` is not a directory. (Errno::ENOENT)
  3510. Bundler will use `/tmp/bundler/home/webapp' as your home directory temporarily.
  3511. /opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0/gems/pg-0.21.0/lib/pg/deprecated_constants.rb
  3512. from ./bin/monkey_patch.rb:11:in `<main>'
  3513. + '[' false == true ']'
  3514. + su -s /bin/bash -c 'bundle exec rake assets:precompile' webapp
  3515. `/home/webapp` is not a directory.
  3516. Bundler will use `/tmp/bundler/home/webapp' as your home directory temporarily.
  3517. ./bin/monkey_patch.rb:11:in `read': No such file or directory @ rb_sysopen - `/home/webapp` is not a directory. (Errno::ENOENT)
  3518. Bundler will use `/tmp/bundler/home/webapp' as your home directory temporarily.
  3519. /opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0/gems/pg-0.21.0/lib/pg/deprecated_constants.rb
  3520. from ./bin/monkey_patch.rb:11:in `<main>'
  3521. DEPRECATION WARNING: `config.static_cache_control` is deprecated and will be removed in Rails 5.1.
  3522. Please use
  3523. `config.public_file_server.headers = { 'Cache-Control' => 'public, max-age=2592000' }`
  3524. instead.
  3525. (called from block in <top (required)> at /var/app/ondeck/config/environments/production.rb:28)
  3526. intializing git
  3527. error: could not lock config file /home/webapp/.gitconfig: No such file or directory
  3528. sh: line 0: cd: /home/webapp: No such file or directory
  3529. I, [2019-01-27T10:43:33.556252 #7571] INFO -- : Writing /var/app/ondeck/public/assets/active_admin-8f4a05166e4e3f3733b924879539581f823c7895202c31a69559fb0bd8ead8ff.css
  3530. I, [2019-01-27T10:43:33.556688 #7571] INFO -- : Writing /var/app/ondeck/public/assets/active_admin-8f4a05166e4e3f3733b924879539581f823c7895202c31a69559fb0bd8ead8ff.css.gz
  3531. I, [2019-01-27T10:43:33.556977 #7571] INFO -- : Writing /var/app/ondeck/public/assets/active_admin/nested_menu_arrow-15084d93c65c1964d7077700ea748bd2d70cfa2d4c19707c58a9c64e232dd442.gif
  3532. I, [2019-01-27T10:43:33.557270 #7571] INFO -- : Writing /var/app/ondeck/public/assets/active_admin/nested_menu_arrow_dark-7c43b8e0a5f8823875f49a093c9d7a6b374f885b6f9cc248ae9cd7e6e9b29034.gif
  3533. I, [2019-01-27T10:43:33.557619 #7571] INFO -- : Writing /var/app/ondeck/public/assets/active_admin/datepicker/datepicker-input-icon-d9c2bb73769af777c8a71720d29741f3a499aebd5a043e9a119bd0d9597aed47.png
  3534. I, [2019-01-27T10:43:33.557878 #7571] INFO -- : Writing /var/app/ondeck/public/assets/active_admin/orderable-29374dbb55b0012d78a37c614d573bb3474f0779849b478a147d0f1845ca6617.png
  3535. I, [2019-01-27T10:43:33.679509 #7571] INFO -- : Writing /var/app/ondeck/public/assets/active_admin/print-87c5ffc1d869a919123bcc1dc5ec51b20bc79fd9aeab9eed77e3438c6acd4f68.css
  3536. I, [2019-01-27T10:43:33.679882 #7571] INFO -- : Writing /var/app/ondeck/public/assets/active_admin/print-87c5ffc1d869a919123bcc1dc5ec51b20bc79fd9aeab9eed77e3438c6acd4f68.css.gz
  3537. I, [2019-01-27T10:43:40.717578 #7571] INFO -- : Writing /var/app/ondeck/public/assets/active_admin-12a74b3ffff1babd45eaca3fef9dce6596642a2fc91eb7d5e03d69c2b8c76570.js
  3538. I, [2019-01-27T10:43:40.718066 #7571] INFO -- : Writing /var/app/ondeck/public/assets/active_admin-12a74b3ffff1babd45eaca3fef9dce6596642a2fc91eb7d5e03d69c2b8c76570.js.gz
  3539. I, [2019-01-27T10:43:40.724584 #7571] INFO -- : Writing /var/app/ondeck/public/assets/danger-869dd8b0616e1a5b646dc898db2a5d6428f45fe14a90fa6d0c7130f64d886c48.png
  3540. I, [2019-01-27T10:43:40.729120 #7571] INFO -- : Writing /var/app/ondeck/public/assets/dark-607bed84e53ccb497978bd3ae9e51d4b57de94e954da4e8e1ec5b51a78d8898e.png
  3541. I, [2019-01-27T10:43:40.733486 #7571] INFO -- : Writing /var/app/ondeck/public/assets/do-e798277592b8fde73e6568cdde6687220f6d2a83f53250c561edf11619d5b1c1.jpg
  3542. I, [2019-01-27T10:43:40.739133 #7571] INFO -- : Writing /var/app/ondeck/public/assets/favicon-21c44bf091fb9557f8a4527913b0254924fc136d6e71dcee1676b7f37c8175ef.ico
  3543. I, [2019-01-27T10:43:40.739388 #7571] INFO -- : Writing /var/app/ondeck/public/assets/favicon-21c44bf091fb9557f8a4527913b0254924fc136d6e71dcee1676b7f37c8175ef.ico.gz
  3544. I, [2019-01-27T10:43:40.742460 #7571] INFO -- : Writing /var/app/ondeck/public/assets/home-f3281914e0ac5072115e9ba6f458cec56ad002cc5e65ca75988afc86af858e01.jpg
  3545. I, [2019-01-27T10:43:40.744617 #7571] INFO -- : Writing /var/app/ondeck/public/assets/info-967cdd33af0671563a0e72bed22f1cddb95a138e241dffbd5013750360bf7113.png
  3546. I, [2019-01-27T10:43:40.749021 #7571] INFO -- : Writing /var/app/ondeck/public/assets/primary-093ae3386f858ff56855e5c8a09137d4ce87c2c7aa2b152af81eac5d7667a98d.png
  3547. I, [2019-01-27T10:43:40.753903 #7571] INFO -- : Writing /var/app/ondeck/public/assets/secondary-1c1a37a441b0e6f6ca2bfb1435df8f1160a0e4ec1db5798a5e5a72374172942c.png
  3548. I, [2019-01-27T10:43:40.756145 #7571] INFO -- : Writing /var/app/ondeck/public/assets/success-5a1b362ddb5e5ed6131beffc575d91a3615864b678d24706bff24b055b6a594c.png
  3549. I, [2019-01-27T10:43:40.758480 #7571] INFO -- : Writing /var/app/ondeck/public/assets/warning-a3e35927fa71a99455166de5b62a03122ffb5287e33c9ed2c42532622f543fa5.png
  3550. I, [2019-01-27T10:43:44.191931 #7571] INFO -- : Writing /var/app/ondeck/public/assets/application-a4d1530f7a05b9cfdfa450e5267e5ceb57d855a8ec9b934785f2ba95a8556c6c.js
  3551. I, [2019-01-27T10:43:44.192373 #7571] INFO -- : Writing /var/app/ondeck/public/assets/application-a4d1530f7a05b9cfdfa450e5267e5ceb57d855a8ec9b934785f2ba95a8556c6c.js.gz
  3552. I, [2019-01-27T10:43:46.843488 #7571] INFO -- : Writing /var/app/ondeck/public/assets/application-da22e659ddaed5260aa445b696e4e8945e554c6c97884a0be799b74eb511ccf3.css
  3553. I, [2019-01-27T10:43:46.843948 #7571] INFO -- : Writing /var/app/ondeck/public/assets/application-da22e659ddaed5260aa445b696e4e8945e554c6c97884a0be799b74eb511ccf3.css.gz
  3554. [2019-01-27T10:43:46.920Z] INFO [7420] - [Application update app-3547-190127_161301@16/AppDeployStage0/AppDeployPreHook/12_db_migration.sh] : Starting activity...
  3555. [2019-01-27T10:43:51.818Z] INFO [7420] - [Application update app-3547-190127_161301@16/AppDeployStage0/AppDeployPreHook/12_db_migration.sh] : Activity execution failed, because: ++ /opt/elasticbeanstalk/bin/get-config container -k script_dir
  3556. + EB_SCRIPT_DIR=/opt/elasticbeanstalk/support/scripts
  3557. ++ /opt/elasticbeanstalk/bin/get-config container -k app_staging_dir
  3558. + EB_APP_STAGING_DIR=/var/app/ondeck
  3559. ++ /opt/elasticbeanstalk/bin/get-config container -k app_user
  3560. + EB_APP_USER=webapp
  3561. ++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
  3562. + EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
  3563. + . /opt/elasticbeanstalk/support/envvars-wrapper.sh
  3564. +++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
  3565. ++ EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
  3566. ++ set +x
  3567. + RAKE_TASK=db:migrate
  3568. + . /opt/elasticbeanstalk/support/scripts/use-app-ruby.sh
  3569. ++ . /usr/local/share/chruby/chruby.sh
  3570. +++ CHRUBY_VERSION=0.3.9
  3571. +++ RUBIES=()
  3572. +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
  3573. +++ [[ -d /opt/rubies ]]
  3574. ++++ ls -A /opt/rubies
  3575. +++ [[ -n ruby-1.9.3-p551
  3576. ruby-2.0.0-p648
  3577. ruby-2.1.10
  3578. ruby-2.2.10
  3579. ruby-2.3.8
  3580. ruby-2.4.5
  3581. ruby-2.5.3
  3582. ruby-2.6.0
  3583. ruby-current ]]
  3584. +++ RUBIES+=("$dir"/*)
  3585. +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
  3586. +++ [[ -d /.rubies ]]
  3587. +++ unset dir
  3588. +++ cat /etc/elasticbeanstalk/.ruby_version
  3589. ++ chruby 2.4.5
  3590. ++ case "$1" in
  3591. ++ local dir match
  3592. ++ for dir in '"${RUBIES[@]}"'
  3593. ++ dir=/opt/rubies/ruby-1.9.3-p551
  3594. ++ case "${dir##*/}" in
  3595. ++ for dir in '"${RUBIES[@]}"'
  3596. ++ dir=/opt/rubies/ruby-2.0.0-p648
  3597. ++ case "${dir##*/}" in
  3598. ++ for dir in '"${RUBIES[@]}"'
  3599. ++ dir=/opt/rubies/ruby-2.1.10
  3600. ++ case "${dir##*/}" in
  3601. ++ for dir in '"${RUBIES[@]}"'
  3602. ++ dir=/opt/rubies/ruby-2.2.10
  3603. ++ case "${dir##*/}" in
  3604. ++ for dir in '"${RUBIES[@]}"'
  3605. ++ dir=/opt/rubies/ruby-2.3.8
  3606. ++ case "${dir##*/}" in
  3607. ++ for dir in '"${RUBIES[@]}"'
  3608. ++ dir=/opt/rubies/ruby-2.4.5
  3609. ++ case "${dir##*/}" in
  3610. ++ match=/opt/rubies/ruby-2.4.5
  3611. ++ for dir in '"${RUBIES[@]}"'
  3612. ++ dir=/opt/rubies/ruby-2.5.3
  3613. ++ case "${dir##*/}" in
  3614. ++ for dir in '"${RUBIES[@]}"'
  3615. ++ dir=/opt/rubies/ruby-2.6.0
  3616. ++ case "${dir##*/}" in
  3617. ++ for dir in '"${RUBIES[@]}"'
  3618. ++ dir=/opt/rubies/ruby-current
  3619. ++ case "${dir##*/}" in
  3620. ++ [[ -z /opt/rubies/ruby-2.4.5 ]]
  3621. ++ shift
  3622. ++ chruby_use /opt/rubies/ruby-2.4.5 ''
  3623. ++ [[ ! -x /opt/rubies/ruby-2.4.5/bin/ruby ]]
  3624. ++ [[ -n '' ]]
  3625. ++ export RUBY_ROOT=/opt/rubies/ruby-2.4.5
  3626. ++ RUBY_ROOT=/opt/rubies/ruby-2.4.5
  3627. ++ export RUBYOPT=
  3628. ++ RUBYOPT=
  3629. ++ export PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
  3630. ++ PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
  3631. +++ /opt/rubies/ruby-2.4.5/bin/ruby -
  3632. ++ eval 'export RUBY_ENGINE=ruby;
  3633. export RUBY_VERSION=2.4.5;
  3634. export GEM_ROOT="/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0";'
  3635. +++ export RUBY_ENGINE=ruby
  3636. +++ RUBY_ENGINE=ruby
  3637. +++ export RUBY_VERSION=2.4.5
  3638. +++ RUBY_VERSION=2.4.5
  3639. +++ export GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
  3640. +++ GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
  3641. ++ (( 0 != 0 ))
  3642. + cd /var/app/ondeck
  3643. + su -s /bin/bash -c 'bundle exec /opt/elasticbeanstalk/support/scripts/check-for-rake-task.rb db:migrate' webapp
  3644. `/home/webapp` is not a directory.
  3645. Bundler will use `/tmp/bundler/home/webapp' as your home directory temporarily.
  3646. ./bin/monkey_patch.rb:11:in `read': No such file or directory @ rb_sysopen - `/home/webapp` is not a directory. (Errno::ENOENT)
  3647. Bundler will use `/tmp/bundler/home/webapp' as your home directory temporarily.
  3648. /opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0/gems/pg-0.21.0/lib/pg/deprecated_constants.rb
  3649. from ./bin/monkey_patch.rb:11:in `<main>'
  3650. + '[' false = true ']'
  3651. + su -s /bin/bash -c 'leader_only bundle exec rake db:migrate' webapp
  3652. `/home/webapp` is not a directory.
  3653. Bundler will use `/tmp/bundler/home/webapp' as your home directory temporarily.
  3654. ./bin/monkey_patch.rb:11:in `read': No such file or directory @ rb_sysopen - `/home/webapp` is not a directory. (Errno::ENOENT)
  3655. Bundler will use `/tmp/bundler/home/webapp' as your home directory temporarily.
  3656. /opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0/gems/pg-0.21.0/lib/pg/deprecated_constants.rb
  3657. from ./bin/monkey_patch.rb:11:in `<main>'
  3658. DEPRECATION WARNING: `config.static_cache_control` is deprecated and will be removed in Rails 5.1.
  3659. Please use
  3660. `config.public_file_server.headers = { 'Cache-Control' => 'public, max-age=2592000' }`
  3661. instead.
  3662. (called from block in <top (required)> at /var/app/ondeck/config/environments/production.rb:28)
  3663. intializing git
  3664. error: could not lock config file /home/webapp/.gitconfig: No such file or directory
  3665. sh: line 0: cd: /home/webapp: No such file or directory
  3666. The PGconn, PGresult, and PGError constants are deprecated, and will be
  3667. removed as of version 1.0.
  3668.  
  3669. You should use PG::Connection, PG::Result, and PG::Error instead, respectively.
  3670.  
  3671. Called from /opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0/gems/activesupport-5.0.2/lib/active_support/dependencies.rb:259:in `load_dependency'
  3672. rake aborted!
  3673. PG::ConnectionBad: FATAL: password authentication failed for user "justine"
  3674. FATAL: password authentication failed for user "justine"
  3675. /opt/rubies/ruby-2.4.5/bin/bundle:23:in `load'
  3676. /opt/rubies/ruby-2.4.5/bin/bundle:23:in `<main>'
  3677. Tasks: TOP => db:migrate
  3678. (See full trace by running task with --trace) (ElasticBeanstalk::ExternalInvocationError)
  3679. caused by: ++ /opt/elasticbeanstalk/bin/get-config container -k script_dir
  3680. + EB_SCRIPT_DIR=/opt/elasticbeanstalk/support/scripts
  3681. ++ /opt/elasticbeanstalk/bin/get-config container -k app_staging_dir
  3682. + EB_APP_STAGING_DIR=/var/app/ondeck
  3683. ++ /opt/elasticbeanstalk/bin/get-config container -k app_user
  3684. + EB_APP_USER=webapp
  3685. ++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
  3686. + EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
  3687. + . /opt/elasticbeanstalk/support/envvars-wrapper.sh
  3688. +++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
  3689. ++ EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
  3690. ++ set +x
  3691. + RAKE_TASK=db:migrate
  3692. + . /opt/elasticbeanstalk/support/scripts/use-app-ruby.sh
  3693. ++ . /usr/local/share/chruby/chruby.sh
  3694. +++ CHRUBY_VERSION=0.3.9
  3695. +++ RUBIES=()
  3696. +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
  3697. +++ [[ -d /opt/rubies ]]
  3698. ++++ ls -A /opt/rubies
  3699. +++ [[ -n ruby-1.9.3-p551
  3700. ruby-2.0.0-p648
  3701. ruby-2.1.10
  3702. ruby-2.2.10
  3703. ruby-2.3.8
  3704. ruby-2.4.5
  3705. ruby-2.5.3
  3706. ruby-2.6.0
  3707. ruby-current ]]
  3708. +++ RUBIES+=("$dir"/*)
  3709. +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
  3710. +++ [[ -d /.rubies ]]
  3711. +++ unset dir
  3712. +++ cat /etc/elasticbeanstalk/.ruby_version
  3713. ++ chruby 2.4.5
  3714. ++ case "$1" in
  3715. ++ local dir match
  3716. ++ for dir in '"${RUBIES[@]}"'
  3717. ++ dir=/opt/rubies/ruby-1.9.3-p551
  3718. ++ case "${dir##*/}" in
  3719. ++ for dir in '"${RUBIES[@]}"'
  3720. ++ dir=/opt/rubies/ruby-2.0.0-p648
  3721. ++ case "${dir##*/}" in
  3722. ++ for dir in '"${RUBIES[@]}"'
  3723. ++ dir=/opt/rubies/ruby-2.1.10
  3724. ++ case "${dir##*/}" in
  3725. ++ for dir in '"${RUBIES[@]}"'
  3726. ++ dir=/opt/rubies/ruby-2.2.10
  3727. ++ case "${dir##*/}" in
  3728. ++ for dir in '"${RUBIES[@]}"'
  3729. ++ dir=/opt/rubies/ruby-2.3.8
  3730. ++ case "${dir##*/}" in
  3731. ++ for dir in '"${RUBIES[@]}"'
  3732. ++ dir=/opt/rubies/ruby-2.4.5
  3733. ++ case "${dir##*/}" in
  3734. ++ match=/opt/rubies/ruby-2.4.5
  3735. ++ for dir in '"${RUBIES[@]}"'
  3736. ++ dir=/opt/rubies/ruby-2.5.3
  3737. ++ case "${dir##*/}" in
  3738. ++ for dir in '"${RUBIES[@]}"'
  3739. ++ dir=/opt/rubies/ruby-2.6.0
  3740. ++ case "${dir##*/}" in
  3741. ++ for dir in '"${RUBIES[@]}"'
  3742. ++ dir=/opt/rubies/ruby-current
  3743. ++ case "${dir##*/}" in
  3744. ++ [[ -z /opt/rubies/ruby-2.4.5 ]]
  3745. ++ shift
  3746. ++ chruby_use /opt/rubies/ruby-2.4.5 ''
  3747. ++ [[ ! -x /opt/rubies/ruby-2.4.5/bin/ruby ]]
  3748. ++ [[ -n '' ]]
  3749. ++ export RUBY_ROOT=/opt/rubies/ruby-2.4.5
  3750. ++ RUBY_ROOT=/opt/rubies/ruby-2.4.5
  3751. ++ export RUBYOPT=
  3752. ++ RUBYOPT=
  3753. ++ export PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
  3754. ++ PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
  3755. +++ /opt/rubies/ruby-2.4.5/bin/ruby -
  3756. ++ eval 'export RUBY_ENGINE=ruby;
  3757. export RUBY_VERSION=2.4.5;
  3758. export GEM_ROOT="/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0";'
  3759. +++ export RUBY_ENGINE=ruby
  3760. +++ RUBY_ENGINE=ruby
  3761. +++ export RUBY_VERSION=2.4.5
  3762. +++ RUBY_VERSION=2.4.5
  3763. +++ export GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
  3764. +++ GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
  3765. ++ (( 0 != 0 ))
  3766. + cd /var/app/ondeck
  3767. + su -s /bin/bash -c 'bundle exec /opt/elasticbeanstalk/support/scripts/check-for-rake-task.rb db:migrate' webapp
  3768. `/home/webapp` is not a directory.
  3769. Bundler will use `/tmp/bundler/home/webapp' as your home directory temporarily.
  3770. ./bin/monkey_patch.rb:11:in `read': No such file or directory @ rb_sysopen - `/home/webapp` is not a directory. (Errno::ENOENT)
  3771. Bundler will use `/tmp/bundler/home/webapp' as your home directory temporarily.
  3772. /opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0/gems/pg-0.21.0/lib/pg/deprecated_constants.rb
  3773. from ./bin/monkey_patch.rb:11:in `<main>'
  3774. + '[' false = true ']'
  3775. + su -s /bin/bash -c 'leader_only bundle exec rake db:migrate' webapp
  3776. `/home/webapp` is not a directory.
  3777. Bundler will use `/tmp/bundler/home/webapp' as your home directory temporarily.
  3778. ./bin/monkey_patch.rb:11:in `read': No such file or directory @ rb_sysopen - `/home/webapp` is not a directory. (Errno::ENOENT)
  3779. Bundler will use `/tmp/bundler/home/webapp' as your home directory temporarily.
  3780. /opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0/gems/pg-0.21.0/lib/pg/deprecated_constants.rb
  3781. from ./bin/monkey_patch.rb:11:in `<main>'
  3782. DEPRECATION WARNING: `config.static_cache_control` is deprecated and will be removed in Rails 5.1.
  3783. Please use
  3784. `config.public_file_server.headers = { 'Cache-Control' => 'public, max-age=2592000' }`
  3785. instead.
  3786. (called from block in <top (required)> at /var/app/ondeck/config/environments/production.rb:28)
  3787. intializing git
  3788. error: could not lock config file /home/webapp/.gitconfig: No such file or directory
  3789. sh: line 0: cd: /home/webapp: No such file or directory
  3790. The PGconn, PGresult, and PGError constants are deprecated, and will be
  3791. removed as of version 1.0.
  3792.  
  3793. You should use PG::Connection, PG::Result, and PG::Error instead, respectively.
  3794.  
  3795. Called from /opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0/gems/activesupport-5.0.2/lib/active_support/dependencies.rb:259:in `load_dependency'
  3796. rake aborted!
  3797. PG::ConnectionBad: FATAL: password authentication failed for user "justine"
  3798. FATAL: password authentication failed for user "justine"
  3799. /opt/rubies/ruby-2.4.5/bin/bundle:23:in `load'
  3800. /opt/rubies/ruby-2.4.5/bin/bundle:23:in `<main>'
  3801. Tasks: TOP => db:migrate
  3802. (See full trace by running task with --trace) (Executor::NonZeroExitStatus)
  3803.  
  3804.  
  3805. [2019-01-27T10:43:51.818Z] INFO [7420] - [Application update app-3547-190127_161301@16/AppDeployStage0/AppDeployPreHook/12_db_migration.sh] : Activity failed.
  3806. [2019-01-27T10:43:51.818Z] INFO [7420] - [Application update app-3547-190127_161301@16/AppDeployStage0/AppDeployPreHook] : Activity failed.
  3807. [2019-01-27T10:43:51.818Z] INFO [7420] - [Application update app-3547-190127_161301@16/AppDeployStage0] : Activity failed.
  3808. [2019-01-27T10:43:51.818Z] INFO [7420] - [Application update app-3547-190127_161301@16] : Completed activity. Result:
  3809. Application update - Command CMD-AppDeploy failed
  3810. [2019-01-27T10:44:48.111Z] INFO [7787] - [CMD-TailLogs] : Starting activity...
  3811. [2019-01-27T10:44:48.111Z] INFO [7787] - [CMD-TailLogs/AddonsBefore] : Starting activity...
  3812. [2019-01-27T10:44:48.111Z] INFO [7787] - [CMD-TailLogs/AddonsBefore] : Completed activity.
  3813. [2019-01-27T10:44:48.111Z] INFO [7787] - [CMD-TailLogs/TailLogs] : Starting activity...
  3814. [2019-01-27T10:44:48.111Z] INFO [7787] - [CMD-TailLogs/TailLogs/TailLogs] : Starting activity...
  3815. [2019-01-27T10:44:48.285Z] INFO [7787] - [CMD-TailLogs/TailLogs/TailLogs] : Completed activity.
  3816. [2019-01-27T10:44:48.285Z] INFO [7787] - [CMD-TailLogs/TailLogs] : Completed activity. Result:
  3817. CMD-TailLogs - stage 0 - Command CMD-TailLogs stage 0 completed
  3818. [2019-01-27T10:44:48.285Z] INFO [7787] - [CMD-TailLogs/AddonsAfter] : Starting activity...
  3819. [2019-01-27T10:44:48.285Z] INFO [7787] - [CMD-TailLogs/AddonsAfter] : Completed activity.
  3820. [2019-01-27T10:44:48.285Z] INFO [7787] - [CMD-TailLogs] : Completed activity. Result:
  3821. CMD-TailLogs - Command CMD-TailLogs succeeded
  3822. [2019-01-27T11:39:22.807Z] INFO [9515] - [Application update app-63f7-190127_170901@17] : Starting activity...
  3823. [2019-01-27T11:39:22.807Z] INFO [9515] - [Application update app-63f7-190127_170901@17/AddonsBefore] : Starting activity...
  3824. [2019-01-27T11:39:22.807Z] INFO [9515] - [Application update app-63f7-190127_170901@17/AddonsBefore/ConfigCWLAgent] : Starting activity...
  3825. [2019-01-27T11:39:22.807Z] INFO [9515] - [Application update app-63f7-190127_170901@17/AddonsBefore/ConfigCWLAgent/10-config.sh] : Starting activity...
  3826. [2019-01-27T11:39:22.935Z] INFO [9515] - [Application update app-63f7-190127_170901@17/AddonsBefore/ConfigCWLAgent/10-config.sh] : Completed activity. Result:
  3827. Log streaming option setting is not specified, ignore cloudwatch logs setup.
  3828.  
  3829. Disabled log streaming.
  3830. [2019-01-27T11:39:22.935Z] INFO [9515] - [Application update app-63f7-190127_170901@17/AddonsBefore/ConfigCWLAgent] : Completed activity. Result:
  3831. Successfully execute hooks in directory /opt/elasticbeanstalk/addons/logstreaming/hooks/config.
  3832. [2019-01-27T11:39:22.935Z] INFO [9515] - [Application update app-63f7-190127_170901@17/AddonsBefore] : Completed activity.
  3833. [2019-01-27T11:39:23.331Z] INFO [9515] - [Application update app-63f7-190127_170901@17/AppDeployStage0] : Starting activity...
  3834. [2019-01-27T11:39:23.331Z] INFO [9515] - [Application update app-63f7-190127_170901@17/AppDeployStage0/DownloadSourceBundle] : Starting activity...
  3835. [2019-01-27T11:39:23.759Z] INFO [9515] - [Application update app-63f7-190127_170901@17/AppDeployStage0/DownloadSourceBundle] : Completed activity. Result:
  3836. [2019-01-27T11:39:23.439Z] INFO [9558] : Application version will be saved to /opt/elasticbeanstalk/deploy/appsource.
  3837. [2019-01-27T11:39:23.439Z] INFO [9558] : Using manifest cache with deployment ID 17 and serial 23.
  3838. [2019-01-27T11:39:23.439Z] INFO [9558] : Attempting to download application source bundle to: '/opt/elasticbeanstalk/deploy/appsource/source_bundle'.
  3839. [2019-01-27T11:39:23.439Z] INFO [9558] : Using computed s3 key.
  3840. [2019-01-27T11:39:23.563Z] INFO [9558] : Downloading from bucket 'elasticbeanstalk-us-east-2-387358288273' with key 'resources/environments/e-sv4jqab3r8/_runtime/_versions/test/app-63f7-190127_170901' and version '' to '/opt/elasticbeanstalk/deploy/appsource/source_bundle'.
  3841. [2019-01-27T11:39:23.612Z] INFO [9558] : Size: 9504957, ETag: "53990ba31be188db917d980970e3df85", Metadata: {"environmentid"=>"e-sv4jqab3r8", "requestid"=>"eec74b55-bab5-4df1-9384-502723fdf579"}.
  3842. [2019-01-27T11:39:23.750Z] INFO [9558] : Downloaded size: 9504957.
  3843. [2019-01-27T11:39:23.750Z] INFO [9558] : Successfully downloaded to '/opt/elasticbeanstalk/deploy/appsource/source_bundle'.
  3844. [2019-01-27T11:39:23.759Z] INFO [9515] - [Application update app-63f7-190127_170901@17/AppDeployStage0/EbExtensionPreBuild] : Starting activity...
  3845. [2019-01-27T11:39:24.111Z] INFO [9515] - [Application update app-63f7-190127_170901@17/AppDeployStage0/EbExtensionPreBuild/Infra-EmbeddedPreBuild] : Starting activity...
  3846. [2019-01-27T11:39:24.115Z] INFO [9515] - [Application update app-63f7-190127_170901@17/AppDeployStage0/EbExtensionPreBuild/Infra-EmbeddedPreBuild/prebuild_0_test] : Starting activity...
  3847. [2019-01-27T11:39:24.115Z] INFO [9515] - [Application update app-63f7-190127_170901@17/AppDeployStage0/EbExtensionPreBuild/Infra-EmbeddedPreBuild/prebuild_0_test] : Completed activity.
  3848. [2019-01-27T11:39:24.115Z] INFO [9515] - [Application update app-63f7-190127_170901@17/AppDeployStage0/EbExtensionPreBuild/Infra-EmbeddedPreBuild] : Completed activity.
  3849. [2019-01-27T11:39:24.484Z] INFO [9515] - [Application update app-63f7-190127_170901@17/AppDeployStage0/EbExtensionPreBuild] : Completed activity.
  3850. [2019-01-27T11:39:24.484Z] INFO [9515] - [Application update app-63f7-190127_170901@17/AppDeployStage0/AppDeployPreHook] : Starting activity...
  3851. [2019-01-27T11:39:24.484Z] INFO [9515] - [Application update app-63f7-190127_170901@17/AppDeployStage0/AppDeployPreHook/01_configure_xray.sh] : Starting activity...
  3852. [2019-01-27T11:39:24.596Z] INFO [9515] - [Application update app-63f7-190127_170901@17/AppDeployStage0/AppDeployPreHook/01_configure_xray.sh] : Completed activity.
  3853. [2019-01-27T11:39:24.596Z] INFO [9515] - [Application update app-63f7-190127_170901@17/AppDeployStage0/AppDeployPreHook/01_unzip.rb] : Starting activity...
  3854. [2019-01-27T11:39:25.168Z] INFO [9515] - [Application update app-63f7-190127_170901@17/AppDeployStage0/AppDeployPreHook/01_unzip.rb] : Completed activity.
  3855. [2019-01-27T11:39:25.168Z] INFO [9515] - [Application update app-63f7-190127_170901@17/AppDeployStage0/AppDeployPreHook/02_setup_envvars.sh] : Starting activity...
  3856. [2019-01-27T11:39:25.396Z] INFO [9515] - [Application update app-63f7-190127_170901@17/AppDeployStage0/AppDeployPreHook/02_setup_envvars.sh] : Completed activity. Result:
  3857. ++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
  3858. + EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
  3859. + /opt/elasticbeanstalk/support/export_envvars
  3860. [2019-01-27T11:39:25.396Z] INFO [9515] - [Application update app-63f7-190127_170901@17/AppDeployStage0/AppDeployPreHook/10_bundle_install.sh] : Starting activity...
  3861. [2019-01-27T11:39:26.300Z] INFO [9515] - [Application update app-63f7-190127_170901@17/AppDeployStage0/AppDeployPreHook/10_bundle_install.sh] : Completed activity. Result:
  3862. ++ /opt/elasticbeanstalk/bin/get-config container -k script_dir
  3863. + EB_SCRIPT_DIR=/opt/elasticbeanstalk/support/scripts
  3864. ++ /opt/elasticbeanstalk/bin/get-config container -k app_staging_dir
  3865. + EB_APP_STAGING_DIR=/var/app/ondeck
  3866. ++ /opt/elasticbeanstalk/bin/get-config container -k app_user
  3867. + EB_APP_USER=webapp
  3868. ++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
  3869. + EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
  3870. + . /opt/elasticbeanstalk/support/envvars-wrapper.sh
  3871. +++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
  3872. ++ EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
  3873. ++ set +x
  3874. + . /opt/elasticbeanstalk/support/scripts/use-app-ruby.sh
  3875. ++ . /usr/local/share/chruby/chruby.sh
  3876. +++ CHRUBY_VERSION=0.3.9
  3877. +++ RUBIES=()
  3878. +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
  3879. +++ [[ -d /opt/rubies ]]
  3880. ++++ ls -A /opt/rubies
  3881. +++ [[ -n ruby-1.9.3-p551
  3882. ruby-2.0.0-p648
  3883. ruby-2.1.10
  3884. ruby-2.2.10
  3885. ruby-2.3.8
  3886. ruby-2.4.5
  3887. ruby-2.5.3
  3888. ruby-2.6.0
  3889. ruby-current ]]
  3890. +++ RUBIES+=("$dir"/*)
  3891. +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
  3892. +++ [[ -d /.rubies ]]
  3893. +++ unset dir
  3894. +++ cat /etc/elasticbeanstalk/.ruby_version
  3895. ++ chruby 2.4.5
  3896. ++ case "$1" in
  3897. ++ local dir match
  3898. ++ for dir in '"${RUBIES[@]}"'
  3899. ++ dir=/opt/rubies/ruby-1.9.3-p551
  3900. ++ case "${dir##*/}" in
  3901. ++ for dir in '"${RUBIES[@]}"'
  3902. ++ dir=/opt/rubies/ruby-2.0.0-p648
  3903. ++ case "${dir##*/}" in
  3904. ++ for dir in '"${RUBIES[@]}"'
  3905. ++ dir=/opt/rubies/ruby-2.1.10
  3906. ++ case "${dir##*/}" in
  3907. ++ for dir in '"${RUBIES[@]}"'
  3908. ++ dir=/opt/rubies/ruby-2.2.10
  3909. ++ case "${dir##*/}" in
  3910. ++ for dir in '"${RUBIES[@]}"'
  3911. ++ dir=/opt/rubies/ruby-2.3.8
  3912. ++ case "${dir##*/}" in
  3913. ++ for dir in '"${RUBIES[@]}"'
  3914. ++ dir=/opt/rubies/ruby-2.4.5
  3915. ++ case "${dir##*/}" in
  3916. ++ match=/opt/rubies/ruby-2.4.5
  3917. ++ for dir in '"${RUBIES[@]}"'
  3918. ++ dir=/opt/rubies/ruby-2.5.3
  3919. ++ case "${dir##*/}" in
  3920. ++ for dir in '"${RUBIES[@]}"'
  3921. ++ dir=/opt/rubies/ruby-2.6.0
  3922. ++ case "${dir##*/}" in
  3923. ++ for dir in '"${RUBIES[@]}"'
  3924. ++ dir=/opt/rubies/ruby-current
  3925. ++ case "${dir##*/}" in
  3926. ++ [[ -z /opt/rubies/ruby-2.4.5 ]]
  3927. ++ shift
  3928. ++ chruby_use /opt/rubies/ruby-2.4.5 ''
  3929. ++ [[ ! -x /opt/rubies/ruby-2.4.5/bin/ruby ]]
  3930. ++ [[ -n '' ]]
  3931. ++ export RUBY_ROOT=/opt/rubies/ruby-2.4.5
  3932. ++ RUBY_ROOT=/opt/rubies/ruby-2.4.5
  3933. ++ export RUBYOPT=
  3934. ++ RUBYOPT=
  3935. ++ export PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
  3936. ++ PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
  3937. +++ /opt/rubies/ruby-2.4.5/bin/ruby -
  3938. ++ eval 'export RUBY_ENGINE=ruby;
  3939. export RUBY_VERSION=2.4.5;
  3940. export GEM_ROOT="/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0";'
  3941. +++ export RUBY_ENGINE=ruby
  3942. +++ RUBY_ENGINE=ruby
  3943. +++ export RUBY_VERSION=2.4.5
  3944. +++ RUBY_VERSION=2.4.5
  3945. +++ export GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
  3946. +++ GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
  3947. ++ (( 0 != 0 ))
  3948. + cd /var/app/ondeck
  3949. + '[' -f Gemfile ']'
  3950. + echo 'running '\''bundle install'\'' with Gemfile:'
  3951. running 'bundle install' with Gemfile:
  3952. + cat Gemfile
  3953. source 'https://rubygems.org'
  3954.  
  3955.  
  3956. # Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
  3957. gem 'rails', '~> 5.0.0', '>= 5.0.0.1'
  3958.  
  3959.  
  3960. # sqlite3 fails on heroku
  3961. # group :development do
  3962. # gem 'sqlite3' #gem to use in development environment
  3963. # end
  3964. # gem 'sqlite3'
  3965. # group :production do
  3966. gem 'pg', '~> 0.20.0' #gem to use in production environment
  3967. # end
  3968. gem 'will_paginate', '~> 3.1.0'
  3969. gem 'simple_form'
  3970. gem 'bootstrap-sass'
  3971. gem 'devise'
  3972. gem 'nested_scaffold'
  3973. # Use Puma as the app server
  3974. gem 'puma', '~> 3.0'
  3975. # Use SCSS for stylesheets
  3976. gem 'sass-rails', '~> 5.0'
  3977. # Use Uglifier as compressor for JavaScript assets
  3978. gem 'uglifier', '>= 1.3.0'
  3979. # Use CoffeeScript for .coffee assets and views
  3980. gem 'coffee-rails', '~> 4.2'
  3981. # See https://github.com/rails/execjs#readme for more supported runtimes
  3982. # gem 'therubyracer', platforms: :ruby
  3983.  
  3984. # Use jquery as the JavaScript library
  3985. gem 'jquery-rails'
  3986. # Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks
  3987. gem 'turbolinks', '~> 5'
  3988. # Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
  3989. gem 'jbuilder', '~> 2.5'
  3990. # Use Redis adapter to run Action Cable in production
  3991. # gem 'redis', '~> 3.0'
  3992. # Use ActiveModel has_secure_password
  3993. # gem 'bcrypt', '~> 3.1.7'
  3994.  
  3995. # Use Capistrano for deployment
  3996. # gem 'capistrano-rails', group: :development
  3997.  
  3998. group :development, :test do
  3999. # Call 'byebug' anywhere in the code to stop execution and get a debugger console
  4000. gem 'byebug', platform: :mri
  4001. end
  4002.  
  4003. group :development do
  4004. # Access an IRB console on exception pages or by using <%= console %> anywhere in the code.
  4005. gem 'web-console'
  4006. end
  4007.  
  4008. # Windows does not include zoneinfo files, so bundle the tzinfo-data gem
  4009. gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
  4010.  
  4011. gem 'activeadmin'
  4012. + '[' -d /var/app/ondeck/vendor/cache ']'
  4013. + bundle install
  4014. Don't run Bundler as root. Bundler can ask for sudo if it is needed, and
  4015. installing your bundle as root will break this application for all non-root
  4016. users on this machine.
  4017. Warning: the running version of Bundler (1.16.2) is older than the version that created the lockfile (1.16.3). We suggest you upgrade to the latest version of Bundler by running `gem install bundler`.
  4018. Using rake 12.3.2
  4019. Using concurrent-ruby 1.1.4
  4020. Using i18n 1.5.3
  4021. Using minitest 5.11.3
  4022. Using thread_safe 0.3.6
  4023. Using tzinfo 1.2.5
  4024. Using activesupport 5.0.7.1
  4025. Using builder 3.2.3
  4026. Using erubis 2.7.0
  4027. Using mini_portile2 2.4.0
  4028. Using nokogiri 1.10.1
  4029. Using rails-dom-testing 2.0.3
  4030. Using crass 1.0.4
  4031. Using loofah 2.2.3
  4032. Using rails-html-sanitizer 1.0.4
  4033. Using actionview 5.0.7.1
  4034. Using rack 2.0.6
  4035. Using rack-test 0.6.3
  4036. Using actionpack 5.0.7.1
  4037. Using nio4r 2.3.1
  4038. Using websocket-extensions 0.1.3
  4039. Using websocket-driver 0.6.5
  4040. Using actioncable 5.0.7.1
  4041. Using globalid 0.4.2
  4042. Using activejob 5.0.7.1
  4043. Using mini_mime 1.0.1
  4044. Using mail 2.7.1
  4045. Using actionmailer 5.0.7.1
  4046. Using arbre 1.1.1
  4047. Using coffee-script-source 1.12.2
  4048. Using execjs 2.7.0
  4049. Using coffee-script 2.4.1
  4050. Using method_source 0.9.2
  4051. Using thor 0.20.3
  4052. Using railties 5.0.7.1
  4053. Using coffee-rails 4.2.2
  4054. Using formtastic 3.1.5
  4055. Using formtastic_i18n 0.6.0
  4056. Using has_scope 0.7.2
  4057. Using responders 2.4.1
  4058. Using inherited_resources 1.9.0
  4059. Using jquery-rails 4.3.3
  4060. Using kaminari-core 1.1.1
  4061. Using kaminari-actionview 1.1.1
  4062. Using activemodel 5.0.7.1
  4063. Using arel 7.1.4
  4064. Using activerecord 5.0.7.1
  4065. Using kaminari-activerecord 1.1.1
  4066. Using kaminari 1.1.1
  4067. Using ransack 2.1.1
  4068. Using rb-fsevent 0.10.3
  4069. Using ffi 1.9.25
  4070. Using rb-inotify 0.10.0
  4071. Using sass-listen 4.0.0
  4072. Using sass 3.7.3
  4073. Using sprockets 3.7.2
  4074. Using activeadmin 1.4.3
  4075. Using autoprefixer-rails 9.4.6
  4076. Using bcrypt 3.1.12
  4077. Using sassc 2.0.0
  4078. Using bootstrap-sass 3.4.0
  4079. Using bundler 1.16.2
  4080. Using orm_adapter 0.5.0
  4081. Using warden 1.2.8
  4082. Using devise 4.5.0
  4083. Using multi_json 1.13.1
  4084. Using jbuilder 2.8.0
  4085. Using nested_scaffold 1.0.0
  4086. Using pg 0.20.0
  4087. Using puma 3.12.0
  4088. Using sprockets-rails 3.2.1
  4089. Using rails 5.0.7.1
  4090. Using tilt 2.0.9
  4091. Using sass-rails 5.0.7
  4092. Using simple_form 4.1.0
  4093. Using turbolinks-source 5.2.0
  4094. Using turbolinks 5.2.0
  4095. Using uglifier 4.1.20
  4096. Using will_paginate 3.1.6
  4097. Bundle complete! 18 Gemfile dependencies, 79 gems now installed.
  4098. Gems in the groups test and development were not installed.
  4099. Use `bundle info [gemname]` to see where a bundled gem is installed.
  4100. + '[' -f Gemfile.lock ']'
  4101. + echo 'encountered a Gemfile.lock, setting proper permissions'
  4102. encountered a Gemfile.lock, setting proper permissions
  4103. + chown webapp:webapp Gemfile.lock
  4104. + '[' '' = 1 ']'
  4105. [2019-01-27T11:39:26.300Z] INFO [9515] - [Application update app-63f7-190127_170901@17/AppDeployStage0/AppDeployPreHook/11_asset_compilation.sh] : Starting activity...
  4106. [2019-01-27T11:39:50.890Z] INFO [9515] - [Application update app-63f7-190127_170901@17/AppDeployStage0/AppDeployPreHook/11_asset_compilation.sh] : Completed activity. Result:
  4107. ++ /opt/elasticbeanstalk/bin/get-config container -k script_dir
  4108. + EB_SCRIPT_DIR=/opt/elasticbeanstalk/support/scripts
  4109. ++ /opt/elasticbeanstalk/bin/get-config container -k app_staging_dir
  4110. + EB_APP_STAGING_DIR=/var/app/ondeck
  4111. ++ /opt/elasticbeanstalk/bin/get-config container -k app_user
  4112. + EB_APP_USER=webapp
  4113. ++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
  4114. + EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
  4115. + . /opt/elasticbeanstalk/support/envvars-wrapper.sh
  4116. +++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
  4117. ++ EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
  4118. ++ set +x
  4119. + RAKE_TASK=assets:precompile
  4120. + . /opt/elasticbeanstalk/support/scripts/use-app-ruby.sh
  4121. ++ . /usr/local/share/chruby/chruby.sh
  4122. +++ CHRUBY_VERSION=0.3.9
  4123. +++ RUBIES=()
  4124. +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
  4125. +++ [[ -d /opt/rubies ]]
  4126. ++++ ls -A /opt/rubies
  4127. +++ [[ -n ruby-1.9.3-p551
  4128. ruby-2.0.0-p648
  4129. ruby-2.1.10
  4130. ruby-2.2.10
  4131. ruby-2.3.8
  4132. ruby-2.4.5
  4133. ruby-2.5.3
  4134. ruby-2.6.0
  4135. ruby-current ]]
  4136. +++ RUBIES+=("$dir"/*)
  4137. +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
  4138. +++ [[ -d /.rubies ]]
  4139. +++ unset dir
  4140. +++ cat /etc/elasticbeanstalk/.ruby_version
  4141. ++ chruby 2.4.5
  4142. ++ case "$1" in
  4143. ++ local dir match
  4144. ++ for dir in '"${RUBIES[@]}"'
  4145. ++ dir=/opt/rubies/ruby-1.9.3-p551
  4146. ++ case "${dir##*/}" in
  4147. ++ for dir in '"${RUBIES[@]}"'
  4148. ++ dir=/opt/rubies/ruby-2.0.0-p648
  4149. ++ case "${dir##*/}" in
  4150. ++ for dir in '"${RUBIES[@]}"'
  4151. ++ dir=/opt/rubies/ruby-2.1.10
  4152. ++ case "${dir##*/}" in
  4153. ++ for dir in '"${RUBIES[@]}"'
  4154. ++ dir=/opt/rubies/ruby-2.2.10
  4155. ++ case "${dir##*/}" in
  4156. ++ for dir in '"${RUBIES[@]}"'
  4157. ++ dir=/opt/rubies/ruby-2.3.8
  4158. ++ case "${dir##*/}" in
  4159. ++ for dir in '"${RUBIES[@]}"'
  4160. ++ dir=/opt/rubies/ruby-2.4.5
  4161. ++ case "${dir##*/}" in
  4162. ++ match=/opt/rubies/ruby-2.4.5
  4163. ++ for dir in '"${RUBIES[@]}"'
  4164. ++ dir=/opt/rubies/ruby-2.5.3
  4165. ++ case "${dir##*/}" in
  4166. ++ for dir in '"${RUBIES[@]}"'
  4167. ++ dir=/opt/rubies/ruby-2.6.0
  4168. ++ case "${dir##*/}" in
  4169. ++ for dir in '"${RUBIES[@]}"'
  4170. ++ dir=/opt/rubies/ruby-current
  4171. ++ case "${dir##*/}" in
  4172. ++ [[ -z /opt/rubies/ruby-2.4.5 ]]
  4173. ++ shift
  4174. ++ chruby_use /opt/rubies/ruby-2.4.5 ''
  4175. ++ [[ ! -x /opt/rubies/ruby-2.4.5/bin/ruby ]]
  4176. ++ [[ -n '' ]]
  4177. ++ export RUBY_ROOT=/opt/rubies/ruby-2.4.5
  4178. ++ RUBY_ROOT=/opt/rubies/ruby-2.4.5
  4179. ++ export RUBYOPT=
  4180. ++ RUBYOPT=
  4181. ++ export PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
  4182. ++ PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
  4183. +++ /opt/rubies/ruby-2.4.5/bin/ruby -
  4184. ++ eval 'export RUBY_ENGINE=ruby;
  4185. export RUBY_VERSION=2.4.5;
  4186. export GEM_ROOT="/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0";'
  4187. +++ export RUBY_ENGINE=ruby
  4188. +++ RUBY_ENGINE=ruby
  4189. +++ export RUBY_VERSION=2.4.5
  4190. +++ RUBY_VERSION=2.4.5
  4191. +++ export GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
  4192. +++ GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
  4193. ++ (( 0 != 0 ))
  4194. + cd /var/app/ondeck
  4195. + su -s /bin/bash -c 'bundle exec /opt/elasticbeanstalk/support/scripts/check-for-rake-task.rb assets:precompile' webapp
  4196. `/home/webapp` is not a directory.
  4197. Bundler will use `/tmp/bundler/home/webapp' as your home directory temporarily.
  4198. + '[' false == true ']'
  4199. + su -s /bin/bash -c 'bundle exec rake assets:precompile' webapp
  4200. `/home/webapp` is not a directory.
  4201. Bundler will use `/tmp/bundler/home/webapp' as your home directory temporarily.
  4202. DEPRECATION WARNING: `config.static_cache_control` is deprecated and will be removed in Rails 5.1.
  4203. Please use
  4204. `config.public_file_server.headers = { 'Cache-Control' => 'public, max-age=2592000' }`
  4205. instead.
  4206. (called from block in <top (required)> at /var/app/ondeck/config/environments/production.rb:28)
  4207. intializing git
  4208. error: could not lock config file /home/webapp/.gitconfig: No such file or directory
  4209. sh: line 0: cd: /home/webapp: No such file or directory
  4210. I, [2019-01-27T11:39:31.813786 #9661] INFO -- : Writing /var/app/ondeck/public/assets/active_admin-6f1b843b5bbbbe3257701ffd3bd6475c519e5523a0e1604f9c9af6ec18e4ad25.css
  4211. I, [2019-01-27T11:39:31.814132 #9661] INFO -- : Writing /var/app/ondeck/public/assets/active_admin-6f1b843b5bbbbe3257701ffd3bd6475c519e5523a0e1604f9c9af6ec18e4ad25.css.gz
  4212. I, [2019-01-27T11:39:31.814452 #9661] INFO -- : Writing /var/app/ondeck/public/assets/active_admin/nested_menu_arrow-15084d93c65c1964d7077700ea748bd2d70cfa2d4c19707c58a9c64e232dd442.gif
  4213. I, [2019-01-27T11:39:31.814767 #9661] INFO -- : Writing /var/app/ondeck/public/assets/active_admin/nested_menu_arrow_dark-7c43b8e0a5f8823875f49a093c9d7a6b374f885b6f9cc248ae9cd7e6e9b29034.gif
  4214. I, [2019-01-27T11:39:31.815112 #9661] INFO -- : Writing /var/app/ondeck/public/assets/active_admin/orderable-29374dbb55b0012d78a37c614d573bb3474f0779849b478a147d0f1845ca6617.png
  4215. I, [2019-01-27T11:39:32.005421 #9661] INFO -- : Writing /var/app/ondeck/public/assets/active_admin/print-cf99cbf27fb92065a9eacd28e6fad48fa72cadaf6e0918790e8d35b11d8f99f6.css
  4216. I, [2019-01-27T11:39:32.005803 #9661] INFO -- : Writing /var/app/ondeck/public/assets/active_admin/print-cf99cbf27fb92065a9eacd28e6fad48fa72cadaf6e0918790e8d35b11d8f99f6.css.gz
  4217. I, [2019-01-27T11:39:41.815572 #9661] INFO -- : Writing /var/app/ondeck/public/assets/active_admin-aad478f9674ed0cc76f83512b458a5e516b90e017d64c576f5f9eaf05ea52b38.js
  4218. I, [2019-01-27T11:39:41.816093 #9661] INFO -- : Writing /var/app/ondeck/public/assets/active_admin-aad478f9674ed0cc76f83512b458a5e516b90e017d64c576f5f9eaf05ea52b38.js.gz
  4219. I, [2019-01-27T11:39:41.824506 #9661] INFO -- : Writing /var/app/ondeck/public/assets/danger-869dd8b0616e1a5b646dc898db2a5d6428f45fe14a90fa6d0c7130f64d886c48.png
  4220. I, [2019-01-27T11:39:41.826664 #9661] INFO -- : Writing /var/app/ondeck/public/assets/dark-607bed84e53ccb497978bd3ae9e51d4b57de94e954da4e8e1ec5b51a78d8898e.png
  4221. I, [2019-01-27T11:39:41.828827 #9661] INFO -- : Writing /var/app/ondeck/public/assets/do-e798277592b8fde73e6568cdde6687220f6d2a83f53250c561edf11619d5b1c1.jpg
  4222. I, [2019-01-27T11:39:41.832561 #9661] INFO -- : Writing /var/app/ondeck/public/assets/favicon-21c44bf091fb9557f8a4527913b0254924fc136d6e71dcee1676b7f37c8175ef.ico
  4223. I, [2019-01-27T11:39:41.835250 #9661] INFO -- : Writing /var/app/ondeck/public/assets/favicon-21c44bf091fb9557f8a4527913b0254924fc136d6e71dcee1676b7f37c8175ef.ico.gz
  4224. I, [2019-01-27T11:39:41.838328 #9661] INFO -- : Writing /var/app/ondeck/public/assets/home-f3281914e0ac5072115e9ba6f458cec56ad002cc5e65ca75988afc86af858e01.jpg
  4225. I, [2019-01-27T11:39:41.840977 #9661] INFO -- : Writing /var/app/ondeck/public/assets/info-967cdd33af0671563a0e72bed22f1cddb95a138e241dffbd5013750360bf7113.png
  4226. I, [2019-01-27T11:39:41.845145 #9661] INFO -- : Writing /var/app/ondeck/public/assets/primary-093ae3386f858ff56855e5c8a09137d4ce87c2c7aa2b152af81eac5d7667a98d.png
  4227. I, [2019-01-27T11:39:41.856697 #9661] INFO -- : Writing /var/app/ondeck/public/assets/secondary-1c1a37a441b0e6f6ca2bfb1435df8f1160a0e4ec1db5798a5e5a72374172942c.png
  4228. I, [2019-01-27T11:39:41.859254 #9661] INFO -- : Writing /var/app/ondeck/public/assets/success-5a1b362ddb5e5ed6131beffc575d91a3615864b678d24706bff24b055b6a594c.png
  4229. I, [2019-01-27T11:39:41.861716 #9661] INFO -- : Writing /var/app/ondeck/public/assets/warning-a3e35927fa71a99455166de5b62a03122ffb5287e33c9ed2c42532622f543fa5.png
  4230. I, [2019-01-27T11:39:47.457389 #9661] INFO -- : Writing /var/app/ondeck/public/assets/application-5770a9512b971d7fb2a232494ee2a78c8f1d383bfc452a26a9dea3a712e6c3b2.js
  4231. I, [2019-01-27T11:39:47.457842 #9661] INFO -- : Writing /var/app/ondeck/public/assets/application-5770a9512b971d7fb2a232494ee2a78c8f1d383bfc452a26a9dea3a712e6c3b2.js.gz
  4232. I, [2019-01-27T11:39:50.847376 #9661] INFO -- : Writing /var/app/ondeck/public/assets/application-da22e659ddaed5260aa445b696e4e8945e554c6c97884a0be799b74eb511ccf3.css
  4233. I, [2019-01-27T11:39:50.847821 #9661] INFO -- : Writing /var/app/ondeck/public/assets/application-da22e659ddaed5260aa445b696e4e8945e554c6c97884a0be799b74eb511ccf3.css.gz
  4234. [2019-01-27T11:39:50.890Z] INFO [9515] - [Application update app-63f7-190127_170901@17/AppDeployStage0/AppDeployPreHook/12_db_migration.sh] : Starting activity...
  4235. [2019-01-27T11:39:57.208Z] INFO [9515] - [Application update app-63f7-190127_170901@17/AppDeployStage0/AppDeployPreHook/12_db_migration.sh] : Completed activity. Result:
  4236. ++ /opt/elasticbeanstalk/bin/get-config container -k script_dir
  4237. + EB_SCRIPT_DIR=/opt/elasticbeanstalk/support/scripts
  4238. ++ /opt/elasticbeanstalk/bin/get-config container -k app_staging_dir
  4239. + EB_APP_STAGING_DIR=/var/app/ondeck
  4240. ++ /opt/elasticbeanstalk/bin/get-config container -k app_user
  4241. + EB_APP_USER=webapp
  4242. ++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
  4243. + EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
  4244. + . /opt/elasticbeanstalk/support/envvars-wrapper.sh
  4245. +++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
  4246. ++ EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
  4247. ++ set +x
  4248. + RAKE_TASK=db:migrate
  4249. + . /opt/elasticbeanstalk/support/scripts/use-app-ruby.sh
  4250. ++ . /usr/local/share/chruby/chruby.sh
  4251. +++ CHRUBY_VERSION=0.3.9
  4252. +++ RUBIES=()
  4253. +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
  4254. +++ [[ -d /opt/rubies ]]
  4255. ++++ ls -A /opt/rubies
  4256. +++ [[ -n ruby-1.9.3-p551
  4257. ruby-2.0.0-p648
  4258. ruby-2.1.10
  4259. ruby-2.2.10
  4260. ruby-2.3.8
  4261. ruby-2.4.5
  4262. ruby-2.5.3
  4263. ruby-2.6.0
  4264. ruby-current ]]
  4265. +++ RUBIES+=("$dir"/*)
  4266. +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
  4267. +++ [[ -d /.rubies ]]
  4268. +++ unset dir
  4269. +++ cat /etc/elasticbeanstalk/.ruby_version
  4270. ++ chruby 2.4.5
  4271. ++ case "$1" in
  4272. ++ local dir match
  4273. ++ for dir in '"${RUBIES[@]}"'
  4274. ++ dir=/opt/rubies/ruby-1.9.3-p551
  4275. ++ case "${dir##*/}" in
  4276. ++ for dir in '"${RUBIES[@]}"'
  4277. ++ dir=/opt/rubies/ruby-2.0.0-p648
  4278. ++ case "${dir##*/}" in
  4279. ++ for dir in '"${RUBIES[@]}"'
  4280. ++ dir=/opt/rubies/ruby-2.1.10
  4281. ++ case "${dir##*/}" in
  4282. ++ for dir in '"${RUBIES[@]}"'
  4283. ++ dir=/opt/rubies/ruby-2.2.10
  4284. ++ case "${dir##*/}" in
  4285. ++ for dir in '"${RUBIES[@]}"'
  4286. ++ dir=/opt/rubies/ruby-2.3.8
  4287. ++ case "${dir##*/}" in
  4288. ++ for dir in '"${RUBIES[@]}"'
  4289. ++ dir=/opt/rubies/ruby-2.4.5
  4290. ++ case "${dir##*/}" in
  4291. ++ match=/opt/rubies/ruby-2.4.5
  4292. ++ for dir in '"${RUBIES[@]}"'
  4293. ++ dir=/opt/rubies/ruby-2.5.3
  4294. ++ case "${dir##*/}" in
  4295. ++ for dir in '"${RUBIES[@]}"'
  4296. ++ dir=/opt/rubies/ruby-2.6.0
  4297. ++ case "${dir##*/}" in
  4298. ++ for dir in '"${RUBIES[@]}"'
  4299. ++ dir=/opt/rubies/ruby-current
  4300. ++ case "${dir##*/}" in
  4301. ++ [[ -z /opt/rubies/ruby-2.4.5 ]]
  4302. ++ shift
  4303. ++ chruby_use /opt/rubies/ruby-2.4.5 ''
  4304. ++ [[ ! -x /opt/rubies/ruby-2.4.5/bin/ruby ]]
  4305. ++ [[ -n '' ]]
  4306. ++ export RUBY_ROOT=/opt/rubies/ruby-2.4.5
  4307. ++ RUBY_ROOT=/opt/rubies/ruby-2.4.5
  4308. ++ export RUBYOPT=
  4309. ++ RUBYOPT=
  4310. ++ export PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
  4311. ++ PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
  4312. +++ /opt/rubies/ruby-2.4.5/bin/ruby -
  4313. ++ eval 'export RUBY_ENGINE=ruby;
  4314. export RUBY_VERSION=2.4.5;
  4315. export GEM_ROOT="/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0";'
  4316. +++ export RUBY_ENGINE=ruby
  4317. +++ RUBY_ENGINE=ruby
  4318. +++ export RUBY_VERSION=2.4.5
  4319. +++ RUBY_VERSION=2.4.5
  4320. +++ export GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
  4321. +++ GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
  4322. ++ (( 0 != 0 ))
  4323. + cd /var/app/ondeck
  4324. + su -s /bin/bash -c 'bundle exec /opt/elasticbeanstalk/support/scripts/check-for-rake-task.rb db:migrate' webapp
  4325. `/home/webapp` is not a directory.
  4326. Bundler will use `/tmp/bundler/home/webapp' as your home directory temporarily.
  4327. + '[' false = true ']'
  4328. + su -s /bin/bash -c 'leader_only bundle exec rake db:migrate' webapp
  4329. `/home/webapp` is not a directory.
  4330. Bundler will use `/tmp/bundler/home/webapp' as your home directory temporarily.
  4331. DEPRECATION WARNING: `config.static_cache_control` is deprecated and will be removed in Rails 5.1.
  4332. Please use
  4333. `config.public_file_server.headers = { 'Cache-Control' => 'public, max-age=2592000' }`
  4334. instead.
  4335. (called from block in <top (required)> at /var/app/ondeck/config/environments/production.rb:28)
  4336. intializing git
  4337. error: could not lock config file /home/webapp/.gitconfig: No such file or directory
  4338. sh: line 0: cd: /home/webapp: No such file or directory
  4339. == 20170421075651 DeviseCreateUsers: migrating ================================
  4340. -- create_table(:users)
  4341. -> 0.0352s
  4342. -- add_index(:users, :username, {:unique=>true})
  4343. -> 0.0093s
  4344. -- add_index(:users, :reset_password_token, {:unique=>true})
  4345. -> 0.0090s
  4346. == 20170421075651 DeviseCreateUsers: migrated (0.0536s) =======================
  4347.  
  4348. == 20170421115026 CreateBlogs: migrating ======================================
  4349. -- create_table(:blogs)
  4350. -> 0.0153s
  4351. == 20170421115026 CreateBlogs: migrated (0.0153s) =============================
  4352.  
  4353. == 20170421163133 CreatePosts: migrating ======================================
  4354. -- create_table(:posts)
  4355. -> 0.0122s
  4356. == 20170421163133 CreatePosts: migrated (0.0122s) =============================
  4357.  
  4358. == 20170510173228 DeviseCreateAdminUsers: migrating ===========================
  4359. -- create_table(:admin_users)
  4360. -> 0.0183s
  4361. -- add_index(:admin_users, :email, {:unique=>true})
  4362. -> 0.0098s
  4363. -- add_index(:admin_users, :reset_password_token, {:unique=>true})
  4364. -> 0.6778s
  4365. == 20170510173228 DeviseCreateAdminUsers: migrated (0.7061s) ==================
  4366.  
  4367. == 20170510173241 CreateActiveAdminComments: migrating ========================
  4368. -- create_table(:active_admin_comments)
  4369. -> 0.0316s
  4370. -- add_index(:active_admin_comments, [:namespace])
  4371. -> 0.0094s
  4372. == 20170510173241 CreateActiveAdminComments: migrated (0.0410s) ===============
  4373.  
  4374. == 20171216180348 AddMarkWorkInProgressToPosts: migrating =====================
  4375. -- add_column(:posts, :mark_work_in_progress, :boolean)
  4376. -> 0.0013s
  4377. == 20171216180348 AddMarkWorkInProgressToPosts: migrated (0.0014s) ============
  4378.  
  4379. [2019-01-27T11:39:57.208Z] INFO [9515] - [Application update app-63f7-190127_170901@17/AppDeployStage0/AppDeployPreHook/13_test_for_puma.sh] : Starting activity...
  4380. [2019-01-27T11:39:57.716Z] INFO [9515] - [Application update app-63f7-190127_170901@17/AppDeployStage0/AppDeployPreHook/13_test_for_puma.sh] : Completed activity. Result:
  4381. ++ /opt/elasticbeanstalk/bin/get-config container -k script_dir
  4382. + EB_SCRIPT_DIR=/opt/elasticbeanstalk/support/scripts
  4383. ++ /opt/elasticbeanstalk/bin/get-config container -k app_staging_dir
  4384. + EB_APP_STAGING_DIR=/var/app/ondeck
  4385. ++ /opt/elasticbeanstalk/bin/get-config container -k app_user
  4386. + EB_APP_USER=webapp
  4387. + . /opt/elasticbeanstalk/support/scripts/use-app-ruby.sh
  4388. ++ . /usr/local/share/chruby/chruby.sh
  4389. +++ CHRUBY_VERSION=0.3.9
  4390. +++ RUBIES=()
  4391. +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
  4392. +++ [[ -d /opt/rubies ]]
  4393. ++++ ls -A /opt/rubies
  4394. +++ [[ -n ruby-1.9.3-p551
  4395. ruby-2.0.0-p648
  4396. ruby-2.1.10
  4397. ruby-2.2.10
  4398. ruby-2.3.8
  4399. ruby-2.4.5
  4400. ruby-2.5.3
  4401. ruby-2.6.0
  4402. ruby-current ]]
  4403. +++ RUBIES+=("$dir"/*)
  4404. +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
  4405. +++ [[ -d /.rubies ]]
  4406. +++ unset dir
  4407. +++ cat /etc/elasticbeanstalk/.ruby_version
  4408. ++ chruby 2.4.5
  4409. ++ case "$1" in
  4410. ++ local dir match
  4411. ++ for dir in '"${RUBIES[@]}"'
  4412. ++ dir=/opt/rubies/ruby-1.9.3-p551
  4413. ++ case "${dir##*/}" in
  4414. ++ for dir in '"${RUBIES[@]}"'
  4415. ++ dir=/opt/rubies/ruby-2.0.0-p648
  4416. ++ case "${dir##*/}" in
  4417. ++ for dir in '"${RUBIES[@]}"'
  4418. ++ dir=/opt/rubies/ruby-2.1.10
  4419. ++ case "${dir##*/}" in
  4420. ++ for dir in '"${RUBIES[@]}"'
  4421. ++ dir=/opt/rubies/ruby-2.2.10
  4422. ++ case "${dir##*/}" in
  4423. ++ for dir in '"${RUBIES[@]}"'
  4424. ++ dir=/opt/rubies/ruby-2.3.8
  4425. ++ case "${dir##*/}" in
  4426. ++ for dir in '"${RUBIES[@]}"'
  4427. ++ dir=/opt/rubies/ruby-2.4.5
  4428. ++ case "${dir##*/}" in
  4429. ++ match=/opt/rubies/ruby-2.4.5
  4430. ++ for dir in '"${RUBIES[@]}"'
  4431. ++ dir=/opt/rubies/ruby-2.5.3
  4432. ++ case "${dir##*/}" in
  4433. ++ for dir in '"${RUBIES[@]}"'
  4434. ++ dir=/opt/rubies/ruby-2.6.0
  4435. ++ case "${dir##*/}" in
  4436. ++ for dir in '"${RUBIES[@]}"'
  4437. ++ dir=/opt/rubies/ruby-current
  4438. ++ case "${dir##*/}" in
  4439. ++ [[ -z /opt/rubies/ruby-2.4.5 ]]
  4440. ++ shift
  4441. ++ chruby_use /opt/rubies/ruby-2.4.5 ''
  4442. ++ [[ ! -x /opt/rubies/ruby-2.4.5/bin/ruby ]]
  4443. ++ [[ -n '' ]]
  4444. ++ export RUBY_ROOT=/opt/rubies/ruby-2.4.5
  4445. ++ RUBY_ROOT=/opt/rubies/ruby-2.4.5
  4446. ++ export RUBYOPT=
  4447. ++ RUBYOPT=
  4448. ++ export PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
  4449. ++ PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
  4450. +++ /opt/rubies/ruby-2.4.5/bin/ruby -
  4451. ++ eval 'export RUBY_ENGINE=ruby;
  4452. export RUBY_VERSION=2.4.5;
  4453. export GEM_ROOT="/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0";'
  4454. +++ export RUBY_ENGINE=ruby
  4455. +++ RUBY_ENGINE=ruby
  4456. +++ export RUBY_VERSION=2.4.5
  4457. +++ RUBY_VERSION=2.4.5
  4458. +++ export GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
  4459. +++ GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
  4460. ++ (( 0 != 0 ))
  4461. + /opt/elasticbeanstalk/support/scripts/check-for-gem.rb puma
  4462. + echo true
  4463. [2019-01-27T11:39:57.716Z] INFO [9515] - [Application update app-63f7-190127_170901@17/AppDeployStage0/AppDeployPreHook] : Completed activity. Result:
  4464. Successfully execute hooks in directory /opt/elasticbeanstalk/hooks/appdeploy/pre.
  4465. [2019-01-27T11:39:57.716Z] INFO [9515] - [Application update app-63f7-190127_170901@17/AppDeployStage0/EbExtensionPostBuild] : Starting activity...
  4466. [2019-01-27T11:39:58.069Z] INFO [9515] - [Application update app-63f7-190127_170901@17/AppDeployStage0/EbExtensionPostBuild/Infra-EmbeddedPostBuild] : Starting activity...
  4467. [2019-01-27T11:39:58.069Z] INFO [9515] - [Application update app-63f7-190127_170901@17/AppDeployStage0/EbExtensionPostBuild/Infra-EmbeddedPostBuild] : Completed activity.
  4468. [2019-01-27T11:39:58.085Z] INFO [9515] - [Application update app-63f7-190127_170901@17/AppDeployStage0/EbExtensionPostBuild] : Completed activity.
  4469. [2019-01-27T11:39:58.085Z] INFO [9515] - [Application update app-63f7-190127_170901@17/AppDeployStage0/InfraCleanEbextension] : Starting activity...
  4470. [2019-01-27T11:39:58.095Z] INFO [9515] - [Application update app-63f7-190127_170901@17/AppDeployStage0/InfraCleanEbextension] : Completed activity. Result:
  4471. Cleaned ebextensions subdirectories from /var/app/ondeck.
  4472. [2019-01-27T11:39:58.095Z] INFO [9515] - [Application update app-63f7-190127_170901@17/AppDeployStage0] : Completed activity. Result:
  4473. Application update - Command CMD-AppDeploy stage 0 completed
  4474. [2019-01-27T11:39:58.095Z] INFO [9515] - [Application update app-63f7-190127_170901@17/AppDeployStage1] : Starting activity...
  4475. [2019-01-27T11:39:58.095Z] INFO [9515] - [Application update app-63f7-190127_170901@17/AppDeployStage1/AppDeployEnactHook] : Starting activity...
  4476. [2019-01-27T11:39:58.098Z] INFO [9515] - [Application update app-63f7-190127_170901@17/AppDeployStage1/AppDeployEnactHook/01_flip.sh] : Starting activity...
  4477. [2019-01-27T11:39:58.388Z] INFO [9515] - [Application update app-63f7-190127_170901@17/AppDeployStage1/AppDeployEnactHook/01_flip.sh] : Completed activity. Result:
  4478. ++ /opt/elasticbeanstalk/bin/get-config container -k app_staging_dir
  4479. + EB_APP_STAGING_DIR=/var/app/ondeck
  4480. ++ /opt/elasticbeanstalk/bin/get-config container -k app_deploy_dir
  4481. + EB_APP_DEPLOY_DIR=/var/app/current
  4482. ++ /opt/elasticbeanstalk/bin/get-config container -k app_user
  4483. + EB_APP_USER=webapp
  4484. + '[' -d /var/app/current ']'
  4485. + mv /var/app/current /var/app/current.old
  4486. + mv /var/app/ondeck /var/app/current
  4487. + mkdir -p /var/app/current/tmp /var/app/current/public
  4488. + chown -R webapp:webapp /var/app/current/tmp /var/app/current/public
  4489. + nohup rm -rf /var/app/current.old
  4490. [2019-01-27T11:39:58.389Z] INFO [9515] - [Application update app-63f7-190127_170901@17/AppDeployStage1/AppDeployEnactHook/01stop_xray.sh] : Starting activity...
  4491. [2019-01-27T11:39:58.537Z] INFO [9515] - [Application update app-63f7-190127_170901@17/AppDeployStage1/AppDeployEnactHook/01stop_xray.sh] : Completed activity. Result:
  4492. Executing: if ( initctl status xray | grep start ); then initctl stop xray; fi
  4493.  
  4494. [2019-01-27T11:39:58.537Z] INFO [9515] - [Application update app-63f7-190127_170901@17/AppDeployStage1/AppDeployEnactHook/02_restart_app_server.sh] : Starting activity...
  4495. [2019-01-27T11:40:00.545Z] INFO [9515] - [Application update app-63f7-190127_170901@17/AppDeployStage1/AppDeployEnactHook/02_restart_app_server.sh] : Completed activity. Result:
  4496. + initctl restart puma
  4497. puma start/running, process 9889
  4498. [2019-01-27T11:40:00.545Z] INFO [9515] - [Application update app-63f7-190127_170901@17/AppDeployStage1/AppDeployEnactHook/02start_xray.sh] : Starting activity...
  4499. [2019-01-27T11:40:00.769Z] INFO [9515] - [Application update app-63f7-190127_170901@17/AppDeployStage1/AppDeployEnactHook/02start_xray.sh] : Completed activity.
  4500. [2019-01-27T11:40:00.769Z] INFO [9515] - [Application update app-63f7-190127_170901@17/AppDeployStage1/AppDeployEnactHook/28_create_pids.sh] : Starting activity...
  4501. [2019-01-27T11:40:02.180Z] INFO [9515] - [Application update app-63f7-190127_170901@17/AppDeployStage1/AppDeployEnactHook/28_create_pids.sh] : Completed activity. Result:
  4502. + /opt/elasticbeanstalk/bin/healthd-track-pidfile --proxy nginx
  4503. ++ /opt/elasticbeanstalk/bin/get-config container -k puma_pid_dir
  4504. + PUMA_PID_DIR=/var/run/puma
  4505. + /opt/elasticbeanstalk/bin/healthd-track-pidfile --name application --location /var/run/puma/puma.pid
  4506. [2019-01-27T11:40:02.180Z] INFO [9515] - [Application update app-63f7-190127_170901@17/AppDeployStage1/AppDeployEnactHook] : Completed activity. Result:
  4507. Successfully execute hooks in directory /opt/elasticbeanstalk/hooks/appdeploy/enact.
  4508. [2019-01-27T11:40:02.180Z] INFO [9515] - [Application update app-63f7-190127_170901@17/AppDeployStage1/AppDeployPostHook] : Starting activity...
  4509. [2019-01-27T11:40:02.181Z] INFO [9515] - [Application update app-63f7-190127_170901@17/AppDeployStage1/AppDeployPostHook/01_rails_support.sh] : Starting activity...
  4510. [2019-01-27T11:40:02.592Z] INFO [9515] - [Application update app-63f7-190127_170901@17/AppDeployStage1/AppDeployPostHook/01_rails_support.sh] : Completed activity. Result:
  4511. ++ /opt/elasticbeanstalk/bin/get-config container -k app_deploy_dir
  4512. + EB_APP_DEPLOY_DIR=/var/app/current
  4513. ++ /opt/elasticbeanstalk/bin/get-config container -k app_log_dir
  4514. + EB_APP_LOG_DIR=/var/app/containerfiles/logs
  4515. + ln -sf /var/app/current/log/production.log /var/app/containerfiles/logs
  4516. [2019-01-27T11:40:02.592Z] INFO [9515] - [Application update app-63f7-190127_170901@17/AppDeployStage1/AppDeployPostHook] : Completed activity. Result:
  4517. Successfully execute hooks in directory /opt/elasticbeanstalk/hooks/appdeploy/post.
  4518. [2019-01-27T11:40:02.592Z] INFO [9515] - [Application update app-63f7-190127_170901@17/AppDeployStage1] : Completed activity. Result:
  4519. Application version switch - Command CMD-AppDeploy stage 1 completed
  4520. [2019-01-27T11:40:02.593Z] INFO [9515] - [Application update app-63f7-190127_170901@17/AddonsAfter] : Starting activity...
  4521. [2019-01-27T11:40:02.593Z] INFO [9515] - [Application update app-63f7-190127_170901@17/AddonsAfter/ConfigLogRotation] : Starting activity...
  4522. [2019-01-27T11:40:02.594Z] INFO [9515] - [Application update app-63f7-190127_170901@17/AddonsAfter/ConfigLogRotation/10-config.sh] : Starting activity...
  4523. [2019-01-27T11:40:02.771Z] INFO [9515] - [Application update app-63f7-190127_170901@17/AddonsAfter/ConfigLogRotation/10-config.sh] : Completed activity. Result:
  4524. Disabled forced hourly log rotation.
  4525. [2019-01-27T11:40:02.771Z] INFO [9515] - [Application update app-63f7-190127_170901@17/AddonsAfter/ConfigLogRotation] : Completed activity. Result:
  4526. Successfully execute hooks in directory /opt/elasticbeanstalk/addons/logpublish/hooks/config.
  4527. [2019-01-27T11:40:02.771Z] INFO [9515] - [Application update app-63f7-190127_170901@17/AddonsAfter] : Completed activity.
  4528. [2019-01-27T11:40:02.771Z] INFO [9515] - [Application update app-63f7-190127_170901@17] : Completed activity. Result:
  4529. Application update - Command CMD-AppDeploy succeeded
  4530. [2019-01-27T11:54:05.082Z] INFO [10428] - [Configuration update app-63f7-190127_170901@18] : Starting activity...
  4531. [2019-01-27T11:54:05.082Z] INFO [10428] - [Configuration update app-63f7-190127_170901@18/AddonsBefore] : Starting activity...
  4532. [2019-01-27T11:54:05.082Z] INFO [10428] - [Configuration update app-63f7-190127_170901@18/AddonsBefore/ConfigCWLAgent] : Starting activity...
  4533. [2019-01-27T11:54:05.082Z] INFO [10428] - [Configuration update app-63f7-190127_170901@18/AddonsBefore/ConfigCWLAgent/10-config.sh] : Starting activity...
  4534. [2019-01-27T11:54:05.204Z] INFO [10428] - [Configuration update app-63f7-190127_170901@18/AddonsBefore/ConfigCWLAgent/10-config.sh] : Completed activity. Result:
  4535. Log streaming option setting is not specified, ignore cloudwatch logs setup.
  4536.  
  4537. Disabled log streaming.
  4538. [2019-01-27T11:54:05.204Z] INFO [10428] - [Configuration update app-63f7-190127_170901@18/AddonsBefore/ConfigCWLAgent] : Completed activity. Result:
  4539. Successfully execute hooks in directory /opt/elasticbeanstalk/addons/logstreaming/hooks/config.
  4540. [2019-01-27T11:54:05.204Z] INFO [10428] - [Configuration update app-63f7-190127_170901@18/AddonsBefore] : Completed activity.
  4541. [2019-01-27T11:54:05.204Z] INFO [10428] - [Configuration update app-63f7-190127_170901@18/ConfigDeployStage0] : Starting activity...
  4542. [2019-01-27T11:54:05.204Z] INFO [10428] - [Configuration update app-63f7-190127_170901@18/ConfigDeployStage0/ConfigDeployPreHook] : Starting activity...
  4543. [2019-01-27T11:54:05.206Z] INFO [10428] - [Configuration update app-63f7-190127_170901@18/ConfigDeployStage0/ConfigDeployPreHook/01_configure_xray.sh] : Starting activity...
  4544. [2019-01-27T11:54:05.313Z] INFO [10428] - [Configuration update app-63f7-190127_170901@18/ConfigDeployStage0/ConfigDeployPreHook/01_configure_xray.sh] : Completed activity.
  4545. [2019-01-27T11:54:05.313Z] INFO [10428] - [Configuration update app-63f7-190127_170901@18/ConfigDeployStage0/ConfigDeployPreHook/10_setup_envvars.sh] : Starting activity...
  4546. [2019-01-27T11:54:05.532Z] INFO [10428] - [Configuration update app-63f7-190127_170901@18/ConfigDeployStage0/ConfigDeployPreHook/10_setup_envvars.sh] : Completed activity. Result:
  4547. ++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
  4548. + EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
  4549. + /opt/elasticbeanstalk/support/export_envvars
  4550. [2019-01-27T11:54:05.532Z] INFO [10428] - [Configuration update app-63f7-190127_170901@18/ConfigDeployStage0/ConfigDeployPreHook] : Completed activity. Result:
  4551. Successfully execute hooks in directory /opt/elasticbeanstalk/hooks/configdeploy/pre.
  4552. [2019-01-27T11:54:05.532Z] INFO [10428] - [Configuration update app-63f7-190127_170901@18/ConfigDeployStage0] : Completed activity. Result:
  4553. Configuration update - Command CMD-ConfigDeploy stage 0 completed
  4554. [2019-01-27T11:54:05.532Z] INFO [10428] - [Configuration update app-63f7-190127_170901@18/ConfigDeployStage1] : Starting activity...
  4555. [2019-01-27T11:54:05.533Z] INFO [10428] - [Configuration update app-63f7-190127_170901@18/ConfigDeployStage1/ConfigDeployEnactHook] : Starting activity...
  4556. [2019-01-27T11:54:05.535Z] INFO [10428] - [Configuration update app-63f7-190127_170901@18/ConfigDeployStage1/ConfigDeployEnactHook/01_restart.sh] : Starting activity...
  4557. [2019-01-27T11:54:07.541Z] INFO [10428] - [Configuration update app-63f7-190127_170901@18/ConfigDeployStage1/ConfigDeployEnactHook/01_restart.sh] : Completed activity. Result:
  4558. puma start/running, process 10479
  4559. [2019-01-27T11:54:07.541Z] INFO [10428] - [Configuration update app-63f7-190127_170901@18/ConfigDeployStage1/ConfigDeployEnactHook/01stop_xray.sh] : Starting activity...
  4560. [2019-01-27T11:54:07.764Z] INFO [10428] - [Configuration update app-63f7-190127_170901@18/ConfigDeployStage1/ConfigDeployEnactHook/01stop_xray.sh] : Completed activity. Result:
  4561. Executing: if ( initctl status xray | grep start ); then initctl stop xray; fi
  4562.  
  4563. [2019-01-27T11:54:07.765Z] INFO [10428] - [Configuration update app-63f7-190127_170901@18/ConfigDeployStage1/ConfigDeployEnactHook/02start_xray.sh] : Starting activity...
  4564. [2019-01-27T11:54:07.978Z] INFO [10428] - [Configuration update app-63f7-190127_170901@18/ConfigDeployStage1/ConfigDeployEnactHook/02start_xray.sh] : Completed activity.
  4565. [2019-01-27T11:54:07.979Z] INFO [10428] - [Configuration update app-63f7-190127_170901@18/ConfigDeployStage1/ConfigDeployEnactHook] : Completed activity. Result:
  4566. Successfully execute hooks in directory /opt/elasticbeanstalk/hooks/configdeploy/enact.
  4567. [2019-01-27T11:54:07.979Z] INFO [10428] - [Configuration update app-63f7-190127_170901@18/ConfigDeployStage1/ConfigDeployPostHook] : Starting activity...
  4568. [2019-01-27T11:54:07.980Z] INFO [10428] - [Configuration update app-63f7-190127_170901@18/ConfigDeployStage1/ConfigDeployPostHook/01_rails_support.sh] : Starting activity...
  4569. [2019-01-27T11:54:08.347Z] INFO [10428] - [Configuration update app-63f7-190127_170901@18/ConfigDeployStage1/ConfigDeployPostHook/01_rails_support.sh] : Completed activity. Result:
  4570. ++ /opt/elasticbeanstalk/bin/get-config container -k app_deploy_dir
  4571. + EB_APP_DEPLOY_DIR=/var/app/current
  4572. ++ /opt/elasticbeanstalk/bin/get-config container -k app_log_dir
  4573. + EB_APP_LOG_DIR=/var/app/containerfiles/logs
  4574. + ln -sf /var/app/current/log/production.log /var/app/containerfiles/logs
  4575. [2019-01-27T11:54:08.347Z] INFO [10428] - [Configuration update app-63f7-190127_170901@18/ConfigDeployStage1/ConfigDeployPostHook] : Completed activity. Result:
  4576. Successfully execute hooks in directory /opt/elasticbeanstalk/hooks/configdeploy/post.
  4577. [2019-01-27T11:54:08.347Z] INFO [10428] - [Configuration update app-63f7-190127_170901@18/ConfigDeployStage1] : Completed activity. Result:
  4578. Application restart - Command CMD-ConfigDeploy stage 1 completed
  4579. [2019-01-27T11:54:08.348Z] INFO [10428] - [Configuration update app-63f7-190127_170901@18/AddonsAfter] : Starting activity...
  4580. [2019-01-27T11:54:08.348Z] INFO [10428] - [Configuration update app-63f7-190127_170901@18/AddonsAfter/ConfigLogRotation] : Starting activity...
  4581. [2019-01-27T11:54:08.348Z] INFO [10428] - [Configuration update app-63f7-190127_170901@18/AddonsAfter/ConfigLogRotation/10-config.sh] : Starting activity...
  4582. [2019-01-27T11:54:08.512Z] INFO [10428] - [Configuration update app-63f7-190127_170901@18/AddonsAfter/ConfigLogRotation/10-config.sh] : Completed activity. Result:
  4583. Disabled forced hourly log rotation.
  4584. [2019-01-27T11:54:08.512Z] INFO [10428] - [Configuration update app-63f7-190127_170901@18/AddonsAfter/ConfigLogRotation] : Completed activity. Result:
  4585. Successfully execute hooks in directory /opt/elasticbeanstalk/addons/logpublish/hooks/config.
  4586. [2019-01-27T11:54:08.512Z] INFO [10428] - [Configuration update app-63f7-190127_170901@18/AddonsAfter] : Completed activity.
  4587. [2019-01-27T11:54:08.512Z] INFO [10428] - [Configuration update app-63f7-190127_170901@18] : Completed activity. Result:
  4588. Configuration update - Command CMD-ConfigDeploy succeeded
  4589. [2019-01-27T11:57:33.676Z] INFO [10656] - [Application update app-5d82-190127_172716@19] : Starting activity...
  4590. [2019-01-27T11:57:33.676Z] INFO [10656] - [Application update app-5d82-190127_172716@19/AddonsBefore] : Starting activity...
  4591. [2019-01-27T11:57:33.676Z] INFO [10656] - [Application update app-5d82-190127_172716@19/AddonsBefore/ConfigCWLAgent] : Starting activity...
  4592. [2019-01-27T11:57:33.677Z] INFO [10656] - [Application update app-5d82-190127_172716@19/AddonsBefore/ConfigCWLAgent/10-config.sh] : Starting activity...
  4593. [2019-01-27T11:57:33.799Z] INFO [10656] - [Application update app-5d82-190127_172716@19/AddonsBefore/ConfigCWLAgent/10-config.sh] : Completed activity. Result:
  4594. Log streaming option setting is not specified, ignore cloudwatch logs setup.
  4595.  
  4596. Disabled log streaming.
  4597. [2019-01-27T11:57:33.799Z] INFO [10656] - [Application update app-5d82-190127_172716@19/AddonsBefore/ConfigCWLAgent] : Completed activity. Result:
  4598. Successfully execute hooks in directory /opt/elasticbeanstalk/addons/logstreaming/hooks/config.
  4599. [2019-01-27T11:57:33.799Z] INFO [10656] - [Application update app-5d82-190127_172716@19/AddonsBefore] : Completed activity.
  4600. [2019-01-27T11:57:34.191Z] INFO [10656] - [Application update app-5d82-190127_172716@19/AppDeployStage0] : Starting activity...
  4601. [2019-01-27T11:57:34.191Z] INFO [10656] - [Application update app-5d82-190127_172716@19/AppDeployStage0/DownloadSourceBundle] : Starting activity...
  4602. [2019-01-27T11:57:34.626Z] INFO [10656] - [Application update app-5d82-190127_172716@19/AppDeployStage0/DownloadSourceBundle] : Completed activity. Result:
  4603. [2019-01-27T11:57:34.292Z] INFO [10699] : Application version will be saved to /opt/elasticbeanstalk/deploy/appsource.
  4604. [2019-01-27T11:57:34.293Z] INFO [10699] : Using manifest cache with deployment ID 19 and serial 25.
  4605. [2019-01-27T11:57:34.293Z] INFO [10699] : Attempting to download application source bundle to: '/opt/elasticbeanstalk/deploy/appsource/source_bundle'.
  4606. [2019-01-27T11:57:34.293Z] INFO [10699] : Using computed s3 key.
  4607. [2019-01-27T11:57:34.411Z] INFO [10699] : Downloading from bucket 'elasticbeanstalk-us-east-2-387358288273' with key 'resources/environments/e-sv4jqab3r8/_runtime/_versions/test/app-5d82-190127_172716' and version '' to '/opt/elasticbeanstalk/deploy/appsource/source_bundle'.
  4608. [2019-01-27T11:57:34.464Z] INFO [10699] : Size: 9504940, ETag: "ca23d4b3b5d2f677742c1f1bf6048df8", Metadata: {"environmentid"=>"e-sv4jqab3r8", "requestid"=>"fa1aac0a-0531-4610-924b-b7120d96c198"}.
  4609. [2019-01-27T11:57:34.617Z] INFO [10699] : Downloaded size: 9504940.
  4610. [2019-01-27T11:57:34.617Z] INFO [10699] : Successfully downloaded to '/opt/elasticbeanstalk/deploy/appsource/source_bundle'.
  4611. [2019-01-27T11:57:34.626Z] INFO [10656] - [Application update app-5d82-190127_172716@19/AppDeployStage0/EbExtensionPreBuild] : Starting activity...
  4612. [2019-01-27T11:57:34.972Z] INFO [10656] - [Application update app-5d82-190127_172716@19/AppDeployStage0/EbExtensionPreBuild/Infra-EmbeddedPreBuild] : Starting activity...
  4613. [2019-01-27T11:57:34.976Z] INFO [10656] - [Application update app-5d82-190127_172716@19/AppDeployStage0/EbExtensionPreBuild/Infra-EmbeddedPreBuild/prebuild_0_test] : Starting activity...
  4614. [2019-01-27T11:57:34.976Z] INFO [10656] - [Application update app-5d82-190127_172716@19/AppDeployStage0/EbExtensionPreBuild/Infra-EmbeddedPreBuild/prebuild_0_test] : Completed activity.
  4615. [2019-01-27T11:57:34.976Z] INFO [10656] - [Application update app-5d82-190127_172716@19/AppDeployStage0/EbExtensionPreBuild/Infra-EmbeddedPreBuild] : Completed activity.
  4616. [2019-01-27T11:57:35.366Z] INFO [10656] - [Application update app-5d82-190127_172716@19/AppDeployStage0/EbExtensionPreBuild] : Completed activity.
  4617. [2019-01-27T11:57:35.366Z] INFO [10656] - [Application update app-5d82-190127_172716@19/AppDeployStage0/AppDeployPreHook] : Starting activity...
  4618. [2019-01-27T11:57:35.366Z] INFO [10656] - [Application update app-5d82-190127_172716@19/AppDeployStage0/AppDeployPreHook/01_configure_xray.sh] : Starting activity...
  4619. [2019-01-27T11:57:35.473Z] INFO [10656] - [Application update app-5d82-190127_172716@19/AppDeployStage0/AppDeployPreHook/01_configure_xray.sh] : Completed activity.
  4620. [2019-01-27T11:57:35.473Z] INFO [10656] - [Application update app-5d82-190127_172716@19/AppDeployStage0/AppDeployPreHook/01_unzip.rb] : Starting activity...
  4621. [2019-01-27T11:57:35.957Z] INFO [10656] - [Application update app-5d82-190127_172716@19/AppDeployStage0/AppDeployPreHook/01_unzip.rb] : Completed activity.
  4622. [2019-01-27T11:57:35.957Z] INFO [10656] - [Application update app-5d82-190127_172716@19/AppDeployStage0/AppDeployPreHook/02_setup_envvars.sh] : Starting activity...
  4623. [2019-01-27T11:57:36.176Z] INFO [10656] - [Application update app-5d82-190127_172716@19/AppDeployStage0/AppDeployPreHook/02_setup_envvars.sh] : Completed activity. Result:
  4624. ++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
  4625. + EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
  4626. + /opt/elasticbeanstalk/support/export_envvars
  4627. [2019-01-27T11:57:36.177Z] INFO [10656] - [Application update app-5d82-190127_172716@19/AppDeployStage0/AppDeployPreHook/10_bundle_install.sh] : Starting activity...
  4628. [2019-01-27T11:57:37.028Z] INFO [10656] - [Application update app-5d82-190127_172716@19/AppDeployStage0/AppDeployPreHook/10_bundle_install.sh] : Completed activity. Result:
  4629. ++ /opt/elasticbeanstalk/bin/get-config container -k script_dir
  4630. + EB_SCRIPT_DIR=/opt/elasticbeanstalk/support/scripts
  4631. ++ /opt/elasticbeanstalk/bin/get-config container -k app_staging_dir
  4632. + EB_APP_STAGING_DIR=/var/app/ondeck
  4633. ++ /opt/elasticbeanstalk/bin/get-config container -k app_user
  4634. + EB_APP_USER=webapp
  4635. ++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
  4636. + EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
  4637. + . /opt/elasticbeanstalk/support/envvars-wrapper.sh
  4638. +++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
  4639. ++ EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
  4640. ++ set +x
  4641. + . /opt/elasticbeanstalk/support/scripts/use-app-ruby.sh
  4642. ++ . /usr/local/share/chruby/chruby.sh
  4643. +++ CHRUBY_VERSION=0.3.9
  4644. +++ RUBIES=()
  4645. +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
  4646. +++ [[ -d /opt/rubies ]]
  4647. ++++ ls -A /opt/rubies
  4648. +++ [[ -n ruby-1.9.3-p551
  4649. ruby-2.0.0-p648
  4650. ruby-2.1.10
  4651. ruby-2.2.10
  4652. ruby-2.3.8
  4653. ruby-2.4.5
  4654. ruby-2.5.3
  4655. ruby-2.6.0
  4656. ruby-current ]]
  4657. +++ RUBIES+=("$dir"/*)
  4658. +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
  4659. +++ [[ -d /.rubies ]]
  4660. +++ unset dir
  4661. +++ cat /etc/elasticbeanstalk/.ruby_version
  4662. ++ chruby 2.4.5
  4663. ++ case "$1" in
  4664. ++ local dir match
  4665. ++ for dir in '"${RUBIES[@]}"'
  4666. ++ dir=/opt/rubies/ruby-1.9.3-p551
  4667. ++ case "${dir##*/}" in
  4668. ++ for dir in '"${RUBIES[@]}"'
  4669. ++ dir=/opt/rubies/ruby-2.0.0-p648
  4670. ++ case "${dir##*/}" in
  4671. ++ for dir in '"${RUBIES[@]}"'
  4672. ++ dir=/opt/rubies/ruby-2.1.10
  4673. ++ case "${dir##*/}" in
  4674. ++ for dir in '"${RUBIES[@]}"'
  4675. ++ dir=/opt/rubies/ruby-2.2.10
  4676. ++ case "${dir##*/}" in
  4677. ++ for dir in '"${RUBIES[@]}"'
  4678. ++ dir=/opt/rubies/ruby-2.3.8
  4679. ++ case "${dir##*/}" in
  4680. ++ for dir in '"${RUBIES[@]}"'
  4681. ++ dir=/opt/rubies/ruby-2.4.5
  4682. ++ case "${dir##*/}" in
  4683. ++ match=/opt/rubies/ruby-2.4.5
  4684. ++ for dir in '"${RUBIES[@]}"'
  4685. ++ dir=/opt/rubies/ruby-2.5.3
  4686. ++ case "${dir##*/}" in
  4687. ++ for dir in '"${RUBIES[@]}"'
  4688. ++ dir=/opt/rubies/ruby-2.6.0
  4689. ++ case "${dir##*/}" in
  4690. ++ for dir in '"${RUBIES[@]}"'
  4691. ++ dir=/opt/rubies/ruby-current
  4692. ++ case "${dir##*/}" in
  4693. ++ [[ -z /opt/rubies/ruby-2.4.5 ]]
  4694. ++ shift
  4695. ++ chruby_use /opt/rubies/ruby-2.4.5 ''
  4696. ++ [[ ! -x /opt/rubies/ruby-2.4.5/bin/ruby ]]
  4697. ++ [[ -n '' ]]
  4698. ++ export RUBY_ROOT=/opt/rubies/ruby-2.4.5
  4699. ++ RUBY_ROOT=/opt/rubies/ruby-2.4.5
  4700. ++ export RUBYOPT=
  4701. ++ RUBYOPT=
  4702. ++ export PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
  4703. ++ PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
  4704. +++ /opt/rubies/ruby-2.4.5/bin/ruby -
  4705. ++ eval 'export RUBY_ENGINE=ruby;
  4706. export RUBY_VERSION=2.4.5;
  4707. export GEM_ROOT="/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0";'
  4708. +++ export RUBY_ENGINE=ruby
  4709. +++ RUBY_ENGINE=ruby
  4710. +++ export RUBY_VERSION=2.4.5
  4711. +++ RUBY_VERSION=2.4.5
  4712. +++ export GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
  4713. +++ GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
  4714. ++ (( 0 != 0 ))
  4715. + cd /var/app/ondeck
  4716. + '[' -f Gemfile ']'
  4717. + echo 'running '\''bundle install'\'' with Gemfile:'
  4718. running 'bundle install' with Gemfile:
  4719. + cat Gemfile
  4720. source 'https://rubygems.org'
  4721.  
  4722.  
  4723. # Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
  4724. gem 'rails', '~> 5.0.0', '>= 5.0.0.1'
  4725.  
  4726.  
  4727. # sqlite3 fails on heroku
  4728. # group :development do
  4729. # gem 'sqlite3' #gem to use in development environment
  4730. # end
  4731. # gem 'sqlite3'
  4732. # group :production do
  4733. gem 'pg', '~> 0.20.0' #gem to use in production environment
  4734. # end
  4735. gem 'will_paginate', '~> 3.1.0'
  4736. gem 'simple_form'
  4737. gem 'bootstrap-sass'
  4738. gem 'devise'
  4739. gem 'nested_scaffold'
  4740. # Use Puma as the app server
  4741. gem 'puma', '~> 3.0'
  4742. # Use SCSS for stylesheets
  4743. gem 'sass-rails', '~> 5.0'
  4744. # Use Uglifier as compressor for JavaScript assets
  4745. gem 'uglifier', '>= 1.3.0'
  4746. # Use CoffeeScript for .coffee assets and views
  4747. gem 'coffee-rails', '~> 4.2'
  4748. # See https://github.com/rails/execjs#readme for more supported runtimes
  4749. # gem 'therubyracer', platforms: :ruby
  4750.  
  4751. # Use jquery as the JavaScript library
  4752. gem 'jquery-rails'
  4753. # Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks
  4754. gem 'turbolinks', '~> 5'
  4755. # Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
  4756. gem 'jbuilder', '~> 2.5'
  4757. # Use Redis adapter to run Action Cable in production
  4758. # gem 'redis', '~> 3.0'
  4759. # Use ActiveModel has_secure_password
  4760. # gem 'bcrypt', '~> 3.1.7'
  4761.  
  4762. # Use Capistrano for deployment
  4763. # gem 'capistrano-rails', group: :development
  4764.  
  4765. group :development, :test do
  4766. # Call 'byebug' anywhere in the code to stop execution and get a debugger console
  4767. gem 'byebug', platform: :mri
  4768. end
  4769.  
  4770. group :development do
  4771. # Access an IRB console on exception pages or by using <%= console %> anywhere in the code.
  4772. gem 'web-console'
  4773. end
  4774.  
  4775. # Windows does not include zoneinfo files, so bundle the tzinfo-data gem
  4776. gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
  4777.  
  4778. gem 'activeadmin'
  4779. + '[' -d /var/app/ondeck/vendor/cache ']'
  4780. + bundle install
  4781. Don't run Bundler as root. Bundler can ask for sudo if it is needed, and
  4782. installing your bundle as root will break this application for all non-root
  4783. users on this machine.
  4784. Warning: the running version of Bundler (1.16.2) is older than the version that created the lockfile (1.16.3). We suggest you upgrade to the latest version of Bundler by running `gem install bundler`.
  4785. Using rake 12.3.2
  4786. Using concurrent-ruby 1.1.4
  4787. Using i18n 1.5.3
  4788. Using minitest 5.11.3
  4789. Using thread_safe 0.3.6
  4790. Using tzinfo 1.2.5
  4791. Using activesupport 5.0.7.1
  4792. Using builder 3.2.3
  4793. Using erubis 2.7.0
  4794. Using mini_portile2 2.4.0
  4795. Using nokogiri 1.10.1
  4796. Using rails-dom-testing 2.0.3
  4797. Using crass 1.0.4
  4798. Using loofah 2.2.3
  4799. Using rails-html-sanitizer 1.0.4
  4800. Using actionview 5.0.7.1
  4801. Using rack 2.0.6
  4802. Using rack-test 0.6.3
  4803. Using actionpack 5.0.7.1
  4804. Using nio4r 2.3.1
  4805. Using websocket-extensions 0.1.3
  4806. Using websocket-driver 0.6.5
  4807. Using actioncable 5.0.7.1
  4808. Using globalid 0.4.2
  4809. Using activejob 5.0.7.1
  4810. Using mini_mime 1.0.1
  4811. Using mail 2.7.1
  4812. Using actionmailer 5.0.7.1
  4813. Using arbre 1.1.1
  4814. Using coffee-script-source 1.12.2
  4815. Using execjs 2.7.0
  4816. Using coffee-script 2.4.1
  4817. Using method_source 0.9.2
  4818. Using thor 0.20.3
  4819. Using railties 5.0.7.1
  4820. Using coffee-rails 4.2.2
  4821. Using formtastic 3.1.5
  4822. Using formtastic_i18n 0.6.0
  4823. Using has_scope 0.7.2
  4824. Using responders 2.4.1
  4825. Using inherited_resources 1.9.0
  4826. Using jquery-rails 4.3.3
  4827. Using kaminari-core 1.1.1
  4828. Using kaminari-actionview 1.1.1
  4829. Using activemodel 5.0.7.1
  4830. Using arel 7.1.4
  4831. Using activerecord 5.0.7.1
  4832. Using kaminari-activerecord 1.1.1
  4833. Using kaminari 1.1.1
  4834. Using ransack 2.1.1
  4835. Using rb-fsevent 0.10.3
  4836. Using ffi 1.9.25
  4837. Using rb-inotify 0.10.0
  4838. Using sass-listen 4.0.0
  4839. Using sass 3.7.3
  4840. Using sprockets 3.7.2
  4841. Using activeadmin 1.4.3
  4842. Using autoprefixer-rails 9.4.6
  4843. Using bcrypt 3.1.12
  4844. Using sassc 2.0.0
  4845. Using bootstrap-sass 3.4.0
  4846. Using bundler 1.16.2
  4847. Using orm_adapter 0.5.0
  4848. Using warden 1.2.8
  4849. Using devise 4.5.0
  4850. Using multi_json 1.13.1
  4851. Using jbuilder 2.8.0
  4852. Using nested_scaffold 1.0.0
  4853. Using pg 0.20.0
  4854. Using puma 3.12.0
  4855. Using sprockets-rails 3.2.1
  4856. Using rails 5.0.7.1
  4857. Using tilt 2.0.9
  4858. Using sass-rails 5.0.7
  4859. Using simple_form 4.1.0
  4860. Using turbolinks-source 5.2.0
  4861. Using turbolinks 5.2.0
  4862. Using uglifier 4.1.20
  4863. Using will_paginate 3.1.6
  4864. Bundle complete! 18 Gemfile dependencies, 79 gems now installed.
  4865. Gems in the groups test and development were not installed.
  4866. Use `bundle info [gemname]` to see where a bundled gem is installed.
  4867. + '[' -f Gemfile.lock ']'
  4868. + echo 'encountered a Gemfile.lock, setting proper permissions'
  4869. encountered a Gemfile.lock, setting proper permissions
  4870. + chown webapp:webapp Gemfile.lock
  4871. + '[' '' = 1 ']'
  4872. [2019-01-27T11:57:37.028Z] INFO [10656] - [Application update app-5d82-190127_172716@19/AppDeployStage0/AppDeployPreHook/11_asset_compilation.sh] : Starting activity...
  4873. [2019-01-27T11:58:01.581Z] INFO [10656] - [Application update app-5d82-190127_172716@19/AppDeployStage0/AppDeployPreHook/11_asset_compilation.sh] : Completed activity. Result:
  4874. ++ /opt/elasticbeanstalk/bin/get-config container -k script_dir
  4875. + EB_SCRIPT_DIR=/opt/elasticbeanstalk/support/scripts
  4876. ++ /opt/elasticbeanstalk/bin/get-config container -k app_staging_dir
  4877. + EB_APP_STAGING_DIR=/var/app/ondeck
  4878. ++ /opt/elasticbeanstalk/bin/get-config container -k app_user
  4879. + EB_APP_USER=webapp
  4880. ++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
  4881. + EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
  4882. + . /opt/elasticbeanstalk/support/envvars-wrapper.sh
  4883. +++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
  4884. ++ EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
  4885. ++ set +x
  4886. + RAKE_TASK=assets:precompile
  4887. + . /opt/elasticbeanstalk/support/scripts/use-app-ruby.sh
  4888. ++ . /usr/local/share/chruby/chruby.sh
  4889. +++ CHRUBY_VERSION=0.3.9
  4890. +++ RUBIES=()
  4891. +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
  4892. +++ [[ -d /opt/rubies ]]
  4893. ++++ ls -A /opt/rubies
  4894. +++ [[ -n ruby-1.9.3-p551
  4895. ruby-2.0.0-p648
  4896. ruby-2.1.10
  4897. ruby-2.2.10
  4898. ruby-2.3.8
  4899. ruby-2.4.5
  4900. ruby-2.5.3
  4901. ruby-2.6.0
  4902. ruby-current ]]
  4903. +++ RUBIES+=("$dir"/*)
  4904. +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
  4905. +++ [[ -d /.rubies ]]
  4906. +++ unset dir
  4907. +++ cat /etc/elasticbeanstalk/.ruby_version
  4908. ++ chruby 2.4.5
  4909. ++ case "$1" in
  4910. ++ local dir match
  4911. ++ for dir in '"${RUBIES[@]}"'
  4912. ++ dir=/opt/rubies/ruby-1.9.3-p551
  4913. ++ case "${dir##*/}" in
  4914. ++ for dir in '"${RUBIES[@]}"'
  4915. ++ dir=/opt/rubies/ruby-2.0.0-p648
  4916. ++ case "${dir##*/}" in
  4917. ++ for dir in '"${RUBIES[@]}"'
  4918. ++ dir=/opt/rubies/ruby-2.1.10
  4919. ++ case "${dir##*/}" in
  4920. ++ for dir in '"${RUBIES[@]}"'
  4921. ++ dir=/opt/rubies/ruby-2.2.10
  4922. ++ case "${dir##*/}" in
  4923. ++ for dir in '"${RUBIES[@]}"'
  4924. ++ dir=/opt/rubies/ruby-2.3.8
  4925. ++ case "${dir##*/}" in
  4926. ++ for dir in '"${RUBIES[@]}"'
  4927. ++ dir=/opt/rubies/ruby-2.4.5
  4928. ++ case "${dir##*/}" in
  4929. ++ match=/opt/rubies/ruby-2.4.5
  4930. ++ for dir in '"${RUBIES[@]}"'
  4931. ++ dir=/opt/rubies/ruby-2.5.3
  4932. ++ case "${dir##*/}" in
  4933. ++ for dir in '"${RUBIES[@]}"'
  4934. ++ dir=/opt/rubies/ruby-2.6.0
  4935. ++ case "${dir##*/}" in
  4936. ++ for dir in '"${RUBIES[@]}"'
  4937. ++ dir=/opt/rubies/ruby-current
  4938. ++ case "${dir##*/}" in
  4939. ++ [[ -z /opt/rubies/ruby-2.4.5 ]]
  4940. ++ shift
  4941. ++ chruby_use /opt/rubies/ruby-2.4.5 ''
  4942. ++ [[ ! -x /opt/rubies/ruby-2.4.5/bin/ruby ]]
  4943. ++ [[ -n '' ]]
  4944. ++ export RUBY_ROOT=/opt/rubies/ruby-2.4.5
  4945. ++ RUBY_ROOT=/opt/rubies/ruby-2.4.5
  4946. ++ export RUBYOPT=
  4947. ++ RUBYOPT=
  4948. ++ export PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
  4949. ++ PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
  4950. +++ /opt/rubies/ruby-2.4.5/bin/ruby -
  4951. ++ eval 'export RUBY_ENGINE=ruby;
  4952. export RUBY_VERSION=2.4.5;
  4953. export GEM_ROOT="/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0";'
  4954. +++ export RUBY_ENGINE=ruby
  4955. +++ RUBY_ENGINE=ruby
  4956. +++ export RUBY_VERSION=2.4.5
  4957. +++ RUBY_VERSION=2.4.5
  4958. +++ export GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
  4959. +++ GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
  4960. ++ (( 0 != 0 ))
  4961. + cd /var/app/ondeck
  4962. + su -s /bin/bash -c 'bundle exec /opt/elasticbeanstalk/support/scripts/check-for-rake-task.rb assets:precompile' webapp
  4963. `/home/webapp` is not a directory.
  4964. Bundler will use `/tmp/bundler/home/webapp' as your home directory temporarily.
  4965. + '[' false == true ']'
  4966. + su -s /bin/bash -c 'bundle exec rake assets:precompile' webapp
  4967. `/home/webapp` is not a directory.
  4968. Bundler will use `/tmp/bundler/home/webapp' as your home directory temporarily.
  4969. DEPRECATION WARNING: `config.static_cache_control` is deprecated and will be removed in Rails 5.1.
  4970. Please use
  4971. `config.public_file_server.headers = { 'Cache-Control' => 'public, max-age=2592000' }`
  4972. instead.
  4973. (called from block in <top (required)> at /var/app/ondeck/config/environments/production.rb:28)
  4974. intializing git
  4975. error: could not lock config file /home/webapp/.gitconfig: No such file or directory
  4976. sh: line 0: cd: /home/webapp: No such file or directory
  4977. I, [2019-01-27T11:57:42.444912 #10802] INFO -- : Writing /var/app/ondeck/public/assets/active_admin-6f1b843b5bbbbe3257701ffd3bd6475c519e5523a0e1604f9c9af6ec18e4ad25.css
  4978. I, [2019-01-27T11:57:42.445260 #10802] INFO -- : Writing /var/app/ondeck/public/assets/active_admin-6f1b843b5bbbbe3257701ffd3bd6475c519e5523a0e1604f9c9af6ec18e4ad25.css.gz
  4979. I, [2019-01-27T11:57:42.445603 #10802] INFO -- : Writing /var/app/ondeck/public/assets/active_admin/nested_menu_arrow-15084d93c65c1964d7077700ea748bd2d70cfa2d4c19707c58a9c64e232dd442.gif
  4980. I, [2019-01-27T11:57:42.445926 #10802] INFO -- : Writing /var/app/ondeck/public/assets/active_admin/nested_menu_arrow_dark-7c43b8e0a5f8823875f49a093c9d7a6b374f885b6f9cc248ae9cd7e6e9b29034.gif
  4981. I, [2019-01-27T11:57:42.446261 #10802] INFO -- : Writing /var/app/ondeck/public/assets/active_admin/orderable-29374dbb55b0012d78a37c614d573bb3474f0779849b478a147d0f1845ca6617.png
  4982. I, [2019-01-27T11:57:42.694573 #10802] INFO -- : Writing /var/app/ondeck/public/assets/active_admin/print-cf99cbf27fb92065a9eacd28e6fad48fa72cadaf6e0918790e8d35b11d8f99f6.css
  4983. I, [2019-01-27T11:57:42.694892 #10802] INFO -- : Writing /var/app/ondeck/public/assets/active_admin/print-cf99cbf27fb92065a9eacd28e6fad48fa72cadaf6e0918790e8d35b11d8f99f6.css.gz
  4984. I, [2019-01-27T11:57:52.665166 #10802] INFO -- : Writing /var/app/ondeck/public/assets/active_admin-aad478f9674ed0cc76f83512b458a5e516b90e017d64c576f5f9eaf05ea52b38.js
  4985. I, [2019-01-27T11:57:52.665705 #10802] INFO -- : Writing /var/app/ondeck/public/assets/active_admin-aad478f9674ed0cc76f83512b458a5e516b90e017d64c576f5f9eaf05ea52b38.js.gz
  4986. I, [2019-01-27T11:57:52.672507 #10802] INFO -- : Writing /var/app/ondeck/public/assets/danger-869dd8b0616e1a5b646dc898db2a5d6428f45fe14a90fa6d0c7130f64d886c48.png
  4987. I, [2019-01-27T11:57:52.674788 #10802] INFO -- : Writing /var/app/ondeck/public/assets/dark-607bed84e53ccb497978bd3ae9e51d4b57de94e954da4e8e1ec5b51a78d8898e.png
  4988. I, [2019-01-27T11:57:52.681394 #10802] INFO -- : Writing /var/app/ondeck/public/assets/do-e798277592b8fde73e6568cdde6687220f6d2a83f53250c561edf11619d5b1c1.jpg
  4989. I, [2019-01-27T11:57:52.687160 #10802] INFO -- : Writing /var/app/ondeck/public/assets/favicon-21c44bf091fb9557f8a4527913b0254924fc136d6e71dcee1676b7f37c8175ef.ico
  4990. I, [2019-01-27T11:57:52.687498 #10802] INFO -- : Writing /var/app/ondeck/public/assets/favicon-21c44bf091fb9557f8a4527913b0254924fc136d6e71dcee1676b7f37c8175ef.ico.gz
  4991. I, [2019-01-27T11:57:52.690729 #10802] INFO -- : Writing /var/app/ondeck/public/assets/home-f3281914e0ac5072115e9ba6f458cec56ad002cc5e65ca75988afc86af858e01.jpg
  4992. I, [2019-01-27T11:57:52.692916 #10802] INFO -- : Writing /var/app/ondeck/public/assets/info-967cdd33af0671563a0e72bed22f1cddb95a138e241dffbd5013750360bf7113.png
  4993. I, [2019-01-27T11:57:52.697293 #10802] INFO -- : Writing /var/app/ondeck/public/assets/primary-093ae3386f858ff56855e5c8a09137d4ce87c2c7aa2b152af81eac5d7667a98d.png
  4994. I, [2019-01-27T11:57:52.701282 #10802] INFO -- : Writing /var/app/ondeck/public/assets/secondary-1c1a37a441b0e6f6ca2bfb1435df8f1160a0e4ec1db5798a5e5a72374172942c.png
  4995. I, [2019-01-27T11:57:52.704641 #10802] INFO -- : Writing /var/app/ondeck/public/assets/success-5a1b362ddb5e5ed6131beffc575d91a3615864b678d24706bff24b055b6a594c.png
  4996. I, [2019-01-27T11:57:52.707323 #10802] INFO -- : Writing /var/app/ondeck/public/assets/warning-a3e35927fa71a99455166de5b62a03122ffb5287e33c9ed2c42532622f543fa5.png
  4997. I, [2019-01-27T11:57:58.235517 #10802] INFO -- : Writing /var/app/ondeck/public/assets/application-5770a9512b971d7fb2a232494ee2a78c8f1d383bfc452a26a9dea3a712e6c3b2.js
  4998. I, [2019-01-27T11:57:58.235949 #10802] INFO -- : Writing /var/app/ondeck/public/assets/application-5770a9512b971d7fb2a232494ee2a78c8f1d383bfc452a26a9dea3a712e6c3b2.js.gz
  4999. I, [2019-01-27T11:58:01.518438 #10802] INFO -- : Writing /var/app/ondeck/public/assets/application-da22e659ddaed5260aa445b696e4e8945e554c6c97884a0be799b74eb511ccf3.css
  5000. I, [2019-01-27T11:58:01.519772 #10802] INFO -- : Writing /var/app/ondeck/public/assets/application-da22e659ddaed5260aa445b696e4e8945e554c6c97884a0be799b74eb511ccf3.css.gz
  5001. [2019-01-27T11:58:01.581Z] INFO [10656] - [Application update app-5d82-190127_172716@19/AppDeployStage0/AppDeployPreHook/12_db_migration.sh] : Starting activity...
  5002. [2019-01-27T11:58:05.693Z] INFO [10656] - [Application update app-5d82-190127_172716@19/AppDeployStage0/AppDeployPreHook/12_db_migration.sh] : Activity execution failed, because: ++ /opt/elasticbeanstalk/bin/get-config container -k script_dir
  5003. + EB_SCRIPT_DIR=/opt/elasticbeanstalk/support/scripts
  5004. ++ /opt/elasticbeanstalk/bin/get-config container -k app_staging_dir
  5005. + EB_APP_STAGING_DIR=/var/app/ondeck
  5006. ++ /opt/elasticbeanstalk/bin/get-config container -k app_user
  5007. + EB_APP_USER=webapp
  5008. ++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
  5009. + EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
  5010. + . /opt/elasticbeanstalk/support/envvars-wrapper.sh
  5011. +++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
  5012. ++ EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
  5013. ++ set +x
  5014. + RAKE_TASK=db:migrate
  5015. + . /opt/elasticbeanstalk/support/scripts/use-app-ruby.sh
  5016. ++ . /usr/local/share/chruby/chruby.sh
  5017. +++ CHRUBY_VERSION=0.3.9
  5018. +++ RUBIES=()
  5019. +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
  5020. +++ [[ -d /opt/rubies ]]
  5021. ++++ ls -A /opt/rubies
  5022. +++ [[ -n ruby-1.9.3-p551
  5023. ruby-2.0.0-p648
  5024. ruby-2.1.10
  5025. ruby-2.2.10
  5026. ruby-2.3.8
  5027. ruby-2.4.5
  5028. ruby-2.5.3
  5029. ruby-2.6.0
  5030. ruby-current ]]
  5031. +++ RUBIES+=("$dir"/*)
  5032. +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
  5033. +++ [[ -d /.rubies ]]
  5034. +++ unset dir
  5035. +++ cat /etc/elasticbeanstalk/.ruby_version
  5036. ++ chruby 2.4.5
  5037. ++ case "$1" in
  5038. ++ local dir match
  5039. ++ for dir in '"${RUBIES[@]}"'
  5040. ++ dir=/opt/rubies/ruby-1.9.3-p551
  5041. ++ case "${dir##*/}" in
  5042. ++ for dir in '"${RUBIES[@]}"'
  5043. ++ dir=/opt/rubies/ruby-2.0.0-p648
  5044. ++ case "${dir##*/}" in
  5045. ++ for dir in '"${RUBIES[@]}"'
  5046. ++ dir=/opt/rubies/ruby-2.1.10
  5047. ++ case "${dir##*/}" in
  5048. ++ for dir in '"${RUBIES[@]}"'
  5049. ++ dir=/opt/rubies/ruby-2.2.10
  5050. ++ case "${dir##*/}" in
  5051. ++ for dir in '"${RUBIES[@]}"'
  5052. ++ dir=/opt/rubies/ruby-2.3.8
  5053. ++ case "${dir##*/}" in
  5054. ++ for dir in '"${RUBIES[@]}"'
  5055. ++ dir=/opt/rubies/ruby-2.4.5
  5056. ++ case "${dir##*/}" in
  5057. ++ match=/opt/rubies/ruby-2.4.5
  5058. ++ for dir in '"${RUBIES[@]}"'
  5059. ++ dir=/opt/rubies/ruby-2.5.3
  5060. ++ case "${dir##*/}" in
  5061. ++ for dir in '"${RUBIES[@]}"'
  5062. ++ dir=/opt/rubies/ruby-2.6.0
  5063. ++ case "${dir##*/}" in
  5064. ++ for dir in '"${RUBIES[@]}"'
  5065. ++ dir=/opt/rubies/ruby-current
  5066. ++ case "${dir##*/}" in
  5067. ++ [[ -z /opt/rubies/ruby-2.4.5 ]]
  5068. ++ shift
  5069. ++ chruby_use /opt/rubies/ruby-2.4.5 ''
  5070. ++ [[ ! -x /opt/rubies/ruby-2.4.5/bin/ruby ]]
  5071. ++ [[ -n '' ]]
  5072. ++ export RUBY_ROOT=/opt/rubies/ruby-2.4.5
  5073. ++ RUBY_ROOT=/opt/rubies/ruby-2.4.5
  5074. ++ export RUBYOPT=
  5075. ++ RUBYOPT=
  5076. ++ export PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
  5077. ++ PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
  5078. +++ /opt/rubies/ruby-2.4.5/bin/ruby -
  5079. ++ eval 'export RUBY_ENGINE=ruby;
  5080. export RUBY_VERSION=2.4.5;
  5081. export GEM_ROOT="/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0";'
  5082. +++ export RUBY_ENGINE=ruby
  5083. +++ RUBY_ENGINE=ruby
  5084. +++ export RUBY_VERSION=2.4.5
  5085. +++ RUBY_VERSION=2.4.5
  5086. +++ export GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
  5087. +++ GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
  5088. ++ (( 0 != 0 ))
  5089. + cd /var/app/ondeck
  5090. + su -s /bin/bash -c 'bundle exec /opt/elasticbeanstalk/support/scripts/check-for-rake-task.rb db:migrate' webapp
  5091. `/home/webapp` is not a directory.
  5092. Bundler will use `/tmp/bundler/home/webapp' as your home directory temporarily.
  5093. + '[' false = true ']'
  5094. + su -s /bin/bash -c 'leader_only bundle exec rake db:migrate' webapp
  5095. `/home/webapp` is not a directory.
  5096. Bundler will use `/tmp/bundler/home/webapp' as your home directory temporarily.
  5097. DEPRECATION WARNING: `config.static_cache_control` is deprecated and will be removed in Rails 5.1.
  5098. Please use
  5099. `config.public_file_server.headers = { 'Cache-Control' => 'public, max-age=2592000' }`
  5100. instead.
  5101. (called from block in <top (required)> at /var/app/ondeck/config/environments/production.rb:28)
  5102. intializing git
  5103. error: could not lock config file /home/webapp/.gitconfig: No such file or directory
  5104. sh: line 0: cd: /home/webapp: No such file or directory
  5105. rake aborted!
  5106. PG::ConnectionBad: FATAL: password authentication failed for user "justine"
  5107. FATAL: password authentication failed for user "justine"
  5108. /opt/rubies/ruby-2.4.5/bin/bundle:23:in `load'
  5109. /opt/rubies/ruby-2.4.5/bin/bundle:23:in `<main>'
  5110. Tasks: TOP => db:migrate
  5111. (See full trace by running task with --trace) (ElasticBeanstalk::ExternalInvocationError)
  5112. caused by: ++ /opt/elasticbeanstalk/bin/get-config container -k script_dir
  5113. + EB_SCRIPT_DIR=/opt/elasticbeanstalk/support/scripts
  5114. ++ /opt/elasticbeanstalk/bin/get-config container -k app_staging_dir
  5115. + EB_APP_STAGING_DIR=/var/app/ondeck
  5116. ++ /opt/elasticbeanstalk/bin/get-config container -k app_user
  5117. + EB_APP_USER=webapp
  5118. ++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
  5119. + EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
  5120. + . /opt/elasticbeanstalk/support/envvars-wrapper.sh
  5121. +++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
  5122. ++ EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
  5123. ++ set +x
  5124. + RAKE_TASK=db:migrate
  5125. + . /opt/elasticbeanstalk/support/scripts/use-app-ruby.sh
  5126. ++ . /usr/local/share/chruby/chruby.sh
  5127. +++ CHRUBY_VERSION=0.3.9
  5128. +++ RUBIES=()
  5129. +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
  5130. +++ [[ -d /opt/rubies ]]
  5131. ++++ ls -A /opt/rubies
  5132. +++ [[ -n ruby-1.9.3-p551
  5133. ruby-2.0.0-p648
  5134. ruby-2.1.10
  5135. ruby-2.2.10
  5136. ruby-2.3.8
  5137. ruby-2.4.5
  5138. ruby-2.5.3
  5139. ruby-2.6.0
  5140. ruby-current ]]
  5141. +++ RUBIES+=("$dir"/*)
  5142. +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
  5143. +++ [[ -d /.rubies ]]
  5144. +++ unset dir
  5145. +++ cat /etc/elasticbeanstalk/.ruby_version
  5146. ++ chruby 2.4.5
  5147. ++ case "$1" in
  5148. ++ local dir match
  5149. ++ for dir in '"${RUBIES[@]}"'
  5150. ++ dir=/opt/rubies/ruby-1.9.3-p551
  5151. ++ case "${dir##*/}" in
  5152. ++ for dir in '"${RUBIES[@]}"'
  5153. ++ dir=/opt/rubies/ruby-2.0.0-p648
  5154. ++ case "${dir##*/}" in
  5155. ++ for dir in '"${RUBIES[@]}"'
  5156. ++ dir=/opt/rubies/ruby-2.1.10
  5157. ++ case "${dir##*/}" in
  5158. ++ for dir in '"${RUBIES[@]}"'
  5159. ++ dir=/opt/rubies/ruby-2.2.10
  5160. ++ case "${dir##*/}" in
  5161. ++ for dir in '"${RUBIES[@]}"'
  5162. ++ dir=/opt/rubies/ruby-2.3.8
  5163. ++ case "${dir##*/}" in
  5164. ++ for dir in '"${RUBIES[@]}"'
  5165. ++ dir=/opt/rubies/ruby-2.4.5
  5166. ++ case "${dir##*/}" in
  5167. ++ match=/opt/rubies/ruby-2.4.5
  5168. ++ for dir in '"${RUBIES[@]}"'
  5169. ++ dir=/opt/rubies/ruby-2.5.3
  5170. ++ case "${dir##*/}" in
  5171. ++ for dir in '"${RUBIES[@]}"'
  5172. ++ dir=/opt/rubies/ruby-2.6.0
  5173. ++ case "${dir##*/}" in
  5174. ++ for dir in '"${RUBIES[@]}"'
  5175. ++ dir=/opt/rubies/ruby-current
  5176. ++ case "${dir##*/}" in
  5177. ++ [[ -z /opt/rubies/ruby-2.4.5 ]]
  5178. ++ shift
  5179. ++ chruby_use /opt/rubies/ruby-2.4.5 ''
  5180. ++ [[ ! -x /opt/rubies/ruby-2.4.5/bin/ruby ]]
  5181. ++ [[ -n '' ]]
  5182. ++ export RUBY_ROOT=/opt/rubies/ruby-2.4.5
  5183. ++ RUBY_ROOT=/opt/rubies/ruby-2.4.5
  5184. ++ export RUBYOPT=
  5185. ++ RUBYOPT=
  5186. ++ export PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
  5187. ++ PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
  5188. +++ /opt/rubies/ruby-2.4.5/bin/ruby -
  5189. ++ eval 'export RUBY_ENGINE=ruby;
  5190. export RUBY_VERSION=2.4.5;
  5191. export GEM_ROOT="/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0";'
  5192. +++ export RUBY_ENGINE=ruby
  5193. +++ RUBY_ENGINE=ruby
  5194. +++ export RUBY_VERSION=2.4.5
  5195. +++ RUBY_VERSION=2.4.5
  5196. +++ export GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
  5197. +++ GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
  5198. ++ (( 0 != 0 ))
  5199. + cd /var/app/ondeck
  5200. + su -s /bin/bash -c 'bundle exec /opt/elasticbeanstalk/support/scripts/check-for-rake-task.rb db:migrate' webapp
  5201. `/home/webapp` is not a directory.
  5202. Bundler will use `/tmp/bundler/home/webapp' as your home directory temporarily.
  5203. + '[' false = true ']'
  5204. + su -s /bin/bash -c 'leader_only bundle exec rake db:migrate' webapp
  5205. `/home/webapp` is not a directory.
  5206. Bundler will use `/tmp/bundler/home/webapp' as your home directory temporarily.
  5207. DEPRECATION WARNING: `config.static_cache_control` is deprecated and will be removed in Rails 5.1.
  5208. Please use
  5209. `config.public_file_server.headers = { 'Cache-Control' => 'public, max-age=2592000' }`
  5210. instead.
  5211. (called from block in <top (required)> at /var/app/ondeck/config/environments/production.rb:28)
  5212. intializing git
  5213. error: could not lock config file /home/webapp/.gitconfig: No such file or directory
  5214. sh: line 0: cd: /home/webapp: No such file or directory
  5215. rake aborted!
  5216. PG::ConnectionBad: FATAL: password authentication failed for user "justine"
  5217. FATAL: password authentication failed for user "justine"
  5218. /opt/rubies/ruby-2.4.5/bin/bundle:23:in `load'
  5219. /opt/rubies/ruby-2.4.5/bin/bundle:23:in `<main>'
  5220. Tasks: TOP => db:migrate
  5221. (See full trace by running task with --trace) (Executor::NonZeroExitStatus)
  5222.  
  5223.  
  5224. [2019-01-27T11:58:05.693Z] INFO [10656] - [Application update app-5d82-190127_172716@19/AppDeployStage0/AppDeployPreHook/12_db_migration.sh] : Activity failed.
  5225. [2019-01-27T11:58:05.693Z] INFO [10656] - [Application update app-5d82-190127_172716@19/AppDeployStage0/AppDeployPreHook] : Activity failed.
  5226. [2019-01-27T11:58:05.693Z] INFO [10656] - [Application update app-5d82-190127_172716@19/AppDeployStage0] : Activity failed.
  5227. [2019-01-27T11:58:05.694Z] INFO [10656] - [Application update app-5d82-190127_172716@19] : Completed activity. Result:
  5228. Application update - Command CMD-AppDeploy failed
  5229. [2019-01-27T12:01:03.457Z] INFO [11137] - [Application update app-5d82-190127_173046@20] : Starting activity...
  5230. [2019-01-27T12:01:03.457Z] INFO [11137] - [Application update app-5d82-190127_173046@20/AddonsBefore] : Starting activity...
  5231. [2019-01-27T12:01:03.457Z] INFO [11137] - [Application update app-5d82-190127_173046@20/AddonsBefore/ConfigCWLAgent] : Starting activity...
  5232. [2019-01-27T12:01:03.457Z] INFO [11137] - [Application update app-5d82-190127_173046@20/AddonsBefore/ConfigCWLAgent/10-config.sh] : Starting activity...
  5233. [2019-01-27T12:01:03.579Z] INFO [11137] - [Application update app-5d82-190127_173046@20/AddonsBefore/ConfigCWLAgent/10-config.sh] : Completed activity. Result:
  5234. Log streaming option setting is not specified, ignore cloudwatch logs setup.
  5235.  
  5236. Disabled log streaming.
  5237. [2019-01-27T12:01:03.579Z] INFO [11137] - [Application update app-5d82-190127_173046@20/AddonsBefore/ConfigCWLAgent] : Completed activity. Result:
  5238. Successfully execute hooks in directory /opt/elasticbeanstalk/addons/logstreaming/hooks/config.
  5239. [2019-01-27T12:01:03.579Z] INFO [11137] - [Application update app-5d82-190127_173046@20/AddonsBefore] : Completed activity.
  5240. [2019-01-27T12:01:03.923Z] INFO [11137] - [Application update app-5d82-190127_173046@20/AppDeployStage0] : Starting activity...
  5241. [2019-01-27T12:01:03.923Z] INFO [11137] - [Application update app-5d82-190127_173046@20/AppDeployStage0/DownloadSourceBundle] : Starting activity...
  5242. [2019-01-27T12:01:04.396Z] INFO [11137] - [Application update app-5d82-190127_173046@20/AppDeployStage0/DownloadSourceBundle] : Completed activity. Result:
  5243. [2019-01-27T12:01:04.029Z] INFO [11180] : Application version will be saved to /opt/elasticbeanstalk/deploy/appsource.
  5244. [2019-01-27T12:01:04.029Z] INFO [11180] : Using manifest cache with deployment ID 20 and serial 27.
  5245. [2019-01-27T12:01:04.029Z] INFO [11180] : Attempting to download application source bundle to: '/opt/elasticbeanstalk/deploy/appsource/source_bundle'.
  5246. [2019-01-27T12:01:04.029Z] INFO [11180] : Using computed s3 key.
  5247. [2019-01-27T12:01:04.153Z] INFO [11180] : Downloading from bucket 'elasticbeanstalk-us-east-2-387358288273' with key 'resources/environments/e-sv4jqab3r8/_runtime/_versions/test/app-5d82-190127_173046' and version '' to '/opt/elasticbeanstalk/deploy/appsource/source_bundle'.
  5248. [2019-01-27T12:01:04.204Z] INFO [11180] : Size: 9504940, ETag: "ca23d4b3b5d2f677742c1f1bf6048df8", Metadata: {"environmentid"=>"e-sv4jqab3r8", "requestid"=>"f680914e-ee03-4052-b682-01d4861b1991"}.
  5249. [2019-01-27T12:01:04.387Z] INFO [11180] : Downloaded size: 9504940.
  5250. [2019-01-27T12:01:04.387Z] INFO [11180] : Successfully downloaded to '/opt/elasticbeanstalk/deploy/appsource/source_bundle'.
  5251. [2019-01-27T12:01:04.396Z] INFO [11137] - [Application update app-5d82-190127_173046@20/AppDeployStage0/EbExtensionPreBuild] : Starting activity...
  5252. [2019-01-27T12:01:04.744Z] INFO [11137] - [Application update app-5d82-190127_173046@20/AppDeployStage0/EbExtensionPreBuild/Infra-EmbeddedPreBuild] : Starting activity...
  5253. [2019-01-27T12:01:04.747Z] INFO [11137] - [Application update app-5d82-190127_173046@20/AppDeployStage0/EbExtensionPreBuild/Infra-EmbeddedPreBuild/prebuild_0_test] : Starting activity...
  5254. [2019-01-27T12:01:04.747Z] INFO [11137] - [Application update app-5d82-190127_173046@20/AppDeployStage0/EbExtensionPreBuild/Infra-EmbeddedPreBuild/prebuild_0_test] : Completed activity.
  5255. [2019-01-27T12:01:04.747Z] INFO [11137] - [Application update app-5d82-190127_173046@20/AppDeployStage0/EbExtensionPreBuild/Infra-EmbeddedPreBuild] : Completed activity.
  5256. [2019-01-27T12:01:05.124Z] INFO [11137] - [Application update app-5d82-190127_173046@20/AppDeployStage0/EbExtensionPreBuild] : Completed activity.
  5257. [2019-01-27T12:01:05.124Z] INFO [11137] - [Application update app-5d82-190127_173046@20/AppDeployStage0/AppDeployPreHook] : Starting activity...
  5258. [2019-01-27T12:01:05.124Z] INFO [11137] - [Application update app-5d82-190127_173046@20/AppDeployStage0/AppDeployPreHook/01_configure_xray.sh] : Starting activity...
  5259. [2019-01-27T12:01:05.234Z] INFO [11137] - [Application update app-5d82-190127_173046@20/AppDeployStage0/AppDeployPreHook/01_configure_xray.sh] : Completed activity.
  5260. [2019-01-27T12:01:05.235Z] INFO [11137] - [Application update app-5d82-190127_173046@20/AppDeployStage0/AppDeployPreHook/01_unzip.rb] : Starting activity...
  5261. [2019-01-27T12:01:05.796Z] INFO [11137] - [Application update app-5d82-190127_173046@20/AppDeployStage0/AppDeployPreHook/01_unzip.rb] : Completed activity.
  5262. [2019-01-27T12:01:05.797Z] INFO [11137] - [Application update app-5d82-190127_173046@20/AppDeployStage0/AppDeployPreHook/02_setup_envvars.sh] : Starting activity...
  5263. [2019-01-27T12:01:06.028Z] INFO [11137] - [Application update app-5d82-190127_173046@20/AppDeployStage0/AppDeployPreHook/02_setup_envvars.sh] : Completed activity. Result:
  5264. ++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
  5265. + EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
  5266. + /opt/elasticbeanstalk/support/export_envvars
  5267. [2019-01-27T12:01:06.029Z] INFO [11137] - [Application update app-5d82-190127_173046@20/AppDeployStage0/AppDeployPreHook/10_bundle_install.sh] : Starting activity...
  5268. [2019-01-27T12:01:06.942Z] INFO [11137] - [Application update app-5d82-190127_173046@20/AppDeployStage0/AppDeployPreHook/10_bundle_install.sh] : Completed activity. Result:
  5269. ++ /opt/elasticbeanstalk/bin/get-config container -k script_dir
  5270. + EB_SCRIPT_DIR=/opt/elasticbeanstalk/support/scripts
  5271. ++ /opt/elasticbeanstalk/bin/get-config container -k app_staging_dir
  5272. + EB_APP_STAGING_DIR=/var/app/ondeck
  5273. ++ /opt/elasticbeanstalk/bin/get-config container -k app_user
  5274. + EB_APP_USER=webapp
  5275. ++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
  5276. + EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
  5277. + . /opt/elasticbeanstalk/support/envvars-wrapper.sh
  5278. +++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
  5279. ++ EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
  5280. ++ set +x
  5281. + . /opt/elasticbeanstalk/support/scripts/use-app-ruby.sh
  5282. ++ . /usr/local/share/chruby/chruby.sh
  5283. +++ CHRUBY_VERSION=0.3.9
  5284. +++ RUBIES=()
  5285. +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
  5286. +++ [[ -d /opt/rubies ]]
  5287. ++++ ls -A /opt/rubies
  5288. +++ [[ -n ruby-1.9.3-p551
  5289. ruby-2.0.0-p648
  5290. ruby-2.1.10
  5291. ruby-2.2.10
  5292. ruby-2.3.8
  5293. ruby-2.4.5
  5294. ruby-2.5.3
  5295. ruby-2.6.0
  5296. ruby-current ]]
  5297. +++ RUBIES+=("$dir"/*)
  5298. +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
  5299. +++ [[ -d /.rubies ]]
  5300. +++ unset dir
  5301. +++ cat /etc/elasticbeanstalk/.ruby_version
  5302. ++ chruby 2.4.5
  5303. ++ case "$1" in
  5304. ++ local dir match
  5305. ++ for dir in '"${RUBIES[@]}"'
  5306. ++ dir=/opt/rubies/ruby-1.9.3-p551
  5307. ++ case "${dir##*/}" in
  5308. ++ for dir in '"${RUBIES[@]}"'
  5309. ++ dir=/opt/rubies/ruby-2.0.0-p648
  5310. ++ case "${dir##*/}" in
  5311. ++ for dir in '"${RUBIES[@]}"'
  5312. ++ dir=/opt/rubies/ruby-2.1.10
  5313. ++ case "${dir##*/}" in
  5314. ++ for dir in '"${RUBIES[@]}"'
  5315. ++ dir=/opt/rubies/ruby-2.2.10
  5316. ++ case "${dir##*/}" in
  5317. ++ for dir in '"${RUBIES[@]}"'
  5318. ++ dir=/opt/rubies/ruby-2.3.8
  5319. ++ case "${dir##*/}" in
  5320. ++ for dir in '"${RUBIES[@]}"'
  5321. ++ dir=/opt/rubies/ruby-2.4.5
  5322. ++ case "${dir##*/}" in
  5323. ++ match=/opt/rubies/ruby-2.4.5
  5324. ++ for dir in '"${RUBIES[@]}"'
  5325. ++ dir=/opt/rubies/ruby-2.5.3
  5326. ++ case "${dir##*/}" in
  5327. ++ for dir in '"${RUBIES[@]}"'
  5328. ++ dir=/opt/rubies/ruby-2.6.0
  5329. ++ case "${dir##*/}" in
  5330. ++ for dir in '"${RUBIES[@]}"'
  5331. ++ dir=/opt/rubies/ruby-current
  5332. ++ case "${dir##*/}" in
  5333. ++ [[ -z /opt/rubies/ruby-2.4.5 ]]
  5334. ++ shift
  5335. ++ chruby_use /opt/rubies/ruby-2.4.5 ''
  5336. ++ [[ ! -x /opt/rubies/ruby-2.4.5/bin/ruby ]]
  5337. ++ [[ -n '' ]]
  5338. ++ export RUBY_ROOT=/opt/rubies/ruby-2.4.5
  5339. ++ RUBY_ROOT=/opt/rubies/ruby-2.4.5
  5340. ++ export RUBYOPT=
  5341. ++ RUBYOPT=
  5342. ++ export PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
  5343. ++ PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
  5344. +++ /opt/rubies/ruby-2.4.5/bin/ruby -
  5345. ++ eval 'export RUBY_ENGINE=ruby;
  5346. export RUBY_VERSION=2.4.5;
  5347. export GEM_ROOT="/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0";'
  5348. +++ export RUBY_ENGINE=ruby
  5349. +++ RUBY_ENGINE=ruby
  5350. +++ export RUBY_VERSION=2.4.5
  5351. +++ RUBY_VERSION=2.4.5
  5352. +++ export GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
  5353. +++ GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
  5354. ++ (( 0 != 0 ))
  5355. + cd /var/app/ondeck
  5356. + '[' -f Gemfile ']'
  5357. + echo 'running '\''bundle install'\'' with Gemfile:'
  5358. running 'bundle install' with Gemfile:
  5359. + cat Gemfile
  5360. source 'https://rubygems.org'
  5361.  
  5362.  
  5363. # Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
  5364. gem 'rails', '~> 5.0.0', '>= 5.0.0.1'
  5365.  
  5366.  
  5367. # sqlite3 fails on heroku
  5368. # group :development do
  5369. # gem 'sqlite3' #gem to use in development environment
  5370. # end
  5371. # gem 'sqlite3'
  5372. # group :production do
  5373. gem 'pg', '~> 0.20.0' #gem to use in production environment
  5374. # end
  5375. gem 'will_paginate', '~> 3.1.0'
  5376. gem 'simple_form'
  5377. gem 'bootstrap-sass'
  5378. gem 'devise'
  5379. gem 'nested_scaffold'
  5380. # Use Puma as the app server
  5381. gem 'puma', '~> 3.0'
  5382. # Use SCSS for stylesheets
  5383. gem 'sass-rails', '~> 5.0'
  5384. # Use Uglifier as compressor for JavaScript assets
  5385. gem 'uglifier', '>= 1.3.0'
  5386. # Use CoffeeScript for .coffee assets and views
  5387. gem 'coffee-rails', '~> 4.2'
  5388. # See https://github.com/rails/execjs#readme for more supported runtimes
  5389. # gem 'therubyracer', platforms: :ruby
  5390.  
  5391. # Use jquery as the JavaScript library
  5392. gem 'jquery-rails'
  5393. # Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks
  5394. gem 'turbolinks', '~> 5'
  5395. # Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
  5396. gem 'jbuilder', '~> 2.5'
  5397. # Use Redis adapter to run Action Cable in production
  5398. # gem 'redis', '~> 3.0'
  5399. # Use ActiveModel has_secure_password
  5400. # gem 'bcrypt', '~> 3.1.7'
  5401.  
  5402. # Use Capistrano for deployment
  5403. # gem 'capistrano-rails', group: :development
  5404.  
  5405. group :development, :test do
  5406. # Call 'byebug' anywhere in the code to stop execution and get a debugger console
  5407. gem 'byebug', platform: :mri
  5408. end
  5409.  
  5410. group :development do
  5411. # Access an IRB console on exception pages or by using <%= console %> anywhere in the code.
  5412. gem 'web-console'
  5413. end
  5414.  
  5415. # Windows does not include zoneinfo files, so bundle the tzinfo-data gem
  5416. gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
  5417.  
  5418. gem 'activeadmin'
  5419. + '[' -d /var/app/ondeck/vendor/cache ']'
  5420. + bundle install
  5421. Don't run Bundler as root. Bundler can ask for sudo if it is needed, and
  5422. installing your bundle as root will break this application for all non-root
  5423. users on this machine.
  5424. Warning: the running version of Bundler (1.16.2) is older than the version that created the lockfile (1.16.3). We suggest you upgrade to the latest version of Bundler by running `gem install bundler`.
  5425. Using rake 12.3.2
  5426. Using concurrent-ruby 1.1.4
  5427. Using i18n 1.5.3
  5428. Using minitest 5.11.3
  5429. Using thread_safe 0.3.6
  5430. Using tzinfo 1.2.5
  5431. Using activesupport 5.0.7.1
  5432. Using builder 3.2.3
  5433. Using erubis 2.7.0
  5434. Using mini_portile2 2.4.0
  5435. Using nokogiri 1.10.1
  5436. Using rails-dom-testing 2.0.3
  5437. Using crass 1.0.4
  5438. Using loofah 2.2.3
  5439. Using rails-html-sanitizer 1.0.4
  5440. Using actionview 5.0.7.1
  5441. Using rack 2.0.6
  5442. Using rack-test 0.6.3
  5443. Using actionpack 5.0.7.1
  5444. Using nio4r 2.3.1
  5445. Using websocket-extensions 0.1.3
  5446. Using websocket-driver 0.6.5
  5447. Using actioncable 5.0.7.1
  5448. Using globalid 0.4.2
  5449. Using activejob 5.0.7.1
  5450. Using mini_mime 1.0.1
  5451. Using mail 2.7.1
  5452. Using actionmailer 5.0.7.1
  5453. Using arbre 1.1.1
  5454. Using coffee-script-source 1.12.2
  5455. Using execjs 2.7.0
  5456. Using coffee-script 2.4.1
  5457. Using method_source 0.9.2
  5458. Using thor 0.20.3
  5459. Using railties 5.0.7.1
  5460. Using coffee-rails 4.2.2
  5461. Using formtastic 3.1.5
  5462. Using formtastic_i18n 0.6.0
  5463. Using has_scope 0.7.2
  5464. Using responders 2.4.1
  5465. Using inherited_resources 1.9.0
  5466. Using jquery-rails 4.3.3
  5467. Using kaminari-core 1.1.1
  5468. Using kaminari-actionview 1.1.1
  5469. Using activemodel 5.0.7.1
  5470. Using arel 7.1.4
  5471. Using activerecord 5.0.7.1
  5472. Using kaminari-activerecord 1.1.1
  5473. Using kaminari 1.1.1
  5474. Using ransack 2.1.1
  5475. Using rb-fsevent 0.10.3
  5476. Using ffi 1.9.25
  5477. Using rb-inotify 0.10.0
  5478. Using sass-listen 4.0.0
  5479. Using sass 3.7.3
  5480. Using sprockets 3.7.2
  5481. Using activeadmin 1.4.3
  5482. Using autoprefixer-rails 9.4.6
  5483. Using bcrypt 3.1.12
  5484. Using sassc 2.0.0
  5485. Using bootstrap-sass 3.4.0
  5486. Using bundler 1.16.2
  5487. Using orm_adapter 0.5.0
  5488. Using warden 1.2.8
  5489. Using devise 4.5.0
  5490. Using multi_json 1.13.1
  5491. Using jbuilder 2.8.0
  5492. Using nested_scaffold 1.0.0
  5493. Using pg 0.20.0
  5494. Using puma 3.12.0
  5495. Using sprockets-rails 3.2.1
  5496. Using rails 5.0.7.1
  5497. Using tilt 2.0.9
  5498. Using sass-rails 5.0.7
  5499. Using simple_form 4.1.0
  5500. Using turbolinks-source 5.2.0
  5501. Using turbolinks 5.2.0
  5502. Using uglifier 4.1.20
  5503. Using will_paginate 3.1.6
  5504. Bundle complete! 18 Gemfile dependencies, 79 gems now installed.
  5505. Gems in the groups test and development were not installed.
  5506. Use `bundle info [gemname]` to see where a bundled gem is installed.
  5507. + '[' -f Gemfile.lock ']'
  5508. + echo 'encountered a Gemfile.lock, setting proper permissions'
  5509. encountered a Gemfile.lock, setting proper permissions
  5510. + chown webapp:webapp Gemfile.lock
  5511. + '[' '' = 1 ']'
  5512. [2019-01-27T12:01:06.942Z] INFO [11137] - [Application update app-5d82-190127_173046@20/AppDeployStage0/AppDeployPreHook/11_asset_compilation.sh] : Starting activity...
  5513. [2019-01-27T12:01:31.887Z] INFO [11137] - [Application update app-5d82-190127_173046@20/AppDeployStage0/AppDeployPreHook/11_asset_compilation.sh] : Completed activity. Result:
  5514. ++ /opt/elasticbeanstalk/bin/get-config container -k script_dir
  5515. + EB_SCRIPT_DIR=/opt/elasticbeanstalk/support/scripts
  5516. ++ /opt/elasticbeanstalk/bin/get-config container -k app_staging_dir
  5517. + EB_APP_STAGING_DIR=/var/app/ondeck
  5518. ++ /opt/elasticbeanstalk/bin/get-config container -k app_user
  5519. + EB_APP_USER=webapp
  5520. ++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
  5521. + EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
  5522. + . /opt/elasticbeanstalk/support/envvars-wrapper.sh
  5523. +++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
  5524. ++ EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
  5525. ++ set +x
  5526. + RAKE_TASK=assets:precompile
  5527. + . /opt/elasticbeanstalk/support/scripts/use-app-ruby.sh
  5528. ++ . /usr/local/share/chruby/chruby.sh
  5529. +++ CHRUBY_VERSION=0.3.9
  5530. +++ RUBIES=()
  5531. +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
  5532. +++ [[ -d /opt/rubies ]]
  5533. ++++ ls -A /opt/rubies
  5534. +++ [[ -n ruby-1.9.3-p551
  5535. ruby-2.0.0-p648
  5536. ruby-2.1.10
  5537. ruby-2.2.10
  5538. ruby-2.3.8
  5539. ruby-2.4.5
  5540. ruby-2.5.3
  5541. ruby-2.6.0
  5542. ruby-current ]]
  5543. +++ RUBIES+=("$dir"/*)
  5544. +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
  5545. +++ [[ -d /.rubies ]]
  5546. +++ unset dir
  5547. +++ cat /etc/elasticbeanstalk/.ruby_version
  5548. ++ chruby 2.4.5
  5549. ++ case "$1" in
  5550. ++ local dir match
  5551. ++ for dir in '"${RUBIES[@]}"'
  5552. ++ dir=/opt/rubies/ruby-1.9.3-p551
  5553. ++ case "${dir##*/}" in
  5554. ++ for dir in '"${RUBIES[@]}"'
  5555. ++ dir=/opt/rubies/ruby-2.0.0-p648
  5556. ++ case "${dir##*/}" in
  5557. ++ for dir in '"${RUBIES[@]}"'
  5558. ++ dir=/opt/rubies/ruby-2.1.10
  5559. ++ case "${dir##*/}" in
  5560. ++ for dir in '"${RUBIES[@]}"'
  5561. ++ dir=/opt/rubies/ruby-2.2.10
  5562. ++ case "${dir##*/}" in
  5563. ++ for dir in '"${RUBIES[@]}"'
  5564. ++ dir=/opt/rubies/ruby-2.3.8
  5565. ++ case "${dir##*/}" in
  5566. ++ for dir in '"${RUBIES[@]}"'
  5567. ++ dir=/opt/rubies/ruby-2.4.5
  5568. ++ case "${dir##*/}" in
  5569. ++ match=/opt/rubies/ruby-2.4.5
  5570. ++ for dir in '"${RUBIES[@]}"'
  5571. ++ dir=/opt/rubies/ruby-2.5.3
  5572. ++ case "${dir##*/}" in
  5573. ++ for dir in '"${RUBIES[@]}"'
  5574. ++ dir=/opt/rubies/ruby-2.6.0
  5575. ++ case "${dir##*/}" in
  5576. ++ for dir in '"${RUBIES[@]}"'
  5577. ++ dir=/opt/rubies/ruby-current
  5578. ++ case "${dir##*/}" in
  5579. ++ [[ -z /opt/rubies/ruby-2.4.5 ]]
  5580. ++ shift
  5581. ++ chruby_use /opt/rubies/ruby-2.4.5 ''
  5582. ++ [[ ! -x /opt/rubies/ruby-2.4.5/bin/ruby ]]
  5583. ++ [[ -n '' ]]
  5584. ++ export RUBY_ROOT=/opt/rubies/ruby-2.4.5
  5585. ++ RUBY_ROOT=/opt/rubies/ruby-2.4.5
  5586. ++ export RUBYOPT=
  5587. ++ RUBYOPT=
  5588. ++ export PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
  5589. ++ PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
  5590. +++ /opt/rubies/ruby-2.4.5/bin/ruby -
  5591. ++ eval 'export RUBY_ENGINE=ruby;
  5592. export RUBY_VERSION=2.4.5;
  5593. export GEM_ROOT="/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0";'
  5594. +++ export RUBY_ENGINE=ruby
  5595. +++ RUBY_ENGINE=ruby
  5596. +++ export RUBY_VERSION=2.4.5
  5597. +++ RUBY_VERSION=2.4.5
  5598. +++ export GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
  5599. +++ GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
  5600. ++ (( 0 != 0 ))
  5601. + cd /var/app/ondeck
  5602. + su -s /bin/bash -c 'bundle exec /opt/elasticbeanstalk/support/scripts/check-for-rake-task.rb assets:precompile' webapp
  5603. `/home/webapp` is not a directory.
  5604. Bundler will use `/tmp/bundler/home/webapp' as your home directory temporarily.
  5605. + '[' false == true ']'
  5606. + su -s /bin/bash -c 'bundle exec rake assets:precompile' webapp
  5607. `/home/webapp` is not a directory.
  5608. Bundler will use `/tmp/bundler/home/webapp' as your home directory temporarily.
  5609. DEPRECATION WARNING: `config.static_cache_control` is deprecated and will be removed in Rails 5.1.
  5610. Please use
  5611. `config.public_file_server.headers = { 'Cache-Control' => 'public, max-age=2592000' }`
  5612. instead.
  5613. (called from block in <top (required)> at /var/app/ondeck/config/environments/production.rb:28)
  5614. intializing git
  5615. error: could not lock config file /home/webapp/.gitconfig: No such file or directory
  5616. sh: line 0: cd: /home/webapp: No such file or directory
  5617. I, [2019-01-27T12:01:12.573084 #11282] INFO -- : Writing /var/app/ondeck/public/assets/active_admin-6f1b843b5bbbbe3257701ffd3bd6475c519e5523a0e1604f9c9af6ec18e4ad25.css
  5618. I, [2019-01-27T12:01:12.573421 #11282] INFO -- : Writing /var/app/ondeck/public/assets/active_admin-6f1b843b5bbbbe3257701ffd3bd6475c519e5523a0e1604f9c9af6ec18e4ad25.css.gz
  5619. I, [2019-01-27T12:01:12.573735 #11282] INFO -- : Writing /var/app/ondeck/public/assets/active_admin/nested_menu_arrow-15084d93c65c1964d7077700ea748bd2d70cfa2d4c19707c58a9c64e232dd442.gif
  5620. I, [2019-01-27T12:01:12.574061 #11282] INFO -- : Writing /var/app/ondeck/public/assets/active_admin/nested_menu_arrow_dark-7c43b8e0a5f8823875f49a093c9d7a6b374f885b6f9cc248ae9cd7e6e9b29034.gif
  5621. I, [2019-01-27T12:01:12.574317 #11282] INFO -- : Writing /var/app/ondeck/public/assets/active_admin/orderable-29374dbb55b0012d78a37c614d573bb3474f0779849b478a147d0f1845ca6617.png
  5622. I, [2019-01-27T12:01:12.764573 #11282] INFO -- : Writing /var/app/ondeck/public/assets/active_admin/print-cf99cbf27fb92065a9eacd28e6fad48fa72cadaf6e0918790e8d35b11d8f99f6.css
  5623. I, [2019-01-27T12:01:12.764965 #11282] INFO -- : Writing /var/app/ondeck/public/assets/active_admin/print-cf99cbf27fb92065a9eacd28e6fad48fa72cadaf6e0918790e8d35b11d8f99f6.css.gz
  5624. I, [2019-01-27T12:01:22.766581 #11282] INFO -- : Writing /var/app/ondeck/public/assets/active_admin-aad478f9674ed0cc76f83512b458a5e516b90e017d64c576f5f9eaf05ea52b38.js
  5625. I, [2019-01-27T12:01:22.767113 #11282] INFO -- : Writing /var/app/ondeck/public/assets/active_admin-aad478f9674ed0cc76f83512b458a5e516b90e017d64c576f5f9eaf05ea52b38.js.gz
  5626. I, [2019-01-27T12:01:22.775965 #11282] INFO -- : Writing /var/app/ondeck/public/assets/danger-869dd8b0616e1a5b646dc898db2a5d6428f45fe14a90fa6d0c7130f64d886c48.png
  5627. I, [2019-01-27T12:01:22.778146 #11282] INFO -- : Writing /var/app/ondeck/public/assets/dark-607bed84e53ccb497978bd3ae9e51d4b57de94e954da4e8e1ec5b51a78d8898e.png
  5628. I, [2019-01-27T12:01:22.780255 #11282] INFO -- : Writing /var/app/ondeck/public/assets/do-e798277592b8fde73e6568cdde6687220f6d2a83f53250c561edf11619d5b1c1.jpg
  5629. I, [2019-01-27T12:01:22.784570 #11282] INFO -- : Writing /var/app/ondeck/public/assets/favicon-21c44bf091fb9557f8a4527913b0254924fc136d6e71dcee1676b7f37c8175ef.ico
  5630. I, [2019-01-27T12:01:22.784864 #11282] INFO -- : Writing /var/app/ondeck/public/assets/favicon-21c44bf091fb9557f8a4527913b0254924fc136d6e71dcee1676b7f37c8175ef.ico.gz
  5631. I, [2019-01-27T12:01:22.789693 #11282] INFO -- : Writing /var/app/ondeck/public/assets/home-f3281914e0ac5072115e9ba6f458cec56ad002cc5e65ca75988afc86af858e01.jpg
  5632. I, [2019-01-27T12:01:22.795855 #11282] INFO -- : Writing /var/app/ondeck/public/assets/info-967cdd33af0671563a0e72bed22f1cddb95a138e241dffbd5013750360bf7113.png
  5633. I, [2019-01-27T12:01:22.798032 #11282] INFO -- : Writing /var/app/ondeck/public/assets/primary-093ae3386f858ff56855e5c8a09137d4ce87c2c7aa2b152af81eac5d7667a98d.png
  5634. I, [2019-01-27T12:01:22.800553 #11282] INFO -- : Writing /var/app/ondeck/public/assets/secondary-1c1a37a441b0e6f6ca2bfb1435df8f1160a0e4ec1db5798a5e5a72374172942c.png
  5635. I, [2019-01-27T12:01:22.805221 #11282] INFO -- : Writing /var/app/ondeck/public/assets/success-5a1b362ddb5e5ed6131beffc575d91a3615864b678d24706bff24b055b6a594c.png
  5636. I, [2019-01-27T12:01:22.807523 #11282] INFO -- : Writing /var/app/ondeck/public/assets/warning-a3e35927fa71a99455166de5b62a03122ffb5287e33c9ed2c42532622f543fa5.png
  5637. I, [2019-01-27T12:01:28.401160 #11282] INFO -- : Writing /var/app/ondeck/public/assets/application-5770a9512b971d7fb2a232494ee2a78c8f1d383bfc452a26a9dea3a712e6c3b2.js
  5638. I, [2019-01-27T12:01:28.401634 #11282] INFO -- : Writing /var/app/ondeck/public/assets/application-5770a9512b971d7fb2a232494ee2a78c8f1d383bfc452a26a9dea3a712e6c3b2.js.gz
  5639. I, [2019-01-27T12:01:31.842785 #11282] INFO -- : Writing /var/app/ondeck/public/assets/application-da22e659ddaed5260aa445b696e4e8945e554c6c97884a0be799b74eb511ccf3.css
  5640. I, [2019-01-27T12:01:31.843240 #11282] INFO -- : Writing /var/app/ondeck/public/assets/application-da22e659ddaed5260aa445b696e4e8945e554c6c97884a0be799b74eb511ccf3.css.gz
  5641. [2019-01-27T12:01:31.887Z] INFO [11137] - [Application update app-5d82-190127_173046@20/AppDeployStage0/AppDeployPreHook/12_db_migration.sh] : Starting activity...
  5642. [2019-01-27T12:01:35.927Z] INFO [11137] - [Application update app-5d82-190127_173046@20/AppDeployStage0/AppDeployPreHook/12_db_migration.sh] : Activity execution failed, because: ++ /opt/elasticbeanstalk/bin/get-config container -k script_dir
  5643. + EB_SCRIPT_DIR=/opt/elasticbeanstalk/support/scripts
  5644. ++ /opt/elasticbeanstalk/bin/get-config container -k app_staging_dir
  5645. + EB_APP_STAGING_DIR=/var/app/ondeck
  5646. ++ /opt/elasticbeanstalk/bin/get-config container -k app_user
  5647. + EB_APP_USER=webapp
  5648. ++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
  5649. + EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
  5650. + . /opt/elasticbeanstalk/support/envvars-wrapper.sh
  5651. +++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
  5652. ++ EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
  5653. ++ set +x
  5654. + RAKE_TASK=db:migrate
  5655. + . /opt/elasticbeanstalk/support/scripts/use-app-ruby.sh
  5656. ++ . /usr/local/share/chruby/chruby.sh
  5657. +++ CHRUBY_VERSION=0.3.9
  5658. +++ RUBIES=()
  5659. +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
  5660. +++ [[ -d /opt/rubies ]]
  5661. ++++ ls -A /opt/rubies
  5662. +++ [[ -n ruby-1.9.3-p551
  5663. ruby-2.0.0-p648
  5664. ruby-2.1.10
  5665. ruby-2.2.10
  5666. ruby-2.3.8
  5667. ruby-2.4.5
  5668. ruby-2.5.3
  5669. ruby-2.6.0
  5670. ruby-current ]]
  5671. +++ RUBIES+=("$dir"/*)
  5672. +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
  5673. +++ [[ -d /.rubies ]]
  5674. +++ unset dir
  5675. +++ cat /etc/elasticbeanstalk/.ruby_version
  5676. ++ chruby 2.4.5
  5677. ++ case "$1" in
  5678. ++ local dir match
  5679. ++ for dir in '"${RUBIES[@]}"'
  5680. ++ dir=/opt/rubies/ruby-1.9.3-p551
  5681. ++ case "${dir##*/}" in
  5682. ++ for dir in '"${RUBIES[@]}"'
  5683. ++ dir=/opt/rubies/ruby-2.0.0-p648
  5684. ++ case "${dir##*/}" in
  5685. ++ for dir in '"${RUBIES[@]}"'
  5686. ++ dir=/opt/rubies/ruby-2.1.10
  5687. ++ case "${dir##*/}" in
  5688. ++ for dir in '"${RUBIES[@]}"'
  5689. ++ dir=/opt/rubies/ruby-2.2.10
  5690. ++ case "${dir##*/}" in
  5691. ++ for dir in '"${RUBIES[@]}"'
  5692. ++ dir=/opt/rubies/ruby-2.3.8
  5693. ++ case "${dir##*/}" in
  5694. ++ for dir in '"${RUBIES[@]}"'
  5695. ++ dir=/opt/rubies/ruby-2.4.5
  5696. ++ case "${dir##*/}" in
  5697. ++ match=/opt/rubies/ruby-2.4.5
  5698. ++ for dir in '"${RUBIES[@]}"'
  5699. ++ dir=/opt/rubies/ruby-2.5.3
  5700. ++ case "${dir##*/}" in
  5701. ++ for dir in '"${RUBIES[@]}"'
  5702. ++ dir=/opt/rubies/ruby-2.6.0
  5703. ++ case "${dir##*/}" in
  5704. ++ for dir in '"${RUBIES[@]}"'
  5705. ++ dir=/opt/rubies/ruby-current
  5706. ++ case "${dir##*/}" in
  5707. ++ [[ -z /opt/rubies/ruby-2.4.5 ]]
  5708. ++ shift
  5709. ++ chruby_use /opt/rubies/ruby-2.4.5 ''
  5710. ++ [[ ! -x /opt/rubies/ruby-2.4.5/bin/ruby ]]
  5711. ++ [[ -n '' ]]
  5712. ++ export RUBY_ROOT=/opt/rubies/ruby-2.4.5
  5713. ++ RUBY_ROOT=/opt/rubies/ruby-2.4.5
  5714. ++ export RUBYOPT=
  5715. ++ RUBYOPT=
  5716. ++ export PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
  5717. ++ PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
  5718. +++ /opt/rubies/ruby-2.4.5/bin/ruby -
  5719. ++ eval 'export RUBY_ENGINE=ruby;
  5720. export RUBY_VERSION=2.4.5;
  5721. export GEM_ROOT="/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0";'
  5722. +++ export RUBY_ENGINE=ruby
  5723. +++ RUBY_ENGINE=ruby
  5724. +++ export RUBY_VERSION=2.4.5
  5725. +++ RUBY_VERSION=2.4.5
  5726. +++ export GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
  5727. +++ GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
  5728. ++ (( 0 != 0 ))
  5729. + cd /var/app/ondeck
  5730. + su -s /bin/bash -c 'bundle exec /opt/elasticbeanstalk/support/scripts/check-for-rake-task.rb db:migrate' webapp
  5731. `/home/webapp` is not a directory.
  5732. Bundler will use `/tmp/bundler/home/webapp' as your home directory temporarily.
  5733. + '[' false = true ']'
  5734. + su -s /bin/bash -c 'leader_only bundle exec rake db:migrate' webapp
  5735. `/home/webapp` is not a directory.
  5736. Bundler will use `/tmp/bundler/home/webapp' as your home directory temporarily.
  5737. DEPRECATION WARNING: `config.static_cache_control` is deprecated and will be removed in Rails 5.1.
  5738. Please use
  5739. `config.public_file_server.headers = { 'Cache-Control' => 'public, max-age=2592000' }`
  5740. instead.
  5741. (called from block in <top (required)> at /var/app/ondeck/config/environments/production.rb:28)
  5742. intializing git
  5743. error: could not lock config file /home/webapp/.gitconfig: No such file or directory
  5744. sh: line 0: cd: /home/webapp: No such file or directory
  5745. rake aborted!
  5746. PG::ConnectionBad: FATAL: password authentication failed for user "justine"
  5747. FATAL: password authentication failed for user "justine"
  5748. /opt/rubies/ruby-2.4.5/bin/bundle:23:in `load'
  5749. /opt/rubies/ruby-2.4.5/bin/bundle:23:in `<main>'
  5750. Tasks: TOP => db:migrate
  5751. (See full trace by running task with --trace) (ElasticBeanstalk::ExternalInvocationError)
  5752. caused by: ++ /opt/elasticbeanstalk/bin/get-config container -k script_dir
  5753. + EB_SCRIPT_DIR=/opt/elasticbeanstalk/support/scripts
  5754. ++ /opt/elasticbeanstalk/bin/get-config container -k app_staging_dir
  5755. + EB_APP_STAGING_DIR=/var/app/ondeck
  5756. ++ /opt/elasticbeanstalk/bin/get-config container -k app_user
  5757. + EB_APP_USER=webapp
  5758. ++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
  5759. + EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
  5760. + . /opt/elasticbeanstalk/support/envvars-wrapper.sh
  5761. +++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
  5762. ++ EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
  5763. ++ set +x
  5764. + RAKE_TASK=db:migrate
  5765. + . /opt/elasticbeanstalk/support/scripts/use-app-ruby.sh
  5766. ++ . /usr/local/share/chruby/chruby.sh
  5767. +++ CHRUBY_VERSION=0.3.9
  5768. +++ RUBIES=()
  5769. +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
  5770. +++ [[ -d /opt/rubies ]]
  5771. ++++ ls -A /opt/rubies
  5772. +++ [[ -n ruby-1.9.3-p551
  5773. ruby-2.0.0-p648
  5774. ruby-2.1.10
  5775. ruby-2.2.10
  5776. ruby-2.3.8
  5777. ruby-2.4.5
  5778. ruby-2.5.3
  5779. ruby-2.6.0
  5780. ruby-current ]]
  5781. +++ RUBIES+=("$dir"/*)
  5782. +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
  5783. +++ [[ -d /.rubies ]]
  5784. +++ unset dir
  5785. +++ cat /etc/elasticbeanstalk/.ruby_version
  5786. ++ chruby 2.4.5
  5787. ++ case "$1" in
  5788. ++ local dir match
  5789. ++ for dir in '"${RUBIES[@]}"'
  5790. ++ dir=/opt/rubies/ruby-1.9.3-p551
  5791. ++ case "${dir##*/}" in
  5792. ++ for dir in '"${RUBIES[@]}"'
  5793. ++ dir=/opt/rubies/ruby-2.0.0-p648
  5794. ++ case "${dir##*/}" in
  5795. ++ for dir in '"${RUBIES[@]}"'
  5796. ++ dir=/opt/rubies/ruby-2.1.10
  5797. ++ case "${dir##*/}" in
  5798. ++ for dir in '"${RUBIES[@]}"'
  5799. ++ dir=/opt/rubies/ruby-2.2.10
  5800. ++ case "${dir##*/}" in
  5801. ++ for dir in '"${RUBIES[@]}"'
  5802. ++ dir=/opt/rubies/ruby-2.3.8
  5803. ++ case "${dir##*/}" in
  5804. ++ for dir in '"${RUBIES[@]}"'
  5805. ++ dir=/opt/rubies/ruby-2.4.5
  5806. ++ case "${dir##*/}" in
  5807. ++ match=/opt/rubies/ruby-2.4.5
  5808. ++ for dir in '"${RUBIES[@]}"'
  5809. ++ dir=/opt/rubies/ruby-2.5.3
  5810. ++ case "${dir##*/}" in
  5811. ++ for dir in '"${RUBIES[@]}"'
  5812. ++ dir=/opt/rubies/ruby-2.6.0
  5813. ++ case "${dir##*/}" in
  5814. ++ for dir in '"${RUBIES[@]}"'
  5815. ++ dir=/opt/rubies/ruby-current
  5816. ++ case "${dir##*/}" in
  5817. ++ [[ -z /opt/rubies/ruby-2.4.5 ]]
  5818. ++ shift
  5819. ++ chruby_use /opt/rubies/ruby-2.4.5 ''
  5820. ++ [[ ! -x /opt/rubies/ruby-2.4.5/bin/ruby ]]
  5821. ++ [[ -n '' ]]
  5822. ++ export RUBY_ROOT=/opt/rubies/ruby-2.4.5
  5823. ++ RUBY_ROOT=/opt/rubies/ruby-2.4.5
  5824. ++ export RUBYOPT=
  5825. ++ RUBYOPT=
  5826. ++ export PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
  5827. ++ PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
  5828. +++ /opt/rubies/ruby-2.4.5/bin/ruby -
  5829. ++ eval 'export RUBY_ENGINE=ruby;
  5830. export RUBY_VERSION=2.4.5;
  5831. export GEM_ROOT="/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0";'
  5832. +++ export RUBY_ENGINE=ruby
  5833. +++ RUBY_ENGINE=ruby
  5834. +++ export RUBY_VERSION=2.4.5
  5835. +++ RUBY_VERSION=2.4.5
  5836. +++ export GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
  5837. +++ GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
  5838. ++ (( 0 != 0 ))
  5839. + cd /var/app/ondeck
  5840. + su -s /bin/bash -c 'bundle exec /opt/elasticbeanstalk/support/scripts/check-for-rake-task.rb db:migrate' webapp
  5841. `/home/webapp` is not a directory.
  5842. Bundler will use `/tmp/bundler/home/webapp' as your home directory temporarily.
  5843. + '[' false = true ']'
  5844. + su -s /bin/bash -c 'leader_only bundle exec rake db:migrate' webapp
  5845. `/home/webapp` is not a directory.
  5846. Bundler will use `/tmp/bundler/home/webapp' as your home directory temporarily.
  5847. DEPRECATION WARNING: `config.static_cache_control` is deprecated and will be removed in Rails 5.1.
  5848. Please use
  5849. `config.public_file_server.headers = { 'Cache-Control' => 'public, max-age=2592000' }`
  5850. instead.
  5851. (called from block in <top (required)> at /var/app/ondeck/config/environments/production.rb:28)
  5852. intializing git
  5853. error: could not lock config file /home/webapp/.gitconfig: No such file or directory
  5854. sh: line 0: cd: /home/webapp: No such file or directory
  5855. rake aborted!
  5856. PG::ConnectionBad: FATAL: password authentication failed for user "justine"
  5857. FATAL: password authentication failed for user "justine"
  5858. /opt/rubies/ruby-2.4.5/bin/bundle:23:in `load'
  5859. /opt/rubies/ruby-2.4.5/bin/bundle:23:in `<main>'
  5860. Tasks: TOP => db:migrate
  5861. (See full trace by running task with --trace) (Executor::NonZeroExitStatus)
  5862.  
  5863.  
  5864. [2019-01-27T12:01:35.927Z] INFO [11137] - [Application update app-5d82-190127_173046@20/AppDeployStage0/AppDeployPreHook/12_db_migration.sh] : Activity failed.
  5865. [2019-01-27T12:01:35.927Z] INFO [11137] - [Application update app-5d82-190127_173046@20/AppDeployStage0/AppDeployPreHook] : Activity failed.
  5866. [2019-01-27T12:01:35.927Z] INFO [11137] - [Application update app-5d82-190127_173046@20/AppDeployStage0] : Activity failed.
  5867. [2019-01-27T12:01:35.928Z] INFO [11137] - [Application update app-5d82-190127_173046@20] : Completed activity. Result:
  5868. Application update - Command CMD-AppDeploy failed
  5869. [2019-01-27T12:03:24.993Z] INFO [11513] - [Application update app-d343-190127_173307@21] : Starting activity...
  5870. [2019-01-27T12:03:24.994Z] INFO [11513] - [Application update app-d343-190127_173307@21/AddonsBefore] : Starting activity...
  5871. [2019-01-27T12:03:24.994Z] INFO [11513] - [Application update app-d343-190127_173307@21/AddonsBefore/ConfigCWLAgent] : Starting activity...
  5872. [2019-01-27T12:03:24.994Z] INFO [11513] - [Application update app-d343-190127_173307@21/AddonsBefore/ConfigCWLAgent/10-config.sh] : Starting activity...
  5873. [2019-01-27T12:03:25.115Z] INFO [11513] - [Application update app-d343-190127_173307@21/AddonsBefore/ConfigCWLAgent/10-config.sh] : Completed activity. Result:
  5874. Log streaming option setting is not specified, ignore cloudwatch logs setup.
  5875.  
  5876. Disabled log streaming.
  5877. [2019-01-27T12:03:25.115Z] INFO [11513] - [Application update app-d343-190127_173307@21/AddonsBefore/ConfigCWLAgent] : Completed activity. Result:
  5878. Successfully execute hooks in directory /opt/elasticbeanstalk/addons/logstreaming/hooks/config.
  5879. [2019-01-27T12:03:25.115Z] INFO [11513] - [Application update app-d343-190127_173307@21/AddonsBefore] : Completed activity.
  5880. [2019-01-27T12:03:25.508Z] INFO [11513] - [Application update app-d343-190127_173307@21/AppDeployStage0] : Starting activity...
  5881. [2019-01-27T12:03:25.508Z] INFO [11513] - [Application update app-d343-190127_173307@21/AppDeployStage0/DownloadSourceBundle] : Starting activity...
  5882. [2019-01-27T12:03:25.962Z] INFO [11513] - [Application update app-d343-190127_173307@21/AppDeployStage0/DownloadSourceBundle] : Completed activity. Result:
  5883. [2019-01-27T12:03:25.612Z] INFO [11556] : Application version will be saved to /opt/elasticbeanstalk/deploy/appsource.
  5884. [2019-01-27T12:03:25.612Z] INFO [11556] : Using manifest cache with deployment ID 21 and serial 29.
  5885. [2019-01-27T12:03:25.612Z] INFO [11556] : Attempting to download application source bundle to: '/opt/elasticbeanstalk/deploy/appsource/source_bundle'.
  5886. [2019-01-27T12:03:25.612Z] INFO [11556] : Using computed s3 key.
  5887. [2019-01-27T12:03:25.729Z] INFO [11556] : Downloading from bucket 'elasticbeanstalk-us-east-2-387358288273' with key 'resources/environments/e-sv4jqab3r8/_runtime/_versions/test/app-d343-190127_173307' and version '' to '/opt/elasticbeanstalk/deploy/appsource/source_bundle'.
  5888. [2019-01-27T12:03:25.780Z] INFO [11556] : Size: 9504942, ETag: "253543c524ce1c4abba7f7a6e093b3b5", Metadata: {"environmentid"=>"e-sv4jqab3r8", "requestid"=>"efe29c47-1059-4254-8d91-f5911d474123"}.
  5889. [2019-01-27T12:03:25.953Z] INFO [11556] : Downloaded size: 9504942.
  5890. [2019-01-27T12:03:25.953Z] INFO [11556] : Successfully downloaded to '/opt/elasticbeanstalk/deploy/appsource/source_bundle'.
  5891. [2019-01-27T12:03:25.962Z] INFO [11513] - [Application update app-d343-190127_173307@21/AppDeployStage0/EbExtensionPreBuild] : Starting activity...
  5892. [2019-01-27T12:03:26.313Z] INFO [11513] - [Application update app-d343-190127_173307@21/AppDeployStage0/EbExtensionPreBuild/Infra-EmbeddedPreBuild] : Starting activity...
  5893. [2019-01-27T12:03:26.316Z] INFO [11513] - [Application update app-d343-190127_173307@21/AppDeployStage0/EbExtensionPreBuild/Infra-EmbeddedPreBuild/prebuild_0_test] : Starting activity...
  5894. [2019-01-27T12:03:26.316Z] INFO [11513] - [Application update app-d343-190127_173307@21/AppDeployStage0/EbExtensionPreBuild/Infra-EmbeddedPreBuild/prebuild_0_test] : Completed activity.
  5895. [2019-01-27T12:03:26.316Z] INFO [11513] - [Application update app-d343-190127_173307@21/AppDeployStage0/EbExtensionPreBuild/Infra-EmbeddedPreBuild] : Completed activity.
  5896. [2019-01-27T12:03:26.690Z] INFO [11513] - [Application update app-d343-190127_173307@21/AppDeployStage0/EbExtensionPreBuild] : Completed activity.
  5897. [2019-01-27T12:03:26.690Z] INFO [11513] - [Application update app-d343-190127_173307@21/AppDeployStage0/AppDeployPreHook] : Starting activity...
  5898. [2019-01-27T12:03:26.691Z] INFO [11513] - [Application update app-d343-190127_173307@21/AppDeployStage0/AppDeployPreHook/01_configure_xray.sh] : Starting activity...
  5899. [2019-01-27T12:03:26.800Z] INFO [11513] - [Application update app-d343-190127_173307@21/AppDeployStage0/AppDeployPreHook/01_configure_xray.sh] : Completed activity.
  5900. [2019-01-27T12:03:26.800Z] INFO [11513] - [Application update app-d343-190127_173307@21/AppDeployStage0/AppDeployPreHook/01_unzip.rb] : Starting activity...
  5901. [2019-01-27T12:03:27.356Z] INFO [11513] - [Application update app-d343-190127_173307@21/AppDeployStage0/AppDeployPreHook/01_unzip.rb] : Completed activity.
  5902. [2019-01-27T12:03:27.357Z] INFO [11513] - [Application update app-d343-190127_173307@21/AppDeployStage0/AppDeployPreHook/02_setup_envvars.sh] : Starting activity...
  5903. [2019-01-27T12:03:27.580Z] INFO [11513] - [Application update app-d343-190127_173307@21/AppDeployStage0/AppDeployPreHook/02_setup_envvars.sh] : Completed activity. Result:
  5904. ++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
  5905. + EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
  5906. + /opt/elasticbeanstalk/support/export_envvars
  5907. [2019-01-27T12:03:27.581Z] INFO [11513] - [Application update app-d343-190127_173307@21/AppDeployStage0/AppDeployPreHook/10_bundle_install.sh] : Starting activity...
  5908. [2019-01-27T12:03:28.452Z] INFO [11513] - [Application update app-d343-190127_173307@21/AppDeployStage0/AppDeployPreHook/10_bundle_install.sh] : Completed activity. Result:
  5909. ++ /opt/elasticbeanstalk/bin/get-config container -k script_dir
  5910. + EB_SCRIPT_DIR=/opt/elasticbeanstalk/support/scripts
  5911. ++ /opt/elasticbeanstalk/bin/get-config container -k app_staging_dir
  5912. + EB_APP_STAGING_DIR=/var/app/ondeck
  5913. ++ /opt/elasticbeanstalk/bin/get-config container -k app_user
  5914. + EB_APP_USER=webapp
  5915. ++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
  5916. + EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
  5917. + . /opt/elasticbeanstalk/support/envvars-wrapper.sh
  5918. +++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
  5919. ++ EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
  5920. ++ set +x
  5921. + . /opt/elasticbeanstalk/support/scripts/use-app-ruby.sh
  5922. ++ . /usr/local/share/chruby/chruby.sh
  5923. +++ CHRUBY_VERSION=0.3.9
  5924. +++ RUBIES=()
  5925. +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
  5926. +++ [[ -d /opt/rubies ]]
  5927. ++++ ls -A /opt/rubies
  5928. +++ [[ -n ruby-1.9.3-p551
  5929. ruby-2.0.0-p648
  5930. ruby-2.1.10
  5931. ruby-2.2.10
  5932. ruby-2.3.8
  5933. ruby-2.4.5
  5934. ruby-2.5.3
  5935. ruby-2.6.0
  5936. ruby-current ]]
  5937. +++ RUBIES+=("$dir"/*)
  5938. +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
  5939. +++ [[ -d /.rubies ]]
  5940. +++ unset dir
  5941. +++ cat /etc/elasticbeanstalk/.ruby_version
  5942. ++ chruby 2.4.5
  5943. ++ case "$1" in
  5944. ++ local dir match
  5945. ++ for dir in '"${RUBIES[@]}"'
  5946. ++ dir=/opt/rubies/ruby-1.9.3-p551
  5947. ++ case "${dir##*/}" in
  5948. ++ for dir in '"${RUBIES[@]}"'
  5949. ++ dir=/opt/rubies/ruby-2.0.0-p648
  5950. ++ case "${dir##*/}" in
  5951. ++ for dir in '"${RUBIES[@]}"'
  5952. ++ dir=/opt/rubies/ruby-2.1.10
  5953. ++ case "${dir##*/}" in
  5954. ++ for dir in '"${RUBIES[@]}"'
  5955. ++ dir=/opt/rubies/ruby-2.2.10
  5956. ++ case "${dir##*/}" in
  5957. ++ for dir in '"${RUBIES[@]}"'
  5958. ++ dir=/opt/rubies/ruby-2.3.8
  5959. ++ case "${dir##*/}" in
  5960. ++ for dir in '"${RUBIES[@]}"'
  5961. ++ dir=/opt/rubies/ruby-2.4.5
  5962. ++ case "${dir##*/}" in
  5963. ++ match=/opt/rubies/ruby-2.4.5
  5964. ++ for dir in '"${RUBIES[@]}"'
  5965. ++ dir=/opt/rubies/ruby-2.5.3
  5966. ++ case "${dir##*/}" in
  5967. ++ for dir in '"${RUBIES[@]}"'
  5968. ++ dir=/opt/rubies/ruby-2.6.0
  5969. ++ case "${dir##*/}" in
  5970. ++ for dir in '"${RUBIES[@]}"'
  5971. ++ dir=/opt/rubies/ruby-current
  5972. ++ case "${dir##*/}" in
  5973. ++ [[ -z /opt/rubies/ruby-2.4.5 ]]
  5974. ++ shift
  5975. ++ chruby_use /opt/rubies/ruby-2.4.5 ''
  5976. ++ [[ ! -x /opt/rubies/ruby-2.4.5/bin/ruby ]]
  5977. ++ [[ -n '' ]]
  5978. ++ export RUBY_ROOT=/opt/rubies/ruby-2.4.5
  5979. ++ RUBY_ROOT=/opt/rubies/ruby-2.4.5
  5980. ++ export RUBYOPT=
  5981. ++ RUBYOPT=
  5982. ++ export PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
  5983. ++ PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
  5984. +++ /opt/rubies/ruby-2.4.5/bin/ruby -
  5985. ++ eval 'export RUBY_ENGINE=ruby;
  5986. export RUBY_VERSION=2.4.5;
  5987. export GEM_ROOT="/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0";'
  5988. +++ export RUBY_ENGINE=ruby
  5989. +++ RUBY_ENGINE=ruby
  5990. +++ export RUBY_VERSION=2.4.5
  5991. +++ RUBY_VERSION=2.4.5
  5992. +++ export GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
  5993. +++ GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
  5994. ++ (( 0 != 0 ))
  5995. + cd /var/app/ondeck
  5996. + '[' -f Gemfile ']'
  5997. + echo 'running '\''bundle install'\'' with Gemfile:'
  5998. running 'bundle install' with Gemfile:
  5999. + cat Gemfile
  6000. source 'https://rubygems.org'
  6001.  
  6002.  
  6003. # Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
  6004. gem 'rails', '~> 5.0.0', '>= 5.0.0.1'
  6005.  
  6006.  
  6007. # sqlite3 fails on heroku
  6008. # group :development do
  6009. # gem 'sqlite3' #gem to use in development environment
  6010. # end
  6011. # gem 'sqlite3'
  6012. # group :production do
  6013. gem 'pg', '~> 0.20.0' #gem to use in production environment
  6014. # end
  6015. gem 'will_paginate', '~> 3.1.0'
  6016. gem 'simple_form'
  6017. gem 'bootstrap-sass'
  6018. gem 'devise'
  6019. gem 'nested_scaffold'
  6020. # Use Puma as the app server
  6021. gem 'puma', '~> 3.0'
  6022. # Use SCSS for stylesheets
  6023. gem 'sass-rails', '~> 5.0'
  6024. # Use Uglifier as compressor for JavaScript assets
  6025. gem 'uglifier', '>= 1.3.0'
  6026. # Use CoffeeScript for .coffee assets and views
  6027. gem 'coffee-rails', '~> 4.2'
  6028. # See https://github.com/rails/execjs#readme for more supported runtimes
  6029. # gem 'therubyracer', platforms: :ruby
  6030.  
  6031. # Use jquery as the JavaScript library
  6032. gem 'jquery-rails'
  6033. # Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks
  6034. gem 'turbolinks', '~> 5'
  6035. # Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
  6036. gem 'jbuilder', '~> 2.5'
  6037. # Use Redis adapter to run Action Cable in production
  6038. # gem 'redis', '~> 3.0'
  6039. # Use ActiveModel has_secure_password
  6040. # gem 'bcrypt', '~> 3.1.7'
  6041.  
  6042. # Use Capistrano for deployment
  6043. # gem 'capistrano-rails', group: :development
  6044.  
  6045. group :development, :test do
  6046. # Call 'byebug' anywhere in the code to stop execution and get a debugger console
  6047. gem 'byebug', platform: :mri
  6048. end
  6049.  
  6050. group :development do
  6051. # Access an IRB console on exception pages or by using <%= console %> anywhere in the code.
  6052. gem 'web-console'
  6053. end
  6054.  
  6055. # Windows does not include zoneinfo files, so bundle the tzinfo-data gem
  6056. gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
  6057.  
  6058. gem 'activeadmin'
  6059. + '[' -d /var/app/ondeck/vendor/cache ']'
  6060. + bundle install
  6061. Don't run Bundler as root. Bundler can ask for sudo if it is needed, and
  6062. installing your bundle as root will break this application for all non-root
  6063. users on this machine.
  6064. Warning: the running version of Bundler (1.16.2) is older than the version that created the lockfile (1.16.3). We suggest you upgrade to the latest version of Bundler by running `gem install bundler`.
  6065. Using rake 12.3.2
  6066. Using concurrent-ruby 1.1.4
  6067. Using i18n 1.5.3
  6068. Using minitest 5.11.3
  6069. Using thread_safe 0.3.6
  6070. Using tzinfo 1.2.5
  6071. Using activesupport 5.0.7.1
  6072. Using builder 3.2.3
  6073. Using erubis 2.7.0
  6074. Using mini_portile2 2.4.0
  6075. Using nokogiri 1.10.1
  6076. Using rails-dom-testing 2.0.3
  6077. Using crass 1.0.4
  6078. Using loofah 2.2.3
  6079. Using rails-html-sanitizer 1.0.4
  6080. Using actionview 5.0.7.1
  6081. Using rack 2.0.6
  6082. Using rack-test 0.6.3
  6083. Using actionpack 5.0.7.1
  6084. Using nio4r 2.3.1
  6085. Using websocket-extensions 0.1.3
  6086. Using websocket-driver 0.6.5
  6087. Using actioncable 5.0.7.1
  6088. Using globalid 0.4.2
  6089. Using activejob 5.0.7.1
  6090. Using mini_mime 1.0.1
  6091. Using mail 2.7.1
  6092. Using actionmailer 5.0.7.1
  6093. Using arbre 1.1.1
  6094. Using coffee-script-source 1.12.2
  6095. Using execjs 2.7.0
  6096. Using coffee-script 2.4.1
  6097. Using method_source 0.9.2
  6098. Using thor 0.20.3
  6099. Using railties 5.0.7.1
  6100. Using coffee-rails 4.2.2
  6101. Using formtastic 3.1.5
  6102. Using formtastic_i18n 0.6.0
  6103. Using has_scope 0.7.2
  6104. Using responders 2.4.1
  6105. Using inherited_resources 1.9.0
  6106. Using jquery-rails 4.3.3
  6107. Using kaminari-core 1.1.1
  6108. Using kaminari-actionview 1.1.1
  6109. Using activemodel 5.0.7.1
  6110. Using arel 7.1.4
  6111. Using activerecord 5.0.7.1
  6112. Using kaminari-activerecord 1.1.1
  6113. Using kaminari 1.1.1
  6114. Using ransack 2.1.1
  6115. Using rb-fsevent 0.10.3
  6116. Using ffi 1.9.25
  6117. Using rb-inotify 0.10.0
  6118. Using sass-listen 4.0.0
  6119. Using sass 3.7.3
  6120. Using sprockets 3.7.2
  6121. Using activeadmin 1.4.3
  6122. Using autoprefixer-rails 9.4.6
  6123. Using bcrypt 3.1.12
  6124. Using sassc 2.0.0
  6125. Using bootstrap-sass 3.4.0
  6126. Using bundler 1.16.2
  6127. Using orm_adapter 0.5.0
  6128. Using warden 1.2.8
  6129. Using devise 4.5.0
  6130. Using multi_json 1.13.1
  6131. Using jbuilder 2.8.0
  6132. Using nested_scaffold 1.0.0
  6133. Using pg 0.20.0
  6134. Using puma 3.12.0
  6135. Using sprockets-rails 3.2.1
  6136. Using rails 5.0.7.1
  6137. Using tilt 2.0.9
  6138. Using sass-rails 5.0.7
  6139. Using simple_form 4.1.0
  6140. Using turbolinks-source 5.2.0
  6141. Using turbolinks 5.2.0
  6142. Using uglifier 4.1.20
  6143. Using will_paginate 3.1.6
  6144. Bundle complete! 18 Gemfile dependencies, 79 gems now installed.
  6145. Gems in the groups test and development were not installed.
  6146. Use `bundle info [gemname]` to see where a bundled gem is installed.
  6147. + '[' -f Gemfile.lock ']'
  6148. + echo 'encountered a Gemfile.lock, setting proper permissions'
  6149. encountered a Gemfile.lock, setting proper permissions
  6150. + chown webapp:webapp Gemfile.lock
  6151. + '[' '' = 1 ']'
  6152. [2019-01-27T12:03:28.452Z] INFO [11513] - [Application update app-d343-190127_173307@21/AppDeployStage0/AppDeployPreHook/11_asset_compilation.sh] : Starting activity...
  6153. [2019-01-27T12:03:53.257Z] INFO [11513] - [Application update app-d343-190127_173307@21/AppDeployStage0/AppDeployPreHook/11_asset_compilation.sh] : Completed activity. Result:
  6154. ++ /opt/elasticbeanstalk/bin/get-config container -k script_dir
  6155. + EB_SCRIPT_DIR=/opt/elasticbeanstalk/support/scripts
  6156. ++ /opt/elasticbeanstalk/bin/get-config container -k app_staging_dir
  6157. + EB_APP_STAGING_DIR=/var/app/ondeck
  6158. ++ /opt/elasticbeanstalk/bin/get-config container -k app_user
  6159. + EB_APP_USER=webapp
  6160. ++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
  6161. + EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
  6162. + . /opt/elasticbeanstalk/support/envvars-wrapper.sh
  6163. +++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
  6164. ++ EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
  6165. ++ set +x
  6166. + RAKE_TASK=assets:precompile
  6167. + . /opt/elasticbeanstalk/support/scripts/use-app-ruby.sh
  6168. ++ . /usr/local/share/chruby/chruby.sh
  6169. +++ CHRUBY_VERSION=0.3.9
  6170. +++ RUBIES=()
  6171. +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
  6172. +++ [[ -d /opt/rubies ]]
  6173. ++++ ls -A /opt/rubies
  6174. +++ [[ -n ruby-1.9.3-p551
  6175. ruby-2.0.0-p648
  6176. ruby-2.1.10
  6177. ruby-2.2.10
  6178. ruby-2.3.8
  6179. ruby-2.4.5
  6180. ruby-2.5.3
  6181. ruby-2.6.0
  6182. ruby-current ]]
  6183. +++ RUBIES+=("$dir"/*)
  6184. +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
  6185. +++ [[ -d /.rubies ]]
  6186. +++ unset dir
  6187. +++ cat /etc/elasticbeanstalk/.ruby_version
  6188. ++ chruby 2.4.5
  6189. ++ case "$1" in
  6190. ++ local dir match
  6191. ++ for dir in '"${RUBIES[@]}"'
  6192. ++ dir=/opt/rubies/ruby-1.9.3-p551
  6193. ++ case "${dir##*/}" in
  6194. ++ for dir in '"${RUBIES[@]}"'
  6195. ++ dir=/opt/rubies/ruby-2.0.0-p648
  6196. ++ case "${dir##*/}" in
  6197. ++ for dir in '"${RUBIES[@]}"'
  6198. ++ dir=/opt/rubies/ruby-2.1.10
  6199. ++ case "${dir##*/}" in
  6200. ++ for dir in '"${RUBIES[@]}"'
  6201. ++ dir=/opt/rubies/ruby-2.2.10
  6202. ++ case "${dir##*/}" in
  6203. ++ for dir in '"${RUBIES[@]}"'
  6204. ++ dir=/opt/rubies/ruby-2.3.8
  6205. ++ case "${dir##*/}" in
  6206. ++ for dir in '"${RUBIES[@]}"'
  6207. ++ dir=/opt/rubies/ruby-2.4.5
  6208. ++ case "${dir##*/}" in
  6209. ++ match=/opt/rubies/ruby-2.4.5
  6210. ++ for dir in '"${RUBIES[@]}"'
  6211. ++ dir=/opt/rubies/ruby-2.5.3
  6212. ++ case "${dir##*/}" in
  6213. ++ for dir in '"${RUBIES[@]}"'
  6214. ++ dir=/opt/rubies/ruby-2.6.0
  6215. ++ case "${dir##*/}" in
  6216. ++ for dir in '"${RUBIES[@]}"'
  6217. ++ dir=/opt/rubies/ruby-current
  6218. ++ case "${dir##*/}" in
  6219. ++ [[ -z /opt/rubies/ruby-2.4.5 ]]
  6220. ++ shift
  6221. ++ chruby_use /opt/rubies/ruby-2.4.5 ''
  6222. ++ [[ ! -x /opt/rubies/ruby-2.4.5/bin/ruby ]]
  6223. ++ [[ -n '' ]]
  6224. ++ export RUBY_ROOT=/opt/rubies/ruby-2.4.5
  6225. ++ RUBY_ROOT=/opt/rubies/ruby-2.4.5
  6226. ++ export RUBYOPT=
  6227. ++ RUBYOPT=
  6228. ++ export PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
  6229. ++ PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
  6230. +++ /opt/rubies/ruby-2.4.5/bin/ruby -
  6231. ++ eval 'export RUBY_ENGINE=ruby;
  6232. export RUBY_VERSION=2.4.5;
  6233. export GEM_ROOT="/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0";'
  6234. +++ export RUBY_ENGINE=ruby
  6235. +++ RUBY_ENGINE=ruby
  6236. +++ export RUBY_VERSION=2.4.5
  6237. +++ RUBY_VERSION=2.4.5
  6238. +++ export GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
  6239. +++ GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
  6240. ++ (( 0 != 0 ))
  6241. + cd /var/app/ondeck
  6242. + su -s /bin/bash -c 'bundle exec /opt/elasticbeanstalk/support/scripts/check-for-rake-task.rb assets:precompile' webapp
  6243. `/home/webapp` is not a directory.
  6244. Bundler will use `/tmp/bundler/home/webapp' as your home directory temporarily.
  6245. + '[' false == true ']'
  6246. + su -s /bin/bash -c 'bundle exec rake assets:precompile' webapp
  6247. `/home/webapp` is not a directory.
  6248. Bundler will use `/tmp/bundler/home/webapp' as your home directory temporarily.
  6249. DEPRECATION WARNING: `config.static_cache_control` is deprecated and will be removed in Rails 5.1.
  6250. Please use
  6251. `config.public_file_server.headers = { 'Cache-Control' => 'public, max-age=2592000' }`
  6252. instead.
  6253. (called from block in <top (required)> at /var/app/ondeck/config/environments/production.rb:28)
  6254. intializing git
  6255. error: could not lock config file /home/webapp/.gitconfig: No such file or directory
  6256. sh: line 0: cd: /home/webapp: No such file or directory
  6257. I, [2019-01-27T12:03:34.012417 #11659] INFO -- : Writing /var/app/ondeck/public/assets/active_admin-6f1b843b5bbbbe3257701ffd3bd6475c519e5523a0e1604f9c9af6ec18e4ad25.css
  6258. I, [2019-01-27T12:03:34.012766 #11659] INFO -- : Writing /var/app/ondeck/public/assets/active_admin-6f1b843b5bbbbe3257701ffd3bd6475c519e5523a0e1604f9c9af6ec18e4ad25.css.gz
  6259. I, [2019-01-27T12:03:34.013070 #11659] INFO -- : Writing /var/app/ondeck/public/assets/active_admin/nested_menu_arrow-15084d93c65c1964d7077700ea748bd2d70cfa2d4c19707c58a9c64e232dd442.gif
  6260. I, [2019-01-27T12:03:34.013390 #11659] INFO -- : Writing /var/app/ondeck/public/assets/active_admin/nested_menu_arrow_dark-7c43b8e0a5f8823875f49a093c9d7a6b374f885b6f9cc248ae9cd7e6e9b29034.gif
  6261. I, [2019-01-27T12:03:34.013691 #11659] INFO -- : Writing /var/app/ondeck/public/assets/active_admin/orderable-29374dbb55b0012d78a37c614d573bb3474f0779849b478a147d0f1845ca6617.png
  6262. I, [2019-01-27T12:03:34.203942 #11659] INFO -- : Writing /var/app/ondeck/public/assets/active_admin/print-cf99cbf27fb92065a9eacd28e6fad48fa72cadaf6e0918790e8d35b11d8f99f6.css
  6263. I, [2019-01-27T12:03:34.204326 #11659] INFO -- : Writing /var/app/ondeck/public/assets/active_admin/print-cf99cbf27fb92065a9eacd28e6fad48fa72cadaf6e0918790e8d35b11d8f99f6.css.gz
  6264. I, [2019-01-27T12:03:44.191730 #11659] INFO -- : Writing /var/app/ondeck/public/assets/active_admin-aad478f9674ed0cc76f83512b458a5e516b90e017d64c576f5f9eaf05ea52b38.js
  6265. I, [2019-01-27T12:03:44.192252 #11659] INFO -- : Writing /var/app/ondeck/public/assets/active_admin-aad478f9674ed0cc76f83512b458a5e516b90e017d64c576f5f9eaf05ea52b38.js.gz
  6266. I, [2019-01-27T12:03:44.203026 #11659] INFO -- : Writing /var/app/ondeck/public/assets/danger-869dd8b0616e1a5b646dc898db2a5d6428f45fe14a90fa6d0c7130f64d886c48.png
  6267. I, [2019-01-27T12:03:44.205296 #11659] INFO -- : Writing /var/app/ondeck/public/assets/dark-607bed84e53ccb497978bd3ae9e51d4b57de94e954da4e8e1ec5b51a78d8898e.png
  6268. I, [2019-01-27T12:03:44.207530 #11659] INFO -- : Writing /var/app/ondeck/public/assets/do-e798277592b8fde73e6568cdde6687220f6d2a83f53250c561edf11619d5b1c1.jpg
  6269. I, [2019-01-27T12:03:44.209205 #11659] INFO -- : Writing /var/app/ondeck/public/assets/favicon-21c44bf091fb9557f8a4527913b0254924fc136d6e71dcee1676b7f37c8175ef.ico
  6270. I, [2019-01-27T12:03:44.211247 #11659] INFO -- : Writing /var/app/ondeck/public/assets/favicon-21c44bf091fb9557f8a4527913b0254924fc136d6e71dcee1676b7f37c8175ef.ico.gz
  6271. I, [2019-01-27T12:03:44.214378 #11659] INFO -- : Writing /var/app/ondeck/public/assets/home-f3281914e0ac5072115e9ba6f458cec56ad002cc5e65ca75988afc86af858e01.jpg
  6272. I, [2019-01-27T12:03:44.221130 #11659] INFO -- : Writing /var/app/ondeck/public/assets/info-967cdd33af0671563a0e72bed22f1cddb95a138e241dffbd5013750360bf7113.png
  6273. I, [2019-01-27T12:03:44.226824 #11659] INFO -- : Writing /var/app/ondeck/public/assets/primary-093ae3386f858ff56855e5c8a09137d4ce87c2c7aa2b152af81eac5d7667a98d.png
  6274. I, [2019-01-27T12:03:44.229114 #11659] INFO -- : Writing /var/app/ondeck/public/assets/secondary-1c1a37a441b0e6f6ca2bfb1435df8f1160a0e4ec1db5798a5e5a72374172942c.png
  6275. I, [2019-01-27T12:03:44.231720 #11659] INFO -- : Writing /var/app/ondeck/public/assets/success-5a1b362ddb5e5ed6131beffc575d91a3615864b678d24706bff24b055b6a594c.png
  6276. I, [2019-01-27T12:03:44.233614 #11659] INFO -- : Writing /var/app/ondeck/public/assets/warning-a3e35927fa71a99455166de5b62a03122ffb5287e33c9ed2c42532622f543fa5.png
  6277. I, [2019-01-27T12:03:49.861698 #11659] INFO -- : Writing /var/app/ondeck/public/assets/application-5770a9512b971d7fb2a232494ee2a78c8f1d383bfc452a26a9dea3a712e6c3b2.js
  6278. I, [2019-01-27T12:03:49.862125 #11659] INFO -- : Writing /var/app/ondeck/public/assets/application-5770a9512b971d7fb2a232494ee2a78c8f1d383bfc452a26a9dea3a712e6c3b2.js.gz
  6279. I, [2019-01-27T12:03:53.213872 #11659] INFO -- : Writing /var/app/ondeck/public/assets/application-da22e659ddaed5260aa445b696e4e8945e554c6c97884a0be799b74eb511ccf3.css
  6280. I, [2019-01-27T12:03:53.214326 #11659] INFO -- : Writing /var/app/ondeck/public/assets/application-da22e659ddaed5260aa445b696e4e8945e554c6c97884a0be799b74eb511ccf3.css.gz
  6281. [2019-01-27T12:03:53.257Z] INFO [11513] - [Application update app-d343-190127_173307@21/AppDeployStage0/AppDeployPreHook/12_db_migration.sh] : Starting activity...
  6282. [2019-01-27T12:03:57.374Z] INFO [11513] - [Application update app-d343-190127_173307@21/AppDeployStage0/AppDeployPreHook/12_db_migration.sh] : Completed activity. Result:
  6283. ++ /opt/elasticbeanstalk/bin/get-config container -k script_dir
  6284. + EB_SCRIPT_DIR=/opt/elasticbeanstalk/support/scripts
  6285. ++ /opt/elasticbeanstalk/bin/get-config container -k app_staging_dir
  6286. + EB_APP_STAGING_DIR=/var/app/ondeck
  6287. ++ /opt/elasticbeanstalk/bin/get-config container -k app_user
  6288. + EB_APP_USER=webapp
  6289. ++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
  6290. + EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
  6291. + . /opt/elasticbeanstalk/support/envvars-wrapper.sh
  6292. +++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
  6293. ++ EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
  6294. ++ set +x
  6295. + RAKE_TASK=db:migrate
  6296. + . /opt/elasticbeanstalk/support/scripts/use-app-ruby.sh
  6297. ++ . /usr/local/share/chruby/chruby.sh
  6298. +++ CHRUBY_VERSION=0.3.9
  6299. +++ RUBIES=()
  6300. +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
  6301. +++ [[ -d /opt/rubies ]]
  6302. ++++ ls -A /opt/rubies
  6303. +++ [[ -n ruby-1.9.3-p551
  6304. ruby-2.0.0-p648
  6305. ruby-2.1.10
  6306. ruby-2.2.10
  6307. ruby-2.3.8
  6308. ruby-2.4.5
  6309. ruby-2.5.3
  6310. ruby-2.6.0
  6311. ruby-current ]]
  6312. +++ RUBIES+=("$dir"/*)
  6313. +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
  6314. +++ [[ -d /.rubies ]]
  6315. +++ unset dir
  6316. +++ cat /etc/elasticbeanstalk/.ruby_version
  6317. ++ chruby 2.4.5
  6318. ++ case "$1" in
  6319. ++ local dir match
  6320. ++ for dir in '"${RUBIES[@]}"'
  6321. ++ dir=/opt/rubies/ruby-1.9.3-p551
  6322. ++ case "${dir##*/}" in
  6323. ++ for dir in '"${RUBIES[@]}"'
  6324. ++ dir=/opt/rubies/ruby-2.0.0-p648
  6325. ++ case "${dir##*/}" in
  6326. ++ for dir in '"${RUBIES[@]}"'
  6327. ++ dir=/opt/rubies/ruby-2.1.10
  6328. ++ case "${dir##*/}" in
  6329. ++ for dir in '"${RUBIES[@]}"'
  6330. ++ dir=/opt/rubies/ruby-2.2.10
  6331. ++ case "${dir##*/}" in
  6332. ++ for dir in '"${RUBIES[@]}"'
  6333. ++ dir=/opt/rubies/ruby-2.3.8
  6334. ++ case "${dir##*/}" in
  6335. ++ for dir in '"${RUBIES[@]}"'
  6336. ++ dir=/opt/rubies/ruby-2.4.5
  6337. ++ case "${dir##*/}" in
  6338. ++ match=/opt/rubies/ruby-2.4.5
  6339. ++ for dir in '"${RUBIES[@]}"'
  6340. ++ dir=/opt/rubies/ruby-2.5.3
  6341. ++ case "${dir##*/}" in
  6342. ++ for dir in '"${RUBIES[@]}"'
  6343. ++ dir=/opt/rubies/ruby-2.6.0
  6344. ++ case "${dir##*/}" in
  6345. ++ for dir in '"${RUBIES[@]}"'
  6346. ++ dir=/opt/rubies/ruby-current
  6347. ++ case "${dir##*/}" in
  6348. ++ [[ -z /opt/rubies/ruby-2.4.5 ]]
  6349. ++ shift
  6350. ++ chruby_use /opt/rubies/ruby-2.4.5 ''
  6351. ++ [[ ! -x /opt/rubies/ruby-2.4.5/bin/ruby ]]
  6352. ++ [[ -n '' ]]
  6353. ++ export RUBY_ROOT=/opt/rubies/ruby-2.4.5
  6354. ++ RUBY_ROOT=/opt/rubies/ruby-2.4.5
  6355. ++ export RUBYOPT=
  6356. ++ RUBYOPT=
  6357. ++ export PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
  6358. ++ PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
  6359. +++ /opt/rubies/ruby-2.4.5/bin/ruby -
  6360. ++ eval 'export RUBY_ENGINE=ruby;
  6361. export RUBY_VERSION=2.4.5;
  6362. export GEM_ROOT="/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0";'
  6363. +++ export RUBY_ENGINE=ruby
  6364. +++ RUBY_ENGINE=ruby
  6365. +++ export RUBY_VERSION=2.4.5
  6366. +++ RUBY_VERSION=2.4.5
  6367. +++ export GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
  6368. +++ GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
  6369. ++ (( 0 != 0 ))
  6370. + cd /var/app/ondeck
  6371. + su -s /bin/bash -c 'bundle exec /opt/elasticbeanstalk/support/scripts/check-for-rake-task.rb db:migrate' webapp
  6372. `/home/webapp` is not a directory.
  6373. Bundler will use `/tmp/bundler/home/webapp' as your home directory temporarily.
  6374. + '[' false = true ']'
  6375. + su -s /bin/bash -c 'leader_only bundle exec rake db:migrate' webapp
  6376. `/home/webapp` is not a directory.
  6377. Bundler will use `/tmp/bundler/home/webapp' as your home directory temporarily.
  6378. DEPRECATION WARNING: `config.static_cache_control` is deprecated and will be removed in Rails 5.1.
  6379. Please use
  6380. `config.public_file_server.headers = { 'Cache-Control' => 'public, max-age=2592000' }`
  6381. instead.
  6382. (called from block in <top (required)> at /var/app/ondeck/config/environments/production.rb:28)
  6383. intializing git
  6384. error: could not lock config file /home/webapp/.gitconfig: No such file or directory
  6385. sh: line 0: cd: /home/webapp: No such file or directory
  6386. [2019-01-27T12:03:57.374Z] INFO [11513] - [Application update app-d343-190127_173307@21/AppDeployStage0/AppDeployPreHook/13_test_for_puma.sh] : Starting activity...
  6387. [2019-01-27T12:03:57.869Z] INFO [11513] - [Application update app-d343-190127_173307@21/AppDeployStage0/AppDeployPreHook/13_test_for_puma.sh] : Completed activity. Result:
  6388. ++ /opt/elasticbeanstalk/bin/get-config container -k script_dir
  6389. + EB_SCRIPT_DIR=/opt/elasticbeanstalk/support/scripts
  6390. ++ /opt/elasticbeanstalk/bin/get-config container -k app_staging_dir
  6391. + EB_APP_STAGING_DIR=/var/app/ondeck
  6392. ++ /opt/elasticbeanstalk/bin/get-config container -k app_user
  6393. + EB_APP_USER=webapp
  6394. + . /opt/elasticbeanstalk/support/scripts/use-app-ruby.sh
  6395. ++ . /usr/local/share/chruby/chruby.sh
  6396. +++ CHRUBY_VERSION=0.3.9
  6397. +++ RUBIES=()
  6398. +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
  6399. +++ [[ -d /opt/rubies ]]
  6400. ++++ ls -A /opt/rubies
  6401. +++ [[ -n ruby-1.9.3-p551
  6402. ruby-2.0.0-p648
  6403. ruby-2.1.10
  6404. ruby-2.2.10
  6405. ruby-2.3.8
  6406. ruby-2.4.5
  6407. ruby-2.5.3
  6408. ruby-2.6.0
  6409. ruby-current ]]
  6410. +++ RUBIES+=("$dir"/*)
  6411. +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
  6412. +++ [[ -d /.rubies ]]
  6413. +++ unset dir
  6414. +++ cat /etc/elasticbeanstalk/.ruby_version
  6415. ++ chruby 2.4.5
  6416. ++ case "$1" in
  6417. ++ local dir match
  6418. ++ for dir in '"${RUBIES[@]}"'
  6419. ++ dir=/opt/rubies/ruby-1.9.3-p551
  6420. ++ case "${dir##*/}" in
  6421. ++ for dir in '"${RUBIES[@]}"'
  6422. ++ dir=/opt/rubies/ruby-2.0.0-p648
  6423. ++ case "${dir##*/}" in
  6424. ++ for dir in '"${RUBIES[@]}"'
  6425. ++ dir=/opt/rubies/ruby-2.1.10
  6426. ++ case "${dir##*/}" in
  6427. ++ for dir in '"${RUBIES[@]}"'
  6428. ++ dir=/opt/rubies/ruby-2.2.10
  6429. ++ case "${dir##*/}" in
  6430. ++ for dir in '"${RUBIES[@]}"'
  6431. ++ dir=/opt/rubies/ruby-2.3.8
  6432. ++ case "${dir##*/}" in
  6433. ++ for dir in '"${RUBIES[@]}"'
  6434. ++ dir=/opt/rubies/ruby-2.4.5
  6435. ++ case "${dir##*/}" in
  6436. ++ match=/opt/rubies/ruby-2.4.5
  6437. ++ for dir in '"${RUBIES[@]}"'
  6438. ++ dir=/opt/rubies/ruby-2.5.3
  6439. ++ case "${dir##*/}" in
  6440. ++ for dir in '"${RUBIES[@]}"'
  6441. ++ dir=/opt/rubies/ruby-2.6.0
  6442. ++ case "${dir##*/}" in
  6443. ++ for dir in '"${RUBIES[@]}"'
  6444. ++ dir=/opt/rubies/ruby-current
  6445. ++ case "${dir##*/}" in
  6446. ++ [[ -z /opt/rubies/ruby-2.4.5 ]]
  6447. ++ shift
  6448. ++ chruby_use /opt/rubies/ruby-2.4.5 ''
  6449. ++ [[ ! -x /opt/rubies/ruby-2.4.5/bin/ruby ]]
  6450. ++ [[ -n '' ]]
  6451. ++ export RUBY_ROOT=/opt/rubies/ruby-2.4.5
  6452. ++ RUBY_ROOT=/opt/rubies/ruby-2.4.5
  6453. ++ export RUBYOPT=
  6454. ++ RUBYOPT=
  6455. ++ export PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
  6456. ++ PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
  6457. +++ /opt/rubies/ruby-2.4.5/bin/ruby -
  6458. ++ eval 'export RUBY_ENGINE=ruby;
  6459. export RUBY_VERSION=2.4.5;
  6460. export GEM_ROOT="/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0";'
  6461. +++ export RUBY_ENGINE=ruby
  6462. +++ RUBY_ENGINE=ruby
  6463. +++ export RUBY_VERSION=2.4.5
  6464. +++ RUBY_VERSION=2.4.5
  6465. +++ export GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
  6466. +++ GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
  6467. ++ (( 0 != 0 ))
  6468. + /opt/elasticbeanstalk/support/scripts/check-for-gem.rb puma
  6469. + echo true
  6470. [2019-01-27T12:03:57.869Z] INFO [11513] - [Application update app-d343-190127_173307@21/AppDeployStage0/AppDeployPreHook] : Completed activity. Result:
  6471. Successfully execute hooks in directory /opt/elasticbeanstalk/hooks/appdeploy/pre.
  6472. [2019-01-27T12:03:57.869Z] INFO [11513] - [Application update app-d343-190127_173307@21/AppDeployStage0/EbExtensionPostBuild] : Starting activity...
  6473. [2019-01-27T12:03:58.217Z] INFO [11513] - [Application update app-d343-190127_173307@21/AppDeployStage0/EbExtensionPostBuild/Infra-EmbeddedPostBuild] : Starting activity...
  6474. [2019-01-27T12:03:58.217Z] INFO [11513] - [Application update app-d343-190127_173307@21/AppDeployStage0/EbExtensionPostBuild/Infra-EmbeddedPostBuild] : Completed activity.
  6475. [2019-01-27T12:03:58.233Z] INFO [11513] - [Application update app-d343-190127_173307@21/AppDeployStage0/EbExtensionPostBuild] : Completed activity.
  6476. [2019-01-27T12:03:58.233Z] INFO [11513] - [Application update app-d343-190127_173307@21/AppDeployStage0/InfraCleanEbextension] : Starting activity...
  6477. [2019-01-27T12:03:58.242Z] INFO [11513] - [Application update app-d343-190127_173307@21/AppDeployStage0/InfraCleanEbextension] : Completed activity. Result:
  6478. Cleaned ebextensions subdirectories from /var/app/ondeck.
  6479. [2019-01-27T12:03:58.242Z] INFO [11513] - [Application update app-d343-190127_173307@21/AppDeployStage0] : Completed activity. Result:
  6480. Application update - Command CMD-AppDeploy stage 0 completed
  6481. [2019-01-27T12:03:58.242Z] INFO [11513] - [Application update app-d343-190127_173307@21/AppDeployStage1] : Starting activity...
  6482. [2019-01-27T12:03:58.242Z] INFO [11513] - [Application update app-d343-190127_173307@21/AppDeployStage1/AppDeployEnactHook] : Starting activity...
  6483. [2019-01-27T12:03:58.242Z] INFO [11513] - [Application update app-d343-190127_173307@21/AppDeployStage1/AppDeployEnactHook/01_flip.sh] : Starting activity...
  6484. [2019-01-27T12:03:58.538Z] INFO [11513] - [Application update app-d343-190127_173307@21/AppDeployStage1/AppDeployEnactHook/01_flip.sh] : Completed activity. Result:
  6485. ++ /opt/elasticbeanstalk/bin/get-config container -k app_staging_dir
  6486. + EB_APP_STAGING_DIR=/var/app/ondeck
  6487. ++ /opt/elasticbeanstalk/bin/get-config container -k app_deploy_dir
  6488. + EB_APP_DEPLOY_DIR=/var/app/current
  6489. ++ /opt/elasticbeanstalk/bin/get-config container -k app_user
  6490. + EB_APP_USER=webapp
  6491. + '[' -d /var/app/current ']'
  6492. + mv /var/app/current /var/app/current.old
  6493. + mv /var/app/ondeck /var/app/current
  6494. + mkdir -p /var/app/current/tmp /var/app/current/public
  6495. + nohup rm -rf /var/app/current.old
  6496. + chown -R webapp:webapp /var/app/current/tmp /var/app/current/public
  6497. [2019-01-27T12:03:58.538Z] INFO [11513] - [Application update app-d343-190127_173307@21/AppDeployStage1/AppDeployEnactHook/01stop_xray.sh] : Starting activity...
  6498. [2019-01-27T12:03:58.679Z] INFO [11513] - [Application update app-d343-190127_173307@21/AppDeployStage1/AppDeployEnactHook/01stop_xray.sh] : Completed activity. Result:
  6499. Executing: if ( initctl status xray | grep start ); then initctl stop xray; fi
  6500.  
  6501. [2019-01-27T12:03:58.679Z] INFO [11513] - [Application update app-d343-190127_173307@21/AppDeployStage1/AppDeployEnactHook/02_restart_app_server.sh] : Starting activity...
  6502. [2019-01-27T12:04:00.686Z] INFO [11513] - [Application update app-d343-190127_173307@21/AppDeployStage1/AppDeployEnactHook/02_restart_app_server.sh] : Completed activity. Result:
  6503. + initctl restart puma
  6504. puma start/running, process 11916
  6505. [2019-01-27T12:04:00.686Z] INFO [11513] - [Application update app-d343-190127_173307@21/AppDeployStage1/AppDeployEnactHook/02start_xray.sh] : Starting activity...
  6506. [2019-01-27T12:04:00.905Z] INFO [11513] - [Application update app-d343-190127_173307@21/AppDeployStage1/AppDeployEnactHook/02start_xray.sh] : Completed activity.
  6507. [2019-01-27T12:04:00.905Z] INFO [11513] - [Application update app-d343-190127_173307@21/AppDeployStage1/AppDeployEnactHook/28_create_pids.sh] : Starting activity...
  6508. [2019-01-27T12:04:02.312Z] INFO [11513] - [Application update app-d343-190127_173307@21/AppDeployStage1/AppDeployEnactHook/28_create_pids.sh] : Completed activity. Result:
  6509. + /opt/elasticbeanstalk/bin/healthd-track-pidfile --proxy nginx
  6510. ++ /opt/elasticbeanstalk/bin/get-config container -k puma_pid_dir
  6511. + PUMA_PID_DIR=/var/run/puma
  6512. + /opt/elasticbeanstalk/bin/healthd-track-pidfile --name application --location /var/run/puma/puma.pid
  6513. [2019-01-27T12:04:02.312Z] INFO [11513] - [Application update app-d343-190127_173307@21/AppDeployStage1/AppDeployEnactHook] : Completed activity. Result:
  6514. Successfully execute hooks in directory /opt/elasticbeanstalk/hooks/appdeploy/enact.
  6515. [2019-01-27T12:04:02.312Z] INFO [11513] - [Application update app-d343-190127_173307@21/AppDeployStage1/AppDeployPostHook] : Starting activity...
  6516. [2019-01-27T12:04:02.312Z] INFO [11513] - [Application update app-d343-190127_173307@21/AppDeployStage1/AppDeployPostHook/01_rails_support.sh] : Starting activity...
  6517. [2019-01-27T12:04:02.713Z] INFO [11513] - [Application update app-d343-190127_173307@21/AppDeployStage1/AppDeployPostHook/01_rails_support.sh] : Completed activity. Result:
  6518. ++ /opt/elasticbeanstalk/bin/get-config container -k app_deploy_dir
  6519. + EB_APP_DEPLOY_DIR=/var/app/current
  6520. ++ /opt/elasticbeanstalk/bin/get-config container -k app_log_dir
  6521. + EB_APP_LOG_DIR=/var/app/containerfiles/logs
  6522. + ln -sf /var/app/current/log/production.log /var/app/containerfiles/logs
  6523. [2019-01-27T12:04:02.713Z] INFO [11513] - [Application update app-d343-190127_173307@21/AppDeployStage1/AppDeployPostHook] : Completed activity. Result:
  6524. Successfully execute hooks in directory /opt/elasticbeanstalk/hooks/appdeploy/post.
  6525. [2019-01-27T12:04:02.713Z] INFO [11513] - [Application update app-d343-190127_173307@21/AppDeployStage1] : Completed activity. Result:
  6526. Application version switch - Command CMD-AppDeploy stage 1 completed
  6527. [2019-01-27T12:04:02.713Z] INFO [11513] - [Application update app-d343-190127_173307@21/AddonsAfter] : Starting activity...
  6528. [2019-01-27T12:04:02.713Z] INFO [11513] - [Application update app-d343-190127_173307@21/AddonsAfter/ConfigLogRotation] : Starting activity...
  6529. [2019-01-27T12:04:02.713Z] INFO [11513] - [Application update app-d343-190127_173307@21/AddonsAfter/ConfigLogRotation/10-config.sh] : Starting activity...
  6530. [2019-01-27T12:04:02.884Z] INFO [11513] - [Application update app-d343-190127_173307@21/AddonsAfter/ConfigLogRotation/10-config.sh] : Completed activity. Result:
  6531. Disabled forced hourly log rotation.
  6532. [2019-01-27T12:04:02.884Z] INFO [11513] - [Application update app-d343-190127_173307@21/AddonsAfter/ConfigLogRotation] : Completed activity. Result:
  6533. Successfully execute hooks in directory /opt/elasticbeanstalk/addons/logpublish/hooks/config.
  6534. [2019-01-27T12:04:02.884Z] INFO [11513] - [Application update app-d343-190127_173307@21/AddonsAfter] : Completed activity.
  6535. [2019-01-27T12:04:02.884Z] INFO [11513] - [Application update app-d343-190127_173307@21] : Completed activity. Result:
  6536. Application update - Command CMD-AppDeploy succeeded
  6537. [2019-01-27T12:06:31.257Z] INFO [12083] - [CMD-TailLogs] : Starting activity...
  6538. [2019-01-27T12:06:31.257Z] INFO [12083] - [CMD-TailLogs/AddonsBefore] : Starting activity...
  6539. [2019-01-27T12:06:31.257Z] INFO [12083] - [CMD-TailLogs/AddonsBefore] : Completed activity.
  6540. [2019-01-27T12:06:31.257Z] INFO [12083] - [CMD-TailLogs/TailLogs] : Starting activity...
  6541. [2019-01-27T12:06:31.257Z] INFO [12083] - [CMD-TailLogs/TailLogs/TailLogs] : Starting activity...
  6542. [2019-01-27T12:06:31.450Z] INFO [12083] - [CMD-TailLogs/TailLogs/TailLogs] : Completed activity.
  6543. [2019-01-27T12:06:31.451Z] INFO [12083] - [CMD-TailLogs/TailLogs] : Completed activity. Result:
  6544. CMD-TailLogs - stage 0 - Command CMD-TailLogs stage 0 completed
  6545. [2019-01-27T12:06:31.451Z] INFO [12083] - [CMD-TailLogs/AddonsAfter] : Starting activity...
  6546. [2019-01-27T12:06:31.451Z] INFO [12083] - [CMD-TailLogs/AddonsAfter] : Completed activity.
  6547. [2019-01-27T12:06:31.451Z] INFO [12083] - [CMD-TailLogs] : Completed activity. Result:
  6548. CMD-TailLogs - Command CMD-TailLogs succeeded
  6549. [2019-01-27T12:13:07.351Z] INFO [12332] - [Configuration update app-d343-190127_173307@22] : Starting activity...
  6550. [2019-01-27T12:13:07.351Z] INFO [12332] - [Configuration update app-d343-190127_173307@22/AddonsBefore] : Starting activity...
  6551. [2019-01-27T12:13:07.351Z] INFO [12332] - [Configuration update app-d343-190127_173307@22/AddonsBefore/ConfigCWLAgent] : Starting activity...
  6552. [2019-01-27T12:13:07.351Z] INFO [12332] - [Configuration update app-d343-190127_173307@22/AddonsBefore/ConfigCWLAgent/10-config.sh] : Starting activity...
  6553. [2019-01-27T12:13:07.478Z] INFO [12332] - [Configuration update app-d343-190127_173307@22/AddonsBefore/ConfigCWLAgent/10-config.sh] : Completed activity. Result:
  6554. Log streaming option setting is not specified, ignore cloudwatch logs setup.
  6555.  
  6556. Disabled log streaming.
  6557. [2019-01-27T12:13:07.478Z] INFO [12332] - [Configuration update app-d343-190127_173307@22/AddonsBefore/ConfigCWLAgent] : Completed activity. Result:
  6558. Successfully execute hooks in directory /opt/elasticbeanstalk/addons/logstreaming/hooks/config.
  6559. [2019-01-27T12:13:07.478Z] INFO [12332] - [Configuration update app-d343-190127_173307@22/AddonsBefore] : Completed activity.
  6560. [2019-01-27T12:13:07.478Z] INFO [12332] - [Configuration update app-d343-190127_173307@22/ConfigDeployStage0] : Starting activity...
  6561. [2019-01-27T12:13:07.478Z] INFO [12332] - [Configuration update app-d343-190127_173307@22/ConfigDeployStage0/ConfigDeployPreHook] : Starting activity...
  6562. [2019-01-27T12:13:07.478Z] INFO [12332] - [Configuration update app-d343-190127_173307@22/ConfigDeployStage0/ConfigDeployPreHook/01_configure_xray.sh] : Starting activity...
  6563. [2019-01-27T12:13:07.591Z] INFO [12332] - [Configuration update app-d343-190127_173307@22/ConfigDeployStage0/ConfigDeployPreHook/01_configure_xray.sh] : Completed activity.
  6564. [2019-01-27T12:13:07.591Z] INFO [12332] - [Configuration update app-d343-190127_173307@22/ConfigDeployStage0/ConfigDeployPreHook/10_setup_envvars.sh] : Starting activity...
  6565. [2019-01-27T12:13:07.820Z] INFO [12332] - [Configuration update app-d343-190127_173307@22/ConfigDeployStage0/ConfigDeployPreHook/10_setup_envvars.sh] : Completed activity. Result:
  6566. ++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
  6567. + EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
  6568. + /opt/elasticbeanstalk/support/export_envvars
  6569. [2019-01-27T12:13:07.820Z] INFO [12332] - [Configuration update app-d343-190127_173307@22/ConfigDeployStage0/ConfigDeployPreHook] : Completed activity. Result:
  6570. Successfully execute hooks in directory /opt/elasticbeanstalk/hooks/configdeploy/pre.
  6571. [2019-01-27T12:13:07.820Z] INFO [12332] - [Configuration update app-d343-190127_173307@22/ConfigDeployStage0] : Completed activity. Result:
  6572. Configuration update - Command CMD-ConfigDeploy stage 0 completed
  6573. [2019-01-27T12:13:07.820Z] INFO [12332] - [Configuration update app-d343-190127_173307@22/ConfigDeployStage1] : Starting activity...
  6574. [2019-01-27T12:13:07.821Z] INFO [12332] - [Configuration update app-d343-190127_173307@22/ConfigDeployStage1/ConfigDeployEnactHook] : Starting activity...
  6575. [2019-01-27T12:13:07.821Z] INFO [12332] - [Configuration update app-d343-190127_173307@22/ConfigDeployStage1/ConfigDeployEnactHook/01_restart.sh] : Starting activity...
  6576. [2019-01-27T12:13:09.827Z] INFO [12332] - [Configuration update app-d343-190127_173307@22/ConfigDeployStage1/ConfigDeployEnactHook/01_restart.sh] : Completed activity. Result:
  6577. puma start/running, process 12383
  6578. [2019-01-27T12:13:09.827Z] INFO [12332] - [Configuration update app-d343-190127_173307@22/ConfigDeployStage1/ConfigDeployEnactHook/01stop_xray.sh] : Starting activity...
  6579. [2019-01-27T12:13:10.062Z] INFO [12332] - [Configuration update app-d343-190127_173307@22/ConfigDeployStage1/ConfigDeployEnactHook/01stop_xray.sh] : Completed activity. Result:
  6580. Executing: if ( initctl status xray | grep start ); then initctl stop xray; fi
  6581.  
  6582. [2019-01-27T12:13:10.062Z] INFO [12332] - [Configuration update app-d343-190127_173307@22/ConfigDeployStage1/ConfigDeployEnactHook/02start_xray.sh] : Starting activity...
  6583. [2019-01-27T12:13:10.281Z] INFO [12332] - [Configuration update app-d343-190127_173307@22/ConfigDeployStage1/ConfigDeployEnactHook/02start_xray.sh] : Completed activity.
  6584. [2019-01-27T12:13:10.281Z] INFO [12332] - [Configuration update app-d343-190127_173307@22/ConfigDeployStage1/ConfigDeployEnactHook] : Completed activity. Result:
  6585. Successfully execute hooks in directory /opt/elasticbeanstalk/hooks/configdeploy/enact.
  6586. [2019-01-27T12:13:10.281Z] INFO [12332] - [Configuration update app-d343-190127_173307@22/ConfigDeployStage1/ConfigDeployPostHook] : Starting activity...
  6587. [2019-01-27T12:13:10.282Z] INFO [12332] - [Configuration update app-d343-190127_173307@22/ConfigDeployStage1/ConfigDeployPostHook/01_rails_support.sh] : Starting activity...
  6588. [2019-01-27T12:13:10.659Z] INFO [12332] - [Configuration update app-d343-190127_173307@22/ConfigDeployStage1/ConfigDeployPostHook/01_rails_support.sh] : Completed activity. Result:
  6589. ++ /opt/elasticbeanstalk/bin/get-config container -k app_deploy_dir
  6590. + EB_APP_DEPLOY_DIR=/var/app/current
  6591. ++ /opt/elasticbeanstalk/bin/get-config container -k app_log_dir
  6592. + EB_APP_LOG_DIR=/var/app/containerfiles/logs
  6593. + ln -sf /var/app/current/log/production.log /var/app/containerfiles/logs
  6594. [2019-01-27T12:13:10.660Z] INFO [12332] - [Configuration update app-d343-190127_173307@22/ConfigDeployStage1/ConfigDeployPostHook] : Completed activity. Result:
  6595. Successfully execute hooks in directory /opt/elasticbeanstalk/hooks/configdeploy/post.
  6596. [2019-01-27T12:13:10.660Z] INFO [12332] - [Configuration update app-d343-190127_173307@22/ConfigDeployStage1] : Completed activity. Result:
  6597. Application restart - Command CMD-ConfigDeploy stage 1 completed
  6598. [2019-01-27T12:13:10.660Z] INFO [12332] - [Configuration update app-d343-190127_173307@22/AddonsAfter] : Starting activity...
  6599. [2019-01-27T12:13:10.660Z] INFO [12332] - [Configuration update app-d343-190127_173307@22/AddonsAfter/ConfigLogRotation] : Starting activity...
  6600. [2019-01-27T12:13:10.660Z] INFO [12332] - [Configuration update app-d343-190127_173307@22/AddonsAfter/ConfigLogRotation/10-config.sh] : Starting activity...
  6601. [2019-01-27T12:13:10.828Z] INFO [12332] - [Configuration update app-d343-190127_173307@22/AddonsAfter/ConfigLogRotation/10-config.sh] : Completed activity. Result:
  6602. Disabled forced hourly log rotation.
  6603. [2019-01-27T12:13:10.828Z] INFO [12332] - [Configuration update app-d343-190127_173307@22/AddonsAfter/ConfigLogRotation] : Completed activity. Result:
  6604. Successfully execute hooks in directory /opt/elasticbeanstalk/addons/logpublish/hooks/config.
  6605. [2019-01-27T12:13:10.828Z] INFO [12332] - [Configuration update app-d343-190127_173307@22/AddonsAfter] : Completed activity.
  6606. [2019-01-27T12:13:10.828Z] INFO [12332] - [Configuration update app-d343-190127_173307@22] : Completed activity. Result:
  6607. Configuration update - Command CMD-ConfigDeploy succeeded
  6608. [2019-01-27T12:16:43.510Z] INFO [12557] - [Application update app-a0c0-190127_174624@23] : Starting activity...
  6609. [2019-01-27T12:16:43.510Z] INFO [12557] - [Application update app-a0c0-190127_174624@23/AddonsBefore] : Starting activity...
  6610. [2019-01-27T12:16:43.510Z] INFO [12557] - [Application update app-a0c0-190127_174624@23/AddonsBefore/ConfigCWLAgent] : Starting activity...
  6611. [2019-01-27T12:16:43.510Z] INFO [12557] - [Application update app-a0c0-190127_174624@23/AddonsBefore/ConfigCWLAgent/10-config.sh] : Starting activity...
  6612. [2019-01-27T12:16:43.631Z] INFO [12557] - [Application update app-a0c0-190127_174624@23/AddonsBefore/ConfigCWLAgent/10-config.sh] : Completed activity. Result:
  6613. Log streaming option setting is not specified, ignore cloudwatch logs setup.
  6614.  
  6615. Disabled log streaming.
  6616. [2019-01-27T12:16:43.631Z] INFO [12557] - [Application update app-a0c0-190127_174624@23/AddonsBefore/ConfigCWLAgent] : Completed activity. Result:
  6617. Successfully execute hooks in directory /opt/elasticbeanstalk/addons/logstreaming/hooks/config.
  6618. [2019-01-27T12:16:43.631Z] INFO [12557] - [Application update app-a0c0-190127_174624@23/AddonsBefore] : Completed activity.
  6619. [2019-01-27T12:16:43.967Z] INFO [12557] - [Application update app-a0c0-190127_174624@23/AppDeployStage0] : Starting activity...
  6620. [2019-01-27T12:16:43.967Z] INFO [12557] - [Application update app-a0c0-190127_174624@23/AppDeployStage0/DownloadSourceBundle] : Starting activity...
  6621. [2019-01-27T12:16:44.418Z] INFO [12557] - [Application update app-a0c0-190127_174624@23/AppDeployStage0/DownloadSourceBundle] : Completed activity. Result:
  6622. [2019-01-27T12:16:44.072Z] INFO [12600] : Application version will be saved to /opt/elasticbeanstalk/deploy/appsource.
  6623. [2019-01-27T12:16:44.072Z] INFO [12600] : Using manifest cache with deployment ID 23 and serial 31.
  6624. [2019-01-27T12:16:44.072Z] INFO [12600] : Attempting to download application source bundle to: '/opt/elasticbeanstalk/deploy/appsource/source_bundle'.
  6625. [2019-01-27T12:16:44.072Z] INFO [12600] : Using computed s3 key.
  6626. [2019-01-27T12:16:44.187Z] INFO [12600] : Downloading from bucket 'elasticbeanstalk-us-east-2-387358288273' with key 'resources/environments/e-sv4jqab3r8/_runtime/_versions/test/app-a0c0-190127_174624' and version '' to '/opt/elasticbeanstalk/deploy/appsource/source_bundle'.
  6627. [2019-01-27T12:16:44.239Z] INFO [12600] : Size: 9504942, ETag: "092828d6fc40dccbc63195824f6864eb", Metadata: {"environmentid"=>"e-sv4jqab3r8", "requestid"=>"48233427-f87b-4da6-aea0-e96d4969953a"}.
  6628. [2019-01-27T12:16:44.410Z] INFO [12600] : Downloaded size: 9504942.
  6629. [2019-01-27T12:16:44.410Z] INFO [12600] : Successfully downloaded to '/opt/elasticbeanstalk/deploy/appsource/source_bundle'.
  6630. [2019-01-27T12:16:44.419Z] INFO [12557] - [Application update app-a0c0-190127_174624@23/AppDeployStage0/EbExtensionPreBuild] : Starting activity...
  6631. [2019-01-27T12:16:44.762Z] INFO [12557] - [Application update app-a0c0-190127_174624@23/AppDeployStage0/EbExtensionPreBuild/Infra-EmbeddedPreBuild] : Starting activity...
  6632. [2019-01-27T12:16:44.766Z] INFO [12557] - [Application update app-a0c0-190127_174624@23/AppDeployStage0/EbExtensionPreBuild/Infra-EmbeddedPreBuild/prebuild_0_test] : Starting activity...
  6633. [2019-01-27T12:16:44.766Z] INFO [12557] - [Application update app-a0c0-190127_174624@23/AppDeployStage0/EbExtensionPreBuild/Infra-EmbeddedPreBuild/prebuild_0_test] : Completed activity.
  6634. [2019-01-27T12:16:44.766Z] INFO [12557] - [Application update app-a0c0-190127_174624@23/AppDeployStage0/EbExtensionPreBuild/Infra-EmbeddedPreBuild] : Completed activity.
  6635. [2019-01-27T12:16:45.135Z] INFO [12557] - [Application update app-a0c0-190127_174624@23/AppDeployStage0/EbExtensionPreBuild] : Completed activity.
  6636. [2019-01-27T12:16:45.135Z] INFO [12557] - [Application update app-a0c0-190127_174624@23/AppDeployStage0/AppDeployPreHook] : Starting activity...
  6637. [2019-01-27T12:16:45.135Z] INFO [12557] - [Application update app-a0c0-190127_174624@23/AppDeployStage0/AppDeployPreHook/01_configure_xray.sh] : Starting activity...
  6638. [2019-01-27T12:16:45.241Z] INFO [12557] - [Application update app-a0c0-190127_174624@23/AppDeployStage0/AppDeployPreHook/01_configure_xray.sh] : Completed activity.
  6639. [2019-01-27T12:16:45.242Z] INFO [12557] - [Application update app-a0c0-190127_174624@23/AppDeployStage0/AppDeployPreHook/01_unzip.rb] : Starting activity...
  6640. [2019-01-27T12:16:45.717Z] INFO [12557] - [Application update app-a0c0-190127_174624@23/AppDeployStage0/AppDeployPreHook/01_unzip.rb] : Completed activity.
  6641. [2019-01-27T12:16:45.717Z] INFO [12557] - [Application update app-a0c0-190127_174624@23/AppDeployStage0/AppDeployPreHook/02_setup_envvars.sh] : Starting activity...
  6642. [2019-01-27T12:16:45.933Z] INFO [12557] - [Application update app-a0c0-190127_174624@23/AppDeployStage0/AppDeployPreHook/02_setup_envvars.sh] : Completed activity. Result:
  6643. ++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
  6644. + EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
  6645. + /opt/elasticbeanstalk/support/export_envvars
  6646. [2019-01-27T12:16:45.934Z] INFO [12557] - [Application update app-a0c0-190127_174624@23/AppDeployStage0/AppDeployPreHook/10_bundle_install.sh] : Starting activity...
  6647. [2019-01-27T12:16:46.790Z] INFO [12557] - [Application update app-a0c0-190127_174624@23/AppDeployStage0/AppDeployPreHook/10_bundle_install.sh] : Completed activity. Result:
  6648. ++ /opt/elasticbeanstalk/bin/get-config container -k script_dir
  6649. + EB_SCRIPT_DIR=/opt/elasticbeanstalk/support/scripts
  6650. ++ /opt/elasticbeanstalk/bin/get-config container -k app_staging_dir
  6651. + EB_APP_STAGING_DIR=/var/app/ondeck
  6652. ++ /opt/elasticbeanstalk/bin/get-config container -k app_user
  6653. + EB_APP_USER=webapp
  6654. ++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
  6655. + EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
  6656. + . /opt/elasticbeanstalk/support/envvars-wrapper.sh
  6657. +++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
  6658. ++ EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
  6659. ++ set +x
  6660. + . /opt/elasticbeanstalk/support/scripts/use-app-ruby.sh
  6661. ++ . /usr/local/share/chruby/chruby.sh
  6662. +++ CHRUBY_VERSION=0.3.9
  6663. +++ RUBIES=()
  6664. +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
  6665. +++ [[ -d /opt/rubies ]]
  6666. ++++ ls -A /opt/rubies
  6667. +++ [[ -n ruby-1.9.3-p551
  6668. ruby-2.0.0-p648
  6669. ruby-2.1.10
  6670. ruby-2.2.10
  6671. ruby-2.3.8
  6672. ruby-2.4.5
  6673. ruby-2.5.3
  6674. ruby-2.6.0
  6675. ruby-current ]]
  6676. +++ RUBIES+=("$dir"/*)
  6677. +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
  6678. +++ [[ -d /.rubies ]]
  6679. +++ unset dir
  6680. +++ cat /etc/elasticbeanstalk/.ruby_version
  6681. ++ chruby 2.4.5
  6682. ++ case "$1" in
  6683. ++ local dir match
  6684. ++ for dir in '"${RUBIES[@]}"'
  6685. ++ dir=/opt/rubies/ruby-1.9.3-p551
  6686. ++ case "${dir##*/}" in
  6687. ++ for dir in '"${RUBIES[@]}"'
  6688. ++ dir=/opt/rubies/ruby-2.0.0-p648
  6689. ++ case "${dir##*/}" in
  6690. ++ for dir in '"${RUBIES[@]}"'
  6691. ++ dir=/opt/rubies/ruby-2.1.10
  6692. ++ case "${dir##*/}" in
  6693. ++ for dir in '"${RUBIES[@]}"'
  6694. ++ dir=/opt/rubies/ruby-2.2.10
  6695. ++ case "${dir##*/}" in
  6696. ++ for dir in '"${RUBIES[@]}"'
  6697. ++ dir=/opt/rubies/ruby-2.3.8
  6698. ++ case "${dir##*/}" in
  6699. ++ for dir in '"${RUBIES[@]}"'
  6700. ++ dir=/opt/rubies/ruby-2.4.5
  6701. ++ case "${dir##*/}" in
  6702. ++ match=/opt/rubies/ruby-2.4.5
  6703. ++ for dir in '"${RUBIES[@]}"'
  6704. ++ dir=/opt/rubies/ruby-2.5.3
  6705. ++ case "${dir##*/}" in
  6706. ++ for dir in '"${RUBIES[@]}"'
  6707. ++ dir=/opt/rubies/ruby-2.6.0
  6708. ++ case "${dir##*/}" in
  6709. ++ for dir in '"${RUBIES[@]}"'
  6710. ++ dir=/opt/rubies/ruby-current
  6711. ++ case "${dir##*/}" in
  6712. ++ [[ -z /opt/rubies/ruby-2.4.5 ]]
  6713. ++ shift
  6714. ++ chruby_use /opt/rubies/ruby-2.4.5 ''
  6715. ++ [[ ! -x /opt/rubies/ruby-2.4.5/bin/ruby ]]
  6716. ++ [[ -n '' ]]
  6717. ++ export RUBY_ROOT=/opt/rubies/ruby-2.4.5
  6718. ++ RUBY_ROOT=/opt/rubies/ruby-2.4.5
  6719. ++ export RUBYOPT=
  6720. ++ RUBYOPT=
  6721. ++ export PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
  6722. ++ PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
  6723. +++ /opt/rubies/ruby-2.4.5/bin/ruby -
  6724. ++ eval 'export RUBY_ENGINE=ruby;
  6725. export RUBY_VERSION=2.4.5;
  6726. export GEM_ROOT="/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0";'
  6727. +++ export RUBY_ENGINE=ruby
  6728. +++ RUBY_ENGINE=ruby
  6729. +++ export RUBY_VERSION=2.4.5
  6730. +++ RUBY_VERSION=2.4.5
  6731. +++ export GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
  6732. +++ GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
  6733. ++ (( 0 != 0 ))
  6734. + cd /var/app/ondeck
  6735. + '[' -f Gemfile ']'
  6736. + echo 'running '\''bundle install'\'' with Gemfile:'
  6737. running 'bundle install' with Gemfile:
  6738. + cat Gemfile
  6739. source 'https://rubygems.org'
  6740.  
  6741.  
  6742. # Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
  6743. gem 'rails', '~> 5.0.0', '>= 5.0.0.1'
  6744.  
  6745.  
  6746. # sqlite3 fails on heroku
  6747. # group :development do
  6748. # gem 'sqlite3' #gem to use in development environment
  6749. # end
  6750. # gem 'sqlite3'
  6751. # group :production do
  6752. gem 'pg', '~> 0.20.0' #gem to use in production environment
  6753. # end
  6754. gem 'will_paginate', '~> 3.1.0'
  6755. gem 'simple_form'
  6756. gem 'bootstrap-sass'
  6757. gem 'devise'
  6758. gem 'nested_scaffold'
  6759. # Use Puma as the app server
  6760. gem 'puma', '~> 3.0'
  6761. # Use SCSS for stylesheets
  6762. gem 'sass-rails', '~> 5.0'
  6763. # Use Uglifier as compressor for JavaScript assets
  6764. gem 'uglifier', '>= 1.3.0'
  6765. # Use CoffeeScript for .coffee assets and views
  6766. gem 'coffee-rails', '~> 4.2'
  6767. # See https://github.com/rails/execjs#readme for more supported runtimes
  6768. # gem 'therubyracer', platforms: :ruby
  6769.  
  6770. # Use jquery as the JavaScript library
  6771. gem 'jquery-rails'
  6772. # Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks
  6773. gem 'turbolinks', '~> 5'
  6774. # Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
  6775. gem 'jbuilder', '~> 2.5'
  6776. # Use Redis adapter to run Action Cable in production
  6777. # gem 'redis', '~> 3.0'
  6778. # Use ActiveModel has_secure_password
  6779. # gem 'bcrypt', '~> 3.1.7'
  6780.  
  6781. # Use Capistrano for deployment
  6782. # gem 'capistrano-rails', group: :development
  6783.  
  6784. group :development, :test do
  6785. # Call 'byebug' anywhere in the code to stop execution and get a debugger console
  6786. gem 'byebug', platform: :mri
  6787. end
  6788.  
  6789. group :development do
  6790. # Access an IRB console on exception pages or by using <%= console %> anywhere in the code.
  6791. gem 'web-console'
  6792. end
  6793.  
  6794. # Windows does not include zoneinfo files, so bundle the tzinfo-data gem
  6795. gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
  6796.  
  6797. gem 'activeadmin'
  6798. + '[' -d /var/app/ondeck/vendor/cache ']'
  6799. + bundle install
  6800. Don't run Bundler as root. Bundler can ask for sudo if it is needed, and
  6801. installing your bundle as root will break this application for all non-root
  6802. users on this machine.
  6803. Warning: the running version of Bundler (1.16.2) is older than the version that created the lockfile (1.16.3). We suggest you upgrade to the latest version of Bundler by running `gem install bundler`.
  6804. Using rake 12.3.2
  6805. Using concurrent-ruby 1.1.4
  6806. Using i18n 1.5.3
  6807. Using minitest 5.11.3
  6808. Using thread_safe 0.3.6
  6809. Using tzinfo 1.2.5
  6810. Using activesupport 5.0.7.1
  6811. Using builder 3.2.3
  6812. Using erubis 2.7.0
  6813. Using mini_portile2 2.4.0
  6814. Using nokogiri 1.10.1
  6815. Using rails-dom-testing 2.0.3
  6816. Using crass 1.0.4
  6817. Using loofah 2.2.3
  6818. Using rails-html-sanitizer 1.0.4
  6819. Using actionview 5.0.7.1
  6820. Using rack 2.0.6
  6821. Using rack-test 0.6.3
  6822. Using actionpack 5.0.7.1
  6823. Using nio4r 2.3.1
  6824. Using websocket-extensions 0.1.3
  6825. Using websocket-driver 0.6.5
  6826. Using actioncable 5.0.7.1
  6827. Using globalid 0.4.2
  6828. Using activejob 5.0.7.1
  6829. Using mini_mime 1.0.1
  6830. Using mail 2.7.1
  6831. Using actionmailer 5.0.7.1
  6832. Using arbre 1.1.1
  6833. Using coffee-script-source 1.12.2
  6834. Using execjs 2.7.0
  6835. Using coffee-script 2.4.1
  6836. Using method_source 0.9.2
  6837. Using thor 0.20.3
  6838. Using railties 5.0.7.1
  6839. Using coffee-rails 4.2.2
  6840. Using formtastic 3.1.5
  6841. Using formtastic_i18n 0.6.0
  6842. Using has_scope 0.7.2
  6843. Using responders 2.4.1
  6844. Using inherited_resources 1.9.0
  6845. Using jquery-rails 4.3.3
  6846. Using kaminari-core 1.1.1
  6847. Using kaminari-actionview 1.1.1
  6848. Using activemodel 5.0.7.1
  6849. Using arel 7.1.4
  6850. Using activerecord 5.0.7.1
  6851. Using kaminari-activerecord 1.1.1
  6852. Using kaminari 1.1.1
  6853. Using ransack 2.1.1
  6854. Using rb-fsevent 0.10.3
  6855. Using ffi 1.9.25
  6856. Using rb-inotify 0.10.0
  6857. Using sass-listen 4.0.0
  6858. Using sass 3.7.3
  6859. Using sprockets 3.7.2
  6860. Using activeadmin 1.4.3
  6861. Using autoprefixer-rails 9.4.6
  6862. Using bcrypt 3.1.12
  6863. Using sassc 2.0.0
  6864. Using bootstrap-sass 3.4.0
  6865. Using bundler 1.16.2
  6866. Using orm_adapter 0.5.0
  6867. Using warden 1.2.8
  6868. Using devise 4.5.0
  6869. Using multi_json 1.13.1
  6870. Using jbuilder 2.8.0
  6871. Using nested_scaffold 1.0.0
  6872. Using pg 0.20.0
  6873. Using puma 3.12.0
  6874. Using sprockets-rails 3.2.1
  6875. Using rails 5.0.7.1
  6876. Using tilt 2.0.9
  6877. Using sass-rails 5.0.7
  6878. Using simple_form 4.1.0
  6879. Using turbolinks-source 5.2.0
  6880. Using turbolinks 5.2.0
  6881. Using uglifier 4.1.20
  6882. Using will_paginate 3.1.6
  6883. Bundle complete! 18 Gemfile dependencies, 79 gems now installed.
  6884. Gems in the groups test and development were not installed.
  6885. Use `bundle info [gemname]` to see where a bundled gem is installed.
  6886. + '[' -f Gemfile.lock ']'
  6887. + echo 'encountered a Gemfile.lock, setting proper permissions'
  6888. encountered a Gemfile.lock, setting proper permissions
  6889. + chown webapp:webapp Gemfile.lock
  6890. + '[' '' = 1 ']'
  6891. [2019-01-27T12:16:46.790Z] INFO [12557] - [Application update app-a0c0-190127_174624@23/AppDeployStage0/AppDeployPreHook/11_asset_compilation.sh] : Starting activity...
  6892. [2019-01-27T12:17:11.530Z] INFO [12557] - [Application update app-a0c0-190127_174624@23/AppDeployStage0/AppDeployPreHook/11_asset_compilation.sh] : Completed activity. Result:
  6893. ++ /opt/elasticbeanstalk/bin/get-config container -k script_dir
  6894. + EB_SCRIPT_DIR=/opt/elasticbeanstalk/support/scripts
  6895. ++ /opt/elasticbeanstalk/bin/get-config container -k app_staging_dir
  6896. + EB_APP_STAGING_DIR=/var/app/ondeck
  6897. ++ /opt/elasticbeanstalk/bin/get-config container -k app_user
  6898. + EB_APP_USER=webapp
  6899. ++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
  6900. + EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
  6901. + . /opt/elasticbeanstalk/support/envvars-wrapper.sh
  6902. +++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
  6903. ++ EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
  6904. ++ set +x
  6905. + RAKE_TASK=assets:precompile
  6906. + . /opt/elasticbeanstalk/support/scripts/use-app-ruby.sh
  6907. ++ . /usr/local/share/chruby/chruby.sh
  6908. +++ CHRUBY_VERSION=0.3.9
  6909. +++ RUBIES=()
  6910. +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
  6911. +++ [[ -d /opt/rubies ]]
  6912. ++++ ls -A /opt/rubies
  6913. +++ [[ -n ruby-1.9.3-p551
  6914. ruby-2.0.0-p648
  6915. ruby-2.1.10
  6916. ruby-2.2.10
  6917. ruby-2.3.8
  6918. ruby-2.4.5
  6919. ruby-2.5.3
  6920. ruby-2.6.0
  6921. ruby-current ]]
  6922. +++ RUBIES+=("$dir"/*)
  6923. +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
  6924. +++ [[ -d /.rubies ]]
  6925. +++ unset dir
  6926. +++ cat /etc/elasticbeanstalk/.ruby_version
  6927. ++ chruby 2.4.5
  6928. ++ case "$1" in
  6929. ++ local dir match
  6930. ++ for dir in '"${RUBIES[@]}"'
  6931. ++ dir=/opt/rubies/ruby-1.9.3-p551
  6932. ++ case "${dir##*/}" in
  6933. ++ for dir in '"${RUBIES[@]}"'
  6934. ++ dir=/opt/rubies/ruby-2.0.0-p648
  6935. ++ case "${dir##*/}" in
  6936. ++ for dir in '"${RUBIES[@]}"'
  6937. ++ dir=/opt/rubies/ruby-2.1.10
  6938. ++ case "${dir##*/}" in
  6939. ++ for dir in '"${RUBIES[@]}"'
  6940. ++ dir=/opt/rubies/ruby-2.2.10
  6941. ++ case "${dir##*/}" in
  6942. ++ for dir in '"${RUBIES[@]}"'
  6943. ++ dir=/opt/rubies/ruby-2.3.8
  6944. ++ case "${dir##*/}" in
  6945. ++ for dir in '"${RUBIES[@]}"'
  6946. ++ dir=/opt/rubies/ruby-2.4.5
  6947. ++ case "${dir##*/}" in
  6948. ++ match=/opt/rubies/ruby-2.4.5
  6949. ++ for dir in '"${RUBIES[@]}"'
  6950. ++ dir=/opt/rubies/ruby-2.5.3
  6951. ++ case "${dir##*/}" in
  6952. ++ for dir in '"${RUBIES[@]}"'
  6953. ++ dir=/opt/rubies/ruby-2.6.0
  6954. ++ case "${dir##*/}" in
  6955. ++ for dir in '"${RUBIES[@]}"'
  6956. ++ dir=/opt/rubies/ruby-current
  6957. ++ case "${dir##*/}" in
  6958. ++ [[ -z /opt/rubies/ruby-2.4.5 ]]
  6959. ++ shift
  6960. ++ chruby_use /opt/rubies/ruby-2.4.5 ''
  6961. ++ [[ ! -x /opt/rubies/ruby-2.4.5/bin/ruby ]]
  6962. ++ [[ -n '' ]]
  6963. ++ export RUBY_ROOT=/opt/rubies/ruby-2.4.5
  6964. ++ RUBY_ROOT=/opt/rubies/ruby-2.4.5
  6965. ++ export RUBYOPT=
  6966. ++ RUBYOPT=
  6967. ++ export PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
  6968. ++ PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
  6969. +++ /opt/rubies/ruby-2.4.5/bin/ruby -
  6970. ++ eval 'export RUBY_ENGINE=ruby;
  6971. export RUBY_VERSION=2.4.5;
  6972. export GEM_ROOT="/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0";'
  6973. +++ export RUBY_ENGINE=ruby
  6974. +++ RUBY_ENGINE=ruby
  6975. +++ export RUBY_VERSION=2.4.5
  6976. +++ RUBY_VERSION=2.4.5
  6977. +++ export GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
  6978. +++ GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
  6979. ++ (( 0 != 0 ))
  6980. + cd /var/app/ondeck
  6981. + su -s /bin/bash -c 'bundle exec /opt/elasticbeanstalk/support/scripts/check-for-rake-task.rb assets:precompile' webapp
  6982. `/home/webapp` is not a directory.
  6983. Bundler will use `/tmp/bundler/home/webapp' as your home directory temporarily.
  6984. + '[' false == true ']'
  6985. + su -s /bin/bash -c 'bundle exec rake assets:precompile' webapp
  6986. `/home/webapp` is not a directory.
  6987. Bundler will use `/tmp/bundler/home/webapp' as your home directory temporarily.
  6988. DEPRECATION WARNING: `config.static_cache_control` is deprecated and will be removed in Rails 5.1.
  6989. Please use
  6990. `config.public_file_server.headers = { 'Cache-Control' => 'public, max-age=2592000' }`
  6991. instead.
  6992. (called from block in <top (required)> at /var/app/ondeck/config/environments/production.rb:28)
  6993. intializing git
  6994. error: could not lock config file /home/webapp/.gitconfig: No such file or directory
  6995. sh: line 0: cd: /home/webapp: No such file or directory
  6996. I, [2019-01-27T12:16:52.215594 #12703] INFO -- : Writing /var/app/ondeck/public/assets/active_admin-6f1b843b5bbbbe3257701ffd3bd6475c519e5523a0e1604f9c9af6ec18e4ad25.css
  6997. I, [2019-01-27T12:16:52.215890 #12703] INFO -- : Writing /var/app/ondeck/public/assets/active_admin-6f1b843b5bbbbe3257701ffd3bd6475c519e5523a0e1604f9c9af6ec18e4ad25.css.gz
  6998. I, [2019-01-27T12:16:52.216180 #12703] INFO -- : Writing /var/app/ondeck/public/assets/active_admin/nested_menu_arrow-15084d93c65c1964d7077700ea748bd2d70cfa2d4c19707c58a9c64e232dd442.gif
  6999. I, [2019-01-27T12:16:52.216488 #12703] INFO -- : Writing /var/app/ondeck/public/assets/active_admin/nested_menu_arrow_dark-7c43b8e0a5f8823875f49a093c9d7a6b374f885b6f9cc248ae9cd7e6e9b29034.gif
  7000. I, [2019-01-27T12:16:52.216756 #12703] INFO -- : Writing /var/app/ondeck/public/assets/active_admin/orderable-29374dbb55b0012d78a37c614d573bb3474f0779849b478a147d0f1845ca6617.png
  7001. I, [2019-01-27T12:16:52.403792 #12703] INFO -- : Writing /var/app/ondeck/public/assets/active_admin/print-cf99cbf27fb92065a9eacd28e6fad48fa72cadaf6e0918790e8d35b11d8f99f6.css
  7002. I, [2019-01-27T12:16:52.404166 #12703] INFO -- : Writing /var/app/ondeck/public/assets/active_admin/print-cf99cbf27fb92065a9eacd28e6fad48fa72cadaf6e0918790e8d35b11d8f99f6.css.gz
  7003. I, [2019-01-27T12:17:02.387531 #12703] INFO -- : Writing /var/app/ondeck/public/assets/active_admin-aad478f9674ed0cc76f83512b458a5e516b90e017d64c576f5f9eaf05ea52b38.js
  7004. I, [2019-01-27T12:17:02.388098 #12703] INFO -- : Writing /var/app/ondeck/public/assets/active_admin-aad478f9674ed0cc76f83512b458a5e516b90e017d64c576f5f9eaf05ea52b38.js.gz
  7005. I, [2019-01-27T12:17:02.396714 #12703] INFO -- : Writing /var/app/ondeck/public/assets/danger-869dd8b0616e1a5b646dc898db2a5d6428f45fe14a90fa6d0c7130f64d886c48.png
  7006. I, [2019-01-27T12:17:02.398953 #12703] INFO -- : Writing /var/app/ondeck/public/assets/dark-607bed84e53ccb497978bd3ae9e51d4b57de94e954da4e8e1ec5b51a78d8898e.png
  7007. I, [2019-01-27T12:17:02.405350 #12703] INFO -- : Writing /var/app/ondeck/public/assets/do-e798277592b8fde73e6568cdde6687220f6d2a83f53250c561edf11619d5b1c1.jpg
  7008. I, [2019-01-27T12:17:02.407141 #12703] INFO -- : Writing /var/app/ondeck/public/assets/favicon-21c44bf091fb9557f8a4527913b0254924fc136d6e71dcee1676b7f37c8175ef.ico
  7009. I, [2019-01-27T12:17:02.407406 #12703] INFO -- : Writing /var/app/ondeck/public/assets/favicon-21c44bf091fb9557f8a4527913b0254924fc136d6e71dcee1676b7f37c8175ef.ico.gz
  7010. I, [2019-01-27T12:17:02.410551 #12703] INFO -- : Writing /var/app/ondeck/public/assets/home-f3281914e0ac5072115e9ba6f458cec56ad002cc5e65ca75988afc86af858e01.jpg
  7011. I, [2019-01-27T12:17:02.417162 #12703] INFO -- : Writing /var/app/ondeck/public/assets/info-967cdd33af0671563a0e72bed22f1cddb95a138e241dffbd5013750360bf7113.png
  7012. I, [2019-01-27T12:17:02.422563 #12703] INFO -- : Writing /var/app/ondeck/public/assets/primary-093ae3386f858ff56855e5c8a09137d4ce87c2c7aa2b152af81eac5d7667a98d.png
  7013. I, [2019-01-27T12:17:02.424860 #12703] INFO -- : Writing /var/app/ondeck/public/assets/secondary-1c1a37a441b0e6f6ca2bfb1435df8f1160a0e4ec1db5798a5e5a72374172942c.png
  7014. I, [2019-01-27T12:17:02.427768 #12703] INFO -- : Writing /var/app/ondeck/public/assets/success-5a1b362ddb5e5ed6131beffc575d91a3615864b678d24706bff24b055b6a594c.png
  7015. I, [2019-01-27T12:17:02.429842 #12703] INFO -- : Writing /var/app/ondeck/public/assets/warning-a3e35927fa71a99455166de5b62a03122ffb5287e33c9ed2c42532622f543fa5.png
  7016. I, [2019-01-27T12:17:08.085409 #12703] INFO -- : Writing /var/app/ondeck/public/assets/application-5770a9512b971d7fb2a232494ee2a78c8f1d383bfc452a26a9dea3a712e6c3b2.js
  7017. I, [2019-01-27T12:17:08.085869 #12703] INFO -- : Writing /var/app/ondeck/public/assets/application-5770a9512b971d7fb2a232494ee2a78c8f1d383bfc452a26a9dea3a712e6c3b2.js.gz
  7018. I, [2019-01-27T12:17:11.494019 #12703] INFO -- : Writing /var/app/ondeck/public/assets/application-da22e659ddaed5260aa445b696e4e8945e554c6c97884a0be799b74eb511ccf3.css
  7019. I, [2019-01-27T12:17:11.494464 #12703] INFO -- : Writing /var/app/ondeck/public/assets/application-da22e659ddaed5260aa445b696e4e8945e554c6c97884a0be799b74eb511ccf3.css.gz
  7020. [2019-01-27T12:17:11.531Z] INFO [12557] - [Application update app-a0c0-190127_174624@23/AppDeployStage0/AppDeployPreHook/12_db_migration.sh] : Starting activity...
  7021. [2019-01-27T12:17:15.577Z] INFO [12557] - [Application update app-a0c0-190127_174624@23/AppDeployStage0/AppDeployPreHook/12_db_migration.sh] : Completed activity. Result:
  7022. ++ /opt/elasticbeanstalk/bin/get-config container -k script_dir
  7023. + EB_SCRIPT_DIR=/opt/elasticbeanstalk/support/scripts
  7024. ++ /opt/elasticbeanstalk/bin/get-config container -k app_staging_dir
  7025. + EB_APP_STAGING_DIR=/var/app/ondeck
  7026. ++ /opt/elasticbeanstalk/bin/get-config container -k app_user
  7027. + EB_APP_USER=webapp
  7028. ++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
  7029. + EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
  7030. + . /opt/elasticbeanstalk/support/envvars-wrapper.sh
  7031. +++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
  7032. ++ EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
  7033. ++ set +x
  7034. + RAKE_TASK=db:migrate
  7035. + . /opt/elasticbeanstalk/support/scripts/use-app-ruby.sh
  7036. ++ . /usr/local/share/chruby/chruby.sh
  7037. +++ CHRUBY_VERSION=0.3.9
  7038. +++ RUBIES=()
  7039. +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
  7040. +++ [[ -d /opt/rubies ]]
  7041. ++++ ls -A /opt/rubies
  7042. +++ [[ -n ruby-1.9.3-p551
  7043. ruby-2.0.0-p648
  7044. ruby-2.1.10
  7045. ruby-2.2.10
  7046. ruby-2.3.8
  7047. ruby-2.4.5
  7048. ruby-2.5.3
  7049. ruby-2.6.0
  7050. ruby-current ]]
  7051. +++ RUBIES+=("$dir"/*)
  7052. +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
  7053. +++ [[ -d /.rubies ]]
  7054. +++ unset dir
  7055. +++ cat /etc/elasticbeanstalk/.ruby_version
  7056. ++ chruby 2.4.5
  7057. ++ case "$1" in
  7058. ++ local dir match
  7059. ++ for dir in '"${RUBIES[@]}"'
  7060. ++ dir=/opt/rubies/ruby-1.9.3-p551
  7061. ++ case "${dir##*/}" in
  7062. ++ for dir in '"${RUBIES[@]}"'
  7063. ++ dir=/opt/rubies/ruby-2.0.0-p648
  7064. ++ case "${dir##*/}" in
  7065. ++ for dir in '"${RUBIES[@]}"'
  7066. ++ dir=/opt/rubies/ruby-2.1.10
  7067. ++ case "${dir##*/}" in
  7068. ++ for dir in '"${RUBIES[@]}"'
  7069. ++ dir=/opt/rubies/ruby-2.2.10
  7070. ++ case "${dir##*/}" in
  7071. ++ for dir in '"${RUBIES[@]}"'
  7072. ++ dir=/opt/rubies/ruby-2.3.8
  7073. ++ case "${dir##*/}" in
  7074. ++ for dir in '"${RUBIES[@]}"'
  7075. ++ dir=/opt/rubies/ruby-2.4.5
  7076. ++ case "${dir##*/}" in
  7077. ++ match=/opt/rubies/ruby-2.4.5
  7078. ++ for dir in '"${RUBIES[@]}"'
  7079. ++ dir=/opt/rubies/ruby-2.5.3
  7080. ++ case "${dir##*/}" in
  7081. ++ for dir in '"${RUBIES[@]}"'
  7082. ++ dir=/opt/rubies/ruby-2.6.0
  7083. ++ case "${dir##*/}" in
  7084. ++ for dir in '"${RUBIES[@]}"'
  7085. ++ dir=/opt/rubies/ruby-current
  7086. ++ case "${dir##*/}" in
  7087. ++ [[ -z /opt/rubies/ruby-2.4.5 ]]
  7088. ++ shift
  7089. ++ chruby_use /opt/rubies/ruby-2.4.5 ''
  7090. ++ [[ ! -x /opt/rubies/ruby-2.4.5/bin/ruby ]]
  7091. ++ [[ -n '' ]]
  7092. ++ export RUBY_ROOT=/opt/rubies/ruby-2.4.5
  7093. ++ RUBY_ROOT=/opt/rubies/ruby-2.4.5
  7094. ++ export RUBYOPT=
  7095. ++ RUBYOPT=
  7096. ++ export PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
  7097. ++ PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
  7098. +++ /opt/rubies/ruby-2.4.5/bin/ruby -
  7099. ++ eval 'export RUBY_ENGINE=ruby;
  7100. export RUBY_VERSION=2.4.5;
  7101. export GEM_ROOT="/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0";'
  7102. +++ export RUBY_ENGINE=ruby
  7103. +++ RUBY_ENGINE=ruby
  7104. +++ export RUBY_VERSION=2.4.5
  7105. +++ RUBY_VERSION=2.4.5
  7106. +++ export GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
  7107. +++ GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
  7108. ++ (( 0 != 0 ))
  7109. + cd /var/app/ondeck
  7110. + su -s /bin/bash -c 'bundle exec /opt/elasticbeanstalk/support/scripts/check-for-rake-task.rb db:migrate' webapp
  7111. `/home/webapp` is not a directory.
  7112. Bundler will use `/tmp/bundler/home/webapp' as your home directory temporarily.
  7113. + '[' false = true ']'
  7114. + su -s /bin/bash -c 'leader_only bundle exec rake db:migrate' webapp
  7115. `/home/webapp` is not a directory.
  7116. Bundler will use `/tmp/bundler/home/webapp' as your home directory temporarily.
  7117. DEPRECATION WARNING: `config.static_cache_control` is deprecated and will be removed in Rails 5.1.
  7118. Please use
  7119. `config.public_file_server.headers = { 'Cache-Control' => 'public, max-age=2592000' }`
  7120. instead.
  7121. (called from block in <top (required)> at /var/app/ondeck/config/environments/production.rb:28)
  7122. intializing git
  7123. error: could not lock config file /home/webapp/.gitconfig: No such file or directory
  7124. sh: line 0: cd: /home/webapp: No such file or directory
  7125. [2019-01-27T12:17:15.578Z] INFO [12557] - [Application update app-a0c0-190127_174624@23/AppDeployStage0/AppDeployPreHook/13_test_for_puma.sh] : Starting activity...
  7126. [2019-01-27T12:17:16.064Z] INFO [12557] - [Application update app-a0c0-190127_174624@23/AppDeployStage0/AppDeployPreHook/13_test_for_puma.sh] : Completed activity. Result:
  7127. ++ /opt/elasticbeanstalk/bin/get-config container -k script_dir
  7128. + EB_SCRIPT_DIR=/opt/elasticbeanstalk/support/scripts
  7129. ++ /opt/elasticbeanstalk/bin/get-config container -k app_staging_dir
  7130. + EB_APP_STAGING_DIR=/var/app/ondeck
  7131. ++ /opt/elasticbeanstalk/bin/get-config container -k app_user
  7132. + EB_APP_USER=webapp
  7133. + . /opt/elasticbeanstalk/support/scripts/use-app-ruby.sh
  7134. ++ . /usr/local/share/chruby/chruby.sh
  7135. +++ CHRUBY_VERSION=0.3.9
  7136. +++ RUBIES=()
  7137. +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
  7138. +++ [[ -d /opt/rubies ]]
  7139. ++++ ls -A /opt/rubies
  7140. +++ [[ -n ruby-1.9.3-p551
  7141. ruby-2.0.0-p648
  7142. ruby-2.1.10
  7143. ruby-2.2.10
  7144. ruby-2.3.8
  7145. ruby-2.4.5
  7146. ruby-2.5.3
  7147. ruby-2.6.0
  7148. ruby-current ]]
  7149. +++ RUBIES+=("$dir"/*)
  7150. +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
  7151. +++ [[ -d /.rubies ]]
  7152. +++ unset dir
  7153. +++ cat /etc/elasticbeanstalk/.ruby_version
  7154. ++ chruby 2.4.5
  7155. ++ case "$1" in
  7156. ++ local dir match
  7157. ++ for dir in '"${RUBIES[@]}"'
  7158. ++ dir=/opt/rubies/ruby-1.9.3-p551
  7159. ++ case "${dir##*/}" in
  7160. ++ for dir in '"${RUBIES[@]}"'
  7161. ++ dir=/opt/rubies/ruby-2.0.0-p648
  7162. ++ case "${dir##*/}" in
  7163. ++ for dir in '"${RUBIES[@]}"'
  7164. ++ dir=/opt/rubies/ruby-2.1.10
  7165. ++ case "${dir##*/}" in
  7166. ++ for dir in '"${RUBIES[@]}"'
  7167. ++ dir=/opt/rubies/ruby-2.2.10
  7168. ++ case "${dir##*/}" in
  7169. ++ for dir in '"${RUBIES[@]}"'
  7170. ++ dir=/opt/rubies/ruby-2.3.8
  7171. ++ case "${dir##*/}" in
  7172. ++ for dir in '"${RUBIES[@]}"'
  7173. ++ dir=/opt/rubies/ruby-2.4.5
  7174. ++ case "${dir##*/}" in
  7175. ++ match=/opt/rubies/ruby-2.4.5
  7176. ++ for dir in '"${RUBIES[@]}"'
  7177. ++ dir=/opt/rubies/ruby-2.5.3
  7178. ++ case "${dir##*/}" in
  7179. ++ for dir in '"${RUBIES[@]}"'
  7180. ++ dir=/opt/rubies/ruby-2.6.0
  7181. ++ case "${dir##*/}" in
  7182. ++ for dir in '"${RUBIES[@]}"'
  7183. ++ dir=/opt/rubies/ruby-current
  7184. ++ case "${dir##*/}" in
  7185. ++ [[ -z /opt/rubies/ruby-2.4.5 ]]
  7186. ++ shift
  7187. ++ chruby_use /opt/rubies/ruby-2.4.5 ''
  7188. ++ [[ ! -x /opt/rubies/ruby-2.4.5/bin/ruby ]]
  7189. ++ [[ -n '' ]]
  7190. ++ export RUBY_ROOT=/opt/rubies/ruby-2.4.5
  7191. ++ RUBY_ROOT=/opt/rubies/ruby-2.4.5
  7192. ++ export RUBYOPT=
  7193. ++ RUBYOPT=
  7194. ++ export PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
  7195. ++ PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
  7196. +++ /opt/rubies/ruby-2.4.5/bin/ruby -
  7197. ++ eval 'export RUBY_ENGINE=ruby;
  7198. export RUBY_VERSION=2.4.5;
  7199. export GEM_ROOT="/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0";'
  7200. +++ export RUBY_ENGINE=ruby
  7201. +++ RUBY_ENGINE=ruby
  7202. +++ export RUBY_VERSION=2.4.5
  7203. +++ RUBY_VERSION=2.4.5
  7204. +++ export GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
  7205. +++ GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
  7206. ++ (( 0 != 0 ))
  7207. + /opt/elasticbeanstalk/support/scripts/check-for-gem.rb puma
  7208. + echo true
  7209. [2019-01-27T12:17:16.064Z] INFO [12557] - [Application update app-a0c0-190127_174624@23/AppDeployStage0/AppDeployPreHook] : Completed activity. Result:
  7210. Successfully execute hooks in directory /opt/elasticbeanstalk/hooks/appdeploy/pre.
  7211. [2019-01-27T12:17:16.064Z] INFO [12557] - [Application update app-a0c0-190127_174624@23/AppDeployStage0/EbExtensionPostBuild] : Starting activity...
  7212. [2019-01-27T12:17:16.405Z] INFO [12557] - [Application update app-a0c0-190127_174624@23/AppDeployStage0/EbExtensionPostBuild/Infra-EmbeddedPostBuild] : Starting activity...
  7213. [2019-01-27T12:17:16.405Z] INFO [12557] - [Application update app-a0c0-190127_174624@23/AppDeployStage0/EbExtensionPostBuild/Infra-EmbeddedPostBuild] : Completed activity.
  7214. [2019-01-27T12:17:16.420Z] INFO [12557] - [Application update app-a0c0-190127_174624@23/AppDeployStage0/EbExtensionPostBuild] : Completed activity.
  7215. [2019-01-27T12:17:16.420Z] INFO [12557] - [Application update app-a0c0-190127_174624@23/AppDeployStage0/InfraCleanEbextension] : Starting activity...
  7216. [2019-01-27T12:17:16.429Z] INFO [12557] - [Application update app-a0c0-190127_174624@23/AppDeployStage0/InfraCleanEbextension] : Completed activity. Result:
  7217. Cleaned ebextensions subdirectories from /var/app/ondeck.
  7218. [2019-01-27T12:17:16.430Z] INFO [12557] - [Application update app-a0c0-190127_174624@23/AppDeployStage0] : Completed activity. Result:
  7219. Application update - Command CMD-AppDeploy stage 0 completed
  7220. [2019-01-27T12:17:16.430Z] INFO [12557] - [Application update app-a0c0-190127_174624@23/AppDeployStage1] : Starting activity...
  7221. [2019-01-27T12:17:16.430Z] INFO [12557] - [Application update app-a0c0-190127_174624@23/AppDeployStage1/AppDeployEnactHook] : Starting activity...
  7222. [2019-01-27T12:17:16.430Z] INFO [12557] - [Application update app-a0c0-190127_174624@23/AppDeployStage1/AppDeployEnactHook/01_flip.sh] : Starting activity...
  7223. [2019-01-27T12:17:16.713Z] INFO [12557] - [Application update app-a0c0-190127_174624@23/AppDeployStage1/AppDeployEnactHook/01_flip.sh] : Completed activity. Result:
  7224. ++ /opt/elasticbeanstalk/bin/get-config container -k app_staging_dir
  7225. + EB_APP_STAGING_DIR=/var/app/ondeck
  7226. ++ /opt/elasticbeanstalk/bin/get-config container -k app_deploy_dir
  7227. + EB_APP_DEPLOY_DIR=/var/app/current
  7228. ++ /opt/elasticbeanstalk/bin/get-config container -k app_user
  7229. + EB_APP_USER=webapp
  7230. + '[' -d /var/app/current ']'
  7231. + mv /var/app/current /var/app/current.old
  7232. + mv /var/app/ondeck /var/app/current
  7233. + mkdir -p /var/app/current/tmp /var/app/current/public
  7234. + chown -R webapp:webapp /var/app/current/tmp /var/app/current/public
  7235. + nohup rm -rf /var/app/current.old
  7236. [2019-01-27T12:17:16.713Z] INFO [12557] - [Application update app-a0c0-190127_174624@23/AppDeployStage1/AppDeployEnactHook/01stop_xray.sh] : Starting activity...
  7237. [2019-01-27T12:17:16.852Z] INFO [12557] - [Application update app-a0c0-190127_174624@23/AppDeployStage1/AppDeployEnactHook/01stop_xray.sh] : Completed activity. Result:
  7238. Executing: if ( initctl status xray | grep start ); then initctl stop xray; fi
  7239.  
  7240. [2019-01-27T12:17:16.853Z] INFO [12557] - [Application update app-a0c0-190127_174624@23/AppDeployStage1/AppDeployEnactHook/02_restart_app_server.sh] : Starting activity...
  7241. [2019-01-27T12:17:18.859Z] INFO [12557] - [Application update app-a0c0-190127_174624@23/AppDeployStage1/AppDeployEnactHook/02_restart_app_server.sh] : Completed activity. Result:
  7242. + initctl restart puma
  7243. puma start/running, process 12976
  7244. [2019-01-27T12:17:18.864Z] INFO [12557] - [Application update app-a0c0-190127_174624@23/AppDeployStage1/AppDeployEnactHook/02start_xray.sh] : Starting activity...
  7245. [2019-01-27T12:17:19.078Z] INFO [12557] - [Application update app-a0c0-190127_174624@23/AppDeployStage1/AppDeployEnactHook/02start_xray.sh] : Completed activity.
  7246. [2019-01-27T12:17:19.078Z] INFO [12557] - [Application update app-a0c0-190127_174624@23/AppDeployStage1/AppDeployEnactHook/28_create_pids.sh] : Starting activity...
  7247. [2019-01-27T12:17:20.460Z] INFO [12557] - [Application update app-a0c0-190127_174624@23/AppDeployStage1/AppDeployEnactHook/28_create_pids.sh] : Completed activity. Result:
  7248. + /opt/elasticbeanstalk/bin/healthd-track-pidfile --proxy nginx
  7249. ++ /opt/elasticbeanstalk/bin/get-config container -k puma_pid_dir
  7250. + PUMA_PID_DIR=/var/run/puma
  7251. + /opt/elasticbeanstalk/bin/healthd-track-pidfile --name application --location /var/run/puma/puma.pid
  7252. [2019-01-27T12:17:20.461Z] INFO [12557] - [Application update app-a0c0-190127_174624@23/AppDeployStage1/AppDeployEnactHook] : Completed activity. Result:
  7253. Successfully execute hooks in directory /opt/elasticbeanstalk/hooks/appdeploy/enact.
  7254. [2019-01-27T12:17:20.461Z] INFO [12557] - [Application update app-a0c0-190127_174624@23/AppDeployStage1/AppDeployPostHook] : Starting activity...
  7255. [2019-01-27T12:17:20.461Z] INFO [12557] - [Application update app-a0c0-190127_174624@23/AppDeployStage1/AppDeployPostHook/01_rails_support.sh] : Starting activity...
  7256. [2019-01-27T12:17:20.847Z] INFO [12557] - [Application update app-a0c0-190127_174624@23/AppDeployStage1/AppDeployPostHook/01_rails_support.sh] : Completed activity. Result:
  7257. ++ /opt/elasticbeanstalk/bin/get-config container -k app_deploy_dir
  7258. + EB_APP_DEPLOY_DIR=/var/app/current
  7259. ++ /opt/elasticbeanstalk/bin/get-config container -k app_log_dir
  7260. + EB_APP_LOG_DIR=/var/app/containerfiles/logs
  7261. + ln -sf /var/app/current/log/production.log /var/app/containerfiles/logs
  7262. [2019-01-27T12:17:20.847Z] INFO [12557] - [Application update app-a0c0-190127_174624@23/AppDeployStage1/AppDeployPostHook] : Completed activity. Result:
  7263. Successfully execute hooks in directory /opt/elasticbeanstalk/hooks/appdeploy/post.
  7264. [2019-01-27T12:17:20.848Z] INFO [12557] - [Application update app-a0c0-190127_174624@23/AppDeployStage1] : Completed activity. Result:
  7265. Application version switch - Command CMD-AppDeploy stage 1 completed
  7266. [2019-01-27T12:17:20.848Z] INFO [12557] - [Application update app-a0c0-190127_174624@23/AddonsAfter] : Starting activity...
  7267. [2019-01-27T12:17:20.848Z] INFO [12557] - [Application update app-a0c0-190127_174624@23/AddonsAfter/ConfigLogRotation] : Starting activity...
  7268. [2019-01-27T12:17:20.848Z] INFO [12557] - [Application update app-a0c0-190127_174624@23/AddonsAfter/ConfigLogRotation/10-config.sh] : Starting activity...
  7269. [2019-01-27T12:17:21.016Z] INFO [12557] - [Application update app-a0c0-190127_174624@23/AddonsAfter/ConfigLogRotation/10-config.sh] : Completed activity. Result:
  7270. Disabled forced hourly log rotation.
  7271. [2019-01-27T12:17:21.016Z] INFO [12557] - [Application update app-a0c0-190127_174624@23/AddonsAfter/ConfigLogRotation] : Completed activity. Result:
  7272. Successfully execute hooks in directory /opt/elasticbeanstalk/addons/logpublish/hooks/config.
  7273. [2019-01-27T12:17:21.016Z] INFO [12557] - [Application update app-a0c0-190127_174624@23/AddonsAfter] : Completed activity.
  7274. [2019-01-27T12:17:21.016Z] INFO [12557] - [Application update app-a0c0-190127_174624@23] : Completed activity. Result:
  7275. Application update - Command CMD-AppDeploy succeeded
  7276. [2019-01-27T12:40:53.714Z] INFO [13776] - [CMD-TailLogs] : Starting activity...
  7277. [2019-01-27T12:40:53.714Z] INFO [13776] - [CMD-TailLogs/AddonsBefore] : Starting activity...
  7278. [2019-01-27T12:40:53.714Z] INFO [13776] - [CMD-TailLogs/AddonsBefore] : Completed activity.
  7279. [2019-01-27T12:40:53.714Z] INFO [13776] - [CMD-TailLogs/TailLogs] : Starting activity...
  7280. [2019-01-27T12:40:53.714Z] INFO [13776] - [CMD-TailLogs/TailLogs/TailLogs] : Starting activity...
  7281. [2019-01-27T12:40:53.888Z] INFO [13776] - [CMD-TailLogs/TailLogs/TailLogs] : Completed activity.
  7282. [2019-01-27T12:40:53.889Z] INFO [13776] - [CMD-TailLogs/TailLogs] : Completed activity. Result:
  7283. CMD-TailLogs - stage 0 - Command CMD-TailLogs stage 0 completed
  7284. [2019-01-27T12:40:53.889Z] INFO [13776] - [CMD-TailLogs/AddonsAfter] : Starting activity...
  7285. [2019-01-27T12:40:53.889Z] INFO [13776] - [CMD-TailLogs/AddonsAfter] : Completed activity.
  7286. [2019-01-27T12:40:53.889Z] INFO [13776] - [CMD-TailLogs] : Completed activity. Result:
  7287. CMD-TailLogs - Command CMD-TailLogs succeeded
  7288. [2019-01-27T12:54:48.551Z] INFO [14194] - [CMD-BundleLogs] : Starting activity...
  7289. [2019-01-27T12:54:48.551Z] INFO [14194] - [CMD-BundleLogs/AddonsBefore] : Starting activity...
  7290. [2019-01-27T12:54:48.551Z] INFO [14194] - [CMD-BundleLogs/AddonsBefore] : Completed activity.
  7291. [2019-01-27T12:54:48.551Z] INFO [14194] - [CMD-BundleLogs/BundleLogs] : Starting activity...
  7292. [2019-01-27T12:54:48.551Z] INFO [14194] - [CMD-BundleLogs/BundleLogs/BundleLogs] : Starting activity...
  7293. [2019-01-27T12:54:48.813Z] INFO [14194] - [CMD-BundleLogs/BundleLogs/BundleLogs] : Completed activity.
  7294. [2019-01-27T12:54:48.813Z] INFO [14194] - [CMD-BundleLogs/BundleLogs] : Completed activity. Result:
  7295. CMD-BundleLogs - stage 0 - Command CMD-BundleLogs stage 0 completed
  7296. [2019-01-27T12:54:48.813Z] INFO [14194] - [CMD-BundleLogs/AddonsAfter] : Starting activity...
  7297. [2019-01-27T12:54:48.813Z] INFO [14194] - [CMD-BundleLogs/AddonsAfter] : Completed activity.
  7298. [2019-01-27T12:54:48.813Z] INFO [14194] - [CMD-BundleLogs] : Completed activity. Result:
  7299. CMD-BundleLogs - Command CMD-BundleLogs succeeded
  7300. [2019-01-27T13:00:19.002Z] INFO [14376] - [Application update app-6dfa-190127_182926@24] : Starting activity...
  7301. [2019-01-27T13:00:19.002Z] INFO [14376] - [Application update app-6dfa-190127_182926@24/AddonsBefore] : Starting activity...
  7302. [2019-01-27T13:00:19.002Z] INFO [14376] - [Application update app-6dfa-190127_182926@24/AddonsBefore/ConfigCWLAgent] : Starting activity...
  7303. [2019-01-27T13:00:19.002Z] INFO [14376] - [Application update app-6dfa-190127_182926@24/AddonsBefore/ConfigCWLAgent/10-config.sh] : Starting activity...
  7304. [2019-01-27T13:00:19.124Z] INFO [14376] - [Application update app-6dfa-190127_182926@24/AddonsBefore/ConfigCWLAgent/10-config.sh] : Completed activity. Result:
  7305. Log streaming option setting is not specified, ignore cloudwatch logs setup.
  7306.  
  7307. Disabled log streaming.
  7308. [2019-01-27T13:00:19.124Z] INFO [14376] - [Application update app-6dfa-190127_182926@24/AddonsBefore/ConfigCWLAgent] : Completed activity. Result:
  7309. Successfully execute hooks in directory /opt/elasticbeanstalk/addons/logstreaming/hooks/config.
  7310. [2019-01-27T13:00:19.125Z] INFO [14376] - [Application update app-6dfa-190127_182926@24/AddonsBefore] : Completed activity.
  7311. [2019-01-27T13:00:19.464Z] INFO [14376] - [Application update app-6dfa-190127_182926@24/AppDeployStage0] : Starting activity...
  7312. [2019-01-27T13:00:19.464Z] INFO [14376] - [Application update app-6dfa-190127_182926@24/AppDeployStage0/DownloadSourceBundle] : Starting activity...
  7313. [2019-01-27T13:00:19.888Z] INFO [14376] - [Application update app-6dfa-190127_182926@24/AppDeployStage0/DownloadSourceBundle] : Completed activity. Result:
  7314. [2019-01-27T13:00:19.567Z] INFO [14419] : Application version will be saved to /opt/elasticbeanstalk/deploy/appsource.
  7315. [2019-01-27T13:00:19.567Z] INFO [14419] : Using manifest cache with deployment ID 24 and serial 32.
  7316. [2019-01-27T13:00:19.568Z] INFO [14419] : Attempting to download application source bundle to: '/opt/elasticbeanstalk/deploy/appsource/source_bundle'.
  7317. [2019-01-27T13:00:19.568Z] INFO [14419] : Using computed s3 key.
  7318. [2019-01-27T13:00:19.685Z] INFO [14419] : Downloading from bucket 'elasticbeanstalk-us-east-2-387358288273' with key 'resources/environments/e-sv4jqab3r8/_runtime/_versions/test/app-6dfa-190127_182926' and version '' to '/opt/elasticbeanstalk/deploy/appsource/source_bundle'.
  7319. [2019-01-27T13:00:19.737Z] INFO [14419] : Size: 9504649, ETag: "b9c1c8870f810a1b57713a4f4c320410", Metadata: {"environmentid"=>"e-sv4jqab3r8", "requestid"=>"822f829b-c96b-4f07-a71c-f101fe797ff4"}.
  7320. [2019-01-27T13:00:19.880Z] INFO [14419] : Downloaded size: 9504649.
  7321. [2019-01-27T13:00:19.880Z] INFO [14419] : Successfully downloaded to '/opt/elasticbeanstalk/deploy/appsource/source_bundle'.
  7322. [2019-01-27T13:00:19.888Z] INFO [14376] - [Application update app-6dfa-190127_182926@24/AppDeployStage0/EbExtensionPreBuild] : Starting activity...
  7323. [2019-01-27T13:00:20.237Z] INFO [14376] - [Application update app-6dfa-190127_182926@24/AppDeployStage0/EbExtensionPreBuild/Infra-EmbeddedPreBuild] : Starting activity...
  7324. [2019-01-27T13:00:20.237Z] INFO [14376] - [Application update app-6dfa-190127_182926@24/AppDeployStage0/EbExtensionPreBuild/Infra-EmbeddedPreBuild] : Completed activity.
  7325. [2019-01-27T13:00:20.253Z] INFO [14376] - [Application update app-6dfa-190127_182926@24/AppDeployStage0/EbExtensionPreBuild] : Completed activity.
  7326. [2019-01-27T13:00:20.253Z] INFO [14376] - [Application update app-6dfa-190127_182926@24/AppDeployStage0/AppDeployPreHook] : Starting activity...
  7327. [2019-01-27T13:00:20.253Z] INFO [14376] - [Application update app-6dfa-190127_182926@24/AppDeployStage0/AppDeployPreHook/01_configure_xray.sh] : Starting activity...
  7328. [2019-01-27T13:00:20.359Z] INFO [14376] - [Application update app-6dfa-190127_182926@24/AppDeployStage0/AppDeployPreHook/01_configure_xray.sh] : Completed activity.
  7329. [2019-01-27T13:00:20.359Z] INFO [14376] - [Application update app-6dfa-190127_182926@24/AppDeployStage0/AppDeployPreHook/01_unzip.rb] : Starting activity...
  7330. [2019-01-27T13:00:20.853Z] INFO [14376] - [Application update app-6dfa-190127_182926@24/AppDeployStage0/AppDeployPreHook/01_unzip.rb] : Completed activity.
  7331. [2019-01-27T13:00:20.853Z] INFO [14376] - [Application update app-6dfa-190127_182926@24/AppDeployStage0/AppDeployPreHook/02_setup_envvars.sh] : Starting activity...
  7332. [2019-01-27T13:00:21.076Z] INFO [14376] - [Application update app-6dfa-190127_182926@24/AppDeployStage0/AppDeployPreHook/02_setup_envvars.sh] : Completed activity. Result:
  7333. ++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
  7334. + EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
  7335. + /opt/elasticbeanstalk/support/export_envvars
  7336. [2019-01-27T13:00:21.076Z] INFO [14376] - [Application update app-6dfa-190127_182926@24/AppDeployStage0/AppDeployPreHook/10_bundle_install.sh] : Starting activity...
  7337. [2019-01-27T13:00:21.968Z] INFO [14376] - [Application update app-6dfa-190127_182926@24/AppDeployStage0/AppDeployPreHook/10_bundle_install.sh] : Completed activity. Result:
  7338. ++ /opt/elasticbeanstalk/bin/get-config container -k script_dir
  7339. + EB_SCRIPT_DIR=/opt/elasticbeanstalk/support/scripts
  7340. ++ /opt/elasticbeanstalk/bin/get-config container -k app_staging_dir
  7341. + EB_APP_STAGING_DIR=/var/app/ondeck
  7342. ++ /opt/elasticbeanstalk/bin/get-config container -k app_user
  7343. + EB_APP_USER=webapp
  7344. ++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
  7345. + EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
  7346. + . /opt/elasticbeanstalk/support/envvars-wrapper.sh
  7347. +++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
  7348. ++ EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
  7349. ++ set +x
  7350. + . /opt/elasticbeanstalk/support/scripts/use-app-ruby.sh
  7351. ++ . /usr/local/share/chruby/chruby.sh
  7352. +++ CHRUBY_VERSION=0.3.9
  7353. +++ RUBIES=()
  7354. +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
  7355. +++ [[ -d /opt/rubies ]]
  7356. ++++ ls -A /opt/rubies
  7357. +++ [[ -n ruby-1.9.3-p551
  7358. ruby-2.0.0-p648
  7359. ruby-2.1.10
  7360. ruby-2.2.10
  7361. ruby-2.3.8
  7362. ruby-2.4.5
  7363. ruby-2.5.3
  7364. ruby-2.6.0
  7365. ruby-current ]]
  7366. +++ RUBIES+=("$dir"/*)
  7367. +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
  7368. +++ [[ -d /.rubies ]]
  7369. +++ unset dir
  7370. +++ cat /etc/elasticbeanstalk/.ruby_version
  7371. ++ chruby 2.4.5
  7372. ++ case "$1" in
  7373. ++ local dir match
  7374. ++ for dir in '"${RUBIES[@]}"'
  7375. ++ dir=/opt/rubies/ruby-1.9.3-p551
  7376. ++ case "${dir##*/}" in
  7377. ++ for dir in '"${RUBIES[@]}"'
  7378. ++ dir=/opt/rubies/ruby-2.0.0-p648
  7379. ++ case "${dir##*/}" in
  7380. ++ for dir in '"${RUBIES[@]}"'
  7381. ++ dir=/opt/rubies/ruby-2.1.10
  7382. ++ case "${dir##*/}" in
  7383. ++ for dir in '"${RUBIES[@]}"'
  7384. ++ dir=/opt/rubies/ruby-2.2.10
  7385. ++ case "${dir##*/}" in
  7386. ++ for dir in '"${RUBIES[@]}"'
  7387. ++ dir=/opt/rubies/ruby-2.3.8
  7388. ++ case "${dir##*/}" in
  7389. ++ for dir in '"${RUBIES[@]}"'
  7390. ++ dir=/opt/rubies/ruby-2.4.5
  7391. ++ case "${dir##*/}" in
  7392. ++ match=/opt/rubies/ruby-2.4.5
  7393. ++ for dir in '"${RUBIES[@]}"'
  7394. ++ dir=/opt/rubies/ruby-2.5.3
  7395. ++ case "${dir##*/}" in
  7396. ++ for dir in '"${RUBIES[@]}"'
  7397. ++ dir=/opt/rubies/ruby-2.6.0
  7398. ++ case "${dir##*/}" in
  7399. ++ for dir in '"${RUBIES[@]}"'
  7400. ++ dir=/opt/rubies/ruby-current
  7401. ++ case "${dir##*/}" in
  7402. ++ [[ -z /opt/rubies/ruby-2.4.5 ]]
  7403. ++ shift
  7404. ++ chruby_use /opt/rubies/ruby-2.4.5 ''
  7405. ++ [[ ! -x /opt/rubies/ruby-2.4.5/bin/ruby ]]
  7406. ++ [[ -n '' ]]
  7407. ++ export RUBY_ROOT=/opt/rubies/ruby-2.4.5
  7408. ++ RUBY_ROOT=/opt/rubies/ruby-2.4.5
  7409. ++ export RUBYOPT=
  7410. ++ RUBYOPT=
  7411. ++ export PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
  7412. ++ PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
  7413. +++ /opt/rubies/ruby-2.4.5/bin/ruby -
  7414. ++ eval 'export RUBY_ENGINE=ruby;
  7415. export RUBY_VERSION=2.4.5;
  7416. export GEM_ROOT="/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0";'
  7417. +++ export RUBY_ENGINE=ruby
  7418. +++ RUBY_ENGINE=ruby
  7419. +++ export RUBY_VERSION=2.4.5
  7420. +++ RUBY_VERSION=2.4.5
  7421. +++ export GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
  7422. +++ GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
  7423. ++ (( 0 != 0 ))
  7424. + cd /var/app/ondeck
  7425. + '[' -f Gemfile ']'
  7426. + echo 'running '\''bundle install'\'' with Gemfile:'
  7427. running 'bundle install' with Gemfile:
  7428. + cat Gemfile
  7429. source 'https://rubygems.org'
  7430.  
  7431.  
  7432. # Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
  7433. gem 'rails', '~> 5.0.0', '>= 5.0.0.1'
  7434.  
  7435.  
  7436. # sqlite3 fails on heroku
  7437. # group :development do
  7438. # gem 'sqlite3' #gem to use in development environment
  7439. # end
  7440. # gem 'sqlite3'
  7441. # group :production do
  7442. gem 'pg', '~> 0.20.0' #gem to use in production environment
  7443. # end
  7444. gem 'will_paginate', '~> 3.1.0'
  7445. gem 'simple_form'
  7446. gem 'bootstrap-sass'
  7447. gem 'devise'
  7448. gem 'nested_scaffold'
  7449. # Use Puma as the app server
  7450. gem 'puma', '~> 3.0'
  7451. # Use SCSS for stylesheets
  7452. gem 'sass-rails', '~> 5.0'
  7453. # Use Uglifier as compressor for JavaScript assets
  7454. gem 'uglifier', '>= 1.3.0'
  7455. # Use CoffeeScript for .coffee assets and views
  7456. gem 'coffee-rails', '~> 4.2'
  7457. # See https://github.com/rails/execjs#readme for more supported runtimes
  7458. # gem 'therubyracer', platforms: :ruby
  7459.  
  7460. # Use jquery as the JavaScript library
  7461. gem 'jquery-rails'
  7462. # Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks
  7463. gem 'turbolinks', '~> 5'
  7464. # Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
  7465. gem 'jbuilder', '~> 2.5'
  7466. # Use Redis adapter to run Action Cable in production
  7467. # gem 'redis', '~> 3.0'
  7468. # Use ActiveModel has_secure_password
  7469. # gem 'bcrypt', '~> 3.1.7'
  7470.  
  7471. # Use Capistrano for deployment
  7472. # gem 'capistrano-rails', group: :development
  7473.  
  7474. group :development, :test do
  7475. # Call 'byebug' anywhere in the code to stop execution and get a debugger console
  7476. gem 'byebug', platform: :mri
  7477. end
  7478.  
  7479. group :development do
  7480. # Access an IRB console on exception pages or by using <%= console %> anywhere in the code.
  7481. gem 'web-console'
  7482. end
  7483.  
  7484. # Windows does not include zoneinfo files, so bundle the tzinfo-data gem
  7485. gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
  7486.  
  7487. gem 'activeadmin'
  7488. + '[' -d /var/app/ondeck/vendor/cache ']'
  7489. + bundle install
  7490. Don't run Bundler as root. Bundler can ask for sudo if it is needed, and
  7491. installing your bundle as root will break this application for all non-root
  7492. users on this machine.
  7493. Warning: the running version of Bundler (1.16.2) is older than the version that created the lockfile (1.16.3). We suggest you upgrade to the latest version of Bundler by running `gem install bundler`.
  7494. Using rake 12.3.2
  7495. Using concurrent-ruby 1.1.4
  7496. Using i18n 1.5.3
  7497. Using minitest 5.11.3
  7498. Using thread_safe 0.3.6
  7499. Using tzinfo 1.2.5
  7500. Using activesupport 5.0.7.1
  7501. Using builder 3.2.3
  7502. Using erubis 2.7.0
  7503. Using mini_portile2 2.4.0
  7504. Using nokogiri 1.10.1
  7505. Using rails-dom-testing 2.0.3
  7506. Using crass 1.0.4
  7507. Using loofah 2.2.3
  7508. Using rails-html-sanitizer 1.0.4
  7509. Using actionview 5.0.7.1
  7510. Using rack 2.0.6
  7511. Using rack-test 0.6.3
  7512. Using actionpack 5.0.7.1
  7513. Using nio4r 2.3.1
  7514. Using websocket-extensions 0.1.3
  7515. Using websocket-driver 0.6.5
  7516. Using actioncable 5.0.7.1
  7517. Using globalid 0.4.2
  7518. Using activejob 5.0.7.1
  7519. Using mini_mime 1.0.1
  7520. Using mail 2.7.1
  7521. Using actionmailer 5.0.7.1
  7522. Using arbre 1.1.1
  7523. Using coffee-script-source 1.12.2
  7524. Using execjs 2.7.0
  7525. Using coffee-script 2.4.1
  7526. Using method_source 0.9.2
  7527. Using thor 0.20.3
  7528. Using railties 5.0.7.1
  7529. Using coffee-rails 4.2.2
  7530. Using formtastic 3.1.5
  7531. Using formtastic_i18n 0.6.0
  7532. Using has_scope 0.7.2
  7533. Using responders 2.4.1
  7534. Using inherited_resources 1.9.0
  7535. Using jquery-rails 4.3.3
  7536. Using kaminari-core 1.1.1
  7537. Using kaminari-actionview 1.1.1
  7538. Using activemodel 5.0.7.1
  7539. Using arel 7.1.4
  7540. Using activerecord 5.0.7.1
  7541. Using kaminari-activerecord 1.1.1
  7542. Using kaminari 1.1.1
  7543. Using ransack 2.1.1
  7544. Using rb-fsevent 0.10.3
  7545. Using ffi 1.9.25
  7546. Using rb-inotify 0.10.0
  7547. Using sass-listen 4.0.0
  7548. Using sass 3.7.3
  7549. Using sprockets 3.7.2
  7550. Using activeadmin 1.4.3
  7551. Using autoprefixer-rails 9.4.6
  7552. Using bcrypt 3.1.12
  7553. Using sassc 2.0.0
  7554. Using bootstrap-sass 3.4.0
  7555. Using bundler 1.16.2
  7556. Using orm_adapter 0.5.0
  7557. Using warden 1.2.8
  7558. Using devise 4.5.0
  7559. Using multi_json 1.13.1
  7560. Using jbuilder 2.8.0
  7561. Using nested_scaffold 1.0.0
  7562. Using pg 0.20.0
  7563. Using puma 3.12.0
  7564. Using sprockets-rails 3.2.1
  7565. Using rails 5.0.7.1
  7566. Using tilt 2.0.9
  7567. Using sass-rails 5.0.7
  7568. Using simple_form 4.1.0
  7569. Using turbolinks-source 5.2.0
  7570. Using turbolinks 5.2.0
  7571. Using uglifier 4.1.20
  7572. Using will_paginate 3.1.6
  7573. Bundle complete! 18 Gemfile dependencies, 79 gems now installed.
  7574. Gems in the groups test and development were not installed.
  7575. Use `bundle info [gemname]` to see where a bundled gem is installed.
  7576. + '[' -f Gemfile.lock ']'
  7577. + echo 'encountered a Gemfile.lock, setting proper permissions'
  7578. encountered a Gemfile.lock, setting proper permissions
  7579. + chown webapp:webapp Gemfile.lock
  7580. + '[' '' = 1 ']'
  7581. [2019-01-27T13:00:21.968Z] INFO [14376] - [Application update app-6dfa-190127_182926@24/AppDeployStage0/AppDeployPreHook/11_asset_compilation.sh] : Starting activity...
  7582. [2019-01-27T13:00:46.724Z] INFO [14376] - [Application update app-6dfa-190127_182926@24/AppDeployStage0/AppDeployPreHook/11_asset_compilation.sh] : Completed activity. Result:
  7583. ++ /opt/elasticbeanstalk/bin/get-config container -k script_dir
  7584. + EB_SCRIPT_DIR=/opt/elasticbeanstalk/support/scripts
  7585. ++ /opt/elasticbeanstalk/bin/get-config container -k app_staging_dir
  7586. + EB_APP_STAGING_DIR=/var/app/ondeck
  7587. ++ /opt/elasticbeanstalk/bin/get-config container -k app_user
  7588. + EB_APP_USER=webapp
  7589. ++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
  7590. + EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
  7591. + . /opt/elasticbeanstalk/support/envvars-wrapper.sh
  7592. +++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
  7593. ++ EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
  7594. ++ set +x
  7595. + RAKE_TASK=assets:precompile
  7596. + . /opt/elasticbeanstalk/support/scripts/use-app-ruby.sh
  7597. ++ . /usr/local/share/chruby/chruby.sh
  7598. +++ CHRUBY_VERSION=0.3.9
  7599. +++ RUBIES=()
  7600. +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
  7601. +++ [[ -d /opt/rubies ]]
  7602. ++++ ls -A /opt/rubies
  7603. +++ [[ -n ruby-1.9.3-p551
  7604. ruby-2.0.0-p648
  7605. ruby-2.1.10
  7606. ruby-2.2.10
  7607. ruby-2.3.8
  7608. ruby-2.4.5
  7609. ruby-2.5.3
  7610. ruby-2.6.0
  7611. ruby-current ]]
  7612. +++ RUBIES+=("$dir"/*)
  7613. +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
  7614. +++ [[ -d /.rubies ]]
  7615. +++ unset dir
  7616. +++ cat /etc/elasticbeanstalk/.ruby_version
  7617. ++ chruby 2.4.5
  7618. ++ case "$1" in
  7619. ++ local dir match
  7620. ++ for dir in '"${RUBIES[@]}"'
  7621. ++ dir=/opt/rubies/ruby-1.9.3-p551
  7622. ++ case "${dir##*/}" in
  7623. ++ for dir in '"${RUBIES[@]}"'
  7624. ++ dir=/opt/rubies/ruby-2.0.0-p648
  7625. ++ case "${dir##*/}" in
  7626. ++ for dir in '"${RUBIES[@]}"'
  7627. ++ dir=/opt/rubies/ruby-2.1.10
  7628. ++ case "${dir##*/}" in
  7629. ++ for dir in '"${RUBIES[@]}"'
  7630. ++ dir=/opt/rubies/ruby-2.2.10
  7631. ++ case "${dir##*/}" in
  7632. ++ for dir in '"${RUBIES[@]}"'
  7633. ++ dir=/opt/rubies/ruby-2.3.8
  7634. ++ case "${dir##*/}" in
  7635. ++ for dir in '"${RUBIES[@]}"'
  7636. ++ dir=/opt/rubies/ruby-2.4.5
  7637. ++ case "${dir##*/}" in
  7638. ++ match=/opt/rubies/ruby-2.4.5
  7639. ++ for dir in '"${RUBIES[@]}"'
  7640. ++ dir=/opt/rubies/ruby-2.5.3
  7641. ++ case "${dir##*/}" in
  7642. ++ for dir in '"${RUBIES[@]}"'
  7643. ++ dir=/opt/rubies/ruby-2.6.0
  7644. ++ case "${dir##*/}" in
  7645. ++ for dir in '"${RUBIES[@]}"'
  7646. ++ dir=/opt/rubies/ruby-current
  7647. ++ case "${dir##*/}" in
  7648. ++ [[ -z /opt/rubies/ruby-2.4.5 ]]
  7649. ++ shift
  7650. ++ chruby_use /opt/rubies/ruby-2.4.5 ''
  7651. ++ [[ ! -x /opt/rubies/ruby-2.4.5/bin/ruby ]]
  7652. ++ [[ -n '' ]]
  7653. ++ export RUBY_ROOT=/opt/rubies/ruby-2.4.5
  7654. ++ RUBY_ROOT=/opt/rubies/ruby-2.4.5
  7655. ++ export RUBYOPT=
  7656. ++ RUBYOPT=
  7657. ++ export PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
  7658. ++ PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
  7659. +++ /opt/rubies/ruby-2.4.5/bin/ruby -
  7660. ++ eval 'export RUBY_ENGINE=ruby;
  7661. export RUBY_VERSION=2.4.5;
  7662. export GEM_ROOT="/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0";'
  7663. +++ export RUBY_ENGINE=ruby
  7664. +++ RUBY_ENGINE=ruby
  7665. +++ export RUBY_VERSION=2.4.5
  7666. +++ RUBY_VERSION=2.4.5
  7667. +++ export GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
  7668. +++ GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
  7669. ++ (( 0 != 0 ))
  7670. + cd /var/app/ondeck
  7671. + su -s /bin/bash -c 'bundle exec /opt/elasticbeanstalk/support/scripts/check-for-rake-task.rb assets:precompile' webapp
  7672. `/home/webapp` is not a directory.
  7673. Bundler will use `/tmp/bundler/home/webapp' as your home directory temporarily.
  7674. + '[' false == true ']'
  7675. + su -s /bin/bash -c 'bundle exec rake assets:precompile' webapp
  7676. `/home/webapp` is not a directory.
  7677. Bundler will use `/tmp/bundler/home/webapp' as your home directory temporarily.
  7678. DEPRECATION WARNING: `config.static_cache_control` is deprecated and will be removed in Rails 5.1.
  7679. Please use
  7680. `config.public_file_server.headers = { 'Cache-Control' => 'public, max-age=2592000' }`
  7681. instead.
  7682. (called from block in <top (required)> at /var/app/ondeck/config/environments/production.rb:28)
  7683. intializing git
  7684. error: could not lock config file /home/webapp/.gitconfig: No such file or directory
  7685. sh: line 0: cd: /home/webapp: No such file or directory
  7686. I, [2019-01-27T13:00:27.445430 #14519] INFO -- : Writing /var/app/ondeck/public/assets/active_admin-6f1b843b5bbbbe3257701ffd3bd6475c519e5523a0e1604f9c9af6ec18e4ad25.css
  7687. I, [2019-01-27T13:00:27.445802 #14519] INFO -- : Writing /var/app/ondeck/public/assets/active_admin-6f1b843b5bbbbe3257701ffd3bd6475c519e5523a0e1604f9c9af6ec18e4ad25.css.gz
  7688. I, [2019-01-27T13:00:27.446080 #14519] INFO -- : Writing /var/app/ondeck/public/assets/active_admin/nested_menu_arrow-15084d93c65c1964d7077700ea748bd2d70cfa2d4c19707c58a9c64e232dd442.gif
  7689. I, [2019-01-27T13:00:27.446406 #14519] INFO -- : Writing /var/app/ondeck/public/assets/active_admin/nested_menu_arrow_dark-7c43b8e0a5f8823875f49a093c9d7a6b374f885b6f9cc248ae9cd7e6e9b29034.gif
  7690. I, [2019-01-27T13:00:27.446714 #14519] INFO -- : Writing /var/app/ondeck/public/assets/active_admin/orderable-29374dbb55b0012d78a37c614d573bb3474f0779849b478a147d0f1845ca6617.png
  7691. I, [2019-01-27T13:00:27.633323 #14519] INFO -- : Writing /var/app/ondeck/public/assets/active_admin/print-cf99cbf27fb92065a9eacd28e6fad48fa72cadaf6e0918790e8d35b11d8f99f6.css
  7692. I, [2019-01-27T13:00:27.633709 #14519] INFO -- : Writing /var/app/ondeck/public/assets/active_admin/print-cf99cbf27fb92065a9eacd28e6fad48fa72cadaf6e0918790e8d35b11d8f99f6.css.gz
  7693. I, [2019-01-27T13:00:37.648756 #14519] INFO -- : Writing /var/app/ondeck/public/assets/active_admin-aad478f9674ed0cc76f83512b458a5e516b90e017d64c576f5f9eaf05ea52b38.js
  7694. I, [2019-01-27T13:00:37.649267 #14519] INFO -- : Writing /var/app/ondeck/public/assets/active_admin-aad478f9674ed0cc76f83512b458a5e516b90e017d64c576f5f9eaf05ea52b38.js.gz
  7695. I, [2019-01-27T13:00:37.656542 #14519] INFO -- : Writing /var/app/ondeck/public/assets/danger-869dd8b0616e1a5b646dc898db2a5d6428f45fe14a90fa6d0c7130f64d886c48.png
  7696. I, [2019-01-27T13:00:37.658712 #14519] INFO -- : Writing /var/app/ondeck/public/assets/dark-607bed84e53ccb497978bd3ae9e51d4b57de94e954da4e8e1ec5b51a78d8898e.png
  7697. I, [2019-01-27T13:00:37.665118 #14519] INFO -- : Writing /var/app/ondeck/public/assets/do-e798277592b8fde73e6568cdde6687220f6d2a83f53250c561edf11619d5b1c1.jpg
  7698. I, [2019-01-27T13:00:37.666758 #14519] INFO -- : Writing /var/app/ondeck/public/assets/favicon-21c44bf091fb9557f8a4527913b0254924fc136d6e71dcee1676b7f37c8175ef.ico
  7699. I, [2019-01-27T13:00:37.667053 #14519] INFO -- : Writing /var/app/ondeck/public/assets/favicon-21c44bf091fb9557f8a4527913b0254924fc136d6e71dcee1676b7f37c8175ef.ico.gz
  7700. I, [2019-01-27T13:00:37.674076 #14519] INFO -- : Writing /var/app/ondeck/public/assets/home-f3281914e0ac5072115e9ba6f458cec56ad002cc5e65ca75988afc86af858e01.jpg
  7701. I, [2019-01-27T13:00:37.676221 #14519] INFO -- : Writing /var/app/ondeck/public/assets/info-967cdd33af0671563a0e72bed22f1cddb95a138e241dffbd5013750360bf7113.png
  7702. I, [2019-01-27T13:00:37.678368 #14519] INFO -- : Writing /var/app/ondeck/public/assets/primary-093ae3386f858ff56855e5c8a09137d4ce87c2c7aa2b152af81eac5d7667a98d.png
  7703. I, [2019-01-27T13:00:37.684763 #14519] INFO -- : Writing /var/app/ondeck/public/assets/secondary-1c1a37a441b0e6f6ca2bfb1435df8f1160a0e4ec1db5798a5e5a72374172942c.png
  7704. I, [2019-01-27T13:00:37.687483 #14519] INFO -- : Writing /var/app/ondeck/public/assets/success-5a1b362ddb5e5ed6131beffc575d91a3615864b678d24706bff24b055b6a594c.png
  7705. I, [2019-01-27T13:00:37.689590 #14519] INFO -- : Writing /var/app/ondeck/public/assets/warning-a3e35927fa71a99455166de5b62a03122ffb5287e33c9ed2c42532622f543fa5.png
  7706. I, [2019-01-27T13:00:43.308610 #14519] INFO -- : Writing /var/app/ondeck/public/assets/application-5770a9512b971d7fb2a232494ee2a78c8f1d383bfc452a26a9dea3a712e6c3b2.js
  7707. I, [2019-01-27T13:00:43.309066 #14519] INFO -- : Writing /var/app/ondeck/public/assets/application-5770a9512b971d7fb2a232494ee2a78c8f1d383bfc452a26a9dea3a712e6c3b2.js.gz
  7708. I, [2019-01-27T13:00:46.681449 #14519] INFO -- : Writing /var/app/ondeck/public/assets/application-da22e659ddaed5260aa445b696e4e8945e554c6c97884a0be799b74eb511ccf3.css
  7709. I, [2019-01-27T13:00:46.681890 #14519] INFO -- : Writing /var/app/ondeck/public/assets/application-da22e659ddaed5260aa445b696e4e8945e554c6c97884a0be799b74eb511ccf3.css.gz
  7710. [2019-01-27T13:00:46.724Z] INFO [14376] - [Application update app-6dfa-190127_182926@24/AppDeployStage0/AppDeployPreHook/12_db_migration.sh] : Starting activity...
  7711. [2019-01-27T13:00:50.867Z] INFO [14376] - [Application update app-6dfa-190127_182926@24/AppDeployStage0/AppDeployPreHook/12_db_migration.sh] : Completed activity. Result:
  7712. ++ /opt/elasticbeanstalk/bin/get-config container -k script_dir
  7713. + EB_SCRIPT_DIR=/opt/elasticbeanstalk/support/scripts
  7714. ++ /opt/elasticbeanstalk/bin/get-config container -k app_staging_dir
  7715. + EB_APP_STAGING_DIR=/var/app/ondeck
  7716. ++ /opt/elasticbeanstalk/bin/get-config container -k app_user
  7717. + EB_APP_USER=webapp
  7718. ++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
  7719. + EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
  7720. + . /opt/elasticbeanstalk/support/envvars-wrapper.sh
  7721. +++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
  7722. ++ EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
  7723. ++ set +x
  7724. + RAKE_TASK=db:migrate
  7725. + . /opt/elasticbeanstalk/support/scripts/use-app-ruby.sh
  7726. ++ . /usr/local/share/chruby/chruby.sh
  7727. +++ CHRUBY_VERSION=0.3.9
  7728. +++ RUBIES=()
  7729. +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
  7730. +++ [[ -d /opt/rubies ]]
  7731. ++++ ls -A /opt/rubies
  7732. +++ [[ -n ruby-1.9.3-p551
  7733. ruby-2.0.0-p648
  7734. ruby-2.1.10
  7735. ruby-2.2.10
  7736. ruby-2.3.8
  7737. ruby-2.4.5
  7738. ruby-2.5.3
  7739. ruby-2.6.0
  7740. ruby-current ]]
  7741. +++ RUBIES+=("$dir"/*)
  7742. +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
  7743. +++ [[ -d /.rubies ]]
  7744. +++ unset dir
  7745. +++ cat /etc/elasticbeanstalk/.ruby_version
  7746. ++ chruby 2.4.5
  7747. ++ case "$1" in
  7748. ++ local dir match
  7749. ++ for dir in '"${RUBIES[@]}"'
  7750. ++ dir=/opt/rubies/ruby-1.9.3-p551
  7751. ++ case "${dir##*/}" in
  7752. ++ for dir in '"${RUBIES[@]}"'
  7753. ++ dir=/opt/rubies/ruby-2.0.0-p648
  7754. ++ case "${dir##*/}" in
  7755. ++ for dir in '"${RUBIES[@]}"'
  7756. ++ dir=/opt/rubies/ruby-2.1.10
  7757. ++ case "${dir##*/}" in
  7758. ++ for dir in '"${RUBIES[@]}"'
  7759. ++ dir=/opt/rubies/ruby-2.2.10
  7760. ++ case "${dir##*/}" in
  7761. ++ for dir in '"${RUBIES[@]}"'
  7762. ++ dir=/opt/rubies/ruby-2.3.8
  7763. ++ case "${dir##*/}" in
  7764. ++ for dir in '"${RUBIES[@]}"'
  7765. ++ dir=/opt/rubies/ruby-2.4.5
  7766. ++ case "${dir##*/}" in
  7767. ++ match=/opt/rubies/ruby-2.4.5
  7768. ++ for dir in '"${RUBIES[@]}"'
  7769. ++ dir=/opt/rubies/ruby-2.5.3
  7770. ++ case "${dir##*/}" in
  7771. ++ for dir in '"${RUBIES[@]}"'
  7772. ++ dir=/opt/rubies/ruby-2.6.0
  7773. ++ case "${dir##*/}" in
  7774. ++ for dir in '"${RUBIES[@]}"'
  7775. ++ dir=/opt/rubies/ruby-current
  7776. ++ case "${dir##*/}" in
  7777. ++ [[ -z /opt/rubies/ruby-2.4.5 ]]
  7778. ++ shift
  7779. ++ chruby_use /opt/rubies/ruby-2.4.5 ''
  7780. ++ [[ ! -x /opt/rubies/ruby-2.4.5/bin/ruby ]]
  7781. ++ [[ -n '' ]]
  7782. ++ export RUBY_ROOT=/opt/rubies/ruby-2.4.5
  7783. ++ RUBY_ROOT=/opt/rubies/ruby-2.4.5
  7784. ++ export RUBYOPT=
  7785. ++ RUBYOPT=
  7786. ++ export PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
  7787. ++ PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
  7788. +++ /opt/rubies/ruby-2.4.5/bin/ruby -
  7789. ++ eval 'export RUBY_ENGINE=ruby;
  7790. export RUBY_VERSION=2.4.5;
  7791. export GEM_ROOT="/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0";'
  7792. +++ export RUBY_ENGINE=ruby
  7793. +++ RUBY_ENGINE=ruby
  7794. +++ export RUBY_VERSION=2.4.5
  7795. +++ RUBY_VERSION=2.4.5
  7796. +++ export GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
  7797. +++ GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
  7798. ++ (( 0 != 0 ))
  7799. + cd /var/app/ondeck
  7800. + su -s /bin/bash -c 'bundle exec /opt/elasticbeanstalk/support/scripts/check-for-rake-task.rb db:migrate' webapp
  7801. `/home/webapp` is not a directory.
  7802. Bundler will use `/tmp/bundler/home/webapp' as your home directory temporarily.
  7803. + '[' false = true ']'
  7804. + su -s /bin/bash -c 'leader_only bundle exec rake db:migrate' webapp
  7805. `/home/webapp` is not a directory.
  7806. Bundler will use `/tmp/bundler/home/webapp' as your home directory temporarily.
  7807. DEPRECATION WARNING: `config.static_cache_control` is deprecated and will be removed in Rails 5.1.
  7808. Please use
  7809. `config.public_file_server.headers = { 'Cache-Control' => 'public, max-age=2592000' }`
  7810. instead.
  7811. (called from block in <top (required)> at /var/app/ondeck/config/environments/production.rb:28)
  7812. intializing git
  7813. error: could not lock config file /home/webapp/.gitconfig: No such file or directory
  7814. sh: line 0: cd: /home/webapp: No such file or directory
  7815. [2019-01-27T13:00:50.867Z] INFO [14376] - [Application update app-6dfa-190127_182926@24/AppDeployStage0/AppDeployPreHook/13_test_for_puma.sh] : Starting activity...
  7816. [2019-01-27T13:00:51.379Z] INFO [14376] - [Application update app-6dfa-190127_182926@24/AppDeployStage0/AppDeployPreHook/13_test_for_puma.sh] : Completed activity. Result:
  7817. ++ /opt/elasticbeanstalk/bin/get-config container -k script_dir
  7818. + EB_SCRIPT_DIR=/opt/elasticbeanstalk/support/scripts
  7819. ++ /opt/elasticbeanstalk/bin/get-config container -k app_staging_dir
  7820. + EB_APP_STAGING_DIR=/var/app/ondeck
  7821. ++ /opt/elasticbeanstalk/bin/get-config container -k app_user
  7822. + EB_APP_USER=webapp
  7823. + . /opt/elasticbeanstalk/support/scripts/use-app-ruby.sh
  7824. ++ . /usr/local/share/chruby/chruby.sh
  7825. +++ CHRUBY_VERSION=0.3.9
  7826. +++ RUBIES=()
  7827. +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
  7828. +++ [[ -d /opt/rubies ]]
  7829. ++++ ls -A /opt/rubies
  7830. +++ [[ -n ruby-1.9.3-p551
  7831. ruby-2.0.0-p648
  7832. ruby-2.1.10
  7833. ruby-2.2.10
  7834. ruby-2.3.8
  7835. ruby-2.4.5
  7836. ruby-2.5.3
  7837. ruby-2.6.0
  7838. ruby-current ]]
  7839. +++ RUBIES+=("$dir"/*)
  7840. +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
  7841. +++ [[ -d /.rubies ]]
  7842. +++ unset dir
  7843. +++ cat /etc/elasticbeanstalk/.ruby_version
  7844. ++ chruby 2.4.5
  7845. ++ case "$1" in
  7846. ++ local dir match
  7847. ++ for dir in '"${RUBIES[@]}"'
  7848. ++ dir=/opt/rubies/ruby-1.9.3-p551
  7849. ++ case "${dir##*/}" in
  7850. ++ for dir in '"${RUBIES[@]}"'
  7851. ++ dir=/opt/rubies/ruby-2.0.0-p648
  7852. ++ case "${dir##*/}" in
  7853. ++ for dir in '"${RUBIES[@]}"'
  7854. ++ dir=/opt/rubies/ruby-2.1.10
  7855. ++ case "${dir##*/}" in
  7856. ++ for dir in '"${RUBIES[@]}"'
  7857. ++ dir=/opt/rubies/ruby-2.2.10
  7858. ++ case "${dir##*/}" in
  7859. ++ for dir in '"${RUBIES[@]}"'
  7860. ++ dir=/opt/rubies/ruby-2.3.8
  7861. ++ case "${dir##*/}" in
  7862. ++ for dir in '"${RUBIES[@]}"'
  7863. ++ dir=/opt/rubies/ruby-2.4.5
  7864. ++ case "${dir##*/}" in
  7865. ++ match=/opt/rubies/ruby-2.4.5
  7866. ++ for dir in '"${RUBIES[@]}"'
  7867. ++ dir=/opt/rubies/ruby-2.5.3
  7868. ++ case "${dir##*/}" in
  7869. ++ for dir in '"${RUBIES[@]}"'
  7870. ++ dir=/opt/rubies/ruby-2.6.0
  7871. ++ case "${dir##*/}" in
  7872. ++ for dir in '"${RUBIES[@]}"'
  7873. ++ dir=/opt/rubies/ruby-current
  7874. ++ case "${dir##*/}" in
  7875. ++ [[ -z /opt/rubies/ruby-2.4.5 ]]
  7876. ++ shift
  7877. ++ chruby_use /opt/rubies/ruby-2.4.5 ''
  7878. ++ [[ ! -x /opt/rubies/ruby-2.4.5/bin/ruby ]]
  7879. ++ [[ -n '' ]]
  7880. ++ export RUBY_ROOT=/opt/rubies/ruby-2.4.5
  7881. ++ RUBY_ROOT=/opt/rubies/ruby-2.4.5
  7882. ++ export RUBYOPT=
  7883. ++ RUBYOPT=
  7884. ++ export PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
  7885. ++ PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
  7886. +++ /opt/rubies/ruby-2.4.5/bin/ruby -
  7887. ++ eval 'export RUBY_ENGINE=ruby;
  7888. export RUBY_VERSION=2.4.5;
  7889. export GEM_ROOT="/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0";'
  7890. +++ export RUBY_ENGINE=ruby
  7891. +++ RUBY_ENGINE=ruby
  7892. +++ export RUBY_VERSION=2.4.5
  7893. +++ RUBY_VERSION=2.4.5
  7894. +++ export GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
  7895. +++ GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
  7896. ++ (( 0 != 0 ))
  7897. + /opt/elasticbeanstalk/support/scripts/check-for-gem.rb puma
  7898. + echo true
  7899. [2019-01-27T13:00:51.379Z] INFO [14376] - [Application update app-6dfa-190127_182926@24/AppDeployStage0/AppDeployPreHook] : Completed activity. Result:
  7900. Successfully execute hooks in directory /opt/elasticbeanstalk/hooks/appdeploy/pre.
  7901. [2019-01-27T13:00:51.379Z] INFO [14376] - [Application update app-6dfa-190127_182926@24/AppDeployStage0/EbExtensionPostBuild] : Starting activity...
  7902. [2019-01-27T13:00:51.738Z] INFO [14376] - [Application update app-6dfa-190127_182926@24/AppDeployStage0/EbExtensionPostBuild/Infra-EmbeddedPostBuild] : Starting activity...
  7903. [2019-01-27T13:00:51.738Z] INFO [14376] - [Application update app-6dfa-190127_182926@24/AppDeployStage0/EbExtensionPostBuild/Infra-EmbeddedPostBuild] : Completed activity.
  7904. [2019-01-27T13:00:51.754Z] INFO [14376] - [Application update app-6dfa-190127_182926@24/AppDeployStage0/EbExtensionPostBuild] : Completed activity.
  7905. [2019-01-27T13:00:51.754Z] INFO [14376] - [Application update app-6dfa-190127_182926@24/AppDeployStage0/InfraCleanEbextension] : Starting activity...
  7906. [2019-01-27T13:00:51.763Z] INFO [14376] - [Application update app-6dfa-190127_182926@24/AppDeployStage0/InfraCleanEbextension] : Completed activity. Result:
  7907. Cleaned ebextensions subdirectories from /var/app/ondeck.
  7908. [2019-01-27T13:00:51.763Z] INFO [14376] - [Application update app-6dfa-190127_182926@24/AppDeployStage0] : Completed activity. Result:
  7909. Application update - Command CMD-AppDeploy stage 0 completed
  7910. [2019-01-27T13:00:51.763Z] INFO [14376] - [Application update app-6dfa-190127_182926@24/AppDeployStage1] : Starting activity...
  7911. [2019-01-27T13:00:51.763Z] INFO [14376] - [Application update app-6dfa-190127_182926@24/AppDeployStage1/AppDeployEnactHook] : Starting activity...
  7912. [2019-01-27T13:00:51.764Z] INFO [14376] - [Application update app-6dfa-190127_182926@24/AppDeployStage1/AppDeployEnactHook/01_flip.sh] : Starting activity...
  7913. [2019-01-27T13:00:52.061Z] INFO [14376] - [Application update app-6dfa-190127_182926@24/AppDeployStage1/AppDeployEnactHook/01_flip.sh] : Completed activity. Result:
  7914. ++ /opt/elasticbeanstalk/bin/get-config container -k app_staging_dir
  7915. + EB_APP_STAGING_DIR=/var/app/ondeck
  7916. ++ /opt/elasticbeanstalk/bin/get-config container -k app_deploy_dir
  7917. + EB_APP_DEPLOY_DIR=/var/app/current
  7918. ++ /opt/elasticbeanstalk/bin/get-config container -k app_user
  7919. + EB_APP_USER=webapp
  7920. + '[' -d /var/app/current ']'
  7921. + mv /var/app/current /var/app/current.old
  7922. + mv /var/app/ondeck /var/app/current
  7923. + mkdir -p /var/app/current/tmp /var/app/current/public
  7924. + chown -R webapp:webapp /var/app/current/tmp /var/app/current/public
  7925. + nohup rm -rf /var/app/current.old
  7926. [2019-01-27T13:00:52.062Z] INFO [14376] - [Application update app-6dfa-190127_182926@24/AppDeployStage1/AppDeployEnactHook/01stop_xray.sh] : Starting activity...
  7927. [2019-01-27T13:00:52.211Z] INFO [14376] - [Application update app-6dfa-190127_182926@24/AppDeployStage1/AppDeployEnactHook/01stop_xray.sh] : Completed activity. Result:
  7928. Executing: if ( initctl status xray | grep start ); then initctl stop xray; fi
  7929.  
  7930. [2019-01-27T13:00:52.211Z] INFO [14376] - [Application update app-6dfa-190127_182926@24/AppDeployStage1/AppDeployEnactHook/02_restart_app_server.sh] : Starting activity...
  7931. [2019-01-27T13:00:54.219Z] INFO [14376] - [Application update app-6dfa-190127_182926@24/AppDeployStage1/AppDeployEnactHook/02_restart_app_server.sh] : Completed activity. Result:
  7932. + initctl restart puma
  7933. puma start/running, process 14776
  7934. [2019-01-27T13:00:54.219Z] INFO [14376] - [Application update app-6dfa-190127_182926@24/AppDeployStage1/AppDeployEnactHook/02start_xray.sh] : Starting activity...
  7935. [2019-01-27T13:00:54.444Z] INFO [14376] - [Application update app-6dfa-190127_182926@24/AppDeployStage1/AppDeployEnactHook/02start_xray.sh] : Completed activity.
  7936. [2019-01-27T13:00:54.444Z] INFO [14376] - [Application update app-6dfa-190127_182926@24/AppDeployStage1/AppDeployEnactHook/28_create_pids.sh] : Starting activity...
  7937. [2019-01-27T13:00:55.848Z] INFO [14376] - [Application update app-6dfa-190127_182926@24/AppDeployStage1/AppDeployEnactHook/28_create_pids.sh] : Completed activity. Result:
  7938. + /opt/elasticbeanstalk/bin/healthd-track-pidfile --proxy nginx
  7939. ++ /opt/elasticbeanstalk/bin/get-config container -k puma_pid_dir
  7940. + PUMA_PID_DIR=/var/run/puma
  7941. + /opt/elasticbeanstalk/bin/healthd-track-pidfile --name application --location /var/run/puma/puma.pid
  7942. [2019-01-27T13:00:55.848Z] INFO [14376] - [Application update app-6dfa-190127_182926@24/AppDeployStage1/AppDeployEnactHook] : Completed activity. Result:
  7943. Successfully execute hooks in directory /opt/elasticbeanstalk/hooks/appdeploy/enact.
  7944. [2019-01-27T13:00:55.848Z] INFO [14376] - [Application update app-6dfa-190127_182926@24/AppDeployStage1/AppDeployPostHook] : Starting activity...
  7945. [2019-01-27T13:00:55.848Z] INFO [14376] - [Application update app-6dfa-190127_182926@24/AppDeployStage1/AppDeployPostHook/01_rails_support.sh] : Starting activity...
  7946. [2019-01-27T13:00:56.252Z] INFO [14376] - [Application update app-6dfa-190127_182926@24/AppDeployStage1/AppDeployPostHook/01_rails_support.sh] : Completed activity. Result:
  7947. ++ /opt/elasticbeanstalk/bin/get-config container -k app_deploy_dir
  7948. + EB_APP_DEPLOY_DIR=/var/app/current
  7949. ++ /opt/elasticbeanstalk/bin/get-config container -k app_log_dir
  7950. + EB_APP_LOG_DIR=/var/app/containerfiles/logs
  7951. + ln -sf /var/app/current/log/production.log /var/app/containerfiles/logs
  7952. [2019-01-27T13:00:56.252Z] INFO [14376] - [Application update app-6dfa-190127_182926@24/AppDeployStage1/AppDeployPostHook] : Completed activity. Result:
  7953. Successfully execute hooks in directory /opt/elasticbeanstalk/hooks/appdeploy/post.
  7954. [2019-01-27T13:00:56.252Z] INFO [14376] - [Application update app-6dfa-190127_182926@24/AppDeployStage1] : Completed activity. Result:
  7955. Application version switch - Command CMD-AppDeploy stage 1 completed
  7956. [2019-01-27T13:00:56.252Z] INFO [14376] - [Application update app-6dfa-190127_182926@24/AddonsAfter] : Starting activity...
  7957. [2019-01-27T13:00:56.252Z] INFO [14376] - [Application update app-6dfa-190127_182926@24/AddonsAfter/ConfigLogRotation] : Starting activity...
  7958. [2019-01-27T13:00:56.252Z] INFO [14376] - [Application update app-6dfa-190127_182926@24/AddonsAfter/ConfigLogRotation/10-config.sh] : Starting activity...
  7959. [2019-01-27T13:00:56.424Z] INFO [14376] - [Application update app-6dfa-190127_182926@24/AddonsAfter/ConfigLogRotation/10-config.sh] : Completed activity. Result:
  7960. Disabled forced hourly log rotation.
  7961. [2019-01-27T13:00:56.424Z] INFO [14376] - [Application update app-6dfa-190127_182926@24/AddonsAfter/ConfigLogRotation] : Completed activity. Result:
  7962. Successfully execute hooks in directory /opt/elasticbeanstalk/addons/logpublish/hooks/config.
  7963. [2019-01-27T13:00:56.424Z] INFO [14376] - [Application update app-6dfa-190127_182926@24/AddonsAfter] : Completed activity.
  7964. [2019-01-27T13:00:56.424Z] INFO [14376] - [Application update app-6dfa-190127_182926@24] : Completed activity. Result:
  7965. Application update - Command CMD-AppDeploy succeeded
  7966. [2019-01-27T13:03:10.576Z] INFO [15028] - [CMD-BundleLogs] : Starting activity...
  7967. [2019-01-27T13:03:10.576Z] INFO [15028] - [CMD-BundleLogs/AddonsBefore] : Starting activity...
  7968. [2019-01-27T13:03:10.576Z] INFO [15028] - [CMD-BundleLogs/AddonsBefore] : Completed activity.
  7969. [2019-01-27T13:03:10.576Z] INFO [15028] - [CMD-BundleLogs/BundleLogs] : Starting activity...
  7970. [2019-01-27T13:03:10.576Z] INFO [15028] - [CMD-BundleLogs/BundleLogs/BundleLogs] : Starting activity...
  7971. [2019-01-27T13:03:10.856Z] INFO [15028] - [CMD-BundleLogs/BundleLogs/BundleLogs] : Completed activity.
  7972. [2019-01-27T13:03:10.856Z] INFO [15028] - [CMD-BundleLogs/BundleLogs] : Completed activity. Result:
  7973. CMD-BundleLogs - stage 0 - Command CMD-BundleLogs stage 0 completed
  7974. [2019-01-27T13:03:10.856Z] INFO [15028] - [CMD-BundleLogs/AddonsAfter] : Starting activity...
  7975. [2019-01-27T13:03:10.856Z] INFO [15028] - [CMD-BundleLogs/AddonsAfter] : Completed activity.
  7976. [2019-01-27T13:03:10.856Z] INFO [15028] - [CMD-BundleLogs] : Completed activity. Result:
  7977. CMD-BundleLogs - Command CMD-BundleLogs succeeded
  7978. [2019-01-27T13:10:03.981Z] INFO [15269] - [CMD-BundleLogs] : Starting activity...
  7979. [2019-01-27T13:10:03.981Z] INFO [15269] - [CMD-BundleLogs/AddonsBefore] : Starting activity...
  7980. [2019-01-27T13:10:03.981Z] INFO [15269] - [CMD-BundleLogs/AddonsBefore] : Completed activity.
  7981. [2019-01-27T13:10:03.981Z] INFO [15269] - [CMD-BundleLogs/BundleLogs] : Starting activity...
  7982. [2019-01-27T13:10:03.982Z] INFO [15269] - [CMD-BundleLogs/BundleLogs/BundleLogs] : Starting activity...
  7983. [2019-01-27T13:10:04.200Z] INFO [15269] - [CMD-BundleLogs/BundleLogs/BundleLogs] : Completed activity.
  7984. [2019-01-27T13:10:04.200Z] INFO [15269] - [CMD-BundleLogs/BundleLogs] : Completed activity. Result:
  7985. CMD-BundleLogs - stage 0 - Command CMD-BundleLogs stage 0 completed
  7986. [2019-01-27T13:10:04.200Z] INFO [15269] - [CMD-BundleLogs/AddonsAfter] : Starting activity...
  7987. [2019-01-27T13:10:04.200Z] INFO [15269] - [CMD-BundleLogs/AddonsAfter] : Completed activity.
  7988. [2019-01-27T13:10:04.200Z] INFO [15269] - [CMD-BundleLogs] : Completed activity. Result:
  7989. CMD-BundleLogs - Command CMD-BundleLogs succeeded
  7990. [2019-01-27T13:23:00.479Z] INFO [15635] - [Application update app-28e4-190127_185241@25] : Starting activity...
  7991. [2019-01-27T13:23:00.479Z] INFO [15635] - [Application update app-28e4-190127_185241@25/AddonsBefore] : Starting activity...
  7992. [2019-01-27T13:23:00.479Z] INFO [15635] - [Application update app-28e4-190127_185241@25/AddonsBefore/ConfigCWLAgent] : Starting activity...
  7993. [2019-01-27T13:23:00.480Z] INFO [15635] - [Application update app-28e4-190127_185241@25/AddonsBefore/ConfigCWLAgent/10-config.sh] : Starting activity...
  7994. [2019-01-27T13:23:00.601Z] INFO [15635] - [Application update app-28e4-190127_185241@25/AddonsBefore/ConfigCWLAgent/10-config.sh] : Completed activity. Result:
  7995. Log streaming option setting is not specified, ignore cloudwatch logs setup.
  7996.  
  7997. Disabled log streaming.
  7998. [2019-01-27T13:23:00.602Z] INFO [15635] - [Application update app-28e4-190127_185241@25/AddonsBefore/ConfigCWLAgent] : Completed activity. Result:
  7999. Successfully execute hooks in directory /opt/elasticbeanstalk/addons/logstreaming/hooks/config.
  8000. [2019-01-27T13:23:00.602Z] INFO [15635] - [Application update app-28e4-190127_185241@25/AddonsBefore] : Completed activity.
  8001. [2019-01-27T13:23:00.945Z] INFO [15635] - [Application update app-28e4-190127_185241@25/AppDeployStage0] : Starting activity...
  8002. [2019-01-27T13:23:00.945Z] INFO [15635] - [Application update app-28e4-190127_185241@25/AppDeployStage0/DownloadSourceBundle] : Starting activity...
  8003. [2019-01-27T13:23:01.393Z] INFO [15635] - [Application update app-28e4-190127_185241@25/AppDeployStage0/DownloadSourceBundle] : Completed activity. Result:
  8004. [2019-01-27T13:23:01.051Z] INFO [15678] : Application version will be saved to /opt/elasticbeanstalk/deploy/appsource.
  8005. [2019-01-27T13:23:01.051Z] INFO [15678] : Using manifest cache with deployment ID 25 and serial 33.
  8006. [2019-01-27T13:23:01.051Z] INFO [15678] : Attempting to download application source bundle to: '/opt/elasticbeanstalk/deploy/appsource/source_bundle'.
  8007. [2019-01-27T13:23:01.051Z] INFO [15678] : Using computed s3 key.
  8008. [2019-01-27T13:23:01.172Z] INFO [15678] : Downloading from bucket 'elasticbeanstalk-us-east-2-387358288273' with key 'resources/environments/e-sv4jqab3r8/_runtime/_versions/test/app-28e4-190127_185241' and version '' to '/opt/elasticbeanstalk/deploy/appsource/source_bundle'.
  8009. [2019-01-27T13:23:01.224Z] INFO [15678] : Size: 9504635, ETag: "5636f132188e6ca1f2105cece9705856", Metadata: {"environmentid"=>"e-sv4jqab3r8", "requestid"=>"71924910-4df8-47e2-abd3-495e569c0972"}.
  8010. [2019-01-27T13:23:01.384Z] INFO [15678] : Downloaded size: 9504635.
  8011. [2019-01-27T13:23:01.384Z] INFO [15678] : Successfully downloaded to '/opt/elasticbeanstalk/deploy/appsource/source_bundle'.
  8012. [2019-01-27T13:23:01.393Z] INFO [15635] - [Application update app-28e4-190127_185241@25/AppDeployStage0/EbExtensionPreBuild] : Starting activity...
  8013. [2019-01-27T13:23:01.800Z] INFO [15635] - [Application update app-28e4-190127_185241@25/AppDeployStage0/EbExtensionPreBuild/Infra-EmbeddedPreBuild] : Starting activity...
  8014. [2019-01-27T13:23:01.800Z] INFO [15635] - [Application update app-28e4-190127_185241@25/AppDeployStage0/EbExtensionPreBuild/Infra-EmbeddedPreBuild] : Completed activity.
  8015. [2019-01-27T13:23:01.816Z] INFO [15635] - [Application update app-28e4-190127_185241@25/AppDeployStage0/EbExtensionPreBuild] : Completed activity.
  8016. [2019-01-27T13:23:01.816Z] INFO [15635] - [Application update app-28e4-190127_185241@25/AppDeployStage0/AppDeployPreHook] : Starting activity...
  8017. [2019-01-27T13:23:01.817Z] INFO [15635] - [Application update app-28e4-190127_185241@25/AppDeployStage0/AppDeployPreHook/01_configure_xray.sh] : Starting activity...
  8018. [2019-01-27T13:23:01.924Z] INFO [15635] - [Application update app-28e4-190127_185241@25/AppDeployStage0/AppDeployPreHook/01_configure_xray.sh] : Completed activity.
  8019. [2019-01-27T13:23:01.924Z] INFO [15635] - [Application update app-28e4-190127_185241@25/AppDeployStage0/AppDeployPreHook/01_unzip.rb] : Starting activity...
  8020. [2019-01-27T13:23:02.418Z] INFO [15635] - [Application update app-28e4-190127_185241@25/AppDeployStage0/AppDeployPreHook/01_unzip.rb] : Completed activity.
  8021. [2019-01-27T13:23:02.418Z] INFO [15635] - [Application update app-28e4-190127_185241@25/AppDeployStage0/AppDeployPreHook/02_setup_envvars.sh] : Starting activity...
  8022. [2019-01-27T13:23:02.640Z] INFO [15635] - [Application update app-28e4-190127_185241@25/AppDeployStage0/AppDeployPreHook/02_setup_envvars.sh] : Completed activity. Result:
  8023. ++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
  8024. + EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
  8025. + /opt/elasticbeanstalk/support/export_envvars
  8026. [2019-01-27T13:23:02.640Z] INFO [15635] - [Application update app-28e4-190127_185241@25/AppDeployStage0/AppDeployPreHook/10_bundle_install.sh] : Starting activity...
  8027. [2019-01-27T13:23:03.520Z] INFO [15635] - [Application update app-28e4-190127_185241@25/AppDeployStage0/AppDeployPreHook/10_bundle_install.sh] : Completed activity. Result:
  8028. ++ /opt/elasticbeanstalk/bin/get-config container -k script_dir
  8029. + EB_SCRIPT_DIR=/opt/elasticbeanstalk/support/scripts
  8030. ++ /opt/elasticbeanstalk/bin/get-config container -k app_staging_dir
  8031. + EB_APP_STAGING_DIR=/var/app/ondeck
  8032. ++ /opt/elasticbeanstalk/bin/get-config container -k app_user
  8033. + EB_APP_USER=webapp
  8034. ++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
  8035. + EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
  8036. + . /opt/elasticbeanstalk/support/envvars-wrapper.sh
  8037. +++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
  8038. ++ EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
  8039. ++ set +x
  8040. + . /opt/elasticbeanstalk/support/scripts/use-app-ruby.sh
  8041. ++ . /usr/local/share/chruby/chruby.sh
  8042. +++ CHRUBY_VERSION=0.3.9
  8043. +++ RUBIES=()
  8044. +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
  8045. +++ [[ -d /opt/rubies ]]
  8046. ++++ ls -A /opt/rubies
  8047. +++ [[ -n ruby-1.9.3-p551
  8048. ruby-2.0.0-p648
  8049. ruby-2.1.10
  8050. ruby-2.2.10
  8051. ruby-2.3.8
  8052. ruby-2.4.5
  8053. ruby-2.5.3
  8054. ruby-2.6.0
  8055. ruby-current ]]
  8056. +++ RUBIES+=("$dir"/*)
  8057. +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
  8058. +++ [[ -d /.rubies ]]
  8059. +++ unset dir
  8060. +++ cat /etc/elasticbeanstalk/.ruby_version
  8061. ++ chruby 2.4.5
  8062. ++ case "$1" in
  8063. ++ local dir match
  8064. ++ for dir in '"${RUBIES[@]}"'
  8065. ++ dir=/opt/rubies/ruby-1.9.3-p551
  8066. ++ case "${dir##*/}" in
  8067. ++ for dir in '"${RUBIES[@]}"'
  8068. ++ dir=/opt/rubies/ruby-2.0.0-p648
  8069. ++ case "${dir##*/}" in
  8070. ++ for dir in '"${RUBIES[@]}"'
  8071. ++ dir=/opt/rubies/ruby-2.1.10
  8072. ++ case "${dir##*/}" in
  8073. ++ for dir in '"${RUBIES[@]}"'
  8074. ++ dir=/opt/rubies/ruby-2.2.10
  8075. ++ case "${dir##*/}" in
  8076. ++ for dir in '"${RUBIES[@]}"'
  8077. ++ dir=/opt/rubies/ruby-2.3.8
  8078. ++ case "${dir##*/}" in
  8079. ++ for dir in '"${RUBIES[@]}"'
  8080. ++ dir=/opt/rubies/ruby-2.4.5
  8081. ++ case "${dir##*/}" in
  8082. ++ match=/opt/rubies/ruby-2.4.5
  8083. ++ for dir in '"${RUBIES[@]}"'
  8084. ++ dir=/opt/rubies/ruby-2.5.3
  8085. ++ case "${dir##*/}" in
  8086. ++ for dir in '"${RUBIES[@]}"'
  8087. ++ dir=/opt/rubies/ruby-2.6.0
  8088. ++ case "${dir##*/}" in
  8089. ++ for dir in '"${RUBIES[@]}"'
  8090. ++ dir=/opt/rubies/ruby-current
  8091. ++ case "${dir##*/}" in
  8092. ++ [[ -z /opt/rubies/ruby-2.4.5 ]]
  8093. ++ shift
  8094. ++ chruby_use /opt/rubies/ruby-2.4.5 ''
  8095. ++ [[ ! -x /opt/rubies/ruby-2.4.5/bin/ruby ]]
  8096. ++ [[ -n '' ]]
  8097. ++ export RUBY_ROOT=/opt/rubies/ruby-2.4.5
  8098. ++ RUBY_ROOT=/opt/rubies/ruby-2.4.5
  8099. ++ export RUBYOPT=
  8100. ++ RUBYOPT=
  8101. ++ export PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
  8102. ++ PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
  8103. +++ /opt/rubies/ruby-2.4.5/bin/ruby -
  8104. ++ eval 'export RUBY_ENGINE=ruby;
  8105. export RUBY_VERSION=2.4.5;
  8106. export GEM_ROOT="/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0";'
  8107. +++ export RUBY_ENGINE=ruby
  8108. +++ RUBY_ENGINE=ruby
  8109. +++ export RUBY_VERSION=2.4.5
  8110. +++ RUBY_VERSION=2.4.5
  8111. +++ export GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
  8112. +++ GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
  8113. ++ (( 0 != 0 ))
  8114. + cd /var/app/ondeck
  8115. + '[' -f Gemfile ']'
  8116. + echo 'running '\''bundle install'\'' with Gemfile:'
  8117. running 'bundle install' with Gemfile:
  8118. + cat Gemfile
  8119. source 'https://rubygems.org'
  8120.  
  8121.  
  8122. # Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
  8123. gem 'rails', '~> 5.0.0', '>= 5.0.0.1'
  8124.  
  8125.  
  8126. # sqlite3 fails on heroku
  8127. # group :development do
  8128. # gem 'sqlite3' #gem to use in development environment
  8129. # end
  8130. # gem 'sqlite3'
  8131. # group :production do
  8132. gem 'pg', '~> 0.20.0' #gem to use in production environment
  8133. # end
  8134. gem 'will_paginate', '~> 3.1.0'
  8135. gem 'simple_form'
  8136. gem 'bootstrap-sass'
  8137. gem 'devise'
  8138. gem 'nested_scaffold'
  8139. # Use Puma as the app server
  8140. gem 'puma', '~> 3.0'
  8141. # Use SCSS for stylesheets
  8142. gem 'sass-rails', '~> 5.0'
  8143. # Use Uglifier as compressor for JavaScript assets
  8144. gem 'uglifier', '>= 1.3.0'
  8145. # Use CoffeeScript for .coffee assets and views
  8146. gem 'coffee-rails', '~> 4.2'
  8147. # See https://github.com/rails/execjs#readme for more supported runtimes
  8148. # gem 'therubyracer', platforms: :ruby
  8149.  
  8150. # Use jquery as the JavaScript library
  8151. gem 'jquery-rails'
  8152. # Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks
  8153. gem 'turbolinks', '~> 5'
  8154. # Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
  8155. gem 'jbuilder', '~> 2.5'
  8156. # Use Redis adapter to run Action Cable in production
  8157. # gem 'redis', '~> 3.0'
  8158. # Use ActiveModel has_secure_password
  8159. # gem 'bcrypt', '~> 3.1.7'
  8160.  
  8161. # Use Capistrano for deployment
  8162. # gem 'capistrano-rails', group: :development
  8163.  
  8164. group :development, :test do
  8165. # Call 'byebug' anywhere in the code to stop execution and get a debugger console
  8166. gem 'byebug', platform: :mri
  8167. end
  8168.  
  8169. group :development do
  8170. # Access an IRB console on exception pages or by using <%= console %> anywhere in the code.
  8171. gem 'web-console'
  8172. end
  8173.  
  8174. # Windows does not include zoneinfo files, so bundle the tzinfo-data gem
  8175. gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
  8176.  
  8177. gem 'activeadmin'
  8178. + '[' -d /var/app/ondeck/vendor/cache ']'
  8179. + bundle install
  8180. Don't run Bundler as root. Bundler can ask for sudo if it is needed, and
  8181. installing your bundle as root will break this application for all non-root
  8182. users on this machine.
  8183. Warning: the running version of Bundler (1.16.2) is older than the version that created the lockfile (1.16.3). We suggest you upgrade to the latest version of Bundler by running `gem install bundler`.
  8184. Using rake 12.3.2
  8185. Using concurrent-ruby 1.1.4
  8186. Using i18n 1.5.3
  8187. Using minitest 5.11.3
  8188. Using thread_safe 0.3.6
  8189. Using tzinfo 1.2.5
  8190. Using activesupport 5.0.7.1
  8191. Using builder 3.2.3
  8192. Using erubis 2.7.0
  8193. Using mini_portile2 2.4.0
  8194. Using nokogiri 1.10.1
  8195. Using rails-dom-testing 2.0.3
  8196. Using crass 1.0.4
  8197. Using loofah 2.2.3
  8198. Using rails-html-sanitizer 1.0.4
  8199. Using actionview 5.0.7.1
  8200. Using rack 2.0.6
  8201. Using rack-test 0.6.3
  8202. Using actionpack 5.0.7.1
  8203. Using nio4r 2.3.1
  8204. Using websocket-extensions 0.1.3
  8205. Using websocket-driver 0.6.5
  8206. Using actioncable 5.0.7.1
  8207. Using globalid 0.4.2
  8208. Using activejob 5.0.7.1
  8209. Using mini_mime 1.0.1
  8210. Using mail 2.7.1
  8211. Using actionmailer 5.0.7.1
  8212. Using arbre 1.1.1
  8213. Using coffee-script-source 1.12.2
  8214. Using execjs 2.7.0
  8215. Using coffee-script 2.4.1
  8216. Using method_source 0.9.2
  8217. Using thor 0.20.3
  8218. Using railties 5.0.7.1
  8219. Using coffee-rails 4.2.2
  8220. Using formtastic 3.1.5
  8221. Using formtastic_i18n 0.6.0
  8222. Using has_scope 0.7.2
  8223. Using responders 2.4.1
  8224. Using inherited_resources 1.9.0
  8225. Using jquery-rails 4.3.3
  8226. Using kaminari-core 1.1.1
  8227. Using kaminari-actionview 1.1.1
  8228. Using activemodel 5.0.7.1
  8229. Using arel 7.1.4
  8230. Using activerecord 5.0.7.1
  8231. Using kaminari-activerecord 1.1.1
  8232. Using kaminari 1.1.1
  8233. Using ransack 2.1.1
  8234. Using rb-fsevent 0.10.3
  8235. Using ffi 1.9.25
  8236. Using rb-inotify 0.10.0
  8237. Using sass-listen 4.0.0
  8238. Using sass 3.7.3
  8239. Using sprockets 3.7.2
  8240. Using activeadmin 1.4.3
  8241. Using autoprefixer-rails 9.4.6
  8242. Using bcrypt 3.1.12
  8243. Using sassc 2.0.0
  8244. Using bootstrap-sass 3.4.0
  8245. Using bundler 1.16.2
  8246. Using orm_adapter 0.5.0
  8247. Using warden 1.2.8
  8248. Using devise 4.5.0
  8249. Using multi_json 1.13.1
  8250. Using jbuilder 2.8.0
  8251. Using nested_scaffold 1.0.0
  8252. Using pg 0.20.0
  8253. Using puma 3.12.0
  8254. Using sprockets-rails 3.2.1
  8255. Using rails 5.0.7.1
  8256. Using tilt 2.0.9
  8257. Using sass-rails 5.0.7
  8258. Using simple_form 4.1.0
  8259. Using turbolinks-source 5.2.0
  8260. Using turbolinks 5.2.0
  8261. Using uglifier 4.1.20
  8262. Using will_paginate 3.1.6
  8263. Bundle complete! 18 Gemfile dependencies, 79 gems now installed.
  8264. Gems in the groups test and development were not installed.
  8265. Use `bundle info [gemname]` to see where a bundled gem is installed.
  8266. + '[' -f Gemfile.lock ']'
  8267. + echo 'encountered a Gemfile.lock, setting proper permissions'
  8268. encountered a Gemfile.lock, setting proper permissions
  8269. + chown webapp:webapp Gemfile.lock
  8270. + '[' '' = 1 ']'
  8271. [2019-01-27T13:23:03.520Z] INFO [15635] - [Application update app-28e4-190127_185241@25/AppDeployStage0/AppDeployPreHook/11_asset_compilation.sh] : Starting activity...
  8272. [2019-01-27T13:23:27.659Z] INFO [15635] - [Application update app-28e4-190127_185241@25/AppDeployStage0/AppDeployPreHook/11_asset_compilation.sh] : Completed activity. Result:
  8273. ++ /opt/elasticbeanstalk/bin/get-config container -k script_dir
  8274. + EB_SCRIPT_DIR=/opt/elasticbeanstalk/support/scripts
  8275. ++ /opt/elasticbeanstalk/bin/get-config container -k app_staging_dir
  8276. + EB_APP_STAGING_DIR=/var/app/ondeck
  8277. ++ /opt/elasticbeanstalk/bin/get-config container -k app_user
  8278. + EB_APP_USER=webapp
  8279. ++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
  8280. + EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
  8281. + . /opt/elasticbeanstalk/support/envvars-wrapper.sh
  8282. +++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
  8283. ++ EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
  8284. ++ set +x
  8285. + RAKE_TASK=assets:precompile
  8286. + . /opt/elasticbeanstalk/support/scripts/use-app-ruby.sh
  8287. ++ . /usr/local/share/chruby/chruby.sh
  8288. +++ CHRUBY_VERSION=0.3.9
  8289. +++ RUBIES=()
  8290. +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
  8291. +++ [[ -d /opt/rubies ]]
  8292. ++++ ls -A /opt/rubies
  8293. +++ [[ -n ruby-1.9.3-p551
  8294. ruby-2.0.0-p648
  8295. ruby-2.1.10
  8296. ruby-2.2.10
  8297. ruby-2.3.8
  8298. ruby-2.4.5
  8299. ruby-2.5.3
  8300. ruby-2.6.0
  8301. ruby-current ]]
  8302. +++ RUBIES+=("$dir"/*)
  8303. +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
  8304. +++ [[ -d /.rubies ]]
  8305. +++ unset dir
  8306. +++ cat /etc/elasticbeanstalk/.ruby_version
  8307. ++ chruby 2.4.5
  8308. ++ case "$1" in
  8309. ++ local dir match
  8310. ++ for dir in '"${RUBIES[@]}"'
  8311. ++ dir=/opt/rubies/ruby-1.9.3-p551
  8312. ++ case "${dir##*/}" in
  8313. ++ for dir in '"${RUBIES[@]}"'
  8314. ++ dir=/opt/rubies/ruby-2.0.0-p648
  8315. ++ case "${dir##*/}" in
  8316. ++ for dir in '"${RUBIES[@]}"'
  8317. ++ dir=/opt/rubies/ruby-2.1.10
  8318. ++ case "${dir##*/}" in
  8319. ++ for dir in '"${RUBIES[@]}"'
  8320. ++ dir=/opt/rubies/ruby-2.2.10
  8321. ++ case "${dir##*/}" in
  8322. ++ for dir in '"${RUBIES[@]}"'
  8323. ++ dir=/opt/rubies/ruby-2.3.8
  8324. ++ case "${dir##*/}" in
  8325. ++ for dir in '"${RUBIES[@]}"'
  8326. ++ dir=/opt/rubies/ruby-2.4.5
  8327. ++ case "${dir##*/}" in
  8328. ++ match=/opt/rubies/ruby-2.4.5
  8329. ++ for dir in '"${RUBIES[@]}"'
  8330. ++ dir=/opt/rubies/ruby-2.5.3
  8331. ++ case "${dir##*/}" in
  8332. ++ for dir in '"${RUBIES[@]}"'
  8333. ++ dir=/opt/rubies/ruby-2.6.0
  8334. ++ case "${dir##*/}" in
  8335. ++ for dir in '"${RUBIES[@]}"'
  8336. ++ dir=/opt/rubies/ruby-current
  8337. ++ case "${dir##*/}" in
  8338. ++ [[ -z /opt/rubies/ruby-2.4.5 ]]
  8339. ++ shift
  8340. ++ chruby_use /opt/rubies/ruby-2.4.5 ''
  8341. ++ [[ ! -x /opt/rubies/ruby-2.4.5/bin/ruby ]]
  8342. ++ [[ -n '' ]]
  8343. ++ export RUBY_ROOT=/opt/rubies/ruby-2.4.5
  8344. ++ RUBY_ROOT=/opt/rubies/ruby-2.4.5
  8345. ++ export RUBYOPT=
  8346. ++ RUBYOPT=
  8347. ++ export PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
  8348. ++ PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
  8349. +++ /opt/rubies/ruby-2.4.5/bin/ruby -
  8350. ++ eval 'export RUBY_ENGINE=ruby;
  8351. export RUBY_VERSION=2.4.5;
  8352. export GEM_ROOT="/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0";'
  8353. +++ export RUBY_ENGINE=ruby
  8354. +++ RUBY_ENGINE=ruby
  8355. +++ export RUBY_VERSION=2.4.5
  8356. +++ RUBY_VERSION=2.4.5
  8357. +++ export GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
  8358. +++ GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
  8359. ++ (( 0 != 0 ))
  8360. + cd /var/app/ondeck
  8361. + su -s /bin/bash -c 'bundle exec /opt/elasticbeanstalk/support/scripts/check-for-rake-task.rb assets:precompile' webapp
  8362. `/home/webapp` is not a directory.
  8363. Bundler will use `/tmp/bundler/home/webapp' as your home directory temporarily.
  8364. + '[' false == true ']'
  8365. + su -s /bin/bash -c 'bundle exec rake assets:precompile' webapp
  8366. `/home/webapp` is not a directory.
  8367. Bundler will use `/tmp/bundler/home/webapp' as your home directory temporarily.
  8368. DEPRECATION WARNING: `config.static_cache_control` is deprecated and will be removed in Rails 5.1.
  8369. Please use
  8370. `config.public_file_server.headers = { 'Cache-Control' => 'public, max-age=2592000' }`
  8371. instead.
  8372. (called from block in <top (required)> at /var/app/ondeck/config/environments/production.rb:28)
  8373. intializing git
  8374. fatal: not in a git directory
  8375. sh: line 0: cd: /home/webapp: No such file or directory
  8376. I, [2019-01-27T13:23:08.982045 #15794] INFO -- : Writing /var/app/ondeck/public/assets/active_admin-6f1b843b5bbbbe3257701ffd3bd6475c519e5523a0e1604f9c9af6ec18e4ad25.css
  8377. I, [2019-01-27T13:23:08.982410 #15794] INFO -- : Writing /var/app/ondeck/public/assets/active_admin-6f1b843b5bbbbe3257701ffd3bd6475c519e5523a0e1604f9c9af6ec18e4ad25.css.gz
  8378. I, [2019-01-27T13:23:08.982668 #15794] INFO -- : Writing /var/app/ondeck/public/assets/active_admin/nested_menu_arrow-15084d93c65c1964d7077700ea748bd2d70cfa2d4c19707c58a9c64e232dd442.gif
  8379. I, [2019-01-27T13:23:08.983006 #15794] INFO -- : Writing /var/app/ondeck/public/assets/active_admin/nested_menu_arrow_dark-7c43b8e0a5f8823875f49a093c9d7a6b374f885b6f9cc248ae9cd7e6e9b29034.gif
  8380. I, [2019-01-27T13:23:08.983295 #15794] INFO -- : Writing /var/app/ondeck/public/assets/active_admin/orderable-29374dbb55b0012d78a37c614d573bb3474f0779849b478a147d0f1845ca6617.png
  8381. I, [2019-01-27T13:23:09.165155 #15794] INFO -- : Writing /var/app/ondeck/public/assets/active_admin/print-cf99cbf27fb92065a9eacd28e6fad48fa72cadaf6e0918790e8d35b11d8f99f6.css
  8382. I, [2019-01-27T13:23:09.165473 #15794] INFO -- : Writing /var/app/ondeck/public/assets/active_admin/print-cf99cbf27fb92065a9eacd28e6fad48fa72cadaf6e0918790e8d35b11d8f99f6.css.gz
  8383. I, [2019-01-27T13:23:18.782412 #15794] INFO -- : Writing /var/app/ondeck/public/assets/active_admin-aad478f9674ed0cc76f83512b458a5e516b90e017d64c576f5f9eaf05ea52b38.js
  8384. I, [2019-01-27T13:23:18.782964 #15794] INFO -- : Writing /var/app/ondeck/public/assets/active_admin-aad478f9674ed0cc76f83512b458a5e516b90e017d64c576f5f9eaf05ea52b38.js.gz
  8385. I, [2019-01-27T13:23:18.791964 #15794] INFO -- : Writing /var/app/ondeck/public/assets/danger-869dd8b0616e1a5b646dc898db2a5d6428f45fe14a90fa6d0c7130f64d886c48.png
  8386. I, [2019-01-27T13:23:18.794101 #15794] INFO -- : Writing /var/app/ondeck/public/assets/dark-607bed84e53ccb497978bd3ae9e51d4b57de94e954da4e8e1ec5b51a78d8898e.png
  8387. I, [2019-01-27T13:23:18.796319 #15794] INFO -- : Writing /var/app/ondeck/public/assets/do-e798277592b8fde73e6568cdde6687220f6d2a83f53250c561edf11619d5b1c1.jpg
  8388. I, [2019-01-27T13:23:18.800618 #15794] INFO -- : Writing /var/app/ondeck/public/assets/favicon-21c44bf091fb9557f8a4527913b0254924fc136d6e71dcee1676b7f37c8175ef.ico
  8389. I, [2019-01-27T13:23:18.800905 #15794] INFO -- : Writing /var/app/ondeck/public/assets/favicon-21c44bf091fb9557f8a4527913b0254924fc136d6e71dcee1676b7f37c8175ef.ico.gz
  8390. I, [2019-01-27T13:23:18.806104 #15794] INFO -- : Writing /var/app/ondeck/public/assets/home-f3281914e0ac5072115e9ba6f458cec56ad002cc5e65ca75988afc86af858e01.jpg
  8391. I, [2019-01-27T13:23:18.812262 #15794] INFO -- : Writing /var/app/ondeck/public/assets/info-967cdd33af0671563a0e72bed22f1cddb95a138e241dffbd5013750360bf7113.png
  8392. I, [2019-01-27T13:23:18.814476 #15794] INFO -- : Writing /var/app/ondeck/public/assets/primary-093ae3386f858ff56855e5c8a09137d4ce87c2c7aa2b152af81eac5d7667a98d.png
  8393. I, [2019-01-27T13:23:18.816710 #15794] INFO -- : Writing /var/app/ondeck/public/assets/secondary-1c1a37a441b0e6f6ca2bfb1435df8f1160a0e4ec1db5798a5e5a72374172942c.png
  8394. I, [2019-01-27T13:23:18.820831 #15794] INFO -- : Writing /var/app/ondeck/public/assets/success-5a1b362ddb5e5ed6131beffc575d91a3615864b678d24706bff24b055b6a594c.png
  8395. I, [2019-01-27T13:23:18.822812 #15794] INFO -- : Writing /var/app/ondeck/public/assets/warning-a3e35927fa71a99455166de5b62a03122ffb5287e33c9ed2c42532622f543fa5.png
  8396. I, [2019-01-27T13:23:24.275790 #15794] INFO -- : Writing /var/app/ondeck/public/assets/application-5770a9512b971d7fb2a232494ee2a78c8f1d383bfc452a26a9dea3a712e6c3b2.js
  8397. I, [2019-01-27T13:23:24.276260 #15794] INFO -- : Writing /var/app/ondeck/public/assets/application-5770a9512b971d7fb2a232494ee2a78c8f1d383bfc452a26a9dea3a712e6c3b2.js.gz
  8398. I, [2019-01-27T13:23:27.597191 #15794] INFO -- : Writing /var/app/ondeck/public/assets/application-da22e659ddaed5260aa445b696e4e8945e554c6c97884a0be799b74eb511ccf3.css
  8399. I, [2019-01-27T13:23:27.597652 #15794] INFO -- : Writing /var/app/ondeck/public/assets/application-da22e659ddaed5260aa445b696e4e8945e554c6c97884a0be799b74eb511ccf3.css.gz
  8400. [2019-01-27T13:23:27.659Z] INFO [15635] - [Application update app-28e4-190127_185241@25/AppDeployStage0/AppDeployPreHook/12_db_migration.sh] : Starting activity...
  8401. [2019-01-27T13:23:31.772Z] INFO [15635] - [Application update app-28e4-190127_185241@25/AppDeployStage0/AppDeployPreHook/12_db_migration.sh] : Completed activity. Result:
  8402. ++ /opt/elasticbeanstalk/bin/get-config container -k script_dir
  8403. + EB_SCRIPT_DIR=/opt/elasticbeanstalk/support/scripts
  8404. ++ /opt/elasticbeanstalk/bin/get-config container -k app_staging_dir
  8405. + EB_APP_STAGING_DIR=/var/app/ondeck
  8406. ++ /opt/elasticbeanstalk/bin/get-config container -k app_user
  8407. + EB_APP_USER=webapp
  8408. ++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
  8409. + EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
  8410. + . /opt/elasticbeanstalk/support/envvars-wrapper.sh
  8411. +++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
  8412. ++ EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
  8413. ++ set +x
  8414. + RAKE_TASK=db:migrate
  8415. + . /opt/elasticbeanstalk/support/scripts/use-app-ruby.sh
  8416. ++ . /usr/local/share/chruby/chruby.sh
  8417. +++ CHRUBY_VERSION=0.3.9
  8418. +++ RUBIES=()
  8419. +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
  8420. +++ [[ -d /opt/rubies ]]
  8421. ++++ ls -A /opt/rubies
  8422. +++ [[ -n ruby-1.9.3-p551
  8423. ruby-2.0.0-p648
  8424. ruby-2.1.10
  8425. ruby-2.2.10
  8426. ruby-2.3.8
  8427. ruby-2.4.5
  8428. ruby-2.5.3
  8429. ruby-2.6.0
  8430. ruby-current ]]
  8431. +++ RUBIES+=("$dir"/*)
  8432. +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
  8433. +++ [[ -d /.rubies ]]
  8434. +++ unset dir
  8435. +++ cat /etc/elasticbeanstalk/.ruby_version
  8436. ++ chruby 2.4.5
  8437. ++ case "$1" in
  8438. ++ local dir match
  8439. ++ for dir in '"${RUBIES[@]}"'
  8440. ++ dir=/opt/rubies/ruby-1.9.3-p551
  8441. ++ case "${dir##*/}" in
  8442. ++ for dir in '"${RUBIES[@]}"'
  8443. ++ dir=/opt/rubies/ruby-2.0.0-p648
  8444. ++ case "${dir##*/}" in
  8445. ++ for dir in '"${RUBIES[@]}"'
  8446. ++ dir=/opt/rubies/ruby-2.1.10
  8447. ++ case "${dir##*/}" in
  8448. ++ for dir in '"${RUBIES[@]}"'
  8449. ++ dir=/opt/rubies/ruby-2.2.10
  8450. ++ case "${dir##*/}" in
  8451. ++ for dir in '"${RUBIES[@]}"'
  8452. ++ dir=/opt/rubies/ruby-2.3.8
  8453. ++ case "${dir##*/}" in
  8454. ++ for dir in '"${RUBIES[@]}"'
  8455. ++ dir=/opt/rubies/ruby-2.4.5
  8456. ++ case "${dir##*/}" in
  8457. ++ match=/opt/rubies/ruby-2.4.5
  8458. ++ for dir in '"${RUBIES[@]}"'
  8459. ++ dir=/opt/rubies/ruby-2.5.3
  8460. ++ case "${dir##*/}" in
  8461. ++ for dir in '"${RUBIES[@]}"'
  8462. ++ dir=/opt/rubies/ruby-2.6.0
  8463. ++ case "${dir##*/}" in
  8464. ++ for dir in '"${RUBIES[@]}"'
  8465. ++ dir=/opt/rubies/ruby-current
  8466. ++ case "${dir##*/}" in
  8467. ++ [[ -z /opt/rubies/ruby-2.4.5 ]]
  8468. ++ shift
  8469. ++ chruby_use /opt/rubies/ruby-2.4.5 ''
  8470. ++ [[ ! -x /opt/rubies/ruby-2.4.5/bin/ruby ]]
  8471. ++ [[ -n '' ]]
  8472. ++ export RUBY_ROOT=/opt/rubies/ruby-2.4.5
  8473. ++ RUBY_ROOT=/opt/rubies/ruby-2.4.5
  8474. ++ export RUBYOPT=
  8475. ++ RUBYOPT=
  8476. ++ export PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
  8477. ++ PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
  8478. +++ /opt/rubies/ruby-2.4.5/bin/ruby -
  8479. ++ eval 'export RUBY_ENGINE=ruby;
  8480. export RUBY_VERSION=2.4.5;
  8481. export GEM_ROOT="/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0";'
  8482. +++ export RUBY_ENGINE=ruby
  8483. +++ RUBY_ENGINE=ruby
  8484. +++ export RUBY_VERSION=2.4.5
  8485. +++ RUBY_VERSION=2.4.5
  8486. +++ export GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
  8487. +++ GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
  8488. ++ (( 0 != 0 ))
  8489. + cd /var/app/ondeck
  8490. + su -s /bin/bash -c 'bundle exec /opt/elasticbeanstalk/support/scripts/check-for-rake-task.rb db:migrate' webapp
  8491. `/home/webapp` is not a directory.
  8492. Bundler will use `/tmp/bundler/home/webapp' as your home directory temporarily.
  8493. + '[' false = true ']'
  8494. + su -s /bin/bash -c 'leader_only bundle exec rake db:migrate' webapp
  8495. `/home/webapp` is not a directory.
  8496. Bundler will use `/tmp/bundler/home/webapp' as your home directory temporarily.
  8497. DEPRECATION WARNING: `config.static_cache_control` is deprecated and will be removed in Rails 5.1.
  8498. Please use
  8499. `config.public_file_server.headers = { 'Cache-Control' => 'public, max-age=2592000' }`
  8500. instead.
  8501. (called from block in <top (required)> at /var/app/ondeck/config/environments/production.rb:28)
  8502. intializing git
  8503. fatal: not in a git directory
  8504. sh: line 0: cd: /home/webapp: No such file or directory
  8505. [2019-01-27T13:23:31.773Z] INFO [15635] - [Application update app-28e4-190127_185241@25/AppDeployStage0/AppDeployPreHook/13_test_for_puma.sh] : Starting activity...
  8506. [2019-01-27T13:23:32.283Z] INFO [15635] - [Application update app-28e4-190127_185241@25/AppDeployStage0/AppDeployPreHook/13_test_for_puma.sh] : Completed activity. Result:
  8507. ++ /opt/elasticbeanstalk/bin/get-config container -k script_dir
  8508. + EB_SCRIPT_DIR=/opt/elasticbeanstalk/support/scripts
  8509. ++ /opt/elasticbeanstalk/bin/get-config container -k app_staging_dir
  8510. + EB_APP_STAGING_DIR=/var/app/ondeck
  8511. ++ /opt/elasticbeanstalk/bin/get-config container -k app_user
  8512. + EB_APP_USER=webapp
  8513. + . /opt/elasticbeanstalk/support/scripts/use-app-ruby.sh
  8514. ++ . /usr/local/share/chruby/chruby.sh
  8515. +++ CHRUBY_VERSION=0.3.9
  8516. +++ RUBIES=()
  8517. +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
  8518. +++ [[ -d /opt/rubies ]]
  8519. ++++ ls -A /opt/rubies
  8520. +++ [[ -n ruby-1.9.3-p551
  8521. ruby-2.0.0-p648
  8522. ruby-2.1.10
  8523. ruby-2.2.10
  8524. ruby-2.3.8
  8525. ruby-2.4.5
  8526. ruby-2.5.3
  8527. ruby-2.6.0
  8528. ruby-current ]]
  8529. +++ RUBIES+=("$dir"/*)
  8530. +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
  8531. +++ [[ -d /.rubies ]]
  8532. +++ unset dir
  8533. +++ cat /etc/elasticbeanstalk/.ruby_version
  8534. ++ chruby 2.4.5
  8535. ++ case "$1" in
  8536. ++ local dir match
  8537. ++ for dir in '"${RUBIES[@]}"'
  8538. ++ dir=/opt/rubies/ruby-1.9.3-p551
  8539. ++ case "${dir##*/}" in
  8540. ++ for dir in '"${RUBIES[@]}"'
  8541. ++ dir=/opt/rubies/ruby-2.0.0-p648
  8542. ++ case "${dir##*/}" in
  8543. ++ for dir in '"${RUBIES[@]}"'
  8544. ++ dir=/opt/rubies/ruby-2.1.10
  8545. ++ case "${dir##*/}" in
  8546. ++ for dir in '"${RUBIES[@]}"'
  8547. ++ dir=/opt/rubies/ruby-2.2.10
  8548. ++ case "${dir##*/}" in
  8549. ++ for dir in '"${RUBIES[@]}"'
  8550. ++ dir=/opt/rubies/ruby-2.3.8
  8551. ++ case "${dir##*/}" in
  8552. ++ for dir in '"${RUBIES[@]}"'
  8553. ++ dir=/opt/rubies/ruby-2.4.5
  8554. ++ case "${dir##*/}" in
  8555. ++ match=/opt/rubies/ruby-2.4.5
  8556. ++ for dir in '"${RUBIES[@]}"'
  8557. ++ dir=/opt/rubies/ruby-2.5.3
  8558. ++ case "${dir##*/}" in
  8559. ++ for dir in '"${RUBIES[@]}"'
  8560. ++ dir=/opt/rubies/ruby-2.6.0
  8561. ++ case "${dir##*/}" in
  8562. ++ for dir in '"${RUBIES[@]}"'
  8563. ++ dir=/opt/rubies/ruby-current
  8564. ++ case "${dir##*/}" in
  8565. ++ [[ -z /opt/rubies/ruby-2.4.5 ]]
  8566. ++ shift
  8567. ++ chruby_use /opt/rubies/ruby-2.4.5 ''
  8568. ++ [[ ! -x /opt/rubies/ruby-2.4.5/bin/ruby ]]
  8569. ++ [[ -n '' ]]
  8570. ++ export RUBY_ROOT=/opt/rubies/ruby-2.4.5
  8571. ++ RUBY_ROOT=/opt/rubies/ruby-2.4.5
  8572. ++ export RUBYOPT=
  8573. ++ RUBYOPT=
  8574. ++ export PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
  8575. ++ PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
  8576. +++ /opt/rubies/ruby-2.4.5/bin/ruby -
  8577. ++ eval 'export RUBY_ENGINE=ruby;
  8578. export RUBY_VERSION=2.4.5;
  8579. export GEM_ROOT="/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0";'
  8580. +++ export RUBY_ENGINE=ruby
  8581. +++ RUBY_ENGINE=ruby
  8582. +++ export RUBY_VERSION=2.4.5
  8583. +++ RUBY_VERSION=2.4.5
  8584. +++ export GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
  8585. +++ GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
  8586. ++ (( 0 != 0 ))
  8587. + /opt/elasticbeanstalk/support/scripts/check-for-gem.rb puma
  8588. + echo true
  8589. [2019-01-27T13:23:32.283Z] INFO [15635] - [Application update app-28e4-190127_185241@25/AppDeployStage0/AppDeployPreHook] : Completed activity. Result:
  8590. Successfully execute hooks in directory /opt/elasticbeanstalk/hooks/appdeploy/pre.
  8591. [2019-01-27T13:23:32.283Z] INFO [15635] - [Application update app-28e4-190127_185241@25/AppDeployStage0/EbExtensionPostBuild] : Starting activity...
  8592. [2019-01-27T13:23:32.635Z] INFO [15635] - [Application update app-28e4-190127_185241@25/AppDeployStage0/EbExtensionPostBuild/Infra-EmbeddedPostBuild] : Starting activity...
  8593. [2019-01-27T13:23:32.635Z] INFO [15635] - [Application update app-28e4-190127_185241@25/AppDeployStage0/EbExtensionPostBuild/Infra-EmbeddedPostBuild] : Completed activity.
  8594. [2019-01-27T13:23:32.651Z] INFO [15635] - [Application update app-28e4-190127_185241@25/AppDeployStage0/EbExtensionPostBuild] : Completed activity.
  8595. [2019-01-27T13:23:32.651Z] INFO [15635] - [Application update app-28e4-190127_185241@25/AppDeployStage0/InfraCleanEbextension] : Starting activity...
  8596. [2019-01-27T13:23:32.660Z] INFO [15635] - [Application update app-28e4-190127_185241@25/AppDeployStage0/InfraCleanEbextension] : Completed activity. Result:
  8597. Cleaned ebextensions subdirectories from /var/app/ondeck.
  8598. [2019-01-27T13:23:32.660Z] INFO [15635] - [Application update app-28e4-190127_185241@25/AppDeployStage0] : Completed activity. Result:
  8599. Application update - Command CMD-AppDeploy stage 0 completed
  8600. [2019-01-27T13:23:32.660Z] INFO [15635] - [Application update app-28e4-190127_185241@25/AppDeployStage1] : Starting activity...
  8601. [2019-01-27T13:23:32.660Z] INFO [15635] - [Application update app-28e4-190127_185241@25/AppDeployStage1/AppDeployEnactHook] : Starting activity...
  8602. [2019-01-27T13:23:32.660Z] INFO [15635] - [Application update app-28e4-190127_185241@25/AppDeployStage1/AppDeployEnactHook/01_flip.sh] : Starting activity...
  8603. [2019-01-27T13:23:32.949Z] INFO [15635] - [Application update app-28e4-190127_185241@25/AppDeployStage1/AppDeployEnactHook/01_flip.sh] : Completed activity. Result:
  8604. ++ /opt/elasticbeanstalk/bin/get-config container -k app_staging_dir
  8605. + EB_APP_STAGING_DIR=/var/app/ondeck
  8606. ++ /opt/elasticbeanstalk/bin/get-config container -k app_deploy_dir
  8607. + EB_APP_DEPLOY_DIR=/var/app/current
  8608. ++ /opt/elasticbeanstalk/bin/get-config container -k app_user
  8609. + EB_APP_USER=webapp
  8610. + '[' -d /var/app/current ']'
  8611. + mv /var/app/current /var/app/current.old
  8612. + mv /var/app/ondeck /var/app/current
  8613. + mkdir -p /var/app/current/tmp /var/app/current/public
  8614. + chown -R webapp:webapp /var/app/current/tmp /var/app/current/public
  8615. + nohup rm -rf /var/app/current.old
  8616. [2019-01-27T13:23:32.950Z] INFO [15635] - [Application update app-28e4-190127_185241@25/AppDeployStage1/AppDeployEnactHook/01stop_xray.sh] : Starting activity...
  8617. [2019-01-27T13:23:33.095Z] INFO [15635] - [Application update app-28e4-190127_185241@25/AppDeployStage1/AppDeployEnactHook/01stop_xray.sh] : Completed activity. Result:
  8618. Executing: if ( initctl status xray | grep start ); then initctl stop xray; fi
  8619.  
  8620. [2019-01-27T13:23:33.095Z] INFO [15635] - [Application update app-28e4-190127_185241@25/AppDeployStage1/AppDeployEnactHook/02_restart_app_server.sh] : Starting activity...
  8621. [2019-01-27T13:23:35.102Z] INFO [15635] - [Application update app-28e4-190127_185241@25/AppDeployStage1/AppDeployEnactHook/02_restart_app_server.sh] : Completed activity. Result:
  8622. + initctl restart puma
  8623. puma start/running, process 16051
  8624. [2019-01-27T13:23:35.102Z] INFO [15635] - [Application update app-28e4-190127_185241@25/AppDeployStage1/AppDeployEnactHook/02start_xray.sh] : Starting activity...
  8625. [2019-01-27T13:23:35.322Z] INFO [15635] - [Application update app-28e4-190127_185241@25/AppDeployStage1/AppDeployEnactHook/02start_xray.sh] : Completed activity.
  8626. [2019-01-27T13:23:35.322Z] INFO [15635] - [Application update app-28e4-190127_185241@25/AppDeployStage1/AppDeployEnactHook/28_create_pids.sh] : Starting activity...
  8627. [2019-01-27T13:23:36.718Z] INFO [15635] - [Application update app-28e4-190127_185241@25/AppDeployStage1/AppDeployEnactHook/28_create_pids.sh] : Completed activity. Result:
  8628. + /opt/elasticbeanstalk/bin/healthd-track-pidfile --proxy nginx
  8629. ++ /opt/elasticbeanstalk/bin/get-config container -k puma_pid_dir
  8630. + PUMA_PID_DIR=/var/run/puma
  8631. + /opt/elasticbeanstalk/bin/healthd-track-pidfile --name application --location /var/run/puma/puma.pid
  8632. [2019-01-27T13:23:36.719Z] INFO [15635] - [Application update app-28e4-190127_185241@25/AppDeployStage1/AppDeployEnactHook] : Completed activity. Result:
  8633. Successfully execute hooks in directory /opt/elasticbeanstalk/hooks/appdeploy/enact.
  8634. [2019-01-27T13:23:36.719Z] INFO [15635] - [Application update app-28e4-190127_185241@25/AppDeployStage1/AppDeployPostHook] : Starting activity...
  8635. [2019-01-27T13:23:36.719Z] INFO [15635] - [Application update app-28e4-190127_185241@25/AppDeployStage1/AppDeployPostHook/01_rails_support.sh] : Starting activity...
  8636. [2019-01-27T13:23:37.131Z] INFO [15635] - [Application update app-28e4-190127_185241@25/AppDeployStage1/AppDeployPostHook/01_rails_support.sh] : Completed activity. Result:
  8637. ++ /opt/elasticbeanstalk/bin/get-config container -k app_deploy_dir
  8638. + EB_APP_DEPLOY_DIR=/var/app/current
  8639. ++ /opt/elasticbeanstalk/bin/get-config container -k app_log_dir
  8640. + EB_APP_LOG_DIR=/var/app/containerfiles/logs
  8641. + ln -sf /var/app/current/log/production.log /var/app/containerfiles/logs
  8642. [2019-01-27T13:23:37.132Z] INFO [15635] - [Application update app-28e4-190127_185241@25/AppDeployStage1/AppDeployPostHook] : Completed activity. Result:
  8643. Successfully execute hooks in directory /opt/elasticbeanstalk/hooks/appdeploy/post.
  8644. [2019-01-27T13:23:37.132Z] INFO [15635] - [Application update app-28e4-190127_185241@25/AppDeployStage1] : Completed activity. Result:
  8645. Application version switch - Command CMD-AppDeploy stage 1 completed
  8646. [2019-01-27T13:23:37.132Z] INFO [15635] - [Application update app-28e4-190127_185241@25/AddonsAfter] : Starting activity...
  8647. [2019-01-27T13:23:37.132Z] INFO [15635] - [Application update app-28e4-190127_185241@25/AddonsAfter/ConfigLogRotation] : Starting activity...
  8648. [2019-01-27T13:23:37.132Z] INFO [15635] - [Application update app-28e4-190127_185241@25/AddonsAfter/ConfigLogRotation/10-config.sh] : Starting activity...
  8649. [2019-01-27T13:23:37.304Z] INFO [15635] - [Application update app-28e4-190127_185241@25/AddonsAfter/ConfigLogRotation/10-config.sh] : Completed activity. Result:
  8650. Disabled forced hourly log rotation.
  8651. [2019-01-27T13:23:37.304Z] INFO [15635] - [Application update app-28e4-190127_185241@25/AddonsAfter/ConfigLogRotation] : Completed activity. Result:
  8652. Successfully execute hooks in directory /opt/elasticbeanstalk/addons/logpublish/hooks/config.
  8653. [2019-01-27T13:23:37.304Z] INFO [15635] - [Application update app-28e4-190127_185241@25/AddonsAfter] : Completed activity.
  8654. [2019-01-27T13:23:37.304Z] INFO [15635] - [Application update app-28e4-190127_185241@25] : Completed activity. Result:
  8655. Application update - Command CMD-AppDeploy succeeded
  8656. [2019-01-27T13:25:57.665Z] INFO [16211] - [CMD-BundleLogs] : Starting activity...
  8657. [2019-01-27T13:25:57.665Z] INFO [16211] - [CMD-BundleLogs/AddonsBefore] : Starting activity...
  8658. [2019-01-27T13:25:57.665Z] INFO [16211] - [CMD-BundleLogs/AddonsBefore] : Completed activity.
  8659. [2019-01-27T13:25:57.665Z] INFO [16211] - [CMD-BundleLogs/BundleLogs] : Starting activity...
  8660. [2019-01-27T13:25:57.665Z] INFO [16211] - [CMD-BundleLogs/BundleLogs/BundleLogs] : Starting activity...
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement