SHARE
TWEET

Untitled

a guest Jan 24th, 2020 218 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> 10:01:36.794 [info] Starting Boss in development mode...
  6. 10:01:36.802 [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. 10:01:37.244 [info] Cargo server started on node 'cracozaurus@127.0.0.1'
  17. 10:01:37.248 [info] cargo_srv: create tables
  18. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -- START -- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!10:01:37.722 [info] upload app starting~n
  19. 10:01:37.731 [info] upload app starting 0 ...~n
  20. 10:01:37.731 [info] upload app starting 1 ...~n
  21. 10:01:37.731 [info] upload server port 9999
  22. 10:01:37.732 [info] upload app starting 2 ...~n
  23. 10:01:37.810 [info] cargo_srv MQTT connect login <<"common-cracozaurus@127.0.0.1-5d6bbb02-3e77-11ea-b7af-acde48001122">>
  24. 10:01:37.810 [info] cargo_srv MQTT connect pass <<"5d67adc8-3e77-11ea-b3cb-acde48001122">>
  25. 10:01:37.825 [info] cargo_srv MQTT connect pid <0.519.0>
  26. 10:01:37.831 [info] Chat dispatcher started on node 'cracozaurus@127.0.0.1'
  27. 10:01:37.840 [info] Bonus event dispatcher started on node 'cracozaurus@127.0.0.1'
  28. 10:01:37.846 [info] Notification event dispatcher started on node 'cracozaurus@127.0.0.1'
  29. 10:01:37.853 [info] Signup helper event dispatcher started on node 'cracozaurus@127.0.0.1'
  30. {"src/mail/view/base.html","base_tpl",{ok,base_tpl}}
  31. {"src/mail/view/cargo_email_layout.html","cargo_email_layout_tpl",
  32.  {ok,cargo_email_layout_tpl}}
  33. {"src/mail/view/cargo_email_layout_feedback.html",
  34.  "cargo_email_layout_feedback_tpl",
  35.  {ok,cargo_email_layout_feedback_tpl}}
  36. {"src/mail/view/generic_email.html","generic_email_tpl",
  37.  {ok,generic_email_tpl}}
  38. {"src/mail/view/new_admin_user_signup_notification.html",
  39.  "new_admin_user_signup_notification_tpl",
  40.  {ok,new_admin_user_signup_notification_tpl}}
  41. {"src/mail/view/trucker_attach_notification.html",
  42.  "trucker_attach_notification_tpl",
  43.  {ok,trucker_attach_notification_tpl}}
  44. Starting Sync (Automatic Code Compiler / Reloader)
  45. Scanning source files...
  46. 10:01:37.917 [info] Event_srv started on node 'cracozaurus@127.0.0.1'
  47. 10:01:37.917 [info] M: event_sup
  48. L: 22
  49. Mess:<<"Init">>
  50. 10:01:37.923 [info] psql starting
  51. 10:01:37.938 [info] psql starting
  52. psql.erl psql starting
  53. psql.erl psql starting 01
  54. 10:01:37.938 [info] psql.erl psql starting 01~n
  55. 10:01:37.938 [info] psql almost started
  56. psql.erl psql almost started
  57. 10:01:37.947 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
  58. 10:01:38.245 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
  59. 10:01:38.325 [info] mqtt Connect <0.519.0>
  60. 10:01:38.325 [info] cargo_srv unknown message {mqttc,<0.519.0>,connected}
  61. 10:01:38.537 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
  62. 10:01:38.840 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
  63. 10:01:39.150 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
  64. 10:01:39.487 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
  65. 10:01:39.764 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
  66. 10:01:40.064 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
  67. 10:01:40.350 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
  68. 10:01:40.625 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
  69. 10:01:40.897 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
  70. 10:01:41.190 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
  71. 10:01:41.476 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
  72. 10:01:41.765 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
  73. 10:01:42.045 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
  74. 10:01:42.356 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
  75. 10:01:42.656 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
  76. 10:01:42.937 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
  77. 10:01:43.242 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
  78. 10:01:43.538 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
  79. psql Res ok
  80. 10:01:43.826 [info] psql Res ok
  81.  ** LiLu has started **
  82.  ** LiLu starting viever: "ct" **
  83. 10:01:43.897 [info] Modulbank mock manager started on node 'cracozaurus@127.0.0.1'
  84.  ** LiLu starting viever: "console" **
  85.  ** LiLu starting viever: "error" **
  86. 10:01:44.070 [notice] Compile file "/Users/ramankovalitskiy/Projects/cargo/priv/init/cargo_01_news.erl" with options [{include_dirs,["/Users/ramankovalitskiy/Projects/cargo/include"]}]
  87. 10:01:54.790 [info] cargo_account_controller _________________"login" 'POST' []
  88. 10:01:54.796 [info] cargo_account_controller:login *Logging in...
  89. 10:01:54.796 [info] UserType "users"
  90. 10:01:54.796 [info] cargo_account_controller:login ::login -> " 7 (916) 813-25-77"
  91. 10:01:54.796 [info] cargo_account_controller:login ::password -> "qwerty"
  92. 10:01:54.796 [info] cargo_account_controller:login ::cookie -> <<>>
  93. 10:01:54.805 [info] common_check:valid_email ::trim -> 7(916)813-25-77
  94. 10:01:54.805 [info] common_check:valid_email ::email -> 7(916)813-25-77 is invalid!
  95. 10:01:54.805 [info] common_check:valid_phone ::len -> 12
  96. 10:01:54.805 [info] auth_lib:login ::validemail -> false, ::validphone -> true
  97. 10:01:54.805 [info] Cookie []
  98. 10:01:54.805 [info] ValidCookie undefined
  99. 10:01:54.805 [info] CookieData []
  100. 10:01:54.805 [info] UserType users
  101. 10:01:54.805 [info] Login <<" 7 (916) 813-25-77">>
  102. 10:01:54.805 [info] Format phone <<"+79168132577">>
  103. 10:01:54.805 [info] Type login phone
  104. 10:01:54.805 [info] TypeLogin phone
  105. 10:01:54.805 [info] LoginFin <<" 7 (916) 813-25-77">>
  106. 10:01:54.935 [info] auth_lib:do_login ::user -> [{users,"users-294348",<<208,152,208,187,209,140,209,143>>,<<208,147,209,128,208,184,208,180,208,189,208,181,208,178>>,<<>>,<<"+79168132577">>,<<"vadim.german@morecargo.ru">>,<<"d8578edf8458ce06fbc5bb76a58c5ca4">>,294347,false,true,true,true,<<"087b13174ff4b8884aa9c1e5079a7111">>,<<"6058">>,<<"5016">>,false,<<>>,<<>>,true,true,<<"active">>,false}]
  107. 10:01:54.935 [info] auth_lib ::model hash -> <<"d8578edf8458ce06fbc5bb76a58c5ca4">>
  108. 10:01:54.935 [info] auth_lib ::user hash -> <<"d8578edf8458ce06fbc5bb76a58c5ca4">>
  109. 10:01:55.147 [info] auth encrypted id <<"MjY3YzdlOWMyLTNlNzctMTF1JIpf656cmlKuIrjBJD1Z">>
  110. 10:01:55.491 [info] Entity refresh <<"IP">>
  111. 10:01:55.492 [info] login user type users
  112. 10:01:55.492 [info] login id 294348
  113. 10:01:55.492 [info] login ip "127.0.0.1"
  114. 10:01:55.599 [info] Entity auth <<"IP">>
  115. 10:01:55.606 [info] cargo_wrk *New session ::cid -> <<"MjY3YzdlOWMyLTNlNzctMTF1JIpf656cmlKuIrjBJD1Z">>
  116. 10:01:55.606 [info] cargo_wrk ACL pid <0.388.0>
  117. 10:01:55.678 [info] cargo_wrk MQTT connect login <<"+79168132577-67a88ce4-3e77-11ea-8288-acde48001122-cracozaurus@127.0.0.1">>
  118. 10:01:55.678 [info] cargo_wrk MQTT connect pass <<"680efbd2-3e77-11ea-bb39-acde48001122">>
  119. 10:01:55.679 [info] cargo_wrk MQTT connect client_id <<"681a093c-3e77-11ea-ad4e-acde48001122">>
  120. 10:01:56.180 [info] mqtt Connect <0.3911.0>
  121. 10:01:56.436 [info] cargo_wrk UserId 294348
  122. 10:01:56.436 [info] cargo_wrk Roles []
  123. 10:01:56.436 [info] cargo_wrk Roles+Fields [<<"/chat/#">>,3,<<"/upd/admin/#">>,3,<<"/MjY3YzdlOWMyLTNlNzctMTF1JIpf656cmlKuIrjBJD1Z/#">>,3]
  124. 10:01:56.436 [info] cargo_wrk StoredRoles undefined
  125. 10:01:56.694 [info] Unregistered result ok
  126. 10:01:56.694 [info] new session completed
  127. 10:01:56.694 [info] cargo_wrk unknown message {mqttc,<0.3911.0>,connected}
  128. 10:01:56.694 [info] cargo_srv cargo_srv Exit process normal ::payload -> {'EXIT',<0.3865.0>,normal}
  129. 10:01:56.821 [info] auth_lib Set roles
  130. [{roles,"roles-294349",294348,<<"admin">>},{roles,"roles-294350",294348,<<"user">>}]
  131. 10:01:56.821 [info] auth_lib Set roles
  132. [<<"admin">>,<<"user">>]
  133. 10:01:56.822 [info] FinalCookie "afdf9b503b3497712c4a9f6dc4a99b1b69879196"
  134. 10:01:56.822 [info] auth_lib:login ::reply -> {json,[{status,[{result,<<"accepted">>},{reason,<<"I_SUCCESS">>}]},{roles,[<<"admin">>,<<"user">>]},{phase,<<"active">>},{is_confirmed_email,true},{category,<<"carrier">>},{is_admin,true},{entity,<<"IP">>},{email,<<"vadim.german@morecargo.ru">>},{cid,<<"MjY3YzdlOWMyLTNlNzctMTF1JIpf656cmlKuIrjBJD1Z">>},{user_type,users},{id,294348},{mqtt_password,<<"67a8b340-3e77-11ea-8405-acde48001122">>},{mqtt_login,<<"+79168132577-67a88ce4-3e77-11ea-8288-acde48001122">>},{cookie,"afdf9b503b3497712c4a9f6dc4a99b1b69879196"}]}
  135. 10:01:56.832 [info] POST /account/login [cargo] 200 2110ms
  136. 10:02:01.593 [info] cargo_main_controller:main before_ _________________A:"user_settings" B:'GET' C:[]
  137. 10:02:02.093 [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}}}]
  138. 10:02:02.099 [info] GET /api/user_settings [cargo] 200 589ms
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