Advertisement
Guest User

eb log

a guest
Jan 27th, 2019
177
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 76.83 KB | None | 0 0
  1. [2019-01-27T16:30:49.086Z] INFO [2869] - [Initialization] : Starting activity...
  2. [2019-01-27T16:30:49.086Z] INFO [2869] - [Initialization/AddonsBefore] : Starting activity...
  3. [2019-01-27T16:30:49.086Z] INFO [2869] - [Initialization/AddonsBefore/InstallCWLAgent] : Starting activity...
  4. [2019-01-27T16:30:49.086Z] INFO [2869] - [Initialization/AddonsBefore/InstallCWLAgent/01-install-cwl-agent.sh] : Starting activity...
  5. [2019-01-27T16:30:51.282Z] INFO [2869] - [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 666 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 6697 0 --:--:-- --:--:-- --:--:-- 10000
  60. + region=us-west-1
  61. + sed -i -e 's/region = .*/region = us-west-1/g' /etc/awslogs/awscli.conf
  62. + /opt/elasticbeanstalk/bin/log-conf -n awslogs -l/var/log/awslogs.log
  63. [2019-01-27T16:30:51.282Z] INFO [2869] - [Initialization/AddonsBefore/InstallCWLAgent] : Completed activity. Result:
  64. Successfully execute hooks in directory /opt/elasticbeanstalk/addons/logstreaming/hooks/install.
  65. [2019-01-27T16:30:51.282Z] INFO [2869] - [Initialization/AddonsBefore] : Completed activity.
  66. [2019-01-27T16:30:51.282Z] INFO [2869] - [Initialization/PreInitStage0] : Starting activity...
  67. [2019-01-27T16:30:51.282Z] INFO [2869] - [Initialization/PreInitStage0/DownloadSourceBundle] : Starting activity...
  68. [2019-01-27T16:30:51.808Z] INFO [2869] - [Initialization/PreInitStage0/DownloadSourceBundle] : Completed activity. Result:
  69. [2019-01-27T16:30:51.389Z] INFO [2936] : Application version will be saved to /opt/elasticbeanstalk/deploy/appsource.
  70. [2019-01-27T16:30:51.389Z] INFO [2936] : Using manifest cache with deployment ID 1 and serial 1.
  71. [2019-01-27T16:30:51.389Z] INFO [2936] : Attempting to download application source bundle to: '/opt/elasticbeanstalk/deploy/appsource/source_bundle'.
  72. [2019-01-27T16:30:51.389Z] INFO [2936] : Using computed s3 key.
  73. [2019-01-27T16:30:51.510Z] INFO [2936] : Downloading from bucket 'elasticbeanstalk-us-west-1-387358288273' with key 'resources/environments/e-agef2s8n6m/_runtime/_versions/yer/app-8d3e-190127_214925' and version '' to '/opt/elasticbeanstalk/deploy/appsource/source_bundle'.
  74. [2019-01-27T16:30:51.565Z] INFO [2936] : Size: 9505071, ETag: "c7556823a8b28f932db1dacb36d8a3bc", Metadata: {"environmentid"=>"e-agef2s8n6m", "requestid"=>"d64c1b5e-b38d-4c6b-b6cd-33bc5883301e"}.
  75. [2019-01-27T16:30:51.798Z] INFO [2936] : Downloaded size: 9505071.
  76. [2019-01-27T16:30:51.798Z] INFO [2936] : Successfully downloaded to '/opt/elasticbeanstalk/deploy/appsource/source_bundle'.
  77. [2019-01-27T16:30:51.808Z] INFO [2869] - [Initialization/PreInitStage0/PreInitHook] : Starting activity...
  78. [2019-01-27T16:30:51.808Z] INFO [2869] - [Initialization/PreInitStage0/PreInitHook/01_install_xray_daemon.sh] : Starting activity...
  79. [2019-01-27T16:30:51.920Z] INFO [2869] - [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-27T16:30:51.920Z] INFO [2869] - [Initialization/PreInitStage0/PreInitHook/01_setup_envvars.sh] : Starting activity...
  83. [2019-01-27T16:30:52.145Z] INFO [2869] - [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-27T16:30:52.147Z] INFO [2869] - [Initialization/PreInitStage0/PreInitHook/02_web_user.sh] : Starting activity...
  89. [2019-01-27T16:30:52.273Z] INFO [2869] - [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-27T16:30:52.273Z] INFO [2869] - [Initialization/PreInitStage0/PreInitHook/03_common_packages.sh] : Starting activity...
  96. [2019-01-27T16:30:52.554Z] INFO [2869] - [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-west-1.amazonaws.com/elasticbeanstalk-env-resources-us-west-1/stalks/eb_ruby_passenger_4.0.1.201578.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.3.8
  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.3.8
  109. + ln -sf /opt/rubies/ruby-2.3.8 /opt/rubies/ruby-current
  110. + ln -sf /opt/elasticbeanstalk/support/scripts/use-app-ruby.sh /etc/profile.d/
  111. [2019-01-27T16:30:52.554Z] INFO [2869] - [Initialization/PreInitStage0/PreInitHook/04_passenger_packages.sh] : Starting activity...
  112. [2019-01-27T16:30:52.557Z] INFO [2869] - [Initialization/PreInitStage0/PreInitHook/04_passenger_packages.sh] : Completed activity. Result:
  113. + is_baked passenger_packages
  114. + [[ -f /etc/elasticbeanstalk/baking_manifest/passenger_packages ]]
  115. + true
  116. + echo Passenger supporting packages have already been installed. Skipping installation.
  117. Passenger supporting packages have already been installed. Skipping installation.
  118. [2019-01-27T16:30:52.557Z] INFO [2869] - [Initialization/PreInitStage0/PreInitHook/10_layout.sh] : Starting activity...
  119. [2019-01-27T16:30:53.017Z] INFO [2869] - [Initialization/PreInitStage0/PreInitHook/10_layout.sh] : Completed activity. Result:
  120. ++ /opt/elasticbeanstalk/bin/get-config container -k app_user
  121. + EB_APP_USER=webapp
  122. ++ /opt/elasticbeanstalk/bin/get-config container -k app_deploy_dir
  123. + EB_APP_DEPLOY_DIR=/var/app/current
  124. ++ /opt/elasticbeanstalk/bin/get-config container -k app_log_dir
  125. + EB_APP_LOG_DIR=/var/app/support/logs
  126. ++ /opt/elasticbeanstalk/bin/get-config container -k app_pid_dir
  127. + EB_APP_PID_DIR=/var/app/support/pids
  128. ++ /opt/elasticbeanstalk/bin/get-config container -k app_asset_dir
  129. + EB_APP_ASSET_DIR=/var/app/support/assets
  130. + mkdir -p /var/app/current /var/app/support/logs /var/app/support/pids /var/app/support/assets
  131. + chown -R webapp:webapp /var/app/current /var/app/support/logs /var/app/support/pids /var/app/support/assets
  132. [2019-01-27T16:30:53.018Z] INFO [2869] - [Initialization/PreInitStage0/PreInitHook/11_logging.sh] : Starting activity...
  133. [2019-01-27T16:30:53.167Z] INFO [2869] - [Initialization/PreInitStage0/PreInitHook/11_logging.sh] : Completed activity. Result:
  134. ++ /opt/elasticbeanstalk/bin/get-config container -k app_log_dir
  135. + EB_APP_LOG_DIR=/var/app/support/logs
  136. + /opt/elasticbeanstalk/bin/log-conf -n webapp '-l/var/app/support/logs/*'
  137. + rm -f /etc/logrotate.d/nginx
  138. [2019-01-27T16:30:53.167Z] INFO [2869] - [Initialization/PreInitStage0/PreInitHook/12_leader_only_script.sh] : Starting activity...
  139. [2019-01-27T16:30:53.264Z] INFO [2869] - [Initialization/PreInitStage0/PreInitHook/12_leader_only_script.sh] : Completed activity. Result:
  140. ++ /opt/elasticbeanstalk/bin/get-config container -k script_dir
  141. + EB_SCRIPT_DIR=/opt/elasticbeanstalk/support/scripts
  142. + ln -sf /opt/elasticbeanstalk/support/scripts/leader_only /usr/bin/
  143. [2019-01-27T16:30:53.264Z] INFO [2869] - [Initialization/PreInitStage0/PreInitHook/22_gems.sh] : Starting activity...
  144. [2019-01-27T16:30:53.576Z] INFO [2869] - [Initialization/PreInitStage0/PreInitHook/22_gems.sh] : Completed activity. Result:
  145. ++ /opt/elasticbeanstalk/bin/get-config container -k script_dir
  146. + EB_SCRIPT_DIR=/opt/elasticbeanstalk/support/scripts
  147. ++ /opt/elasticbeanstalk/bin/get-config container -k gem_dir
  148. + EB_GEM_DIR=/opt/elasticbeanstalk/support/gems/passenger
  149. + . /opt/elasticbeanstalk/support/scripts/use-app-ruby.sh
  150. ++ . /usr/local/share/chruby/chruby.sh
  151. +++ CHRUBY_VERSION=0.3.9
  152. +++ RUBIES=()
  153. +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
  154. +++ [[ -d /opt/rubies ]]
  155. ++++ ls -A /opt/rubies
  156. +++ [[ -n ruby-1.9.3-p551
  157. ruby-2.0.0-p648
  158. ruby-2.1.10
  159. ruby-2.2.10
  160. ruby-2.3.8
  161. ruby-2.4.5
  162. ruby-2.5.3
  163. ruby-2.6.0
  164. ruby-current ]]
  165. +++ RUBIES+=("$dir"/*)
  166. +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
  167. +++ [[ -d /.rubies ]]
  168. +++ unset dir
  169. +++ cat /etc/elasticbeanstalk/.ruby_version
  170. ++ chruby 2.3.8
  171. ++ case "$1" in
  172. ++ local dir match
  173. ++ for dir in '"${RUBIES[@]}"'
  174. ++ dir=/opt/rubies/ruby-1.9.3-p551
  175. ++ case "${dir##*/}" in
  176. ++ for dir in '"${RUBIES[@]}"'
  177. ++ dir=/opt/rubies/ruby-2.0.0-p648
  178. ++ case "${dir##*/}" in
  179. ++ for dir in '"${RUBIES[@]}"'
  180. ++ dir=/opt/rubies/ruby-2.1.10
  181. ++ case "${dir##*/}" in
  182. ++ for dir in '"${RUBIES[@]}"'
  183. ++ dir=/opt/rubies/ruby-2.2.10
  184. ++ case "${dir##*/}" in
  185. ++ for dir in '"${RUBIES[@]}"'
  186. ++ dir=/opt/rubies/ruby-2.3.8
  187. ++ case "${dir##*/}" in
  188. ++ match=/opt/rubies/ruby-2.3.8
  189. ++ for dir in '"${RUBIES[@]}"'
  190. ++ dir=/opt/rubies/ruby-2.4.5
  191. ++ case "${dir##*/}" in
  192. ++ for dir in '"${RUBIES[@]}"'
  193. ++ dir=/opt/rubies/ruby-2.5.3
  194. ++ case "${dir##*/}" in
  195. ++ for dir in '"${RUBIES[@]}"'
  196. ++ dir=/opt/rubies/ruby-2.6.0
  197. ++ case "${dir##*/}" in
  198. ++ for dir in '"${RUBIES[@]}"'
  199. ++ dir=/opt/rubies/ruby-current
  200. ++ case "${dir##*/}" in
  201. ++ [[ -z /opt/rubies/ruby-2.3.8 ]]
  202. ++ shift
  203. ++ chruby_use /opt/rubies/ruby-2.3.8 ''
  204. ++ [[ ! -x /opt/rubies/ruby-2.3.8/bin/ruby ]]
  205. ++ [[ -n '' ]]
  206. ++ export RUBY_ROOT=/opt/rubies/ruby-2.3.8
  207. ++ RUBY_ROOT=/opt/rubies/ruby-2.3.8
  208. ++ export RUBYOPT=
  209. ++ RUBYOPT=
  210. ++ export PATH=/opt/rubies/ruby-2.3.8/bin:/opt/elasticbeanstalk/lib/ruby/bin:/opt/elasticbeanstalk/lib/ruby/bin:/sbin:/usr/sbin:/bin:/usr/bin
  211. ++ PATH=/opt/rubies/ruby-2.3.8/bin:/opt/elasticbeanstalk/lib/ruby/bin:/opt/elasticbeanstalk/lib/ruby/bin:/sbin:/usr/sbin:/bin:/usr/bin
  212. +++ /opt/rubies/ruby-2.3.8/bin/ruby -
  213. ++ eval 'export RUBY_ENGINE=ruby;
  214. export RUBY_VERSION=2.3.8;
  215. export GEM_ROOT="/opt/rubies/ruby-2.3.8/lib/ruby/gems/2.3.0";'
  216. +++ export RUBY_ENGINE=ruby
  217. +++ RUBY_ENGINE=ruby
  218. +++ export RUBY_VERSION=2.3.8
  219. +++ RUBY_VERSION=2.3.8
  220. +++ export GEM_ROOT=/opt/rubies/ruby-2.3.8/lib/ruby/gems/2.3.0
  221. +++ GEM_ROOT=/opt/rubies/ruby-2.3.8/lib/ruby/gems/2.3.0
  222. ++ (( 0 != 0 ))
  223. + is_baked gems
  224. + [[ -f /etc/elasticbeanstalk/baking_manifest/gems ]]
  225. + true
  226. + echo Gems have already been installed. Skipping installation.
  227. Gems have already been installed. Skipping installation.
  228. [2019-01-27T16:30:53.576Z] INFO [2869] - [Initialization/PreInitStage0/PreInitHook/25_passenger.sh] : Starting activity...
  229. [2019-01-27T16:30:53.853Z] INFO [2869] - [Initialization/PreInitStage0/PreInitHook/25_passenger.sh] : Completed activity. Result:
  230. ++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
  231. + EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
  232. ++ /opt/elasticbeanstalk/bin/get-config container -k tarball_url
  233. + EB_TARBALL_URL=https://s3.dualstack.us-west-1.amazonaws.com/elasticbeanstalk-env-resources-us-west-1/stalks/eb_ruby_passenger_4.0.1.201578.0/lib/tarballs
  234. ++ /opt/elasticbeanstalk/bin/get-config container -k passenger_version
  235. + EB_PASSENGER_VERSION=4.0.60
  236. + ln -sf /opt/elasticbeanstalk/support/conf/passenger /etc/init.d/passenger
  237. + chmod +x /etc/init.d/passenger
  238. + chkconfig passenger on
  239. + is_baked passenger_standalone
  240. + [[ -f /etc/elasticbeanstalk/baking_manifest/passenger_standalone ]]
  241. + true
  242. + echo Passenger standalone has already been installed. Skipping installation.
  243. Passenger standalone has already been installed. Skipping installation.
  244. [2019-01-27T16:30:53.853Z] INFO [2869] - [Initialization/PreInitStage0/PreInitHook/26_passenger_start.sh] : Starting activity...
  245. [2019-01-27T16:31:28.913Z] INFO [2869] - [Initialization/PreInitStage0/PreInitHook/26_passenger_start.sh] : Completed activity. Result:
  246. + service passenger start
  247. ++ /opt/elasticbeanstalk/bin/get-config container -k http_port
  248. + EB_HTTP_PORT=80
  249. ++ /opt/elasticbeanstalk/bin/get-config container -k app_user
  250. + EB_APP_USER=webapp
  251. ++ /opt/elasticbeanstalk/bin/get-config container -k app_deploy_dir
  252. + EB_APP_DEPLOY_DIR=/var/app/current
  253. ++ /opt/elasticbeanstalk/bin/get-config container -k app_pid_dir
  254. + EB_APP_PID_DIR=/var/app/support/pids
  255. ++ /opt/elasticbeanstalk/bin/get-config container -k app_log_dir
  256. + EB_APP_LOG_DIR=/var/app/support/logs
  257. ++ /opt/elasticbeanstalk/bin/get-config container -k script_dir
  258. + EB_SCRIPT_DIR=/opt/elasticbeanstalk/support/scripts
  259. ++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
  260. + EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
  261. ++ /opt/elasticbeanstalk/bin/get-config container -k nginx_version
  262. + EB_NGINX_VERSION=1.12.1
  263. + . /opt/elasticbeanstalk/support/envvars-wrapper.sh
  264. +++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
  265. ++ EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
  266. ++ set +x
  267. + . /opt/elasticbeanstalk/support/scripts/use-app-ruby.sh
  268. ++ . /usr/local/share/chruby/chruby.sh
  269. +++ CHRUBY_VERSION=0.3.9
  270. +++ RUBIES=()
  271. +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
  272. +++ [[ -d /opt/rubies ]]
  273. ++++ ls -A /opt/rubies
  274. +++ [[ -n ruby-1.9.3-p551
  275. ruby-2.0.0-p648
  276. ruby-2.1.10
  277. ruby-2.2.10
  278. ruby-2.3.8
  279. ruby-2.4.5
  280. ruby-2.5.3
  281. ruby-2.6.0
  282. ruby-current ]]
  283. +++ RUBIES+=("$dir"/*)
  284. +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
  285. +++ [[ -d /.rubies ]]
  286. +++ unset dir
  287. +++ cat /etc/elasticbeanstalk/.ruby_version
  288. ++ chruby 2.3.8
  289. ++ case "$1" in
  290. ++ local dir match
  291. ++ for dir in '"${RUBIES[@]}"'
  292. ++ dir=/opt/rubies/ruby-1.9.3-p551
  293. ++ case "${dir##*/}" in
  294. ++ for dir in '"${RUBIES[@]}"'
  295. ++ dir=/opt/rubies/ruby-2.0.0-p648
  296. ++ case "${dir##*/}" in
  297. ++ for dir in '"${RUBIES[@]}"'
  298. ++ dir=/opt/rubies/ruby-2.1.10
  299. ++ case "${dir##*/}" in
  300. ++ for dir in '"${RUBIES[@]}"'
  301. ++ dir=/opt/rubies/ruby-2.2.10
  302. ++ case "${dir##*/}" in
  303. ++ for dir in '"${RUBIES[@]}"'
  304. ++ dir=/opt/rubies/ruby-2.3.8
  305. ++ case "${dir##*/}" in
  306. ++ match=/opt/rubies/ruby-2.3.8
  307. ++ for dir in '"${RUBIES[@]}"'
  308. ++ dir=/opt/rubies/ruby-2.4.5
  309. ++ case "${dir##*/}" in
  310. ++ for dir in '"${RUBIES[@]}"'
  311. ++ dir=/opt/rubies/ruby-2.5.3
  312. ++ case "${dir##*/}" in
  313. ++ for dir in '"${RUBIES[@]}"'
  314. ++ dir=/opt/rubies/ruby-2.6.0
  315. ++ case "${dir##*/}" in
  316. ++ for dir in '"${RUBIES[@]}"'
  317. ++ dir=/opt/rubies/ruby-current
  318. ++ case "${dir##*/}" in
  319. ++ [[ -z /opt/rubies/ruby-2.3.8 ]]
  320. ++ shift
  321. ++ chruby_use /opt/rubies/ruby-2.3.8 ''
  322. ++ [[ ! -x /opt/rubies/ruby-2.3.8/bin/ruby ]]
  323. ++ [[ -n '' ]]
  324. ++ export RUBY_ROOT=/opt/rubies/ruby-2.3.8
  325. ++ RUBY_ROOT=/opt/rubies/ruby-2.3.8
  326. ++ export RUBYOPT=
  327. ++ RUBYOPT=
  328. ++ export PATH=/opt/rubies/ruby-2.3.8/bin:/sbin:/usr/sbin:/bin:/usr/bin
  329. ++ PATH=/opt/rubies/ruby-2.3.8/bin:/sbin:/usr/sbin:/bin:/usr/bin
  330. +++ /opt/rubies/ruby-2.3.8/bin/ruby -
  331. ++ eval 'export RUBY_ENGINE=ruby;
  332. export RUBY_VERSION=2.3.8;
  333. export GEM_ROOT="/opt/rubies/ruby-2.3.8/lib/ruby/gems/2.3.0";'
  334. +++ export RUBY_ENGINE=ruby
  335. +++ RUBY_ENGINE=ruby
  336. +++ export RUBY_VERSION=2.3.8
  337. +++ RUBY_VERSION=2.3.8
  338. +++ export GEM_ROOT=/opt/rubies/ruby-2.3.8/lib/ruby/gems/2.3.0
  339. +++ GEM_ROOT=/opt/rubies/ruby-2.3.8/lib/ruby/gems/2.3.0
  340. ++ (( 0 != 0 ))
  341. + '[' -f /etc/elasticbeanstalk/set-ulimit.sh ']'
  342. + . /etc/elasticbeanstalk/set-ulimit.sh
  343. +++ cat /proc/sys/fs/file-max
  344. ++ FILES_MAX=98389
  345. ++ [[ ! 98389 =~ ^[0-9]+$ ]]
  346. ++ let USER_LIMIT=98389/3
  347. ++ '[' 32796 -lt 4096 ']'
  348. ++ '[' 32796 -gt 200000 ']'
  349. ++ ulimit -n 32796
  350. + export HOME=/tmp
  351. + HOME=/tmp
  352. + export PASSENGER_DOWNLOAD_NATIVE_SUPPORT_BINARY=0
  353. + PASSENGER_DOWNLOAD_NATIVE_SUPPORT_BINARY=0
  354. + '[' -d /etc/healthd ']'
  355. + STARTOPTS='--nginx-version 1.12.1 --nginx-config-template /opt/elasticbeanstalk/support/conf/nginx_config_healthd.erb'
  356. + ENV_STAGE=production
  357. + '[' production = production ']'
  358. + STARTOPTS='--nginx-version 1.12.1 --nginx-config-template /opt/elasticbeanstalk/support/conf/nginx_config_healthd.erb --no-friendly-error-pages'
  359. + GENERALOPTS='-p 80 --pid-file /var/app/support/pids/passenger.pid'
  360. + case "$1" in
  361. + passenger-status
  362. ERROR: Phusion Passenger doesn't seem to be running.
  363. + start
  364. + touch /var/app/support/logs/passenger.log
  365. + '[' -d /etc/healthd ']'
  366. + mkdir -p /var/app/support/logs/healthd
  367. + chown -R webapp:webapp /var/app/support/logs/healthd
  368. + chown webapp:webapp /var/app/support/logs/passenger.log
  369. + passenger start /var/app/current --nginx-version 1.12.1 --nginx-config-template /opt/elasticbeanstalk/support/conf/nginx_config_healthd.erb --no-friendly-error-pages -p 80 --pid-file /var/app/support/pids/passenger.pid -d -e production --user webapp --log-file /var/app/support/logs/passenger.log
  370. --> Downloading web helper for your platform
  371. Could not download https://oss-binaries.phusionpassenger.com/binaries/passenger/by_release/4.0.60/webhelper-1.12.1-x86_64-linux.tar.gz: The requested URL returned error: 404
  372. Trying next mirror...
  373. Could not download https://s3.amazonaws.com/phusion-passenger/binaries/passenger/by_release/4.0.60/webhelper-1.12.1-x86_64-linux.tar.gz: The requested URL returned error: 403 Forbidden
  374. No binary is available for your platform. Will compile it from source.
  375.  
  376. Checking for required software...
  377.  
  378. * Checking for C compiler...
  379. Found: yes
  380. Location: /usr/bin/cc
  381. * Checking for C++ compiler...
  382. Found: yes
  383. Location: /usr/bin/c++
  384. * Checking for GNU make...
  385. Found: yes
  386. Location: /usr/bin/gmake
  387. * Checking for OpenSSL support for Ruby...
  388. Found: yes
  389. * Checking for RubyGems...
  390. Found: yes
  391. * Checking for Rake (associated with /opt/rubies/ruby-2.3.8/bin/ruby)...
  392. Found: yes
  393. Location: /opt/rubies/ruby-2.3.8/bin/ruby /opt/rubies/ruby-2.3.8/bin/rake
  394. * Checking for rack...
  395. Found: yes
  396. * Checking for Curl development headers with SSL support...
  397. Found: yes
  398. curl-config location: /usr/bin/curl-config
  399. Header location: /usr/include/curl/curl.h
  400. Version: libcurl 7.53.1
  401. Usable: yes
  402. Supports SSL: yes
  403. * Checking for OpenSSL development headers...
  404. Found: yes
  405. Location: /usr/include/openssl/ssl.h
  406. * Checking for Zlib development headers...
  407. Found: yes
  408. Location: /usr/include/zlib.h
  409. * Checking for PCRE development headers...
  410. Found: yes
  411. Location: /usr/include/pcre.h
  412. * Checking for daemon_controller >= 1.1.0...
  413. Found: yes
  414. Installed version: 1.2.0
  415.  
  416. Installing Phusion Passenger Standalone...
  417. Downloading web helper source code...
  418. [Extracting web helper source].........................................................................................................................[Preparing web helper... -].[Preparing web helper... \].[Preparing web helper... |].[Preparing web helper... /].[Preparing web helper... -].[Preparing web helper... \].[Preparing web helper... |].[Preparing web helper... /].[Preparing web helper... -].[Preparing web helper... \].[Preparing web helper... |].[Preparing web helper... /].[Preparing web helper... -].[Preparing web helper... \].[Preparing web helper... |].[Preparing web helper... /].[Preparing web helper... -].[Preparing web helper... \].[Preparing web helper... |].[Preparing web helper... /].[Preparing web helper... -].[Preparing web helper... \].[Preparing web helper... |].[Preparing web helper... /].[Preparing web helper... -].[Preparing web helper... \].[Preparing web helper... |].[Preparing web helper... /].[Preparing web helper... -].[Preparing web helper... \].[Preparing web helper... |].[Preparing web helper... /].[Preparing web helper... -].[Preparing web helper... \].[Preparing web helper... |].[Preparing web helper... /].[Preparing web helper... -].[Preparing web helper... \].[Preparing web helper... |].[Preparing web helper... /].[Preparing web helper... -].[Preparing web helper... \].[Preparing web helper... |].[Preparing web helper... /].[Preparing web helper... -].[Preparing web helper... \].[Preparing web helper... |].[Preparing web helper... /].[Preparing web helper... -].[Preparing web helper... \].[Preparing web helper... |].[Preparing web helper... /].[Preparing web helper... -].[Preparing web helper... \].[Preparing web helper... |].[Preparing web helper... /].[Preparing web helper... -].[Preparing web helper... \].[Preparing web helper... |].[Preparing web helper... /].[Preparing web helper... -].[Preparing web helper... \].[Preparing web helper... |].[Preparing web helper... /].[Preparing web helper... -].[Preparing web helper... \].[Preparing web helper... |].[Preparing web helper... /].[Preparing web helper... -].[Preparing web helper... \].[Preparing web helper... |].[Preparing web helper... /].[Preparing web helper... -].[Preparing web helper... \].[Preparing web helper... |].[Preparing web helper... /].[Preparing web helper... -].[Preparing web helper... \].[Preparing web helper... |].[Preparing web helper... /].[Preparing web helper... -].[Preparing web helper... \].[Preparing web helper... |].[Preparing web helper... /].[Preparing web helper... -].[Preparing web helper... \].[Preparing web helper... |].[Preparing web helper... /].[Preparing web helper... -].[Preparing web helper... \].[Preparing web helper... |].[Preparing web helper... /].[Preparing web helper... -].[Preparing web helper... \].[Preparing web helper... |].[Preparing web helper... /].[Preparing web helper... -].[Preparing web helper... \].[Preparing web helper... |].[Preparing web helper... /].[Preparing web helper... -].[Preparing web helper... \].[Preparing web helper... |].[Preparing web helper... /].[Preparing web helper... -].[Preparing web helper... \].[Preparing web helper... |].[Preparing web helper... /].[Preparing web helper... -].[Preparing web helper... \].[Preparing web helper... |].[Preparing web helper... /].[Preparing web helper... -].[Preparing web helper... \].[Preparing web helper... |].[Preparing web helper... /].[Preparing web helper... -].[Preparing web helper... \].[Preparing web helper... |].[Preparing web helper... /].[Preparing web helper... -].[Preparing web helper... \].[Preparing web helper... |].[Preparing web helper... /].[Preparing web helper... -].[Preparing web helper... \].[Preparing web helper... |].[Preparing web helper... /].[Preparing web helper... -].[Compiling web helper]...................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................[Copying files].
  419. --> Compiling passenger_native_support.so for the current Ruby interpreter...
  420. (set PASSENGER_COMPILE_NATIVE_SUPPORT_BINARY=0 to disable)
  421. Compilation succesful. The logs are here:
  422. /tmp/passenger_native_support-sa2oua.log
  423. --> passenger_native_support.so successfully loaded.
  424. =============== Phusion Passenger Standalone web server started ===============
  425. PID file: /var/app/support/pids/passenger.pid
  426. Log file: /var/app/support/logs/passenger.log
  427. Environment: production
  428. Accessible via: http://0.0.0.0/
  429.  
  430. Serving in the background as a daemon.
  431. Problems? Check https://www.phusionpassenger.com/documentation/Users%20guide%20Standalone.html#troubleshooting
  432. ===============================================================================
  433. [2019-01-27T16:31:28.914Z] INFO [2869] - [Initialization/PreInitStage0/PreInitHook/27_healthd_passenger_log_cleanup.sh] : Starting activity...
  434. [2019-01-27T16:31:29.070Z] INFO [2869] - [Initialization/PreInitStage0/PreInitHook/27_healthd_passenger_log_cleanup.sh] : Completed activity.
  435. [2019-01-27T16:31:29.071Z] INFO [2869] - [Initialization/PreInitStage0/PreInitHook/27_nodejs.sh] : Starting activity...
  436. [2019-01-27T16:31:29.074Z] INFO [2869] - [Initialization/PreInitStage0/PreInitHook/27_nodejs.sh] : Completed activity. Result:
  437. + is_baked nodejs
  438. + [[ -f /etc/elasticbeanstalk/baking_manifest/nodejs ]]
  439. + true
  440. + echo Node.js has already been installed. Skipping installation.
  441. Node.js has already been installed. Skipping installation.
  442. [2019-01-27T16:31:29.074Z] INFO [2869] - [Initialization/PreInitStage0/PreInitHook] : Completed activity. Result:
  443. Successfully execute hooks in directory /opt/elasticbeanstalk/hooks/preinit.
  444. [2019-01-27T16:31:29.074Z] INFO [2869] - [Initialization/PreInitStage0] : Completed activity. Result:
  445. Initialization - Command CMD-PreInit stage 0 completed
  446. [2019-01-27T16:31:29.074Z] INFO [2869] - [Initialization/AddonsAfter] : Starting activity...
  447. [2019-01-27T16:31:29.074Z] INFO [2869] - [Initialization/AddonsAfter] : Completed activity.
  448. [2019-01-27T16:31:29.074Z] INFO [2869] - [Initialization] : Completed activity. Result:
  449. Initialization - Command CMD-PreInit succeeded
  450. [2019-01-27T16:31:53.644Z] INFO [6008] - [Application deployment app-8d3e-190127_214925@1] : Starting activity...
  451. [2019-01-27T16:31:53.644Z] INFO [6008] - [Application deployment app-8d3e-190127_214925@1/AddonsBefore] : Starting activity...
  452. [2019-01-27T16:31:53.644Z] INFO [6008] - [Application deployment app-8d3e-190127_214925@1/AddonsBefore/ConfigCWLAgent] : Starting activity...
  453. [2019-01-27T16:31:53.644Z] INFO [6008] - [Application deployment app-8d3e-190127_214925@1/AddonsBefore/ConfigCWLAgent/10-config.sh] : Starting activity...
  454. [2019-01-27T16:31:53.767Z] INFO [6008] - [Application deployment app-8d3e-190127_214925@1/AddonsBefore/ConfigCWLAgent/10-config.sh] : Completed activity. Result:
  455. Log streaming option setting is not specified, ignore cloudwatch logs setup.
  456.  
  457. Disabled log streaming.
  458. [2019-01-27T16:31:53.767Z] INFO [6008] - [Application deployment app-8d3e-190127_214925@1/AddonsBefore/ConfigCWLAgent] : Completed activity. Result:
  459. Successfully execute hooks in directory /opt/elasticbeanstalk/addons/logstreaming/hooks/config.
  460. [2019-01-27T16:31:53.767Z] INFO [6008] - [Application deployment app-8d3e-190127_214925@1/AddonsBefore] : Completed activity.
  461. [2019-01-27T16:31:54.159Z] INFO [6008] - [Application deployment app-8d3e-190127_214925@1/StartupStage0] : Starting activity...
  462. [2019-01-27T16:31:54.159Z] INFO [6008] - [Application deployment app-8d3e-190127_214925@1/StartupStage0/HealthdLogRotation] : Starting activity...
  463. [2019-01-27T16:31:54.164Z] INFO [6008] - [Application deployment app-8d3e-190127_214925@1/StartupStage0/HealthdLogRotation] : Completed activity. Result:
  464. ["/etc/cron.hourly/cron.logrotate.elasticbeanstalk.healthd.conf"]
  465. [2019-01-27T16:31:54.164Z] INFO [6008] - [Application deployment app-8d3e-190127_214925@1/StartupStage0/HealthdHTTPDLogging] : Starting activity...
  466. [2019-01-27T16:31:54.164Z] INFO [6008] - [Application deployment app-8d3e-190127_214925@1/StartupStage0/HealthdHTTPDLogging] : Completed activity.
  467. [2019-01-27T16:31:54.164Z] INFO [6008] - [Application deployment app-8d3e-190127_214925@1/StartupStage0/HealthdNginxLogging] : Starting activity...
  468. [2019-01-27T16:31:54.165Z] INFO [6008] - [Application deployment app-8d3e-190127_214925@1/StartupStage0/HealthdNginxLogging] : Completed activity.
  469. [2019-01-27T16:31:54.165Z] INFO [6008] - [Application deployment app-8d3e-190127_214925@1/StartupStage0/EbExtensionPreBuild] : Starting activity...
  470. [2019-01-27T16:31:54.562Z] INFO [6008] - [Application deployment app-8d3e-190127_214925@1/StartupStage0/EbExtensionPreBuild/Infra-EmbeddedPreBuild] : Starting activity...
  471. [2019-01-27T16:31:54.566Z] INFO [6008] - [Application deployment app-8d3e-190127_214925@1/StartupStage0/EbExtensionPreBuild/Infra-EmbeddedPreBuild/prebuild_0_yer] : Starting activity...
  472. [2019-01-27T16:31:55.193Z] INFO [6008] - [Application deployment app-8d3e-190127_214925@1/StartupStage0/EbExtensionPreBuild/Infra-EmbeddedPreBuild/prebuild_0_yer/yum install git] : Starting activity...
  473. [2019-01-27T16:31:56.822Z] INFO [6008] - [Application deployment app-8d3e-190127_214925@1/StartupStage0/EbExtensionPreBuild/Infra-EmbeddedPreBuild/prebuild_0_yer/yum install git] : Completed activity. Result:
  474. Loaded plugins: priorities, update-motd, upgrade-helper
  475. Resolving Dependencies
  476. --> Running transaction check
  477. ---> Package git.x86_64 0:2.14.5-1.60.amzn1 will be installed
  478. --> Processing Dependency: perl-Git = 2.14.5-1.60.amzn1 for package: git-2.14.5-1.60.amzn1.x86_64
  479. --> Processing Dependency: perl(Term::ReadKey) for package: git-2.14.5-1.60.amzn1.x86_64
  480. --> Processing Dependency: perl(Git::I18N) for package: git-2.14.5-1.60.amzn1.x86_64
  481. --> Processing Dependency: perl(Git) for package: git-2.14.5-1.60.amzn1.x86_64
  482. --> Processing Dependency: perl(Error) for package: git-2.14.5-1.60.amzn1.x86_64
  483. --> Running transaction check
  484. ---> Package perl-Error.noarch 1:0.17020-2.9.amzn1 will be installed
  485. ---> Package perl-Git.noarch 0:2.14.5-1.60.amzn1 will be installed
  486. ---> Package perl-TermReadKey.x86_64 0:2.30-20.9.amzn1 will be installed
  487. --> Finished Dependency Resolution
  488.  
  489. Dependencies Resolved
  490.  
  491. ================================================================================
  492. Package Arch Version Repository Size
  493. ================================================================================
  494. Installing:
  495. git x86_64 2.14.5-1.60.amzn1 amzn-updates 12 M
  496. Installing for dependencies:
  497. perl-Error noarch 1:0.17020-2.9.amzn1 amzn-main 33 k
  498. perl-Git noarch 2.14.5-1.60.amzn1 amzn-updates 69 k
  499. perl-TermReadKey x86_64 2.30-20.9.amzn1 amzn-main 33 k
  500.  
  501. Transaction Summary
  502. ================================================================================
  503. Install 1 Package (+3 Dependent packages)
  504.  
  505. Total download size: 12 M
  506. Installed size: 29 M
  507. Downloading packages:
  508. --------------------------------------------------------------------------------
  509. Total 25 MB/s | 12 MB 00:00
  510. Running transaction check
  511. Running transaction test
  512. Transaction test succeeded
  513. Running transaction
  514. Installing : 1:perl-Error-0.17020-2.9.amzn1.noarch 1/4
  515. Installing : perl-TermReadKey-2.30-20.9.amzn1.x86_64 2/4
  516. Installing : perl-Git-2.14.5-1.60.amzn1.noarch 3/4
  517. Installing : git-2.14.5-1.60.amzn1.x86_64 4/4
  518. Verifying : git-2.14.5-1.60.amzn1.x86_64 1/4
  519. Verifying : 1:perl-Error-0.17020-2.9.amzn1.noarch 2/4
  520. Verifying : perl-Git-2.14.5-1.60.amzn1.noarch 3/4
  521. Verifying : perl-TermReadKey-2.30-20.9.amzn1.x86_64 4/4
  522.  
  523. Installed:
  524. git.x86_64 0:2.14.5-1.60.amzn1
  525.  
  526. Dependency Installed:
  527. perl-Error.noarch 1:0.17020-2.9.amzn1 perl-Git.noarch 0:2.14.5-1.60.amzn1
  528. perl-TermReadKey.x86_64 0:2.30-20.9.amzn1
  529.  
  530. Complete!
  531.  
  532. [2019-01-27T16:31:56.822Z] INFO [6008] - [Application deployment app-8d3e-190127_214925@1/StartupStage0/EbExtensionPreBuild/Infra-EmbeddedPreBuild/prebuild_0_yer] : Completed activity.
  533. [2019-01-27T16:31:56.822Z] INFO [6008] - [Application deployment app-8d3e-190127_214925@1/StartupStage0/EbExtensionPreBuild/Infra-EmbeddedPreBuild] : Completed activity.
  534. [2019-01-27T16:31:56.843Z] INFO [6008] - [Application deployment app-8d3e-190127_214925@1/StartupStage0/EbExtensionPreBuild] : Completed activity.
  535. [2019-01-27T16:31:56.843Z] INFO [6008] - [Application deployment app-8d3e-190127_214925@1/StartupStage0/AppDeployPreHook] : Starting activity...
  536. [2019-01-27T16:31:56.843Z] INFO [6008] - [Application deployment app-8d3e-190127_214925@1/StartupStage0/AppDeployPreHook/01_configure_xray.sh] : Starting activity...
  537. [2019-01-27T16:31:56.954Z] INFO [6008] - [Application deployment app-8d3e-190127_214925@1/StartupStage0/AppDeployPreHook/01_configure_xray.sh] : Completed activity.
  538. [2019-01-27T16:31:56.955Z] INFO [6008] - [Application deployment app-8d3e-190127_214925@1/StartupStage0/AppDeployPreHook/01_unzip.rb] : Starting activity...
  539. [2019-01-27T16:31:57.448Z] INFO [6008] - [Application deployment app-8d3e-190127_214925@1/StartupStage0/AppDeployPreHook/01_unzip.rb] : Completed activity.
  540. [2019-01-27T16:31:57.448Z] INFO [6008] - [Application deployment app-8d3e-190127_214925@1/StartupStage0/AppDeployPreHook/02_setup_envvars.sh] : Starting activity...
  541. [2019-01-27T16:31:57.674Z] INFO [6008] - [Application deployment app-8d3e-190127_214925@1/StartupStage0/AppDeployPreHook/02_setup_envvars.sh] : Completed activity. Result:
  542. ++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
  543. + EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
  544. + /opt/elasticbeanstalk/support/export_envvars
  545. [2019-01-27T16:31:57.674Z] INFO [6008] - [Application deployment app-8d3e-190127_214925@1/StartupStage0/AppDeployPreHook/10_bundle_install.sh] : Starting activity...
  546. [2019-01-27T16:34:45.259Z] INFO [6008] - [Application deployment app-8d3e-190127_214925@1/StartupStage0/AppDeployPreHook/10_bundle_install.sh] : Completed activity. Result:
  547. ++ /opt/elasticbeanstalk/bin/get-config container -k script_dir
  548. + EB_SCRIPT_DIR=/opt/elasticbeanstalk/support/scripts
  549. ++ /opt/elasticbeanstalk/bin/get-config container -k app_staging_dir
  550. + EB_APP_STAGING_DIR=/var/app/ondeck
  551. ++ /opt/elasticbeanstalk/bin/get-config container -k app_user
  552. + EB_APP_USER=webapp
  553. ++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
  554. + EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
  555. + . /opt/elasticbeanstalk/support/envvars-wrapper.sh
  556. +++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
  557. ++ EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
  558. ++ set +x
  559. + . /opt/elasticbeanstalk/support/scripts/use-app-ruby.sh
  560. ++ . /usr/local/share/chruby/chruby.sh
  561. +++ CHRUBY_VERSION=0.3.9
  562. +++ RUBIES=()
  563. +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
  564. +++ [[ -d /opt/rubies ]]
  565. ++++ ls -A /opt/rubies
  566. +++ [[ -n ruby-1.9.3-p551
  567. ruby-2.0.0-p648
  568. ruby-2.1.10
  569. ruby-2.2.10
  570. ruby-2.3.8
  571. ruby-2.4.5
  572. ruby-2.5.3
  573. ruby-2.6.0
  574. ruby-current ]]
  575. +++ RUBIES+=("$dir"/*)
  576. +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
  577. +++ [[ -d /.rubies ]]
  578. +++ unset dir
  579. +++ cat /etc/elasticbeanstalk/.ruby_version
  580. ++ chruby 2.3.8
  581. ++ case "$1" in
  582. ++ local dir match
  583. ++ for dir in '"${RUBIES[@]}"'
  584. ++ dir=/opt/rubies/ruby-1.9.3-p551
  585. ++ case "${dir##*/}" in
  586. ++ for dir in '"${RUBIES[@]}"'
  587. ++ dir=/opt/rubies/ruby-2.0.0-p648
  588. ++ case "${dir##*/}" in
  589. ++ for dir in '"${RUBIES[@]}"'
  590. ++ dir=/opt/rubies/ruby-2.1.10
  591. ++ case "${dir##*/}" in
  592. ++ for dir in '"${RUBIES[@]}"'
  593. ++ dir=/opt/rubies/ruby-2.2.10
  594. ++ case "${dir##*/}" in
  595. ++ for dir in '"${RUBIES[@]}"'
  596. ++ dir=/opt/rubies/ruby-2.3.8
  597. ++ case "${dir##*/}" in
  598. ++ match=/opt/rubies/ruby-2.3.8
  599. ++ for dir in '"${RUBIES[@]}"'
  600. ++ dir=/opt/rubies/ruby-2.4.5
  601. ++ case "${dir##*/}" in
  602. ++ for dir in '"${RUBIES[@]}"'
  603. ++ dir=/opt/rubies/ruby-2.5.3
  604. ++ case "${dir##*/}" in
  605. ++ for dir in '"${RUBIES[@]}"'
  606. ++ dir=/opt/rubies/ruby-2.6.0
  607. ++ case "${dir##*/}" in
  608. ++ for dir in '"${RUBIES[@]}"'
  609. ++ dir=/opt/rubies/ruby-current
  610. ++ case "${dir##*/}" in
  611. ++ [[ -z /opt/rubies/ruby-2.3.8 ]]
  612. ++ shift
  613. ++ chruby_use /opt/rubies/ruby-2.3.8 ''
  614. ++ [[ ! -x /opt/rubies/ruby-2.3.8/bin/ruby ]]
  615. ++ [[ -n '' ]]
  616. ++ export RUBY_ROOT=/opt/rubies/ruby-2.3.8
  617. ++ RUBY_ROOT=/opt/rubies/ruby-2.3.8
  618. ++ export RUBYOPT=
  619. ++ RUBYOPT=
  620. ++ export PATH=/opt/rubies/ruby-2.3.8/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
  621. ++ PATH=/opt/rubies/ruby-2.3.8/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
  622. +++ /opt/rubies/ruby-2.3.8/bin/ruby -
  623. ++ eval 'export RUBY_ENGINE=ruby;
  624. export RUBY_VERSION=2.3.8;
  625. export GEM_ROOT="/opt/rubies/ruby-2.3.8/lib/ruby/gems/2.3.0";'
  626. +++ export RUBY_ENGINE=ruby
  627. +++ RUBY_ENGINE=ruby
  628. +++ export RUBY_VERSION=2.3.8
  629. +++ RUBY_VERSION=2.3.8
  630. +++ export GEM_ROOT=/opt/rubies/ruby-2.3.8/lib/ruby/gems/2.3.0
  631. +++ GEM_ROOT=/opt/rubies/ruby-2.3.8/lib/ruby/gems/2.3.0
  632. ++ (( 0 != 0 ))
  633. + cd /var/app/ondeck
  634. + '[' -f Gemfile ']'
  635. + echo 'running '\''bundle install'\'' with Gemfile:'
  636. running 'bundle install' with Gemfile:
  637. + cat Gemfile
  638. source 'https://rubygems.org'
  639.  
  640.  
  641. # Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
  642. gem 'rails', '~> 5.0.0', '>= 5.0.0.1'
  643.  
  644.  
  645. # sqlite3 fails on heroku
  646. # group :development do
  647. # gem 'sqlite3' #gem to use in development environment
  648. # end
  649. # gem 'sqlite3'
  650. # group :production do
  651. gem 'pg', '~> 0.20.0' #gem to use in production environment
  652. # end
  653. gem 'will_paginate', '~> 3.1.0'
  654. gem 'simple_form'
  655. gem 'bootstrap-sass'
  656. gem 'devise'
  657. gem 'nested_scaffold'
  658. # Use Puma as the app server
  659. gem 'puma', '~> 3.0'
  660. # Use SCSS for stylesheets
  661. gem 'sass-rails', '~> 5.0'
  662. # Use Uglifier as compressor for JavaScript assets
  663. gem 'uglifier', '>= 1.3.0'
  664. # Use CoffeeScript for .coffee assets and views
  665. gem 'coffee-rails', '~> 4.2'
  666. # See https://github.com/rails/execjs#readme for more supported runtimes
  667. # gem 'therubyracer', platforms: :ruby
  668.  
  669. # Use jquery as the JavaScript library
  670. gem 'jquery-rails'
  671. # Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks
  672. gem 'turbolinks', '~> 5'
  673. # Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
  674. gem 'jbuilder', '~> 2.5'
  675. # Use Redis adapter to run Action Cable in production
  676. # gem 'redis', '~> 3.0'
  677. # Use ActiveModel has_secure_password
  678. # gem 'bcrypt', '~> 3.1.7'
  679.  
  680. # Use Capistrano for deployment
  681. # gem 'capistrano-rails', group: :development
  682.  
  683. group :development, :test do
  684. # Call 'byebug' anywhere in the code to stop execution and get a debugger console
  685. gem 'byebug', platform: :mri
  686. end
  687.  
  688. group :development do
  689. # Access an IRB console on exception pages or by using <%= console %> anywhere in the code.
  690. gem 'web-console'
  691. end
  692.  
  693. # Windows does not include zoneinfo files, so bundle the tzinfo-data gem
  694. gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
  695.  
  696. gem 'activeadmin'
  697. + '[' -d /var/app/ondeck/vendor/cache ']'
  698. + bundle install
  699. Don't run Bundler as root. Bundler can ask for sudo if it is needed, and
  700. installing your bundle as root will break this application for all non-root
  701. users on this machine.
  702. 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`.
  703. Fetching gem metadata from https://rubygems.org/...........
  704. Fetching rake 12.3.2
  705. Installing rake 12.3.2
  706. Fetching concurrent-ruby 1.1.4
  707. Installing concurrent-ruby 1.1.4
  708. Fetching i18n 1.5.3
  709. Installing i18n 1.5.3
  710. Fetching minitest 5.11.3
  711. Installing minitest 5.11.3
  712. Fetching thread_safe 0.3.6
  713. Installing thread_safe 0.3.6
  714. Fetching tzinfo 1.2.5
  715. Installing tzinfo 1.2.5
  716. Fetching activesupport 5.0.7.1
  717. Installing activesupport 5.0.7.1
  718. Fetching builder 3.2.3
  719. Installing builder 3.2.3
  720. Fetching erubis 2.7.0
  721. Installing erubis 2.7.0
  722. Fetching mini_portile2 2.4.0
  723. Installing mini_portile2 2.4.0
  724. Fetching nokogiri 1.10.1
  725. Installing nokogiri 1.10.1 with native extensions
  726. Fetching rails-dom-testing 2.0.3
  727. Installing rails-dom-testing 2.0.3
  728. Fetching crass 1.0.4
  729. Installing crass 1.0.4
  730. Fetching loofah 2.2.3
  731. Installing loofah 2.2.3
  732. Fetching rails-html-sanitizer 1.0.4
  733. Installing rails-html-sanitizer 1.0.4
  734. Fetching actionview 5.0.7.1
  735. Installing actionview 5.0.7.1
  736. Fetching rack 2.0.6
  737. Installing rack 2.0.6
  738. Fetching rack-test 0.6.3
  739. Installing rack-test 0.6.3
  740. Fetching actionpack 5.0.7.1
  741. Installing actionpack 5.0.7.1
  742. Fetching nio4r 2.3.1
  743. Installing nio4r 2.3.1 with native extensions
  744. Fetching websocket-extensions 0.1.3
  745. Installing websocket-extensions 0.1.3
  746. Fetching websocket-driver 0.6.5
  747. Installing websocket-driver 0.6.5 with native extensions
  748. Fetching actioncable 5.0.7.1
  749. Installing actioncable 5.0.7.1
  750. Fetching globalid 0.4.2
  751. Installing globalid 0.4.2
  752. Fetching activejob 5.0.7.1
  753. Installing activejob 5.0.7.1
  754. Fetching mini_mime 1.0.1
  755. Installing mini_mime 1.0.1
  756. Fetching mail 2.7.1
  757. Installing mail 2.7.1
  758. Fetching actionmailer 5.0.7.1
  759. Installing actionmailer 5.0.7.1
  760. Fetching arbre 1.1.1
  761. Installing arbre 1.1.1
  762. Fetching coffee-script-source 1.12.2
  763. Installing coffee-script-source 1.12.2
  764. Fetching execjs 2.7.0
  765. Installing execjs 2.7.0
  766. Fetching coffee-script 2.4.1
  767. Installing coffee-script 2.4.1
  768. Fetching method_source 0.9.2
  769. Installing method_source 0.9.2
  770. Fetching thor 0.20.3
  771. Installing thor 0.20.3
  772. Fetching railties 5.0.7.1
  773. Installing railties 5.0.7.1
  774. Fetching coffee-rails 4.2.2
  775. Installing coffee-rails 4.2.2
  776. Fetching formtastic 3.1.5
  777. Installing formtastic 3.1.5
  778. Fetching formtastic_i18n 0.6.0
  779. Installing formtastic_i18n 0.6.0
  780. Fetching has_scope 0.7.2
  781. Installing has_scope 0.7.2
  782. Fetching responders 2.4.1
  783. Installing responders 2.4.1
  784. Fetching inherited_resources 1.9.0
  785. Installing inherited_resources 1.9.0
  786. Fetching jquery-rails 4.3.3
  787. Installing jquery-rails 4.3.3
  788. Fetching kaminari-core 1.1.1
  789. Installing kaminari-core 1.1.1
  790. Fetching kaminari-actionview 1.1.1
  791. Installing kaminari-actionview 1.1.1
  792. Fetching activemodel 5.0.7.1
  793. Installing activemodel 5.0.7.1
  794. Fetching arel 7.1.4
  795. Installing arel 7.1.4
  796. Fetching activerecord 5.0.7.1
  797. Installing activerecord 5.0.7.1
  798. Fetching kaminari-activerecord 1.1.1
  799. Installing kaminari-activerecord 1.1.1
  800. Fetching kaminari 1.1.1
  801. Installing kaminari 1.1.1
  802. Fetching ransack 2.1.1
  803. Installing ransack 2.1.1
  804. Fetching rb-fsevent 0.10.3
  805. Installing rb-fsevent 0.10.3
  806. Fetching ffi 1.9.25
  807. Installing ffi 1.9.25 with native extensions
  808. Fetching rb-inotify 0.10.0
  809. Installing rb-inotify 0.10.0
  810. Fetching sass-listen 4.0.0
  811. Installing sass-listen 4.0.0
  812. Fetching sass 3.7.3
  813. Installing sass 3.7.3
  814. Fetching sprockets 3.7.2
  815. Installing sprockets 3.7.2
  816. Fetching activeadmin 1.4.3
  817. Installing activeadmin 1.4.3
  818. Fetching autoprefixer-rails 9.4.6
  819. Installing autoprefixer-rails 9.4.6
  820. Fetching bcrypt 3.1.12
  821. Installing bcrypt 3.1.12 with native extensions
  822. Fetching sassc 2.0.0
  823. Installing sassc 2.0.0 with native extensions
  824. Fetching bootstrap-sass 3.4.0
  825. Installing bootstrap-sass 3.4.0
  826. Using bundler 1.16.2
  827. Fetching orm_adapter 0.5.0
  828. Installing orm_adapter 0.5.0
  829. Fetching warden 1.2.8
  830. Installing warden 1.2.8
  831. Fetching devise 4.5.0
  832. Installing devise 4.5.0
  833. Fetching multi_json 1.13.1
  834. Installing multi_json 1.13.1
  835. Fetching jbuilder 2.8.0
  836. Installing jbuilder 2.8.0
  837. Fetching nested_scaffold 1.0.0
  838. Installing nested_scaffold 1.0.0
  839. Fetching pg 0.20.0
  840. Installing pg 0.20.0 with native extensions
  841. Fetching puma 3.12.0
  842. Installing puma 3.12.0 with native extensions
  843. Fetching sprockets-rails 3.2.1
  844. Installing sprockets-rails 3.2.1
  845. Fetching rails 5.0.7.1
  846. Installing rails 5.0.7.1
  847. Fetching tilt 2.0.9
  848. Installing tilt 2.0.9
  849. Fetching sass-rails 5.0.7
  850. Installing sass-rails 5.0.7
  851. Fetching simple_form 4.1.0
  852. Installing simple_form 4.1.0
  853. Fetching turbolinks-source 5.2.0
  854. Installing turbolinks-source 5.2.0
  855. Fetching turbolinks 5.2.0
  856. Installing turbolinks 5.2.0
  857. Fetching uglifier 4.1.20
  858. Installing uglifier 4.1.20
  859. Fetching will_paginate 3.1.6
  860. Installing will_paginate 3.1.6
  861. Bundle complete! 18 Gemfile dependencies, 79 gems now installed.
  862. Gems in the groups test and development were not installed.
  863. Bundled gems are installed into `./vendor/bundle`
  864. Post-install message from i18n:
  865.  
  866. HEADS UP! i18n 1.1 changed fallbacks to exclude default locale.
  867. But that may break your application.
  868.  
  869. Please check your Rails app for 'config.i18n.fallbacks = true'.
  870. If you're using I18n (>= 1.1.0) and Rails (< 5.2.2), this should be
  871. 'config.i18n.fallbacks = [I18n.default_locale]'.
  872. If not, fallbacks will be broken in your app by I18n 1.1.x.
  873.  
  874. For more info see:
  875. https://github.com/svenfuchs/i18n/releases/tag/v1.1.0
  876.  
  877. Post-install message from sass:
  878.  
  879. Ruby Sass is deprecated and will be unmaintained as of 26 March 2019.
  880.  
  881. * If you use Sass as a command-line tool, we recommend using Dart Sass, the new
  882. primary implementation: https://sass-lang.com/install
  883.  
  884. * If you use Sass as a plug-in for a Ruby web framework, we recommend using the
  885. sassc gem: https://github.com/sass/sassc-ruby#readme
  886.  
  887. * For more details, please refer to the Sass blog:
  888. http://sass.logdown.com/posts/7081811
  889.  
  890. + '[' -f Gemfile.lock ']'
  891. + echo 'encountered a Gemfile.lock, setting proper permissions'
  892. encountered a Gemfile.lock, setting proper permissions
  893. + chown webapp:webapp Gemfile.lock
  894. + '[' 1 = 1 ']'
  895. + cd /var/app/ondeck
  896. + chown -R webapp:webapp ./vendor/bundle
  897. + echo 'Modified the owner of '\''vendor/bundle'\'' files'
  898. Modified the owner of 'vendor/bundle' files
  899. [2019-01-27T16:34:45.260Z] INFO [6008] - [Application deployment app-8d3e-190127_214925@1/StartupStage0/AppDeployPreHook/11_asset_compilation.sh] : Starting activity...
  900. [2019-01-27T16:35:13.348Z] INFO [6008] - [Application deployment app-8d3e-190127_214925@1/StartupStage0/AppDeployPreHook/11_asset_compilation.sh] : Completed activity. Result:
  901. ++ /opt/elasticbeanstalk/bin/get-config container -k script_dir
  902. + EB_SCRIPT_DIR=/opt/elasticbeanstalk/support/scripts
  903. ++ /opt/elasticbeanstalk/bin/get-config container -k app_staging_dir
  904. + EB_APP_STAGING_DIR=/var/app/ondeck
  905. ++ /opt/elasticbeanstalk/bin/get-config container -k app_user
  906. + EB_APP_USER=webapp
  907. ++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
  908. + EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
  909. + . /opt/elasticbeanstalk/support/envvars-wrapper.sh
  910. +++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
  911. ++ EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
  912. ++ set +x
  913. + RAKE_TASK=assets:precompile
  914. + . /opt/elasticbeanstalk/support/scripts/use-app-ruby.sh
  915. ++ . /usr/local/share/chruby/chruby.sh
  916. +++ CHRUBY_VERSION=0.3.9
  917. +++ RUBIES=()
  918. +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
  919. +++ [[ -d /opt/rubies ]]
  920. ++++ ls -A /opt/rubies
  921. +++ [[ -n ruby-1.9.3-p551
  922. ruby-2.0.0-p648
  923. ruby-2.1.10
  924. ruby-2.2.10
  925. ruby-2.3.8
  926. ruby-2.4.5
  927. ruby-2.5.3
  928. ruby-2.6.0
  929. ruby-current ]]
  930. +++ RUBIES+=("$dir"/*)
  931. +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
  932. +++ [[ -d /.rubies ]]
  933. +++ unset dir
  934. +++ cat /etc/elasticbeanstalk/.ruby_version
  935. ++ chruby 2.3.8
  936. ++ case "$1" in
  937. ++ local dir match
  938. ++ for dir in '"${RUBIES[@]}"'
  939. ++ dir=/opt/rubies/ruby-1.9.3-p551
  940. ++ case "${dir##*/}" in
  941. ++ for dir in '"${RUBIES[@]}"'
  942. ++ dir=/opt/rubies/ruby-2.0.0-p648
  943. ++ case "${dir##*/}" in
  944. ++ for dir in '"${RUBIES[@]}"'
  945. ++ dir=/opt/rubies/ruby-2.1.10
  946. ++ case "${dir##*/}" in
  947. ++ for dir in '"${RUBIES[@]}"'
  948. ++ dir=/opt/rubies/ruby-2.2.10
  949. ++ case "${dir##*/}" in
  950. ++ for dir in '"${RUBIES[@]}"'
  951. ++ dir=/opt/rubies/ruby-2.3.8
  952. ++ case "${dir##*/}" in
  953. ++ match=/opt/rubies/ruby-2.3.8
  954. ++ for dir in '"${RUBIES[@]}"'
  955. ++ dir=/opt/rubies/ruby-2.4.5
  956. ++ case "${dir##*/}" in
  957. ++ for dir in '"${RUBIES[@]}"'
  958. ++ dir=/opt/rubies/ruby-2.5.3
  959. ++ case "${dir##*/}" in
  960. ++ for dir in '"${RUBIES[@]}"'
  961. ++ dir=/opt/rubies/ruby-2.6.0
  962. ++ case "${dir##*/}" in
  963. ++ for dir in '"${RUBIES[@]}"'
  964. ++ dir=/opt/rubies/ruby-current
  965. ++ case "${dir##*/}" in
  966. ++ [[ -z /opt/rubies/ruby-2.3.8 ]]
  967. ++ shift
  968. ++ chruby_use /opt/rubies/ruby-2.3.8 ''
  969. ++ [[ ! -x /opt/rubies/ruby-2.3.8/bin/ruby ]]
  970. ++ [[ -n '' ]]
  971. ++ export RUBY_ROOT=/opt/rubies/ruby-2.3.8
  972. ++ RUBY_ROOT=/opt/rubies/ruby-2.3.8
  973. ++ export RUBYOPT=
  974. ++ RUBYOPT=
  975. ++ export PATH=/opt/rubies/ruby-2.3.8/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
  976. ++ PATH=/opt/rubies/ruby-2.3.8/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
  977. +++ /opt/rubies/ruby-2.3.8/bin/ruby -
  978. ++ eval 'export RUBY_ENGINE=ruby;
  979. export RUBY_VERSION=2.3.8;
  980. export GEM_ROOT="/opt/rubies/ruby-2.3.8/lib/ruby/gems/2.3.0";'
  981. +++ export RUBY_ENGINE=ruby
  982. +++ RUBY_ENGINE=ruby
  983. +++ export RUBY_VERSION=2.3.8
  984. +++ RUBY_VERSION=2.3.8
  985. +++ export GEM_ROOT=/opt/rubies/ruby-2.3.8/lib/ruby/gems/2.3.0
  986. +++ GEM_ROOT=/opt/rubies/ruby-2.3.8/lib/ruby/gems/2.3.0
  987. ++ (( 0 != 0 ))
  988. + cd /var/app/ondeck
  989. + su -s /bin/bash -c 'bundle exec /opt/elasticbeanstalk/support/scripts/check-for-rake-task.rb assets:precompile' webapp
  990. `/home/webapp` is not a directory.
  991. Bundler will use `/tmp/bundler/home/webapp' as your home directory temporarily.
  992. + '[' false == true ']'
  993. + su -s /bin/bash -c 'bundle exec rake assets:precompile' webapp
  994. `/home/webapp` is not a directory.
  995. Bundler will use `/tmp/bundler/home/webapp' as your home directory temporarily.
  996. DEPRECATION WARNING: `config.static_cache_control` is deprecated and will be removed in Rails 5.1.
  997. Please use
  998. `config.public_file_server.headers = { 'Cache-Control' => 'public, max-age=2592000' }`
  999. instead.
  1000. (called from block in <top (required)> at /var/app/ondeck/config/environments/production.rb:28)
  1001. intializing git
  1002. error: could not lock config file /home/webapp/.gitconfig: No such file or directory
  1003. sh: line 0: cd: /home/webapp: No such file or directory
  1004. I, [2019-01-27T16:34:52.239154 #19926] INFO -- : Writing /var/app/ondeck/public/assets/active_admin-6f1b843b5bbbbe3257701ffd3bd6475c519e5523a0e1604f9c9af6ec18e4ad25.css
  1005. I, [2019-01-27T16:34:52.239529 #19926] INFO -- : Writing /var/app/ondeck/public/assets/active_admin-6f1b843b5bbbbe3257701ffd3bd6475c519e5523a0e1604f9c9af6ec18e4ad25.css.gz
  1006. I, [2019-01-27T16:34:52.239854 #19926] INFO -- : Writing /var/app/ondeck/public/assets/active_admin/nested_menu_arrow-15084d93c65c1964d7077700ea748bd2d70cfa2d4c19707c58a9c64e232dd442.gif
  1007. I, [2019-01-27T16:34:52.240191 #19926] INFO -- : Writing /var/app/ondeck/public/assets/active_admin/nested_menu_arrow_dark-7c43b8e0a5f8823875f49a093c9d7a6b374f885b6f9cc248ae9cd7e6e9b29034.gif
  1008. I, [2019-01-27T16:34:52.240511 #19926] INFO -- : Writing /var/app/ondeck/public/assets/active_admin/orderable-29374dbb55b0012d78a37c614d573bb3474f0779849b478a147d0f1845ca6617.png
  1009. I, [2019-01-27T16:34:52.540433 #19926] INFO -- : Writing /var/app/ondeck/public/assets/active_admin/print-cf99cbf27fb92065a9eacd28e6fad48fa72cadaf6e0918790e8d35b11d8f99f6.css
  1010. I, [2019-01-27T16:34:52.540801 #19926] INFO -- : Writing /var/app/ondeck/public/assets/active_admin/print-cf99cbf27fb92065a9eacd28e6fad48fa72cadaf6e0918790e8d35b11d8f99f6.css.gz
  1011. I, [2019-01-27T16:35:02.655405 #19926] INFO -- : Writing /var/app/ondeck/public/assets/active_admin-aad478f9674ed0cc76f83512b458a5e516b90e017d64c576f5f9eaf05ea52b38.js
  1012. I, [2019-01-27T16:35:02.655990 #19926] INFO -- : Writing /var/app/ondeck/public/assets/active_admin-aad478f9674ed0cc76f83512b458a5e516b90e017d64c576f5f9eaf05ea52b38.js.gz
  1013. I, [2019-01-27T16:35:02.663102 #19926] INFO -- : Writing /var/app/ondeck/public/assets/danger-869dd8b0616e1a5b646dc898db2a5d6428f45fe14a90fa6d0c7130f64d886c48.png
  1014. I, [2019-01-27T16:35:02.670652 #19926] INFO -- : Writing /var/app/ondeck/public/assets/dark-607bed84e53ccb497978bd3ae9e51d4b57de94e954da4e8e1ec5b51a78d8898e.png
  1015. I, [2019-01-27T16:35:02.674416 #19926] INFO -- : Writing /var/app/ondeck/public/assets/do-e798277592b8fde73e6568cdde6687220f6d2a83f53250c561edf11619d5b1c1.jpg
  1016. I, [2019-01-27T16:35:02.678658 #19926] INFO -- : Writing /var/app/ondeck/public/assets/favicon-21c44bf091fb9557f8a4527913b0254924fc136d6e71dcee1676b7f37c8175ef.ico
  1017. I, [2019-01-27T16:35:02.678943 #19926] INFO -- : Writing /var/app/ondeck/public/assets/favicon-21c44bf091fb9557f8a4527913b0254924fc136d6e71dcee1676b7f37c8175ef.ico.gz
  1018. I, [2019-01-27T16:35:02.688032 #19926] INFO -- : Writing /var/app/ondeck/public/assets/home-f3281914e0ac5072115e9ba6f458cec56ad002cc5e65ca75988afc86af858e01.jpg
  1019. I, [2019-01-27T16:35:02.691600 #19926] INFO -- : Writing /var/app/ondeck/public/assets/info-967cdd33af0671563a0e72bed22f1cddb95a138e241dffbd5013750360bf7113.png
  1020. I, [2019-01-27T16:35:02.694721 #19926] INFO -- : Writing /var/app/ondeck/public/assets/primary-093ae3386f858ff56855e5c8a09137d4ce87c2c7aa2b152af81eac5d7667a98d.png
  1021. I, [2019-01-27T16:35:02.698769 #19926] INFO -- : Writing /var/app/ondeck/public/assets/secondary-1c1a37a441b0e6f6ca2bfb1435df8f1160a0e4ec1db5798a5e5a72374172942c.png
  1022. I, [2019-01-27T16:35:02.702542 #19926] INFO -- : Writing /var/app/ondeck/public/assets/success-5a1b362ddb5e5ed6131beffc575d91a3615864b678d24706bff24b055b6a594c.png
  1023. I, [2019-01-27T16:35:02.706081 #19926] INFO -- : Writing /var/app/ondeck/public/assets/warning-a3e35927fa71a99455166de5b62a03122ffb5287e33c9ed2c42532622f543fa5.png
  1024. I, [2019-01-27T16:35:08.394002 #19926] INFO -- : Writing /var/app/ondeck/public/assets/application-5770a9512b971d7fb2a232494ee2a78c8f1d383bfc452a26a9dea3a712e6c3b2.js
  1025. I, [2019-01-27T16:35:08.394486 #19926] INFO -- : Writing /var/app/ondeck/public/assets/application-5770a9512b971d7fb2a232494ee2a78c8f1d383bfc452a26a9dea3a712e6c3b2.js.gz
  1026. I, [2019-01-27T16:35:13.265631 #19926] INFO -- : Writing /var/app/ondeck/public/assets/application-da22e659ddaed5260aa445b696e4e8945e554c6c97884a0be799b74eb511ccf3.css
  1027. I, [2019-01-27T16:35:13.266073 #19926] INFO -- : Writing /var/app/ondeck/public/assets/application-da22e659ddaed5260aa445b696e4e8945e554c6c97884a0be799b74eb511ccf3.css.gz
  1028. [2019-01-27T16:35:13.348Z] INFO [6008] - [Application deployment app-8d3e-190127_214925@1/StartupStage0/AppDeployPreHook/12_db_migration.sh] : Starting activity...
  1029. [2019-01-27T16:35:17.648Z] INFO [6008] - [Application deployment app-8d3e-190127_214925@1/StartupStage0/AppDeployPreHook/12_db_migration.sh] : Completed activity. Result:
  1030. ++ /opt/elasticbeanstalk/bin/get-config container -k script_dir
  1031. + EB_SCRIPT_DIR=/opt/elasticbeanstalk/support/scripts
  1032. ++ /opt/elasticbeanstalk/bin/get-config container -k app_staging_dir
  1033. + EB_APP_STAGING_DIR=/var/app/ondeck
  1034. ++ /opt/elasticbeanstalk/bin/get-config container -k app_user
  1035. + EB_APP_USER=webapp
  1036. ++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
  1037. + EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
  1038. + . /opt/elasticbeanstalk/support/envvars-wrapper.sh
  1039. +++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
  1040. ++ EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
  1041. ++ set +x
  1042. + RAKE_TASK=db:migrate
  1043. + . /opt/elasticbeanstalk/support/scripts/use-app-ruby.sh
  1044. ++ . /usr/local/share/chruby/chruby.sh
  1045. +++ CHRUBY_VERSION=0.3.9
  1046. +++ RUBIES=()
  1047. +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
  1048. +++ [[ -d /opt/rubies ]]
  1049. ++++ ls -A /opt/rubies
  1050. +++ [[ -n ruby-1.9.3-p551
  1051. ruby-2.0.0-p648
  1052. ruby-2.1.10
  1053. ruby-2.2.10
  1054. ruby-2.3.8
  1055. ruby-2.4.5
  1056. ruby-2.5.3
  1057. ruby-2.6.0
  1058. ruby-current ]]
  1059. +++ RUBIES+=("$dir"/*)
  1060. +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
  1061. +++ [[ -d /.rubies ]]
  1062. +++ unset dir
  1063. +++ cat /etc/elasticbeanstalk/.ruby_version
  1064. ++ chruby 2.3.8
  1065. ++ case "$1" in
  1066. ++ local dir match
  1067. ++ for dir in '"${RUBIES[@]}"'
  1068. ++ dir=/opt/rubies/ruby-1.9.3-p551
  1069. ++ case "${dir##*/}" in
  1070. ++ for dir in '"${RUBIES[@]}"'
  1071. ++ dir=/opt/rubies/ruby-2.0.0-p648
  1072. ++ case "${dir##*/}" in
  1073. ++ for dir in '"${RUBIES[@]}"'
  1074. ++ dir=/opt/rubies/ruby-2.1.10
  1075. ++ case "${dir##*/}" in
  1076. ++ for dir in '"${RUBIES[@]}"'
  1077. ++ dir=/opt/rubies/ruby-2.2.10
  1078. ++ case "${dir##*/}" in
  1079. ++ for dir in '"${RUBIES[@]}"'
  1080. ++ dir=/opt/rubies/ruby-2.3.8
  1081. ++ case "${dir##*/}" in
  1082. ++ match=/opt/rubies/ruby-2.3.8
  1083. ++ for dir in '"${RUBIES[@]}"'
  1084. ++ dir=/opt/rubies/ruby-2.4.5
  1085. ++ case "${dir##*/}" in
  1086. ++ for dir in '"${RUBIES[@]}"'
  1087. ++ dir=/opt/rubies/ruby-2.5.3
  1088. ++ case "${dir##*/}" in
  1089. ++ for dir in '"${RUBIES[@]}"'
  1090. ++ dir=/opt/rubies/ruby-2.6.0
  1091. ++ case "${dir##*/}" in
  1092. ++ for dir in '"${RUBIES[@]}"'
  1093. ++ dir=/opt/rubies/ruby-current
  1094. ++ case "${dir##*/}" in
  1095. ++ [[ -z /opt/rubies/ruby-2.3.8 ]]
  1096. ++ shift
  1097. ++ chruby_use /opt/rubies/ruby-2.3.8 ''
  1098. ++ [[ ! -x /opt/rubies/ruby-2.3.8/bin/ruby ]]
  1099. ++ [[ -n '' ]]
  1100. ++ export RUBY_ROOT=/opt/rubies/ruby-2.3.8
  1101. ++ RUBY_ROOT=/opt/rubies/ruby-2.3.8
  1102. ++ export RUBYOPT=
  1103. ++ RUBYOPT=
  1104. ++ export PATH=/opt/rubies/ruby-2.3.8/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
  1105. ++ PATH=/opt/rubies/ruby-2.3.8/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
  1106. +++ /opt/rubies/ruby-2.3.8/bin/ruby -
  1107. ++ eval 'export RUBY_ENGINE=ruby;
  1108. export RUBY_VERSION=2.3.8;
  1109. export GEM_ROOT="/opt/rubies/ruby-2.3.8/lib/ruby/gems/2.3.0";'
  1110. +++ export RUBY_ENGINE=ruby
  1111. +++ RUBY_ENGINE=ruby
  1112. +++ export RUBY_VERSION=2.3.8
  1113. +++ RUBY_VERSION=2.3.8
  1114. +++ export GEM_ROOT=/opt/rubies/ruby-2.3.8/lib/ruby/gems/2.3.0
  1115. +++ GEM_ROOT=/opt/rubies/ruby-2.3.8/lib/ruby/gems/2.3.0
  1116. ++ (( 0 != 0 ))
  1117. + cd /var/app/ondeck
  1118. + su -s /bin/bash -c 'bundle exec /opt/elasticbeanstalk/support/scripts/check-for-rake-task.rb db:migrate' webapp
  1119. `/home/webapp` is not a directory.
  1120. Bundler will use `/tmp/bundler/home/webapp' as your home directory temporarily.
  1121. + '[' false = true ']'
  1122. + su -s /bin/bash -c 'leader_only bundle exec rake db:migrate' webapp
  1123. `/home/webapp` is not a directory.
  1124. Bundler will use `/tmp/bundler/home/webapp' as your home directory temporarily.
  1125. DEPRECATION WARNING: `config.static_cache_control` is deprecated and will be removed in Rails 5.1.
  1126. Please use
  1127. `config.public_file_server.headers = { 'Cache-Control' => 'public, max-age=2592000' }`
  1128. instead.
  1129. (called from block in <top (required)> at /var/app/ondeck/config/environments/production.rb:28)
  1130. intializing git
  1131. error: could not lock config file /home/webapp/.gitconfig: No such file or directory
  1132. sh: line 0: cd: /home/webapp: No such file or directory
  1133. == 20170421075651 DeviseCreateUsers: migrating ================================
  1134. -- create_table(:users)
  1135. -> 0.0125s
  1136. -- add_index(:users, :username, {:unique=>true})
  1137. -> 0.0096s
  1138. -- add_index(:users, :reset_password_token, {:unique=>true})
  1139. -> 0.0070s
  1140. == 20170421075651 DeviseCreateUsers: migrated (0.0292s) =======================
  1141.  
  1142. == 20170421115026 CreateBlogs: migrating ======================================
  1143. -- create_table(:blogs)
  1144. -> 0.0086s
  1145. == 20170421115026 CreateBlogs: migrated (0.0086s) =============================
  1146.  
  1147. == 20170421163133 CreatePosts: migrating ======================================
  1148. -- create_table(:posts)
  1149. -> 0.0076s
  1150. == 20170421163133 CreatePosts: migrated (0.0076s) =============================
  1151.  
  1152. == 20170510173228 DeviseCreateAdminUsers: migrating ===========================
  1153. -- create_table(:admin_users)
  1154. -> 0.0111s
  1155. -- add_index(:admin_users, :email, {:unique=>true})
  1156. -> 0.0072s
  1157. -- add_index(:admin_users, :reset_password_token, {:unique=>true})
  1158. -> 0.0070s
  1159. == 20170510173228 DeviseCreateAdminUsers: migrated (0.0253s) ==================
  1160.  
  1161. == 20170510173241 CreateActiveAdminComments: migrating ========================
  1162. -- create_table(:active_admin_comments)
  1163. -> 0.0208s
  1164. -- add_index(:active_admin_comments, [:namespace])
  1165. -> 0.0071s
  1166. == 20170510173241 CreateActiveAdminComments: migrated (0.0279s) ===============
  1167.  
  1168. == 20171216180348 AddMarkWorkInProgressToPosts: migrating =====================
  1169. -- add_column(:posts, :mark_work_in_progress, :boolean)
  1170. -> 0.0017s
  1171. == 20171216180348 AddMarkWorkInProgressToPosts: migrated (0.0017s) ============
  1172.  
  1173. [2019-01-27T16:35:17.648Z] INFO [6008] - [Application deployment app-8d3e-190127_214925@1/StartupStage0/AppDeployPreHook] : Completed activity. Result:
  1174. Successfully execute hooks in directory /opt/elasticbeanstalk/hooks/appdeploy/pre.
  1175. [2019-01-27T16:35:17.649Z] INFO [6008] - [Application deployment app-8d3e-190127_214925@1/StartupStage0/EbExtensionPostBuild] : Starting activity...
  1176. [2019-01-27T16:35:18.375Z] INFO [6008] - [Application deployment app-8d3e-190127_214925@1/StartupStage0/EbExtensionPostBuild/Infra-EmbeddedPostBuild] : Starting activity...
  1177. [2019-01-27T16:35:18.376Z] INFO [6008] - [Application deployment app-8d3e-190127_214925@1/StartupStage0/EbExtensionPostBuild/Infra-EmbeddedPostBuild] : Completed activity.
  1178. [2019-01-27T16:35:18.391Z] INFO [6008] - [Application deployment app-8d3e-190127_214925@1/StartupStage0/EbExtensionPostBuild] : Completed activity.
  1179. [2019-01-27T16:35:18.391Z] INFO [6008] - [Application deployment app-8d3e-190127_214925@1/StartupStage0/InfraCleanEbExtension] : Starting activity...
  1180. [2019-01-27T16:35:18.424Z] INFO [6008] - [Application deployment app-8d3e-190127_214925@1/StartupStage0/InfraCleanEbExtension] : Completed activity. Result:
  1181. Cleaned ebextensions subdirectories from /var/app/ondeck.
  1182. [2019-01-27T16:35:18.424Z] INFO [6008] - [Application deployment app-8d3e-190127_214925@1/StartupStage0] : Completed activity. Result:
  1183. Application deployment - Command CMD-Startup stage 0 completed
  1184. [2019-01-27T16:35:18.424Z] INFO [6008] - [Application deployment app-8d3e-190127_214925@1/StartupStage1] : Starting activity...
  1185. [2019-01-27T16:35:18.425Z] INFO [6008] - [Application deployment app-8d3e-190127_214925@1/StartupStage1/AppDeployEnactHook] : Starting activity...
  1186. [2019-01-27T16:35:18.427Z] INFO [6008] - [Application deployment app-8d3e-190127_214925@1/StartupStage1/AppDeployEnactHook/01_flip.sh] : Starting activity...
  1187. [2019-01-27T16:35:18.716Z] INFO [6008] - [Application deployment app-8d3e-190127_214925@1/StartupStage1/AppDeployEnactHook/01_flip.sh] : Completed activity. Result:
  1188. ++ /opt/elasticbeanstalk/bin/get-config container -k app_staging_dir
  1189. + EB_APP_STAGING_DIR=/var/app/ondeck
  1190. ++ /opt/elasticbeanstalk/bin/get-config container -k app_deploy_dir
  1191. + EB_APP_DEPLOY_DIR=/var/app/current
  1192. ++ /opt/elasticbeanstalk/bin/get-config container -k app_user
  1193. + EB_APP_USER=webapp
  1194. + '[' -d /var/app/current ']'
  1195. + mv /var/app/current /var/app/current.old
  1196. + mv /var/app/ondeck /var/app/current
  1197. + mkdir -p /var/app/current/tmp /var/app/current/public
  1198. + chown -R webapp:webapp /var/app/current/tmp /var/app/current/public
  1199. + nohup rm -rf /var/app/current.old
  1200. [2019-01-27T16:35:18.716Z] INFO [6008] - [Application deployment app-8d3e-190127_214925@1/StartupStage1/AppDeployEnactHook/01stop_xray.sh] : Starting activity...
  1201. [2019-01-27T16:35:20.902Z] INFO [6008] - [Application deployment app-8d3e-190127_214925@1/StartupStage1/AppDeployEnactHook/01stop_xray.sh] : Completed activity. Result:
  1202. Executing: if ( initctl status xray | grep start ); then initctl stop xray; fi
  1203. xray start/running, process 2274
  1204. xray stop/waiting
  1205. [2019-01-27T16:35:20.902Z] INFO [6008] - [Application deployment app-8d3e-190127_214925@1/StartupStage1/AppDeployEnactHook/02start_xray.sh] : Starting activity...
  1206. [2019-01-27T16:35:21.013Z] INFO [6008] - [Application deployment app-8d3e-190127_214925@1/StartupStage1/AppDeployEnactHook/02start_xray.sh] : Completed activity.
  1207. [2019-01-27T16:35:21.013Z] INFO [6008] - [Application deployment app-8d3e-190127_214925@1/StartupStage1/AppDeployEnactHook/99_reload_app_server.sh] : Starting activity...
  1208. [2019-01-27T16:35:22.350Z] INFO [6008] - [Application deployment app-8d3e-190127_214925@1/StartupStage1/AppDeployEnactHook/99_reload_app_server.sh] : Completed activity. Result:
  1209. + service passenger restart
  1210. ++ /opt/elasticbeanstalk/bin/get-config container -k http_port
  1211. + EB_HTTP_PORT=80
  1212. ++ /opt/elasticbeanstalk/bin/get-config container -k app_user
  1213. + EB_APP_USER=webapp
  1214. ++ /opt/elasticbeanstalk/bin/get-config container -k app_deploy_dir
  1215. + EB_APP_DEPLOY_DIR=/var/app/current
  1216. ++ /opt/elasticbeanstalk/bin/get-config container -k app_pid_dir
  1217. + EB_APP_PID_DIR=/var/app/support/pids
  1218. ++ /opt/elasticbeanstalk/bin/get-config container -k app_log_dir
  1219. + EB_APP_LOG_DIR=/var/app/support/logs
  1220. ++ /opt/elasticbeanstalk/bin/get-config container -k script_dir
  1221. + EB_SCRIPT_DIR=/opt/elasticbeanstalk/support/scripts
  1222. ++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
  1223. + EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
  1224. ++ /opt/elasticbeanstalk/bin/get-config container -k nginx_version
  1225. + EB_NGINX_VERSION=1.12.1
  1226. + . /opt/elasticbeanstalk/support/envvars-wrapper.sh
  1227. +++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
  1228. ++ EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
  1229. ++ set +x
  1230. + . /opt/elasticbeanstalk/support/scripts/use-app-ruby.sh
  1231. ++ . /usr/local/share/chruby/chruby.sh
  1232. +++ CHRUBY_VERSION=0.3.9
  1233. +++ RUBIES=()
  1234. +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
  1235. +++ [[ -d /opt/rubies ]]
  1236. ++++ ls -A /opt/rubies
  1237. +++ [[ -n ruby-1.9.3-p551
  1238. ruby-2.0.0-p648
  1239. ruby-2.1.10
  1240. ruby-2.2.10
  1241. ruby-2.3.8
  1242. ruby-2.4.5
  1243. ruby-2.5.3
  1244. ruby-2.6.0
  1245. ruby-current ]]
  1246. +++ RUBIES+=("$dir"/*)
  1247. +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
  1248. +++ [[ -d /.rubies ]]
  1249. +++ unset dir
  1250. +++ cat /etc/elasticbeanstalk/.ruby_version
  1251. ++ chruby 2.3.8
  1252. ++ case "$1" in
  1253. ++ local dir match
  1254. ++ for dir in '"${RUBIES[@]}"'
  1255. ++ dir=/opt/rubies/ruby-1.9.3-p551
  1256. ++ case "${dir##*/}" in
  1257. ++ for dir in '"${RUBIES[@]}"'
  1258. ++ dir=/opt/rubies/ruby-2.0.0-p648
  1259. ++ case "${dir##*/}" in
  1260. ++ for dir in '"${RUBIES[@]}"'
  1261. ++ dir=/opt/rubies/ruby-2.1.10
  1262. ++ case "${dir##*/}" in
  1263. ++ for dir in '"${RUBIES[@]}"'
  1264. ++ dir=/opt/rubies/ruby-2.2.10
  1265. ++ case "${dir##*/}" in
  1266. ++ for dir in '"${RUBIES[@]}"'
  1267. ++ dir=/opt/rubies/ruby-2.3.8
  1268. ++ case "${dir##*/}" in
  1269. ++ match=/opt/rubies/ruby-2.3.8
  1270. ++ for dir in '"${RUBIES[@]}"'
  1271. ++ dir=/opt/rubies/ruby-2.4.5
  1272. ++ case "${dir##*/}" in
  1273. ++ for dir in '"${RUBIES[@]}"'
  1274. ++ dir=/opt/rubies/ruby-2.5.3
  1275. ++ case "${dir##*/}" in
  1276. ++ for dir in '"${RUBIES[@]}"'
  1277. ++ dir=/opt/rubies/ruby-2.6.0
  1278. ++ case "${dir##*/}" in
  1279. ++ for dir in '"${RUBIES[@]}"'
  1280. ++ dir=/opt/rubies/ruby-current
  1281. ++ case "${dir##*/}" in
  1282. ++ [[ -z /opt/rubies/ruby-2.3.8 ]]
  1283. ++ shift
  1284. ++ chruby_use /opt/rubies/ruby-2.3.8 ''
  1285. ++ [[ ! -x /opt/rubies/ruby-2.3.8/bin/ruby ]]
  1286. ++ [[ -n '' ]]
  1287. ++ export RUBY_ROOT=/opt/rubies/ruby-2.3.8
  1288. ++ RUBY_ROOT=/opt/rubies/ruby-2.3.8
  1289. ++ export RUBYOPT=
  1290. ++ RUBYOPT=
  1291. ++ export PATH=/opt/rubies/ruby-2.3.8/bin:/sbin:/usr/sbin:/bin:/usr/bin
  1292. ++ PATH=/opt/rubies/ruby-2.3.8/bin:/sbin:/usr/sbin:/bin:/usr/bin
  1293. +++ /opt/rubies/ruby-2.3.8/bin/ruby -
  1294. ++ eval 'export RUBY_ENGINE=ruby;
  1295. export RUBY_VERSION=2.3.8;
  1296. export GEM_ROOT="/opt/rubies/ruby-2.3.8/lib/ruby/gems/2.3.0";'
  1297. +++ export RUBY_ENGINE=ruby
  1298. +++ RUBY_ENGINE=ruby
  1299. +++ export RUBY_VERSION=2.3.8
  1300. +++ RUBY_VERSION=2.3.8
  1301. +++ export GEM_ROOT=/opt/rubies/ruby-2.3.8/lib/ruby/gems/2.3.0
  1302. +++ GEM_ROOT=/opt/rubies/ruby-2.3.8/lib/ruby/gems/2.3.0
  1303. ++ (( 0 != 0 ))
  1304. + '[' -f /etc/elasticbeanstalk/set-ulimit.sh ']'
  1305. + . /etc/elasticbeanstalk/set-ulimit.sh
  1306. +++ cat /proc/sys/fs/file-max
  1307. ++ FILES_MAX=98389
  1308. ++ [[ ! 98389 =~ ^[0-9]+$ ]]
  1309. ++ let USER_LIMIT=98389/3
  1310. ++ '[' 32796 -lt 4096 ']'
  1311. ++ '[' 32796 -gt 200000 ']'
  1312. ++ ulimit -n 32796
  1313. + export HOME=/tmp
  1314. + HOME=/tmp
  1315. + export PASSENGER_DOWNLOAD_NATIVE_SUPPORT_BINARY=0
  1316. + PASSENGER_DOWNLOAD_NATIVE_SUPPORT_BINARY=0
  1317. + '[' -d /etc/healthd ']'
  1318. + STARTOPTS='--nginx-version 1.12.1 --nginx-config-template /opt/elasticbeanstalk/support/conf/nginx_config_healthd.erb'
  1319. + ENV_STAGE=production
  1320. + '[' production = production ']'
  1321. + STARTOPTS='--nginx-version 1.12.1 --nginx-config-template /opt/elasticbeanstalk/support/conf/nginx_config_healthd.erb --no-friendly-error-pages'
  1322. + GENERALOPTS='-p 80 --pid-file /var/app/support/pids/passenger.pid'
  1323. + case "$1" in
  1324. + stop
  1325. + passenger stop -p 80 --pid-file /var/app/support/pids/passenger.pid
  1326. + start
  1327. + touch /var/app/support/logs/passenger.log
  1328. + '[' -d /etc/healthd ']'
  1329. + mkdir -p /var/app/support/logs/healthd
  1330. + chown -R webapp:webapp /var/app/support/logs/healthd
  1331. + chown webapp:webapp /var/app/support/logs/passenger.log
  1332. + passenger start /var/app/current --nginx-version 1.12.1 --nginx-config-template /opt/elasticbeanstalk/support/conf/nginx_config_healthd.erb --no-friendly-error-pages -p 80 --pid-file /var/app/support/pids/passenger.pid -d -e production --user webapp --log-file /var/app/support/logs/passenger.log
  1333. =============== Phusion Passenger Standalone web server started ===============
  1334. PID file: /var/app/support/pids/passenger.pid
  1335. Log file: /var/app/support/logs/passenger.log
  1336. Environment: production
  1337. Accessible via: http://0.0.0.0/
  1338.  
  1339. Serving in the background as a daemon.
  1340. Problems? Check https://www.phusionpassenger.com/documentation/Users%20guide%20Standalone.html#troubleshooting
  1341. ===============================================================================
  1342. [2019-01-27T16:35:22.350Z] INFO [6008] - [Application deployment app-8d3e-190127_214925@1/StartupStage1/AppDeployEnactHook] : Completed activity. Result:
  1343. Successfully execute hooks in directory /opt/elasticbeanstalk/hooks/appdeploy/enact.
  1344. [2019-01-27T16:35:22.350Z] INFO [6008] - [Application deployment app-8d3e-190127_214925@1/StartupStage1/AppDeployPostHook] : Starting activity...
  1345. [2019-01-27T16:35:22.351Z] INFO [6008] - [Application deployment app-8d3e-190127_214925@1/StartupStage1/AppDeployPostHook/01_create_pids.sh] : Starting activity...
  1346. [2019-01-27T16:35:22.512Z] INFO [6008] - [Application deployment app-8d3e-190127_214925@1/StartupStage1/AppDeployPostHook/01_create_pids.sh] : Completed activity.
  1347. [2019-01-27T16:35:22.512Z] INFO [6008] - [Application deployment app-8d3e-190127_214925@1/StartupStage1/AppDeployPostHook/01_rails_support.sh] : Starting activity...
  1348. [2019-01-27T16:35:22.705Z] INFO [6008] - [Application deployment app-8d3e-190127_214925@1/StartupStage1/AppDeployPostHook/01_rails_support.sh] : Completed activity. Result:
  1349. ++ /opt/elasticbeanstalk/bin/get-config container -k app_deploy_dir
  1350. + EB_APP_DEPLOY_DIR=/var/app/current
  1351. ++ /opt/elasticbeanstalk/bin/get-config container -k app_log_dir
  1352. + EB_APP_LOG_DIR=/var/app/support/logs
  1353. + ln -sf /var/app/current/log/production.log /var/app/support/logs
  1354. [2019-01-27T16:35:22.705Z] INFO [6008] - [Application deployment app-8d3e-190127_214925@1/StartupStage1/AppDeployPostHook] : Completed activity. Result:
  1355. Successfully execute hooks in directory /opt/elasticbeanstalk/hooks/appdeploy/post.
  1356. [2019-01-27T16:35:22.706Z] INFO [6008] - [Application deployment app-8d3e-190127_214925@1/StartupStage1/PostInitHook] : Starting activity...
  1357. [2019-01-27T16:35:22.707Z] INFO [6008] - [Application deployment app-8d3e-190127_214925@1/StartupStage1/PostInitHook] : Completed activity. Result:
  1358. Successfully execute hooks in directory /opt/elasticbeanstalk/hooks/postinit.
  1359. [2019-01-27T16:35:22.707Z] INFO [6008] - [Application deployment app-8d3e-190127_214925@1/StartupStage1] : Completed activity. Result:
  1360. Application deployment - Command CMD-Startup stage 1 completed
  1361. [2019-01-27T16:35:22.707Z] INFO [6008] - [Application deployment app-8d3e-190127_214925@1/AddonsAfter] : Starting activity...
  1362. [2019-01-27T16:35:22.707Z] INFO [6008] - [Application deployment app-8d3e-190127_214925@1/AddonsAfter/ConfigLogRotation] : Starting activity...
  1363. [2019-01-27T16:35:22.710Z] INFO [6008] - [Application deployment app-8d3e-190127_214925@1/AddonsAfter/ConfigLogRotation/10-config.sh] : Starting activity...
  1364. [2019-01-27T16:35:22.795Z] INFO [6008] - [Application deployment app-8d3e-190127_214925@1/AddonsAfter/ConfigLogRotation/10-config.sh] : Completed activity. Result:
  1365. Disabled forced hourly log rotation.
  1366. [2019-01-27T16:35:22.795Z] INFO [6008] - [Application deployment app-8d3e-190127_214925@1/AddonsAfter/ConfigLogRotation] : Completed activity. Result:
  1367. Successfully execute hooks in directory /opt/elasticbeanstalk/addons/logpublish/hooks/config.
  1368. [2019-01-27T16:35:22.795Z] INFO [6008] - [Application deployment app-8d3e-190127_214925@1/AddonsAfter] : Completed activity.
  1369. [2019-01-27T16:35:22.795Z] INFO [6008] - [Application deployment app-8d3e-190127_214925@1] : Completed activity. Result:
  1370. Application deployment - Command CMD-Startup succeeded
  1371. [2019-01-27T16:36:01.958Z] INFO [20351] - [CMD-TailLogs] : Starting activity...
  1372. [2019-01-27T16:36:01.958Z] INFO [20351] - [CMD-TailLogs/AddonsBefore] : Starting activity...
  1373. [2019-01-27T16:36:01.958Z] INFO [20351] - [CMD-TailLogs/AddonsBefore] : Completed activity.
  1374. [2019-01-27T16:36:01.958Z] INFO [20351] - [CMD-TailLogs/TailLogs] : Starting activity...
  1375. [2019-01-27T16:36:01.959Z] INFO [20351] - [CMD-TailLogs/TailLogs/TailLogs] : Starting activity...
  1376. [2019-01-27T16:36:02.224Z] INFO [20351] - [CMD-TailLogs/TailLogs/TailLogs] : Completed activity.
  1377. [2019-01-27T16:36:02.224Z] INFO [20351] - [CMD-TailLogs/TailLogs] : Completed activity. Result:
  1378. CMD-TailLogs - stage 0 - Command CMD-TailLogs stage 0 completed
  1379. [2019-01-27T16:36:02.224Z] INFO [20351] - [CMD-TailLogs/AddonsAfter] : Starting activity...
  1380. [2019-01-27T16:36:02.225Z] INFO [20351] - [CMD-TailLogs/AddonsAfter] : Completed activity.
  1381. [2019-01-27T16:36:02.225Z] INFO [20351] - [CMD-TailLogs] : Completed activity. Result:
  1382. CMD-TailLogs - Command CMD-TailLogs succeeded
  1383. [2019-01-27T16:40:21.510Z] INFO [20586] - [CMD-BundleLogs] : Starting activity...
  1384. [2019-01-27T16:40:21.511Z] INFO [20586] - [CMD-BundleLogs/AddonsBefore] : Starting activity...
  1385. [2019-01-27T16:40:21.511Z] INFO [20586] - [CMD-BundleLogs/AddonsBefore] : Completed activity.
  1386. [2019-01-27T16:40:21.511Z] INFO [20586] - [CMD-BundleLogs/BundleLogs] : Starting activity...
  1387. [2019-01-27T16:40:21.511Z] INFO [20586] - [CMD-BundleLogs/BundleLogs/BundleLogs] : Starting activity...
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement