openstf / stf

Control and manage Android devices from your browser.
https://openstf.io
Other
13.17k stars 2.71k forks source link

STF无法识别设备,stf报错 #1272

Open hujiuying opened 3 years ago

hujiuying commented 3 years ago

[root@bogon android-sdk-linux]# docker logs stf 2020-11-20T03:48:23.274Z INF/util:procutil 1 [] Forking "/app/lib/cli migrate" 2020-11-20T03:48:23.483Z INF/db 11 [] Connecting to 127.0.0.1:28015 2020-11-20T03:48:23.499Z INF/db:setup 11 [] Database "stf" already exists 2020-11-20T03:48:23.505Z INF/db:setup 11 [] Table "users" already exists 2020-11-20T03:48:23.505Z INF/db:setup 11 [] Table "accessTokens" already exists 2020-11-20T03:48:23.505Z INF/db:setup 11 [] Table "vncauth" already exists 2020-11-20T03:48:23.505Z INF/db:setup 11 [] Table "devices" already exists 2020-11-20T03:48:23.505Z INF/db:setup 11 [] Table "logs" already exists 2020-11-20T03:48:23.505Z INF/db:setup 11 [] Table "groups" already exists 2020-11-20T03:48:23.514Z INF/db:setup 11 [] Index "users"."adbKeys" already exists 2020-11-20T03:48:23.515Z INF/db:setup 11 [] Waiting for index "users"."adbKeys" 2020-11-20T03:48:23.522Z INF/db:setup 11 [] Index "accessTokens"."email" already exists 2020-11-20T03:48:23.522Z INF/db:setup 11 [] Index "vncauth"."response" already exists 2020-11-20T03:48:23.522Z INF/db:setup 11 [] Index "vncauth"."responsePerDevice" already exists 2020-11-20T03:48:23.522Z INF/db:setup 11 [] Index "devices"."owner" already exists 2020-11-20T03:48:23.522Z INF/db:setup 11 [] Index "devices"."logs_enabled" already exists 2020-11-20T03:48:23.522Z INF/db:setup 11 [] Index "devices"."present" already exists 2020-11-20T03:48:23.522Z INF/db:setup 11 [] Index "devices"."providerChannel" already exists 2020-11-20T03:48:23.522Z INF/db:setup 11 [] Index "devices"."group" already exists 2020-11-20T03:48:23.523Z INF/db:setup 11 [] Index "groups"."privilege" already exists 2020-11-20T03:48:23.523Z INF/db:setup 11 [] Index "groups"."owner" already exists 2020-11-20T03:48:23.523Z INF/db:setup 11 [] Index "groups"."startTime" already exists 2020-11-20T03:48:23.523Z INF/db:setup 11 [] Waiting for index "accessTokens"."email" 2020-11-20T03:48:23.523Z INF/db:setup 11 [] Waiting for index "vncauth"."response" 2020-11-20T03:48:23.523Z INF/db:setup 11 [] Waiting for index "vncauth"."responsePerDevice" 2020-11-20T03:48:23.523Z INF/db:setup 11 [] Waiting for index "devices"."owner" 2020-11-20T03:48:23.523Z INF/db:setup 11 [] Waiting for index "devices"."logs_enabled" 2020-11-20T03:48:23.524Z INF/db:setup 11 [] Waiting for index "devices"."present" 2020-11-20T03:48:23.524Z INF/db:setup 11 [] Waiting for index "devices"."providerChannel" 2020-11-20T03:48:23.524Z INF/db:setup 11 [] Waiting for index "devices"."group" 2020-11-20T03:48:23.524Z INF/db:setup 11 [] Waiting for index "groups"."privilege" 2020-11-20T03:48:23.524Z INF/db:setup 11 [] Waiting for index "groups"."owner" 2020-11-20T03:48:23.524Z INF/db:setup 11 [] Waiting for index "groups"."startTime" 2020-11-20T03:48:23.543Z INF/db:setup 11 [] Index "users"."adbKeys" is ready 2020-11-20T03:48:23.703Z INF/db:setup 11 [] Index "vncauth"."response" is ready 2020-11-20T03:48:23.704Z INF/db:setup 11 [] Index "vncauth"."responsePerDevice" is ready 2020-11-20T03:48:23.704Z INF/db:setup 11 [] Index "devices"."owner" is ready 2020-11-20T03:48:23.704Z INF/db:setup 11 [] Index "devices"."logs_enabled" is ready 2020-11-20T03:48:23.704Z INF/db:setup 11 [] Index "devices"."present" is ready 2020-11-20T03:48:23.704Z INF/db:setup 11 [] Index "devices"."providerChannel" is ready 2020-11-20T03:48:23.704Z INF/db:setup 11 [] Index "devices"."group" is ready 2020-11-20T03:48:23.704Z INF/db:setup 11 [] Index "groups"."privilege" is ready 2020-11-20T03:48:23.704Z INF/db:setup 11 [] Index "groups"."owner" is ready 2020-11-20T03:48:23.704Z INF/db:setup 11 [] Index "groups"."startTime" is ready 2020-11-20T03:48:23.704Z INF/db:setup 11 [] Index "accessTokens"."email" is ready 2020-11-20T03:48:24.753Z INF/util:procutil 1 [] Forking "/app/lib/cli triproxy app001 --bind-pub tcp://127.0.0.1:7111 --bind-dealer tcp://127.0.0.1:7112 --bind-pull tcp://127.0.0.1:7113" 2020-11-20T03:48:24.762Z INF/util:procutil 1 [] Forking "/app/lib/cli triproxy dev001 --bind-pub tcp://127.0.0.1:7114 --bind-dealer tcp://127.0.0.1:7115 --bind-pull tcp://127.0.0.1:7116" 2020-11-20T03:48:24.769Z INF/util:procutil 1 [] Forking "/app/lib/cli processor proc001 --connect-app-dealer tcp://127.0.0.1:7112 --connect-dev-dealer tcp://127.0.0.1:7115" 2020-11-20T03:48:24.785Z INF/util:procutil 1 [] Forking "/app/lib/cli processor proc002 --connect-app-dealer tcp://127.0.0.1:7112 --connect-dev-dealer tcp://127.0.0.1:7115" 2020-11-20T03:48:24.807Z INF/util:procutil 1 [] Forking "/app/lib/cli reaper reaper001 --connect-push tcp://127.0.0.1:7116 --connect-sub tcp://127.0.0.1:7111" 2020-11-20T03:48:24.832Z INF/util:procutil 1 [] Forking "/app/lib/cli provider --name bogon --min-port 7400 --max-port 7700 --connect-sub tcp://127.0.0.1:7114 --connect-push tcp://127.0.0.1:7116 --group-timeout 900 --public-ip 192.168.184.130 --storage-url http://localhost:7100/ --adb-host 192.168.2.189 --adb-port 5037 --vnc-initial-size 600x800 --mute-master never --allow-remote" 2020-11-20T03:48:24.837Z INF/util:procutil 1 [] Forking "/app/lib/cli auth-mock --port 7120 --secret kute kittykat --app-url http://192.168.184.130:7100/" 2020-11-20T03:48:24.849Z INF/util:procutil 1 [] Forking "/app/lib/cli app --port 7105 --secret kute kittykat --auth-url http://192.168.184.130:7100/auth/mock/ --websocket-url http://192.168.184.130:7110/" 2020-11-20T03:48:24.881Z INF/util:procutil 1 [] Forking "/app/lib/cli api --port 7106 --secret kute kittykat --connect-push tcp://127.0.0.1:7113 --connect-sub tcp://127.0.0.1:7111 --connect-push-dev tcp://127.0.0.1:7116 --connect-sub-dev tcp://127.0.0.1:7114" 2020-11-20T03:48:24.905Z INF/util:procutil 1 [] Forking "/app/lib/cli groups-engine --connect-push tcp://127.0.0.1:7113 --connect-sub tcp://127.0.0.1:7111 --connect-push-dev tcp://127.0.0.1:7116 --connect-sub-dev tcp://127.0.0.1:7114" 2020-11-20T03:48:24.982Z INF/util:procutil 1 [] Forking "/app/lib/cli websocket --port 7110 --secret kute kittykat --storage-url http://localhost:7100/ --connect-sub tcp://127.0.0.1:7111 --connect-push tcp://127.0.0.1:7113" 2020-11-20T03:48:25.044Z INF/util:procutil 1 [] Forking "/app/lib/cli storage-temp --port 7102" 2020-11-20T03:48:25.130Z INF/util:procutil 1 [] Forking "/app/lib/cli storage-plugin-image --port 7103 --storage-url http://localhost:7100/" 2020-11-20T03:48:25.139Z INF/util:procutil 1 [] Forking "/app/lib/cli storage-plugin-apk --port 7104 --storage-url http://localhost:7100/" 2020-11-20T03:48:25.183Z INF/util:procutil 1 [] Forking "/app/lib/cli poorxy --port 7100 --app-url http://localhost:7105/ --auth-url http://localhost:7120/ --api-url http://localhost:7106/ --websocket-url http://localhost:7110/ --storage-url http://localhost:7102/ --storage-plugin-image-url http://localhost:7103/ --storage-plugin-apk-url http://localhost:7104/" 2020-11-20T03:48:25.714Z INF/triproxy 17 [app001] PUB socket bound on tcp://127.0.0.1:7111 2020-11-20T03:48:25.726Z INF/triproxy 17 [app001] DEALER socket bound on tcp://127.0.0.1:7112 2020-11-20T03:48:25.726Z INF/triproxy 17 [app001] PULL socket bound on tcp://127.0.0.1:7113 2020-11-20T03:48:25.967Z INF/db 25 [] Connecting to 127.0.0.1:28015 2020-11-20T03:48:26.045Z INF/processor 25 [proc002] App dealer connected to "tcp://127.0.0.1:7112" 2020-11-20T03:48:26.046Z INF/processor 25 [proc002] Device dealer connected to "tcp://127.0.0.1:7115" 2020-11-20T03:48:26.189Z INF/provider 46 [] Subscribing to permanent channel "ytKJjqC/RHGKsdRsmAHLAQ==" 2020-11-20T03:48:26.285Z INF/provider 46 [] Sending output to "tcp://127.0.0.1:7116" 2020-11-20T03:48:26.285Z INF/provider 46 [] Receiving input from "tcp://127.0.0.1:7114" 2020-11-20T03:48:26.845Z INF/db 23 [] Connecting to 127.0.0.1:28015 2020-11-20T03:48:26.996Z INF/processor 23 [proc001] App dealer connected to "tcp://127.0.0.1:7112" 2020-11-20T03:48:26.996Z INF/processor 23 [proc001] Device dealer connected to "tcp://127.0.0.1:7115" 2020-11-20T03:48:27.034Z INF/groups-engine 68 [] Subscribing to permanent channel "ALL" 2020-11-20T03:48:27.062Z INF/groups-engine 68 [] Groups engine started 2020-11-20T03:48:27.063Z INF/db 68 [] Connecting to 127.0.0.1:28015 2020-11-20T03:48:27.078Z INF/groups-engine 68 [] Sending output to "tcp://127.0.0.1:7113" 2020-11-20T03:48:27.078Z INF/groups-engine 68 [] Receiving input from "tcp://127.0.0.1:7111" 2020-11-20T03:48:27.078Z INF/groups-engine 68 [] Sending output to "tcp://127.0.0.1:7116" 2020-11-20T03:48:27.079Z INF/groups-engine 68 [] Receiving input from "tcp://127.0.0.1:7114" 2020-11-20T03:48:27.085Z INF/reaper 38 [reaper001] Subscribing to permanent channel "ALL" 2020-11-20T03:48:27.088Z INF/reaper 38 [reaper001] Reaping devices with no heartbeat 2020-11-20T03:48:27.098Z INF/db 38 [reaper001] Connecting to 127.0.0.1:28015 2020-11-20T03:48:27.110Z INF/reaper 38 [reaper001] Receiving input from "tcp://127.0.0.1:7111" 2020-11-20T03:48:27.110Z INF/reaper 38 [reaper001] Sending output to "tcp://127.0.0.1:7116" 2020-11-20T03:48:27.206Z INF/poorxy 100 [] Listening on port 7100 2020-11-20T03:48:27.431Z INF/auth-mock 47 [] Listening on port 7120 2020-11-20T03:48:27.483Z INF/db 47 [] Connecting to 127.0.0.1:28015 2020-11-20T03:48:27.510Z INF/storage:plugins:apk 93 [] Listening on port 7104 2020-11-20T03:48:27.571Z INF/storage:plugins:image 88 [] Listening on port 7103 2020-11-20T03:48:27.903Z INF/triproxy 18 [dev001] PUB socket bound on tcp://127.0.0.1:7114 2020-11-20T03:48:27.911Z INF/triproxy 18 [dev001] DEALER socket bound on tcp://127.0.0.1:7115 2020-11-20T03:48:27.912Z INF/triproxy 18 [dev001] PULL socket bound on tcp://127.0.0.1:7116 2020-11-20T03:48:27.979Z INF/storage:temp 78 [] Listening on port 7102 2020-11-20T03:48:28.032Z INF/app 53 [] Using pre-built resources 2020-11-20T03:48:28.040Z INF/app 53 [] Listening on port 7105 2020-11-20T03:48:28.041Z INF/db 53 [] Connecting to 127.0.0.1:28015 Unhandled rejection Error: spawn adb ENOENT at _errnoException (util.js:1024:11) at Process.ChildProcess._handle.onexit (internal/child_process.js:190:19) at onErrorNT (internal/child_process.js:372:16) at _combinedTickCallback (internal/process/next_tick.js:138:11) at process._tickCallback (internal/process/next_tick.js:180:9) 2020-11-20T03:48:28.242Z INF/websocket 76 [] Subscribing to permanent channel "ALL" 2020-11-20T03:48:28.247Z INF/websocket 76 [] Listening on port 7110 2020-11-20T03:48:28.257Z INF/db 76 [] Connecting to 127.0.0.1:28015 2020-11-20T03:48:28.261Z INF/websocket 76 [] Sending output to "tcp://127.0.0.1:7113" 2020-11-20T03:48:28.262Z INF/websocket 76 [] Receiving input from "tcp://127.0.0.1:7111" 2020-11-20T03:48:28.466Z INF/api 63 [] Subscribing to permanent channel "ALL" 2020-11-20T03:48:28.497Z INF/api 63 [] Listening on port 7106 2020-11-20T03:48:28.595Z INF/api 63 [] Sending output to "tcp://127.0.0.1:7113" 2020-11-20T03:48:28.596Z INF/api 63 [] Receiving input from "tcp://127.0.0.1:7111" 2020-11-20T03:48:28.596Z INF/api 63 [] Sending output to "tcp://127.0.0.1:7116" 2020-11-20T03:48:28.596Z INF/api 63 [] Receiving input from "tcp://127.0.0.1:7114" 2020-11-20T03:48:29.062Z INF/db 63 [*] Connecting to 127.0.0.1:28015 [root@bogon android-sdk-linux]# uname -r 3.10.0-957.el7.x86_64