SHARE
TWEET

Untitled

a guest Jan 23rd, 2020 66 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ./init.sh: line 16: WARN:: command not found
  2. Erlang/OTP 21 [erts-10.3.5.6] [source] [64-bit] [smp:12:12] [ds:12:12:10] [async-threads:1] [hipe] [dtrace]
  3.  
  4. Eshell V10.3.5.6  (abort with ^G)
  5. (cracozaurus@127.0.0.1)1> 16:08:26.259 [info] Starting Boss in development mode...
  6. 16:08:26.267 [info] Start Database Adapter boss_db_adapter_pgsql options [{adapter,pgsql},{cache_enable,false},{cache_prefix,db},{shards,[]},{is_master_node,true},{db_database,"cargo"},{db_password,"cargo-postgres-very-strong-password"},{db_username,"postgres"},{db_host,"test.morecargo.ru"},{db_port,5432}]
  7. Starting Cowboy Server on {127,0,0,1}:8001
  8. Using Cowboy Dispatch Table:
  9.   [{'_',[],
  10.         [{[<<"static">>,'...'],
  11.           [],cowboy_static,
  12.           {priv_dir,cargo,"static",[{mimetypes,cow_mimetypes,all}]}},
  13.          {'_',[],cowboy_simple_bridge_anchor,[]}]}]
  14. Starting distributed session mnesia storagestart gc
  15. gc pid <0.384.0>
  16. 16:08:26.702 [info] Cargo server started on node 'cracozaurus@127.0.0.1'
  17. 16:08:26.708 [info] cargo_srv: create tables
  18. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -- START -- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!=SUPERVISOR REPORT==== 23-Jan-2020::16:08:31.715424 ===
  19.     supervisor: {local,cargo_sup}
  20.     errorContext: start_error
  21.     reason: {{badmatch,{error,{connection_error,timeout}}},
  22.              [{cargo_srv,redis,0,
  23.                          [{file,"/Users/ramankovalitskiy/Projects/cargo/src/lib/cargo_srv.erl"},
  24.                           {line,43}]},
  25.               {cargo_srv,init,1,
  26.                          [{file,"/Users/ramankovalitskiy/Projects/cargo/src/lib/cargo_srv.erl"},
  27.                           {line,32}]},
  28.               {gen_server,init_it,2,[{file,"gen_server.erl"},{line,374}]},
  29.               {gen_server,init_it,6,[{file,"gen_server.erl"},{line,342}]},
  30.               {proc_lib,init_p_do_apply,3,
  31.                         [{file,"proc_lib.erl"},{line,249}]}]}
  32.     offender: [{pid,undefined},
  33.                {id,cargo_srv},
  34.                {mfargs,{cargo_srv,start_link,[[]]}},
  35.                {restart_type,permanent},
  36.                {shutdown,2000},
  37.                {child_type,worker}]
  38. =CRASH REPORT==== 23-Jan-2020::16:08:31.715294 ===
  39.   crasher:
  40.     initial call: eredis_client:init/1
  41.     pid: <0.387.0>
  42.     registered_name: []
  43.     exception exit: {connection_error,timeout}
  44.       in function  gen_server:init_it/6 (gen_server.erl, line 358)
  45.     ancestors: [cargo_srv,cargo_sup,<0.319.0>]
  46.     message_queue_len: 0
  47.     messages: []
  48.     links: [<0.386.0>]
  49.     dictionary: []
  50.     trap_exit: false
  51.     status: running
  52.     heap_size: 610
  53.     stack_size: 27
  54.     reductions: 1323
  55.   neighbours:
  56.  
  57. =CRASH REPORT==== 23-Jan-2020::16:08:31.715739 ===
  58.   crasher:
  59.     initial call: cargo_srv:init/1
  60.     pid: <0.386.0>
  61.     registered_name: []
  62.     exception error: no match of right hand side value
  63.                      {error,{connection_error,timeout}}
  64.       in function  cargo_srv:redis/0 (/Users/ramankovalitskiy/Projects/cargo/src/lib/cargo_srv.erl, line 43)
  65.       in call from cargo_srv:init/1 (/Users/ramankovalitskiy/Projects/cargo/src/lib/cargo_srv.erl, line 32)
  66.       in call from gen_server:init_it/2 (gen_server.erl, line 374)
  67.       in call from gen_server:init_it/6 (gen_server.erl, line 342)
  68.     ancestors: [cargo_sup,<0.319.0>]
  69.     message_queue_len: 0
  70.     messages: []
  71.     links: [<0.385.0>,<0.387.0>]
  72.     dictionary: []
  73.     trap_exit: true
  74.     status: running
  75.     heap_size: 987
  76.     stack_size: 27
  77.     reductions: 672
  78.   neighbours:
  79.     neighbour:
  80.       pid: <0.387.0>
  81.       registered_name: []
  82.       initial call: eredis_client:init/1
  83.       current_function: {code_server,call,1}
  84.       ancestors: [cargo_srv,cargo_sup,<0.319.0>]
  85.       message_queue_len: 0
  86.       links: [<0.386.0>]
  87.       trap_exit: false
  88.       status: waiting
  89.       heap_size: 1598
  90.       stack_size: 78
  91.       reductions: 3144
  92.       current_stacktrace: [{code_server,call,1,[{file,"code_server.erl"},{line,140}]},
  93.                   {error_handler,undefined_function,3,
  94.                                  [{file,"error_handler.erl"},{line,41}]},
  95.                   {proc_lib,format_exception,4,
  96.                             [{file,"proc_lib.erl"},{line,851}]},
  97.                   {proc_lib,format_rep,3,[{file,"proc_lib.erl"},{line,830}]},
  98.                   {proc_lib,format_rep,3,[{file,"proc_lib.erl"},{line,833}]},
  99.                   {proc_lib,format_rep,3,[{file,"proc_lib.erl"},{line,828}]},
  100.                   {proc_lib,format_report,3,
  101.                             [{file,"proc_lib.erl"},{line,815}]},
  102.                   {proc_lib,do_format,2,[{file,"proc_lib.erl"},{line,793}]}]
  103. 16:08:31.715 [error] CRASH REPORT Process <0.387.0> with 0 neighbours exited with reason: {connection_error,timeout} in gen_server:init_it/6 line 358
  104. 16:08:31.715 [error] Supervisor cargo_sup had child cargo_srv started with cargo_srv:start_link([]) at undefined exit with reason no match of right hand value {error,{connection_error,timeout}} in cargo_srv:redis/0 line 43 in context start_error
  105. 16:08:31.716 [error] CRASH REPORT Process <0.386.0> with 1 neighbours crashed with reason: no match of right hand value {error,{connection_error,timeout}} in cargo_srv:redis/0 line 43
  106. 16:08:31.716 [info] upload app starting~n
  107. 16:08:31.728 [info] upload app starting 0 ...~n
  108. 16:08:31.728 [info] upload app starting 1 ...~n
  109. 16:08:31.728 [info] upload server port 9999
  110. 16:08:31.729 [info] upload app starting 2 ...~n
  111. 16:08:31.821 [info] Chat dispatcher started on node 'cracozaurus@127.0.0.1'
  112. 16:08:31.830 [info] Bonus event dispatcher started on node 'cracozaurus@127.0.0.1'
  113. 16:08:31.838 [info] Notification event dispatcher started on node 'cracozaurus@127.0.0.1'
  114. 16:08:31.844 [info] Signup helper event dispatcher started on node 'cracozaurus@127.0.0.1'
  115. {"src/mail/view/base.html","base_tpl",{ok,base_tpl}}
  116. {"src/mail/view/cargo_email_layout.html","cargo_email_layout_tpl",
  117.  {ok,cargo_email_layout_tpl}}
  118. {"src/mail/view/cargo_email_layout_feedback.html",
  119.  "cargo_email_layout_feedback_tpl",
  120.  {ok,cargo_email_layout_feedback_tpl}}
  121. {"src/mail/view/generic_email.html","generic_email_tpl",
  122.  {ok,generic_email_tpl}}
  123. {"src/mail/view/new_admin_user_signup_notification.html",
  124.  "new_admin_user_signup_notification_tpl",
  125.  {ok,new_admin_user_signup_notification_tpl}}
  126. {"src/mail/view/trucker_attach_notification.html",
  127.  "trucker_attach_notification_tpl",
  128.  {ok,trucker_attach_notification_tpl}}
  129. Starting Sync (Automatic Code Compiler / Reloader)
  130. Scanning source files...
  131. 16:08:31.895 [info] Event_srv started on node 'cracozaurus@127.0.0.1'
  132. 16:08:31.895 [info] M: event_sup
  133. L: 22
  134. Mess:<<"Init">>
  135. 16:08:31.899 [info] psql starting
  136. psql.erl psql starting
  137. 16:08:31.910 [info] psql starting
  138. psql.erl psql starting 01
  139. 16:08:31.910 [info] psql.erl psql starting 01~n
  140. psql.erl psql almost started
  141. 16:08:31.910 [info] psql almost started
  142. 16:08:31.916 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
  143. 16:08:32.356 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
  144. 16:08:32.717 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
  145. 16:08:33.105 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
  146. 16:08:33.744 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
  147. 16:08:34.095 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
  148. 16:08:34.508 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
  149. 16:08:34.891 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
  150. 16:08:35.324 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
  151. 16:08:35.703 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
  152. 16:08:36.054 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
  153. 16:08:36.418 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
  154. 16:08:36.752 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
  155. 16:08:37.105 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
  156. 16:08:37.464 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
  157. 16:08:37.828 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
  158. 16:08:38.210 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
  159. 16:08:38.596 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
  160. 16:08:39.334 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
  161. 16:08:39.696 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
  162. psql Res ok
  163. 16:08:40.097 [info] psql Res ok
  164.  ** LiLu has started **
  165.  ** LiLu starting viever: "ct" **
  166. 16:08:40.146 [info] Modulbank mock manager started on node 'cracozaurus@127.0.0.1'
  167.  ** LiLu starting viever: "console" **
  168.  ** LiLu starting viever: "error" **
  169. 16:08:40.269 [notice] Compile file "/Users/ramankovalitskiy/Projects/cargo/priv/init/cargo_01_news.erl" with options [{include_dirs,["/Users/ramankovalitskiy/Projects/cargo/include"]}]
  170. 16:09:00.405 [info] cargo_main_controller:main before_ _________________A:"user_settings" B:'GET' C:[]
  171. 16:09:00.957 [error] [{bonus_referral,1000},{bonus_referrer,1000},{bonus_privelege,5000},{backoffice_email_mask,<<"gmail.com">>},{beginning_hour_of_support,17},{cloud_pay_public_id,<<"pk_c36f1a5a5e418aad4d2be8579290a">>},{cloud_pay_term_url,<<"https://cargo.tvzavr.ru/cloudpayments">>},{deallocation_time_of_verification,5},{ending_hour_of_support,18},{start_date_of_service,{{2020,2,29},{0,0,0}}}]
  172. 16:09:00.973 [info] GET /api/user_settings [cargo] 200 665ms
  173. 16:09:02.507 [info] cargo_account_controller _________________"login" 'POST' []
  174. 16:09:02.507 [info] cargo_account_controller:login *Logging in...
  175. 16:09:02.507 [info] UserType "users"
  176. 16:09:02.507 [info] cargo_account_controller:login ::login -> " 7 (916) 813-25-77"
  177. 16:09:02.508 [info] cargo_account_controller:login ::password -> "qwerty"
  178. 16:09:02.508 [info] cargo_account_controller:login ::cookie -> <<>>
  179. 16:09:02.514 [info] common_check:valid_email ::trim -> 7(916)813-25-77
  180. 16:09:02.514 [info] common_check:valid_email ::email -> 7(916)813-25-77 is invalid!
  181. 16:09:02.514 [info] common_check:valid_phone ::len -> 12
  182. 16:09:02.516 [error] Error in controller error:badarg Stacktrace: [{ets,lookup,[cargo_user_sessions,[]],[]},{cargo_srv,valid_cookie,1,[{file,"/Users/ramankovalitskiy/Projects/cargo/src/lib/cargo_srv.erl"},{line,490}]},{auth_lib,do_AAA,6,[{file,"/Users/ramankovalitskiy/Projects/cargo/src/lib/auth_lib.erl"},{line,255}]},{boss_web_controller,call_controller_action,3,[{file,"src/boss/boss_web_controller.erl"},{line,307}]},{boss_web_controller,apply_action,4,[{file,"src/boss/boss_web_controller.erl"},{line,299}]},{boss_web_controller,execute_action_inner,9,[{file,"src/boss/boss_web_controller.erl"},{line,278}]},{boss_web_controller_handle_request,process_dynamic_request,5,[{file,"src/boss/boss_web_controller_handle_request.erl"},{line,257}]},{boss_web_controller_handle_request,process_request,5,[{file,"src/boss/boss_web_controller_handle_request.erl"},{line,244}]}]
  183. 16:09:02.517 [error] "Error in controller, see console.log for details\n"
  184. 16:09:02.521 [error] POST /account/login [cargo] 500 67ms
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top