Cannot see given setting on the 8080 port over shinobi page on web browser
I cannot see the setting options to give camera ip and user password on shinobi webpage. https://drive.google.com/drive/folders/1WimiJtyC_GNgdqPHFhKISS5G8M14NEXE?usp=sharing
Can you tell me what is the issue?
You can setup username and password by visiting connection section:

Hi @solderzzc , Thank you for the reply. But I am not able to see these settings inside connection section, I am only getting the options given in images here: https://drive.google.com/drive/folders/1WimiJtyC_GNgdqPHFhKISS5G8M14NEXE?usp=sharing
This is what I am able to see inside connection section:

Please, let me know. What is the problem? It would be a great help!
You can set Automatic to ‘No’ to setup username and password manually.
On Tue, Jun 7, 2022 at 9:35 PM KenaHemnani @.***> wrote:
This is what I am able to see inside connection section: [image: Screenshot from 2022-06-08 10-03-04] https://user-images.githubusercontent.com/73054008/172532285-e0e91fa7-24bc-4f0f-a67c-ba2d1b2d8bbc.png
Please, let me know. What is the problem? I would be a great help!
— Reply to this email directly, view it on GitHub https://github.com/SharpAI/DeepCamera/issues/72#issuecomment-1149450262, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAXRJ7GNW35EQ3DO6KBJBBTVOAPHJANCNFSM5YCNVWHQ . You are receiving this because you were mentioned.Message ID: @.***>
Hi @solderzzc , Thank you! Now I am able to see the option. After giving host, user and password. I am able to see the black screen as below. Also, I have deleted the moniter once and added new then. Will it makes difference?

Can you tell how to troubleshoot this? I am currently using my android mobile as Web-cam.
Also, How to use rtsp url given by connecting camera via. iSpyConnect ? I am able to connect camera via. iSpyConnect, but Shinobi browser shows blank screen.
@KenaHemnani when you have this page, make sure you have a url can be played by ffplay, then you can copy paste the url into Full URL Path:

Just in case you need username/password format:
rtsp://username:password@IP:PORT/your_url_path
@solderzzc , Thank you for help! Now, I am able to get feed in shinobi over http://localhost:8080/ . *Are we required to connect our camera with shinobi running over http://165.232.62.29:8080/ ? *How to see those images on GUI running on server ?
@KenaHemnani
- You don't have to connect camera with shinobi running over http://165.232.62.29:8080/
- Please follow the readme instruction, you need signup with http://165.232.62.29:3000, then add your device serial-id to cloud server. then you will be able to see the images.
Hi @solderzzc , Thank you very much for responding. On the localhost:8080 when accessing shinobi, I can record videos and take snapshots. However, images cannot be previewed but I can see preview of videos and videos are saved inside DeepCamera/docker/videos folder. But, I cannot see the video/images on server http://165.232.62.29:3000/ (The device serial id is added to cloud server.) Can you tell what might be reason for this? How I can troubleshoot this?
Are we required to take snapshots using shinobi or record videos? However, Snapshots are not able to preview over shinobi nor saved on local on any folder.
@KenaHemnani we don't have to worry about shinobi after you have seen preview pic on it, we use it for camera configuration. you should follow the instruction to label face on cloud server:
@solderzzc , but I am not able to see pic on GUI running over cloud server i.e, on http://165.232.62.29:3000/ . What can be reason for this ? How can I troubleshoot this ?
@KenaHemnani Please provide the system log and your hardware configuration, are you using jetson nano?
@solderzzc Currently I am running DeepCamera on linux machine(with 16GB Ram) using command sudo ./run-on-linux.sh start. And using android mobile camera as webcam(IP camera). Then starting cloud using sudo ./start-cloud.sh start.
Systems logs while running sudo ./run-on-linux.sh start:
- IFNAME=eth0
- YML=./docker/docker-compose-x86.yml
- '[' startx == x ']'
- case $1 in
- echo starting... starting...
- gen_ro_serial
- UUIDFILE=./docker/workaipython/ro_serialno
- MAC=
- '[' -e ./docker/workaipython/ro_serialno ']' ++ cat ./docker/workaipython/ro_serialno
- MAC=rd2910919898
- '[' rd2910919898x == x ']'
- '[' 12 '!=' 12 ']'
- echo rd2910919898 rd2910919898
- '[' xrd2910919898 = x ']'
- docker-compose -f ./docker/docker-compose-x86.yml stop Stopping broker ... done Stopping api_server ... done Stopping minio ... done Stopping detector_plugin ... done Stopping embedding ... done Stopping docker_flower_1 ... done Stopping face_detector ... done Stopping redis ... done Stopping camera ... done
- docker-compose -f ./docker/docker-compose-x86.yml up
WARNING: The ADMIN_PASSWORD variable is not set. Defaulting to a blank string.
WARNING: The TIMEZONE_OFFSET variable is not set. Defaulting to a blank string.
Starting camera ... done
Recreating minio ... done
Recreating broker ... done
Recreating api_server ... done
Starting redis ... done
Starting face_detector ... done
Starting docker_flower_1 ... done
Recreating embedding ... done
Recreating detector_plugin ... done
Attaching to camera, redis, minio, broker, api_server, docker_flower_1, face_detector, embedding, detector_plugin
detector_plugin | export API_SERVER_ADDRESS='165.232.62.29'
detector_plugin | export API_SERVER_PORT='3000'
detector_plugin | export AWS_ACCESS_KEY='QUA2IU17RHOKE6NUZ7T2'
detector_plugin | export AWS_BUCKET='faces'
detector_plugin | export AWS_END_POINT='165.232.62.29'
detector_plugin | export AWS_PORT='9000'
detector_plugin | export AWS_READABLE_PREFIX='http://165.232.62.29:9000/faces/'
detector_plugin | export AWS_SECRET_KEY='MQniMc5K3lsRbv9OPaUbJN9ft2eTQJ1rh4Yx6C17'
detector_plugin | export AWS_USE_SSL='false'
detector_plugin | export BIGGEST_FACE_ONLY_MODE='0'
detector_plugin | export CLUSTER_CONCURRENCY='80'
detector_plugin | export CLUSTER_REDIS_ADDRESS='redis'
detector_plugin | export CLUSTER_REDIS_PORT='6379'
detector_plugin | export DEEP_ANALYSIS_MODE='0'
detector_plugin | export ENABLE_STATIC_OBJECT_FILTER='false'
detector_plugin | export GIF_UPLOADING='1'
detector_plugin | export HOME='/root'
detector_plugin | export HOSTNAME='e29412c9b937'
detector_plugin | export IMAGE_DIR='/opt/nvr/detector/images'
detector_plugin | export MINIMAL_FACE_RESOLUTION='60'
detector_plugin | export MINIO_BROWSER='off'
detector_plugin | export MQTT_BROKER_ADDRESS='165.232.62.29'
detector_plugin | export MQTT_BROKER_PORT='1883'
detector_plugin | export MQTT_BROKER_TRANSPORT='tcp'
detector_plugin | export ONE_KNOWN_PERSON_BYPASS_QUEUE_MODE='1'
detector_plugin | export PATH='/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'
detector_plugin | export PWD='/opt/nvr'
detector_plugin | export REALTIME_STRANGER_SDK_MESSAGE='1'
detector_plugin | export RESTRICT_RECOGNITON_MODE='0'
detector_plugin | export SAMPLING_TO_SAVE_ENERGY_MODE='1'
detector_plugin | export TIMEZONE_OFFSET=''
detector_plugin | export UPLOAD_IMAGE_SERVICE_ENABLED='1'
flower_1 | [I 220624 04:54:29 command:139] Visit me at http://localhost:5555
flower_1 | [I 220624 04:54:29 command:144] Broker: redis://redis:6379/0
flower_1 | [I 220624 04:54:29 command:147] Registered tasks:
flower_1 | [u'celery.accumulate',
flower_1 | u'celery.backend_cleanup',
flower_1 | u'celery.chain',
flower_1 | u'celery.chord',
flower_1 | u'celery.chord_unlock',
flower_1 | u'celery.chunks',
flower_1 | u'celery.group',
flower_1 | u'celery.map',
flower_1 | u'celery.starmap']
flower_1 | [I 220624 04:54:29 mixins:229] Connected to redis://redis:6379/0
embedding | total 4136
embedding | drwxr-xr-x 2 root root 4096 Jun 6 09:11 cache
embedding | -rw-rw-r-- 1 1000 1000 4115182 Jun 2 09:18 model-0000.params
embedding | -rw-rw-r-- 1 1000 1000 107943 Jun 2 09:18 model-symbol.json
embedding | drwxrwxr-x 13 1000 1000 4096 Jun 6 09:11 src
minio |
minio | You are running an older version of MinIO released 2 years ago
minio | Update: Run
mc admin updateminio | minio | minio | Configuration file /root/.minio/config.json migrated from version '19' to '20' successfully. minio | Configuration file /root/.minio/config.json migrated from version '20' to '21' successfully. minio | Configuration file /root/.minio/config.json migrated from version '21' to '22' successfully. minio | Configuration file /root/.minio/config.json migrated from version '22' to '23' successfully. minio | Configuration file /root/.minio/config.json migrated from version '23' to '24' successfully. minio | Configuration file /root/.minio/config.json migrated from version '24' to '25' successfully. minio | Configuration file /root/.minio/config.json migrated from version '25' to '26' successfully. minio | Configuration file /root/.minio/config.json migrated from version '26' to '27' successfully. minio | Configuration file /root/.minio/config.json migrated from version '27' to '28' successfully. minio | Configuration file config/config.json migrated from version '28' to '29' successfully. minio | Configuration file config/config.json migrated from version '29' to '30' successfully. minio | Configuration file config/config.json migrated from version '30' to '31' successfully. minio | Configuration file config/config.json migrated from version '31' to '32' successfully. minio | Configuration file config/config.json migrated from version '32' to '33' successfully. minio | Configuration file config/config.json migrated from version '33' to new KV format successfully. minio | Endpoint: http://172.18.0.4:9000 http://127.0.0.1:9000 minio | minio | Browser Access: minio | http://172.18.0.4:9000 http://127.0.0.1:9000 minio | minio | Object API (Amazon S3 compatible): minio | Go: https://docs.min.io/docs/golang-client-quickstart-guide minio | Java: https://docs.min.io/docs/java-client-quickstart-guide minio | Python: https://docs.min.io/docs/python-client-quickstart-guide minio | JavaScript: https://docs.min.io/docs/javascript-client-quickstart-guide minio | .NET: https://docs.min.io/docs/dotnet-client-quickstart-guide face_detector | init model,loadingMODEL path must be ./model, it is hard coded embedding | FaceProcessing.py embedding | FaceProcessing.pyc embedding | README.md embedding | init.py embedding | align embedding | align_dataset_mtcnn.py embedding | build_paramter_server.sh embedding | calculate_filtering_metrics.py embedding | checkupdate embedding | classifier.py embedding | classifier_aarch64.sh embedding | classifier_classify.py embedding | classifier_classify_new.py embedding | classifier_classify_new.pyc embedding | classifier_classify_new.spec embedding | classifier_quan.py embedding | classifier_rest_client.py embedding | classifier_rest_server.py embedding | classifier_restserver_arm.sh embedding | classifier_worker_arm.sh embedding | cluster.py embedding | clustering_people.py embedding | compare.py embedding | compare_frozen_model.py embedding | conf.py embedding | cron.py embedding | data embedding | data_init embedding | decode_msceleb_dataset.py embedding | download_and_extract_model.py embedding | download_vgg_face_dataset.py embedding | embedding_aarch64.sh embedding | embedding_arm.sh embedding | embedding_client.py embedding | embedding_server.py embedding | export_csv.py embedding | facenet.py embedding | facenet.pyc embedding | facenet_train.py embedding | facenet_train_classifier.py embedding | faces embedding | freeze_graph.py embedding | image embedding | insightface embedding | judgeutil.py embedding | judgeutil.pyc embedding | lfw.py embedding | migrate_db.py embedding | migrate_db.pyc embedding | migrations embedding | models embedding | models.py embedding | objects embedding | pages embedding | param_arm.sh embedding | parameter_server.py embedding | pytorch_embedding_test.py embedding | qiniu_mkzip.py embedding | recognition.py embedding | recognition.pyc embedding | recover_db.py embedding | requirements.txt embedding | ro_serialno embedding | start embedding | start.sh embedding | start_android_aarch64.sh embedding | start_arm.sh embedding | start_embedding_only.sh embedding | test embedding | test.py embedding | test_blur.py embedding | test_freezed_graph.py embedding | test_invariance_on_lfw.py embedding | test_post.py embedding | test_two.py embedding | upload_api-v2.py embedding | upload_api.py embedding | upload_dlib.py embedding | utilslib embedding | validate_on_lfw.py embedding | validate_on_lfw_frozen_model.py embedding | validate_on_lfw_frozen_model_faceprocessing.py embedding | version.txt embedding | visualize.py redis | 10:C 24 Jun 2022 04:54:27.982 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo redis | 10:C 24 Jun 2022 04:54:27.982 # Redis version=7.0.0, bits=64, commit=00000000, modified=0, pid=10, just started redis | 10:C 24 Jun 2022 04:54:27.982 # Configuration loaded redis | 10:M 24 Jun 2022 04:54:27.983 * monotonic clock: POSIX clock_gettime redis | 10:M 24 Jun 2022 04:54:27.983 * Running mode=standalone, port=6379. redis | 10:M 24 Jun 2022 04:54:27.983 # Server initialized redis | 10:M 24 Jun 2022 04:54:27.983 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect. redis | 10:M 24 Jun 2022 04:54:27.984 * The AOF directory appendonlydir doesn't exist redis | 10:M 24 Jun 2022 04:54:27.984 * Ready to accept connections embedding | total 824K embedding | drwxrwxr-x 13 1000 1000 4.0K Jun 6 09:11 . embedding | drwxr-xr-x 4 root root 4.0K Jun 24 04:54 .. embedding | -rw-rw-r-- 1 1000 1000 18 Jun 2 09:18 .gitignore embedding | -rw-rw-r-- 1 1000 1000 1006 Jun 2 09:18 .start embedding | -rw-rw-r-- 1 1000 1000 3.1K Jun 2 09:18 FaceProcessing.py embedding | -rw-r--r-- 1 root root 4.5K Jun 6 09:11 FaceProcessing.pyc embedding | -rw-rw-r-- 1 1000 1000 813 Jun 2 09:18 README.md embedding | -rw-rw-r-- 1 1000 1000 16 Jun 2 09:18 init.py embedding | drwxrwxr-x 2 1000 1000 4.0K Jun 2 09:18 align embedding | -rw-rw-r-- 1 1000 1000 7.1K Jun 2 09:18 align_dataset_mtcnn.py embedding | -rw-rw-r-- 1 1000 1000 501 Jun 2 09:18 build_paramter_server.sh embedding | -rw-rw-r-- 1 1000 1000 6.0K Jun 2 09:18 calculate_filtering_metrics.py embedding | -rwxrwxr-x 1 1000 1000 2.2K Jun 2 09:18 checkupdate embedding | -rw-rw-r-- 1 1000 1000 8.0K Jun 2 09:18 classifier.py embedding | -rwxrwxr-x 1 1000 1000 210 Jun 2 09:18 classifier_aarch64.sh embedding | -rw-rw-r-- 1 1000 1000 18K Jun 2 09:18 classifier_classify.py embedding | -rw-rw-r-- 1 1000 1000 21K Jun 2 09:18 classifier_classify_new.py embedding | -rw-r--r-- 1 root root 12K Jun 6 09:11 classifier_classify_new.pyc embedding | -rw-rw-r-- 1 1000 1000 1.2K Jun 2 09:18 classifier_classify_new.spec embedding | -rw-rw-r-- 1 1000 1000 8.6K Jun 2 09:18 classifier_quan.py embedding | -rw-rw-r-- 1 1000 1000 2.6K Jun 2 09:18 classifier_rest_client.py embedding | -rw-rw-r-- 1 1000 1000 3.3K Jun 2 09:18 classifier_rest_server.py embedding | -rwxrwxr-x 1 1000 1000 491 Jun 2 09:18 classifier_restserver_arm.sh embedding | -rwxrwxr-x 1 1000 1000 453 Jun 2 09:18 classifier_worker_arm.sh embedding | -rw-rw-r-- 1 1000 1000 8.4K Jun 2 09:18 cluster.py embedding | -rw-rw-r-- 1 1000 1000 33K Jun 2 09:18 clustering_people.py embedding | -rw-rw-r-- 1 1000 1000 5.5K Jun 2 09:18 compare.py embedding | -rw-rw-r-- 1 1000 1000 6.8K Jun 2 09:18 compare_frozen_model.py embedding | -rw-rw-r-- 1 1000 1000 839 Jun 2 09:18 conf.py embedding | -rw-rw-r-- 1 1000 1000 454 Jun 2 09:18 cron.py embedding | drwxr-xr-x 7 root root 4.0K Jun 6 09:11 data embedding | -rw-rw-r-- 1 1000 1000 4.0K Jun 2 09:18 data_init embedding | -rw-rw-r-- 1 1000 1000 3.6K Jun 2 09:18 decode_msceleb_dataset.py embedding | -rw-rw-r-- 1 1000 1000 1.7K Jun 2 09:18 download_and_extract_model.py embedding | -rw-rw-r-- 1 1000 1000 4.9K Jun 2 09:18 download_vgg_face_dataset.py embedding | -rwxrwxr-x 1 1000 1000 493 Jun 2 09:18 embedding_aarch64.sh embedding | -rwxrwxr-x 1 1000 1000 747 Jun 2 09:18 embedding_arm.sh embedding | -rw-rw-r-- 1 1000 1000 587 Jun 2 09:18 embedding_client.py embedding | -rw-rw-r-- 1 1000 1000 896 Jun 2 09:18 embedding_server.py embedding | -rw-rw-r-- 1 1000 1000 2.7K Jun 2 09:18 export_csv.py embedding | -rw-rw-r-- 1 1000 1000 18K Jun 2 09:18 facenet.py embedding | -rw-r--r-- 1 root root 18K Jun 6 09:11 facenet.pyc embedding | -rw-rw-r-- 1 1000 1000 26K Jun 2 09:18 facenet_train.py embedding | -rw-rw-r-- 1 1000 1000 24K Jun 2 09:18 facenet_train_classifier.py embedding | drwxrwxr-x 3 1000 1000 4.0K Jun 6 09:11 faces embedding | -rw-rw-r-- 1 1000 1000 4.5K Jun 2 09:18 freeze_graph.py embedding | drwxrwxr-x 2 1000 1000 4.0K Jun 2 09:18 image embedding | drwxrwxr-x 2 1000 1000 4.0K Jun 2 09:18 insightface embedding | -rw-rw-r-- 1 1000 1000 4.1K Jun 2 09:18 judgeutil.py embedding | -rw-r--r-- 1 root root 3.7K Jun 6 09:11 judgeutil.pyc embedding | -rw-rw-r-- 1 1000 1000 3.1K Jun 2 09:18 lfw.py embedding | -rwxrwxr-x 1 1000 1000 5.1K Jun 2 09:18 migrate_db.py embedding | -rw-r--r-- 1 root root 5.7K Jun 6 09:11 migrate_db.pyc embedding | drwxrwxr-x 3 1000 1000 4.0K Jun 6 09:11 migrations embedding | drwxrwxr-x 2 1000 1000 4.0K Jun 2 09:18 models embedding | -rw-rw-r-- 1 1000 1000 1.1K Jun 2 09:18 models.py embedding | drwxrwxr-x 2 1000 1000 4.0K Jun 2 09:18 objects embedding | drwxrwxr-x 4 1000 1000 4.0K Jun 2 09:18 pages embedding | -rwxrwxr-x 1 1000 1000 204 Jun 2 09:18 param_arm.sh embedding | -rw-rw-r-- 1 1000 1000 4.0K Jun 2 09:18 parameter_server.py embedding | -rw-rw-r-- 1 1000 1000 1.1K Jun 2 09:18 pytorch_embedding_test.py embedding | -rw-rw-r-- 1 1000 1000 1.9K Jun 2 09:18 qiniu_mkzip.py embedding | -rw-rw-r-- 1 1000 1000 21K Jun 2 09:18 recognition.py embedding | -rw-r--r-- 1 root root 15K Jun 6 09:11 recognition.pyc embedding | -rw-rw-r-- 1 1000 1000 1.2K Jun 2 09:18 recover_db.py embedding | -rw-rw-r-- 1 1000 1000 463 Jun 2 09:18 requirements.txt embedding | -rw-rw-r-- 1 1000 1000 13 Jun 2 09:18 ro_serialno embedding | -rw-rw-r-- 1 1000 1000 48 Jun 2 09:18 start embedding | -rwxrwxr-x 1 1000 1000 2.7K Jun 2 09:18 start.sh embedding | -rwxrwxr-x 1 1000 1000 696 Jun 2 09:18 start_android_aarch64.sh embedding | -rwxrwxr-x 1 1000 1000 551 Jun 2 09:18 start_arm.sh embedding | -rwxrwxr-x 1 1000 1000 2.2K Jun 2 09:18 start_embedding_only.sh embedding | drwxrwxr-x 3 1000 1000 4.0K Jun 2 09:18 test embedding | -rw-rw-r-- 1 1000 1000 1.5K Jun 2 09:18 test.py embedding | -rw-rw-r-- 1 1000 1000 767 Jun 2 09:18 test_blur.py embedding | -rw-rw-r-- 1 1000 1000 1.3K Jun 2 09:18 test_freezed_graph.py embedding | -rw-rw-r-- 1 1000 1000 12K Jun 2 09:18 test_invariance_on_lfw.py embedding | -rw-rw-r-- 1 1000 1000 395 Jun 2 09:18 test_post.py embedding | -rw-rw-r-- 1 1000 1000 906 Jun 2 09:18 test_two.py embedding | -rwxrwxr-x 1 1000 1000 75K Jun 2 09:18 upload_api-v2.py embedding | -rwxrwxr-x 1 1000 1000 121K Jun 2 09:18 upload_api.py embedding | -rw-rw-r-- 1 1000 1000 13K Jun 2 09:18 upload_dlib.py embedding | drwxrwxr-x 2 1000 1000 4.0K Jun 6 09:11 utilslib embedding | -rw-rw-r-- 1 1000 1000 5.4K Jun 2 09:18 validate_on_lfw.py embedding | -rw-rw-r-- 1 1000 1000 6.1K Jun 2 09:18 validate_on_lfw_frozen_model.py embedding | -rw-rw-r-- 1 1000 1000 5.4K Jun 2 09:18 validate_on_lfw_frozen_model_faceprocessing.py embedding | -rw-rw-r-- 1 1000 1000 6 Jun 2 09:18 version.txt embedding | -rw-rw-r-- 1 1000 1000 5.0K Jun 2 09:18 visualize.py embedding | * Running on http://0.0.0.0:5000/ (Press CTRL+C to quit) embedding | * Restarting with stat embedding | * Debugger is active! embedding | * Debugger PIN: 662-624-045 embedding | INFO [alembic.runtime.migration] Context impl SQLiteImpl. embedding | INFO [alembic.runtime.migration] Will assume non-transactional DDL. embedding | 127.0.0.1 - - [24/Jun/2022 04:54:30] "GET /api/parameters HTTP/1.1" 200 - embedding | * Running on http://0.0.0.0:5050/ (Press CTRL+C to quit) embedding | 127.0.0.1 - - [24/Jun/2022 04:54:30] "GET /api/parameters HTTP/1.1" 200 - embedding | /usr/local/lib/python2.7/dist-packages/celery/platforms.py:796: RuntimeWarning: You're running the worker with superuser privileges: this is embedding | absolutely not recommended! embedding | embedding | Please specify a different user using the --uid option. embedding | embedding | User information: uid=0 euid=0 gid=0 egid=0 embedding | embedding | uid=uid, euid=euid, gid=gid, egid=egid, embedding | [2022-06-24 04:54:30,450: INFO/MainProcess] Connected to redis://guest@redis:6379/0 embedding | [2022-06-24 04:54:30,454: INFO/MainProcess] mingle: searching for neighbors embedding | Traceback (most recent call last): embedding | File "upload_api-v2.py", line 46, inembedding | import FaceProcessing embedding | File "/data/runtime/src/FaceProcessing.py", line 15, in embedding | import torch embedding | ImportError: No module named torch flower_1 | [W 220624 04:54:31 control:44] 'stats' inspect method failed flower_1 | [W 220624 04:54:31 control:44] 'active_queues' inspect method failed flower_1 | [W 220624 04:54:31 control:44] 'registered' inspect method failed flower_1 | [W 220624 04:54:31 control:44] 'scheduled' inspect method failed flower_1 | [W 220624 04:54:31 control:44] 'active' inspect method failed flower_1 | [W 220624 04:54:31 control:44] 'reserved' inspect method failed flower_1 | [W 220624 04:54:31 control:44] 'revoked' inspect method failed flower_1 | [W 220624 04:54:31 control:44] 'conf' inspect method failed embedding | [2022-06-24 04:54:31,466: INFO/MainProcess] mingle: all alone embedding | [2022-06-24 04:54:31,485: INFO/MainProcess] celery@classify ready. face_detector | warming up face_detector | image read = 4.752 ms face_detector | convert mat = 1.63 ms face_detector | firstBbox_.size()=77 face_detector | secondBbox_.size()=17 face_detector | thirdBbox_.size()=14 face_detector | Detection time = 234.914 ms face_detector | {"result":[{ "score" :0.999865, "bbox" : [144,57,186,99], "landmark":[ [156,71] , [171,72] , [162,80] , [156,89] , [168,89] ]},{ "score" :0.999165, "bbox" : [42,150,87,195], "landmark":[ [53,165] , [71,166] , [58,179] , [54,186] , [68,187] ]},{ "score" :0.999756, "bbox" : [575,44,626,95], "landmark":[ [591,63] , [611,63] , [600,73] , [593,84] , [608,84] ]},{ "score" :0.996146, "bbox" : [166,136,219,188], "landmark":[ [181,159] , [202,159] , [192,173] , [182,179] , [202,178] ]},{ "score" :0.999973, "bbox" : [762,172,838,247], "landmark":[ [803,202] , [823,204] , [816,219] , [800,231] , [815,231] ]},{ "score" :0.999855, "bbox" : [781,338,852,414], "landmark":[ [825,370] , [842,368] , [843,382] , [829,399] , [842,397] ]},{ "score" :0.99267, "bbox" : [34,359,108,433], "landmark":[ [57,385] , [74,390] , [51,397] , [48,413] , [60,418] ]}]} face_detector | image read = 2.856 ms face_detector | convert mat = 2.162 ms face_detector | firstBbox_.size()=77 face_detector | secondBbox_.size()=17 face_detector | thirdBbox_.size()=14 face_detector | Detection time = 202.814 ms face_detector | image read = 3.624 ms face_detector | convert mat = 1.7 ms face_detector | firstBbox_.size()=77 face_detector | secondBbox_.size()=17 face_detector | thirdBbox_.size()=14 face_detector | Detection time = 196.224 ms face_detector | image read = 3.455 ms face_detector | convert mat = 1.602 ms face_detector | firstBbox_.size()=77 face_detector | secondBbox_.size()=17 face_detector | thirdBbox_.size()=14 face_detector | Detection time = 175.288 ms face_detector | image read = 3.595 ms face_detector | convert mat = 1.212 ms face_detector | firstBbox_.size()=77 face_detector | secondBbox_.size()=17 face_detector | thirdBbox_.size()=14 face_detector | Detection time = 200.471 ms face_detector | image read = 3.433 ms face_detector | convert mat = 0.965 ms face_detector | firstBbox_.size()=77 face_detector | secondBbox_.size()=17 face_detector | thirdBbox_.size()=14 face_detector | Detection time = 191.093 ms face_detector | step 0 duration is 0.195554971695 face_detector | image read = 3.789 ms face_detector | convert mat = 1.08 ms face_detector | firstBbox_.size()=77 face_detector | secondBbox_.size()=17 face_detector | thirdBbox_.size()=14 face_detector | Detection time = 194.753 ms face_detector | step 1 duration is 0.19967508316 face_detector | image read = 3.764 ms face_detector | convert mat = 1.112 ms face_detector | firstBbox_.size()=77 face_detector | secondBbox_.size()=17 face_detector | thirdBbox_.size()=14 face_detector | Detection time = 175.599 ms face_detector | step 2 duration is 0.180533885956 face_detector | image read = 3.522 ms face_detector | convert mat = 0.697 ms face_detector | firstBbox_.size()=77 face_detector | secondBbox_.size()=17 face_detector | thirdBbox_.size()=14 face_detector | Detection time = 158.368 ms face_detector | step 3 duration is 0.162639141083 face_detector | image read = 2.764 ms face_detector | convert mat = 0.668 ms face_detector | firstBbox_.size()=77 face_detector | secondBbox_.size()=17 face_detector | thirdBbox_.size()=14 face_detector | Detection time = 142.073 ms face_detector | step 4 duration is 0.145552158356 face_detector | image read = 2.642 ms face_detector | convert mat = 0.526 ms face_detector | firstBbox_.size()=77 face_detector | secondBbox_.size()=17 face_detector | thirdBbox_.size()=14 face_detector | Detection time = 126.752 ms face_detector | step 5 duration is 0.12996006012 face_detector | image read = 2.44 ms face_detector | convert mat = 0.484 ms face_detector | firstBbox_.size()=77 face_detector | secondBbox_.size()=17 face_detector | thirdBbox_.size()=14 face_detector | Detection time = 138.357 ms face_detector | step 6 duration is 0.141320943832 face_detector | image read = 2.519 ms face_detector | convert mat = 0.528 ms face_detector | firstBbox_.size()=77 face_detector | secondBbox_.size()=17 face_detector | thirdBbox_.size()=14 face_detector | Detection time = 138.728 ms face_detector | step 7 duration is 0.141821146011 face_detector | image read = 2.625 ms face_detector | convert mat = 0.53 ms face_detector | firstBbox_.size()=77 face_detector | secondBbox_.size()=17 face_detector | thirdBbox_.size()=14 face_detector | Detection time = 139.728 ms face_detector | step 8 duration is 0.142924785614 face_detector | image read = 2.722 ms face_detector | convert mat = 0.578 ms face_detector | firstBbox_.size()=77 face_detector | secondBbox_.size()=17 face_detector | thirdBbox_.size()=14 face_detector | Detection time = 139.244 ms face_detector | step 9 duration is 0.142585992813 face_detector | {"result":[{ "score" :0.999865, "bbox" : [144,57,186,99], "landmark":[ [156,71] , [171,72] , [162,80] , [156,89] , [168,89] ]},{ "score" :0.999165, "bbox" : [42,150,87,195], "landmark":[ [53,165] , [71,166] , [58,179] , [54,186] , [68,187] ]},{ "score" :0.999756, "bbox" : [575,44,626,95], "landmark":[ [591,63] , [611,63] , [600,73] , [593,84] , [608,84] ]},{ "score" :0.996146, "bbox" : [166,136,219,188], "landmark":[ [181,159] , [202,159] , [192,173] , [182,179] , [202,178] ]},{ "score" :0.999973, "bbox" : [762,172,838,247], "landmark":[ [803,202] , [823,204] , [816,219] , [800,231] , [815,231] ]},{ "score" :0.999855, "bbox" : [781,338,852,414], "landmark":[ [825,370] , [842,368] , [843,382] , [829,399] , [842,397] ]},{ "score" :0.99267, "bbox" : [34,359,108,433], "landmark":[ [57,385] , [74,390] , [51,397] , [48,413] , [60,418] ]}]} face_detector | 480p average duration is 0.158272480965 api_server | Warning: The --production flag should only be used to simulate production api_server | bundling for testing purposes. Use meteor build to create a bundle for api_server | production deployment. See: https://guide.meteor.com/deployment.html api_server | [[[[[ ~/SharpAIMobileApp ]]]]] api_server | api_server | => Started proxy. camera | Shinobi : cron.js started camera | { Error: SQLITE_ERROR: near "10": syntax error errno: 1, code: 'SQLITE_ERROR' } camera | { Error: SQLITE_ERROR: near "10": syntax error errno: 1, code: 'SQLITE_ERROR' } face_detector | /usr/local/lib/python2.7/dist-packages/celery/platforms.py:795: RuntimeWarning: You're running the worker with superuser privileges: this is face_detector | absolutely not recommended! face_detector | face_detector | Please specify a different user using the -u option. face_detector | face_detector | User information: uid=0 euid=0 gid=0 egid=0 face_detector | face_detector | uid=uid, euid=euid, gid=gid, egid=egid, camera | NODE.JS version : v8.17.0 camera | camera | FFMPEG version : 4.2.1-static https://johnvansickle.com/ffmpeg/ camera | Shinobi - PORT : 8080 face_detector | [2022-06-24 04:54:32,801: INFO/MainProcess] Connected to redis://guest@redis:6379/0 face_detector | [2022-06-24 04:54:32,811: INFO/MainProcess] mingle: searching for neighbors embedding | [2022-06-24 04:54:32,824: INFO/MainProcess] sync with celery@detect face_detector | [2022-06-24 04:54:32,976: ERROR/ForkPoolWorker-1] Signal handler <function setup at 0x7f8965b5ce50> raised: ImportError('/root/detection/pytrt.so: cannot open shared object file: No such file or directory',) face_detector | Traceback (most recent call last): face_detector | File "/usr/local/lib/python2.7/dist-packages/celery/utils/dispatch/signal.py", line 227, in send face_detector | response = receiver(signal=self, sender=sender, **named) face_detector | File "worker.py", line 34, in setup face_detector | import detector as m face_detector | File "/root/detection/detector.py", line 11, in face_detector | from mtcnn import TrtMtcnn face_detector | File "/root/detection/mtcnn.py", line 6, in face_detector | import pytrt face_detector | ImportError: /root/detection/pytrt.so: cannot open shared object file: No such file or directory detector_plugin | npm WARN deprecated [email protected]: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797) api_server | => Started MongoDB. broker | Starting emqx on node [email protected] face_detector | [2022-06-24 04:54:33,828: INFO/MainProcess] mingle: sync with 1 nodes face_detector | [2022-06-24 04:54:33,829: INFO/MainProcess] mingle: sync complete face_detector | [2022-06-24 04:54:33,840: INFO/MainProcess] celery@detect ready. broker | Start mqtt:tcp:internal listener on 127.0.0.1:11883 successfully. broker | Start mqtt:tcp:external listener on 0.0.0.0:1883 successfully. broker | Start mqtt:ws:external listener on 0.0.0.0:8083 successfully. broker | Start mqtt:ssl:external listener on 0.0.0.0:8883 successfully. broker | Start mqtt:wss:external listener on 0.0.0.0:8084 successfully. broker | Start http:management listener on 8081 successfully. broker | 2022-06-24T04:54:33.920911+00:00 [warning] [Dashboard] Using default password for dashboard 'admin' user. Please use './bin/emqx_ctl admins' command to change it. NOTE: the default password in config file is only used to initialise the database record, changing the config file after database is initialised has no effect. broker | Start http:dashboard listener on 18083 successfully. broker | EMQ X Broker 4.4.4 is running now! camera | 2022-06-24T04:54:34+00:00 [email protected] : size check for videos : 10 588968679 camera | 2022-06-24T04:54:34+00:00 [email protected] : end of size check for videos 1/1 camera | 2022-06-24T04:54:34+00:00 all users checked, wait to close open files and remove files over user limit
camera | 2022-06-24T04:54:34+00:00 waiting to give unfinished video check some time. 3 seconds.
detector_plugin | npm WARN deprecated [email protected]: request-promise has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142 detector_plugin | npm WARN deprecated [email protected]: Chokidar 2 does not receive security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies camera | 2022-06-24T04:54:37+00:00 starting all monitors set to watch and record
camera | 2022-06-24T04:54:37+00:00 Shinobi is ready.
detector_plugin | npm WARN deprecated [email protected]: See https://github.com/lydell/source-map-resolve#deprecated detector_plugin | npm WARN deprecated [email protected]: https://github.com/lydell/resolve-url#deprecated detector_plugin | npm WARN deprecated [email protected]: Please see https://github.com/lydell/urix#deprecated detector_plugin | npm WARN deprecated [email protected]: See https://github.com/lydell/source-map-url#deprecated detector_plugin | npm WARN deprecated [email protected]: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2. detector_plugin | npm WARN saveError EBUSY: resource busy or locked, rename '/opt/nvr/detector/package.json.1850528026' -> '/opt/nvr/detector/package.json' detector_plugin | npm WARN notsup Unsupported engine for [email protected]: wanted: {"node":">= 10.0.0"} (current: {"node":"8.17.0","npm":"6.13.4"}) detector_plugin | npm WARN notsup Not compatible with your version of node/npm: [email protected] detector_plugin | npm WARN notsup Unsupported engine for [email protected]: wanted: {"node":">8 <=18"} (current: {"node":"8.17.0","npm":"6.13.4"}) detector_plugin | npm WARN notsup Not compatible with your version of node/npm: [email protected] detector_plugin | npm WARN notsup Unsupported engine for [email protected]: wanted: {"node":">= 10"} (current: {"node":"8.17.0","npm":"6.13.4"}) detector_plugin | npm WARN notsup Not compatible with your version of node/npm: [email protected] detector_plugin | npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.3.2 (node_modules/chokidar/node_modules/fsevents): detector_plugin | npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"}) detector_plugin | npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.2.7 (node_modules/watchpack-chokidar2/node_modules/chokidar/node_modules/fsevents): detector_plugin | npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"}) detector_plugin | npm WARN [email protected] requires a peer of enhanced-resolve@^3.1.0 but none is installed. You must install peer dependencies yourself. detector_plugin | npm WARN [email protected] No license field. detector_plugin | detector_plugin | added 285 packages from 190 contributors, removed 117 packages, updated 139 packages, moved 4 packages and audited 1041 packages in 19.926s detector_plugin | detector_plugin | 55 packages are looking for funding detector_plugin | runnpm fundfor details detector_plugin | detector_plugin | found 43 vulnerabilities (12 moderate, 21 high, 10 critical) detector_plugin | runnpm audit fixto fix them, ornpm auditfor details detector_plugin | Fri, 24 Jun 2022 04:54:50 GMT node-telegram-bot-api deprecated Automatic enabling of cancellation of promises is deprecated. detector_plugin | In the future, you will have to enable it yourself. detector_plugin | See https://github.com/yagop/node-telegram-bot-api/issues/319. at module.js:653:30 detector_plugin | init nedb global detector_plugin | init nedb global for gif detector_plugin | init nedb global for timeline detector_plugin | upload listerer is ready detector_plugin | wait detect queue init detector_plugin | no token for telegram bot detector_plugin | Listening on port 3000 detector_plugin | select database 15 to avoid conflict detector_plugin | sharpai bucket does not exist detector_plugin | null detector_plugin | The connection to celery cluster is connected detector_plugin | The connection to celery broker is connected detector_plugin | Bucket created successfully camera | 2022-06-24T04:54:50+00:00 pluginInitiatorSuccess { f: 'init', camera | plug: 'WorkAI', camera | notice: 'Looks like you have the Motion plugin running. Don't forget to enable Send Frames to start pushing frames to be read.', camera | type: 'detector', camera | pluginKey: 'asdfasdfasdf12341234ad79fgsx' } camera | 2022-06-24T04:54:50+00:00 Connected to plugin : Detector - WorkAI - detector
detector_plugin | API Key from server is WorkAI detector_plugin | init_monitor api_server | ddp-client: updating npm dependencies -- faye-websocket, lolex, api_server | permessage-deflate... api_server | meteor-phonegap-push: updating npm dependencies -- apn, node-gcm... api_server | mkarliner:mqtt: updating npm dependencies -- mqtt... api_server | npm-container: updating npm dependencies -- jssha, jpush-sdk, seedrandom, api_server | request, slackbots, nodemailer, aliyun-sdk, aliyun-cdi, html-minifier, api_server | frkskyweb, fibers, qr-image... minio | Exiting on signal: TERMINATED detector_plugin | uncaughtException { Error: connect ECONNREFUSED 172.18.0.4:9000 detector_plugin | at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1191:14) detector_plugin | errno: 'ECONNREFUSED', detector_plugin | code: 'ECONNREFUSED', detector_plugin | syscall: 'connect', detector_plugin | address: '172.18.0.4', detector_plugin | port: 9000 } detector_plugin | uncaughtException { Error: socket hang up detector_plugin | at createHangUpError (_http_client.js:342:15) detector_plugin | at Socket.socketCloseListener (_http_client.js:377:23) detector_plugin | at emitOne (events.js:121:20) detector_plugin | at Socket.emit (events.js:211:7) detector_plugin | at TCP._handle.close [as _onclose] (net.js:561:12) code: 'ECONNRESET' } broker | Stop http:management listener on 0.0.0.0:8081 successfully. broker | [os_mon] memory supervisor port (memsup): Erlang has closed broker | [os_mon] cpu supervisor port (cpu_sup): Erlang has closed minio exited with code 0 broker exited with code 0 api_server exited with code 137 minio | minio | You are running an older version of MinIO released 2 years ago minio | Update: Runmc admin updateminio | minio | minio | Configuration file /root/.minio/config.json migrated from version '19' to '20' successfully. minio | Configuration file /root/.minio/config.json migrated from version '20' to '21' successfully. minio | Configuration file /root/.minio/config.json migrated from version '21' to '22' successfully. minio | Configuration file /root/.minio/config.json migrated from version '22' to '23' successfully. minio | Configuration file /root/.minio/config.json migrated from version '23' to '24' successfully. minio | Configuration file /root/.minio/config.json migrated from version '24' to '25' successfully. minio | Configuration file /root/.minio/config.json migrated from version '25' to '26' successfully. minio | Configuration file /root/.minio/config.json migrated from version '26' to '27' successfully. minio | Configuration file /root/.minio/config.json migrated from version '27' to '28' successfully. minio | Configuration file config/config.json migrated from version '28' to '29' successfully. minio | Configuration file config/config.json migrated from version '29' to '30' successfully. minio | Configuration file config/config.json migrated from version '30' to '31' successfully. minio | Configuration file config/config.json migrated from version '31' to '32' successfully. minio | Configuration file config/config.json migrated from version '32' to '33' successfully. minio | Configuration file config/config.json migrated from version '33' to new KV format successfully. minio | Endpoint: http://172.19.0.3:9000 http://127.0.0.1:9000 minio | minio | Browser Access: minio | http://172.19.0.3:9000 http://127.0.0.1:9000 minio | minio | Object API (Amazon S3 compatible): minio | Go: https://docs.min.io/docs/golang-client-quickstart-guide minio | Java: https://docs.min.io/docs/java-client-quickstart-guide minio | Python: https://docs.min.io/docs/python-client-quickstart-guide minio | JavaScript: https://docs.min.io/docs/javascript-client-quickstart-guide minio | .NET: https://docs.min.io/docs/dotnet-client-quickstart-guide api_server | [[[[[ ~/apiserver ]]]]] api_server | api_server | => Started proxy. api_server | api_server | => Meteor 1.4.4.4: An important security update for Meteor 1.4.x: api_server | https://forums.meteor.com/t/meteor-allow-deny-vulnerability-disclosure/39500 api_server | api_server | => Started MongoDB. api_server | W20220624-04:59:11.586(0)? (STDERR) Note: you are using a pure-JavaScript implementation of bcrypt. api_server | W20220624-04:59:11.649(0)? (STDERR) While this implementation will work correctly, it is known to be api_server | W20220624-04:59:11.650(0)? (STDERR) approximately three times slower than the native implementation. api_server | W20220624-04:59:11.650(0)? (STDERR) In order to use the native implementation instead, run api_server | W20220624-04:59:11.650(0)? (STDERR) api_server | W20220624-04:59:11.650(0)? (STDERR) meteor npm install --save bcrypt api_server | W20220624-04:59:11.650(0)? (STDERR) api_server | W20220624-04:59:11.650(0)? (STDERR) in the root directory of your application. api_server | I20220624-04:59:13.017(0)? has global.setImmediate api_server | I20220624-04:59:13.406(0)? process.env.HTTP_FORWARDED_COUNT=1 api_server | I20220624-04:59:14.288(0)? { runId: null, api_server | I20220624-04:59:14.288(0)? type: 'offline_notify', api_server | I20220624-04:59:14.288(0)? data: { clientId: 'test_client_id' }, api_server | I20220624-04:59:14.288(0)? status: 'waiting', api_server | I20220624-04:59:14.288(0)? updated: Fri Jun 24 2022 04:59:14 GMT+0000 (UTC), api_server | I20220624-04:59:14.288(0)? created: Fri Jun 24 2022 04:59:14 GMT+0000 (UTC), api_server | I20220624-04:59:14.288(0)? priority: -10, api_server | I20220624-04:59:14.289(0)? retries: 6, api_server | I20220624-04:59:14.289(0)? repeatRetries: 6, api_server | I20220624-04:59:14.289(0)? retryWait: 60000, api_server | I20220624-04:59:14.289(0)? retried: 0, api_server | I20220624-04:59:14.289(0)? retryBackoff: 'constant', api_server | I20220624-04:59:14.289(0)? retryUntil: Sat Sep 13 275760 00:00:00 GMT+0000 (UTC), api_server | I20220624-04:59:14.289(0)? repeats: 0, api_server | I20220624-04:59:14.289(0)? repeatWait: 300000, api_server | I20220624-04:59:14.290(0)? repeated: 0, api_server | I20220624-04:59:14.290(0)? repeatUntil: Sat Sep 13 275760 00:00:00 GMT+0000 (UTC), api_server | I20220624-04:59:14.290(0)? after: Fri Jun 24 2022 05:04:14 GMT+0000 (UTC), api_server | I20220624-04:59:14.290(0)? progress: { completed: 0, total: 1, percent: 0 }, api_server | I20220624-04:59:14.290(0)? depends: [], api_server | I20220624-04:59:14.290(0)? resolved: [], api_server | I20220624-04:59:14.290(0)? log: api_server | I20220624-04:59:14.290(0)? [ { time: Fri Jun 24 2022 04:59:14 GMT+0000 (UTC), api_server | I20220624-04:59:14.290(0)? runId: null, api_server | I20220624-04:59:14.290(0)? level: 'info', api_server | I20220624-04:59:14.291(0)? message: 'Constructed' }, api_server | I20220624-04:59:14.291(0)? { time: Fri Jun 24 2022 04:59:14 GMT+0000 (UTC), api_server | I20220624-04:59:14.291(0)? runId: null, api_server | I20220624-04:59:14.291(0)? message: 'Job Submitted', api_server | I20220624-04:59:14.291(0)? level: 'info' } ], api_server | I20220624-04:59:14.291(0)? _id: 'AR7GvuvjfQbcN9jAs' } api_server | I20220624-04:59:14.297(0)? { runId: null, api_server | I20220624-04:59:14.298(0)? type: 'offline_notify', api_server | I20220624-04:59:14.298(0)? data: { clientId: 'test_client_id_1111' }, api_server | I20220624-04:59:14.298(0)? status: 'waiting', api_server | I20220624-04:59:14.298(0)? updated: Fri Jun 24 2022 04:59:14 GMT+0000 (UTC), api_server | I20220624-04:59:14.298(0)? created: Fri Jun 24 2022 04:59:14 GMT+0000 (UTC), api_server | I20220624-04:59:14.298(0)? priority: -10, api_server | I20220624-04:59:14.298(0)? retries: 6, api_server | I20220624-04:59:14.298(0)? repeatRetries: 6, api_server | I20220624-04:59:14.298(0)? retryWait: 60000, api_server | I20220624-04:59:14.299(0)? retried: 0, api_server | I20220624-04:59:14.299(0)? retryBackoff: 'constant', api_server | I20220624-04:59:14.299(0)? retryUntil: Sat Sep 13 275760 00:00:00 GMT+0000 (UTC), api_server | I20220624-04:59:14.299(0)? repeats: 0, api_server | I20220624-04:59:14.299(0)? repeatWait: 300000, api_server | I20220624-04:59:14.299(0)? repeated: 0, api_server | I20220624-04:59:14.300(0)? repeatUntil: Sat Sep 13 275760 00:00:00 GMT+0000 (UTC), api_server | I20220624-04:59:14.300(0)? after: Fri Jun 24 2022 05:04:14 GMT+0000 (UTC), api_server | I20220624-04:59:14.300(0)? progress: { completed: 0, total: 1, percent: 0 }, api_server | I20220624-04:59:14.300(0)? depends: [], api_server | I20220624-04:59:14.300(0)? resolved: [], api_server | I20220624-04:59:14.300(0)? log: api_server | I20220624-04:59:14.300(0)? [ { time: Fri Jun 24 2022 04:59:14 GMT+0000 (UTC), api_server | I20220624-04:59:14.300(0)? runId: null, api_server | I20220624-04:59:14.300(0)? level: 'info', api_server | I20220624-04:59:14.300(0)? message: 'Constructed' }, api_server | I20220624-04:59:14.300(0)? { time: Fri Jun 24 2022 04:59:14 GMT+0000 (UTC), api_server | I20220624-04:59:14.301(0)? runId: null, api_server | I20220624-04:59:14.301(0)? message: 'Job Submitted', api_server | I20220624-04:59:14.301(0)? level: 'info' } ], api_server | I20220624-04:59:14.301(0)? _id: 'gZFxP7xjoA5vX5qMw' } api_server | I20220624-04:59:14.794(0)? [ { _id: 'AR7GvuvjfQbcN9jAs', api_server | I20220624-04:59:14.795(0)? runId: null, api_server | I20220624-04:59:14.795(0)? type: 'offline_notify', api_server | I20220624-04:59:14.795(0)? data: { clientId: 'test_client_id' }, api_server | I20220624-04:59:14.795(0)? status: 'waiting', api_server | I20220624-04:59:14.796(0)? updated: Fri Jun 24 2022 04:59:14 GMT+0000 (UTC), api_server | I20220624-04:59:14.796(0)? created: Fri Jun 24 2022 04:59:14 GMT+0000 (UTC), api_server | I20220624-04:59:14.796(0)? priority: -10, api_server | I20220624-04:59:14.797(0)? retries: 6, api_server | I20220624-04:59:14.797(0)? repeatRetries: 6, api_server | I20220624-04:59:14.797(0)? retryWait: 60000, api_server | I20220624-04:59:14.797(0)? retried: 0, api_server | I20220624-04:59:14.798(0)? retryBackoff: 'constant', api_server | I20220624-04:59:14.798(0)? retryUntil: Sat Sep 13 275760 00:00:00 GMT+0000 (UTC), api_server | I20220624-04:59:14.798(0)? repeats: 0, api_server | I20220624-04:59:14.798(0)? repeatWait: 300000, api_server | I20220624-04:59:14.799(0)? repeated: 0, api_server | I20220624-04:59:14.799(0)? repeatUntil: Sat Sep 13 275760 00:00:00 GMT+0000 (UTC), api_server | I20220624-04:59:14.799(0)? after: Fri Jun 24 2022 05:04:14 GMT+0000 (UTC), api_server | I20220624-04:59:14.799(0)? progress: { completed: 0, total: 1, percent: 0 }, api_server | I20220624-04:59:14.800(0)? depends: [], api_server | I20220624-04:59:14.800(0)? resolved: [], api_server | I20220624-04:59:14.800(0)? log: [ [Object], [Object] ] } ] api_server | I20220624-04:59:14.944(0)? [] api_server | I20220624-04:59:18.331(0)? ----setup smtp server--- api_server | I20220624-04:59:18.340(0) (percolate_synced-cron.js:87) SyncedCron: Scheduled "send report email 12:00 am every day" next run @Fri Jun 24 2022 04:59:18 GMT+0000 (UTC) api_server | => Started your app. api_server | api_server | => App running at: http://localhost:3000/ api_server | I20220624-05:00:00.008(0) (percolate_synced-cron.js:87) SyncedCron: Starting "send report email 12:00 am every day". api_server | I20220624-05:00:00.011(0)? send email out api_server | I20220624-05:00:00.012(0) (percolate_synced-cron.js:87) SyncedCron: Finished "send report email 12:00 am every day". api_server | I20220624-05:04:29.353(0)? send offline notification api_server | I20220624-05:04:29.354(0)? { clientId: 'test_client_id_1111' } api_server | I20220624-05:04:29.355(0)? send offline notification to test_client_id_1111
Systems logs while running sudo ./start-cloud.sh start:
starting...
Stopping api_server ... done
Stopping broker ... done
Stopping minio ... done
WARNING: Found orphan containers (redis, embedding, face_detector, detector_plugin, docker_flower_1, camera) for this project. If you removed or renamed this service in your compose file, you can run this command with the --remove-orphans flag to clean it up.
Recreating minio ... done
Recreating broker ... done
Recreating api_server ... done
Attaching to minio, broker, api_server
minio |
minio | You are running an older version of MinIO released 2 years ago
minio | Update: Run mc admin update
minio |
minio |
minio | Configuration file /root/.minio/config.json migrated from version '19' to '20' successfully.
minio | Configuration file /root/.minio/config.json migrated from version '20' to '21' successfully.
minio | Configuration file /root/.minio/config.json migrated from version '21' to '22' successfully.
minio | Configuration file /root/.minio/config.json migrated from version '22' to '23' successfully.
minio | Configuration file /root/.minio/config.json migrated from version '23' to '24' successfully.
minio | Configuration file /root/.minio/config.json migrated from version '24' to '25' successfully.
minio | Configuration file /root/.minio/config.json migrated from version '25' to '26' successfully.
minio | Configuration file /root/.minio/config.json migrated from version '26' to '27' successfully.
minio | Configuration file /root/.minio/config.json migrated from version '27' to '28' successfully.
minio | Configuration file config/config.json migrated from version '28' to '29' successfully.
minio | Configuration file config/config.json migrated from version '29' to '30' successfully.
minio | Configuration file config/config.json migrated from version '30' to '31' successfully.
minio | Configuration file config/config.json migrated from version '31' to '32' successfully.
minio | Configuration file config/config.json migrated from version '32' to '33' successfully.
minio | Configuration file config/config.json migrated from version '33' to new KV format successfully.
minio | Endpoint: http://172.19.0.3:9000 http://127.0.0.1:9000
minio |
minio | Browser Access:
minio | http://172.19.0.3:9000 http://127.0.0.1:9000
minio |
minio | Object API (Amazon S3 compatible):
minio | Go: https://docs.min.io/docs/golang-client-quickstart-guide
minio | Java: https://docs.min.io/docs/java-client-quickstart-guide
minio | Python: https://docs.min.io/docs/python-client-quickstart-guide
minio | JavaScript: https://docs.min.io/docs/javascript-client-quickstart-guide
minio | .NET: https://docs.min.io/docs/dotnet-client-quickstart-guide
api_server | [[[[[ ~/apiserver ]]]]]
api_server |
api_server | => Started proxy.
api_server |
api_server | => Meteor 1.4.4.4: An important security update for Meteor 1.4.x:
api_server | https://forums.meteor.com/t/meteor-allow-deny-vulnerability-disclosure/39500
api_server |
api_server | => Started MongoDB.
api_server | W20220624-04:59:11.586(0)? (STDERR) Note: you are using a pure-JavaScript implementation of bcrypt.
api_server | W20220624-04:59:11.649(0)? (STDERR) While this implementation will work correctly, it is known to be
api_server | W20220624-04:59:11.650(0)? (STDERR) approximately three times slower than the native implementation.
api_server | W20220624-04:59:11.650(0)? (STDERR) In order to use the native implementation instead, run
api_server | W20220624-04:59:11.650(0)? (STDERR)
api_server | W20220624-04:59:11.650(0)? (STDERR) meteor npm install --save bcrypt
api_server | W20220624-04:59:11.650(0)? (STDERR)
api_server | W20220624-04:59:11.650(0)? (STDERR) in the root directory of your application.
api_server | I20220624-04:59:13.017(0)? has global.setImmediate
api_server | I20220624-04:59:13.406(0)? process.env.HTTP_FORWARDED_COUNT=1
api_server | I20220624-04:59:14.288(0)? { runId: null,
api_server | I20220624-04:59:14.288(0)? type: 'offline_notify',
api_server | I20220624-04:59:14.288(0)? data: { clientId: 'test_client_id' },
api_server | I20220624-04:59:14.288(0)? status: 'waiting',
api_server | I20220624-04:59:14.288(0)? updated: Fri Jun 24 2022 04:59:14 GMT+0000 (UTC),
api_server | I20220624-04:59:14.288(0)? created: Fri Jun 24 2022 04:59:14 GMT+0000 (UTC),
api_server | I20220624-04:59:14.288(0)? priority: -10,
api_server | I20220624-04:59:14.289(0)? retries: 6,
api_server | I20220624-04:59:14.289(0)? repeatRetries: 6,
api_server | I20220624-04:59:14.289(0)? retryWait: 60000,
api_server | I20220624-04:59:14.289(0)? retried: 0,
api_server | I20220624-04:59:14.289(0)? retryBackoff: 'constant',
api_server | I20220624-04:59:14.289(0)? retryUntil: Sat Sep 13 275760 00:00:00 GMT+0000 (UTC),
api_server | I20220624-04:59:14.289(0)? repeats: 0,
api_server | I20220624-04:59:14.289(0)? repeatWait: 300000,
api_server | I20220624-04:59:14.290(0)? repeated: 0,
api_server | I20220624-04:59:14.290(0)? repeatUntil: Sat Sep 13 275760 00:00:00 GMT+0000 (UTC),
api_server | I20220624-04:59:14.290(0)? after: Fri Jun 24 2022 05:04:14 GMT+0000 (UTC),
api_server | I20220624-04:59:14.290(0)? progress: { completed: 0, total: 1, percent: 0 },
api_server | I20220624-04:59:14.290(0)? depends: [],
api_server | I20220624-04:59:14.290(0)? resolved: [],
api_server | I20220624-04:59:14.290(0)? log:
api_server | I20220624-04:59:14.290(0)? [ { time: Fri Jun 24 2022 04:59:14 GMT+0000 (UTC),
api_server | I20220624-04:59:14.290(0)? runId: null,
api_server | I20220624-04:59:14.290(0)? level: 'info',
api_server | I20220624-04:59:14.291(0)? message: 'Constructed' },
api_server | I20220624-04:59:14.291(0)? { time: Fri Jun 24 2022 04:59:14 GMT+0000 (UTC),
api_server | I20220624-04:59:14.291(0)? runId: null,
api_server | I20220624-04:59:14.291(0)? message: 'Job Submitted',
api_server | I20220624-04:59:14.291(0)? level: 'info' } ],
api_server | I20220624-04:59:14.291(0)? _id: 'AR7GvuvjfQbcN9jAs' }
api_server | I20220624-04:59:14.297(0)? { runId: null,
api_server | I20220624-04:59:14.298(0)? type: 'offline_notify',
api_server | I20220624-04:59:14.298(0)? data: { clientId: 'test_client_id_1111' },
api_server | I20220624-04:59:14.298(0)? status: 'waiting',
api_server | I20220624-04:59:14.298(0)? updated: Fri Jun 24 2022 04:59:14 GMT+0000 (UTC),
api_server | I20220624-04:59:14.298(0)? created: Fri Jun 24 2022 04:59:14 GMT+0000 (UTC),
api_server | I20220624-04:59:14.298(0)? priority: -10,
api_server | I20220624-04:59:14.298(0)? retries: 6,
api_server | I20220624-04:59:14.298(0)? repeatRetries: 6,
api_server | I20220624-04:59:14.298(0)? retryWait: 60000,
api_server | I20220624-04:59:14.299(0)? retried: 0,
api_server | I20220624-04:59:14.299(0)? retryBackoff: 'constant',
api_server | I20220624-04:59:14.299(0)? retryUntil: Sat Sep 13 275760 00:00:00 GMT+0000 (UTC),
api_server | I20220624-04:59:14.299(0)? repeats: 0,
api_server | I20220624-04:59:14.299(0)? repeatWait: 300000,
api_server | I20220624-04:59:14.299(0)? repeated: 0,
api_server | I20220624-04:59:14.300(0)? repeatUntil: Sat Sep 13 275760 00:00:00 GMT+0000 (UTC),
api_server | I20220624-04:59:14.300(0)? after: Fri Jun 24 2022 05:04:14 GMT+0000 (UTC),
api_server | I20220624-04:59:14.300(0)? progress: { completed: 0, total: 1, percent: 0 },
api_server | I20220624-04:59:14.300(0)? depends: [],
api_server | I20220624-04:59:14.300(0)? resolved: [],
api_server | I20220624-04:59:14.300(0)? log:
api_server | I20220624-04:59:14.300(0)? [ { time: Fri Jun 24 2022 04:59:14 GMT+0000 (UTC),
api_server | I20220624-04:59:14.300(0)? runId: null,
api_server | I20220624-04:59:14.300(0)? level: 'info',
api_server | I20220624-04:59:14.300(0)? message: 'Constructed' },
api_server | I20220624-04:59:14.300(0)? { time: Fri Jun 24 2022 04:59:14 GMT+0000 (UTC),
api_server | I20220624-04:59:14.301(0)? runId: null,
api_server | I20220624-04:59:14.301(0)? message: 'Job Submitted',
api_server | I20220624-04:59:14.301(0)? level: 'info' } ],
api_server | I20220624-04:59:14.301(0)? _id: 'gZFxP7xjoA5vX5qMw' }
api_server | I20220624-04:59:14.794(0)? [ { _id: 'AR7GvuvjfQbcN9jAs',
api_server | I20220624-04:59:14.795(0)? runId: null,
api_server | I20220624-04:59:14.795(0)? type: 'offline_notify',
api_server | I20220624-04:59:14.795(0)? data: { clientId: 'test_client_id' },
api_server | I20220624-04:59:14.795(0)? status: 'waiting',
api_server | I20220624-04:59:14.796(0)? updated: Fri Jun 24 2022 04:59:14 GMT+0000 (UTC),
api_server | I20220624-04:59:14.796(0)? created: Fri Jun 24 2022 04:59:14 GMT+0000 (UTC),
api_server | I20220624-04:59:14.796(0)? priority: -10,
api_server | I20220624-04:59:14.797(0)? retries: 6,
api_server | I20220624-04:59:14.797(0)? repeatRetries: 6,
api_server | I20220624-04:59:14.797(0)? retryWait: 60000,
api_server | I20220624-04:59:14.797(0)? retried: 0,
api_server | I20220624-04:59:14.798(0)? retryBackoff: 'constant',
api_server | I20220624-04:59:14.798(0)? retryUntil: Sat Sep 13 275760 00:00:00 GMT+0000 (UTC),
api_server | I20220624-04:59:14.798(0)? repeats: 0,
api_server | I20220624-04:59:14.798(0)? repeatWait: 300000,
api_server | I20220624-04:59:14.799(0)? repeated: 0,
api_server | I20220624-04:59:14.799(0)? repeatUntil: Sat Sep 13 275760 00:00:00 GMT+0000 (UTC),
api_server | I20220624-04:59:14.799(0)? after: Fri Jun 24 2022 05:04:14 GMT+0000 (UTC),
api_server | I20220624-04:59:14.799(0)? progress: { completed: 0, total: 1, percent: 0 },
api_server | I20220624-04:59:14.800(0)? depends: [],
api_server | I20220624-04:59:14.800(0)? resolved: [],
api_server | I20220624-04:59:14.800(0)? log: [ [Object], [Object] ] } ]
api_server | I20220624-04:59:14.944(0)? []
api_server | I20220624-04:59:18.331(0)? ----setup smtp server---
api_server | I20220624-04:59:18.340(0) (percolate_synced-cron.js:87) SyncedCron: Scheduled "send report email 12:00 am every day" next run @Fri Jun 24 2022 04:59:18 GMT+0000 (UTC)
api_server | => Started your app.
api_server |
api_server | => App running at: http://localhost:3000/
api_server | I20220624-05:00:00.008(0) (percolate_synced-cron.js:87) SyncedCron: Starting "send report email 12:00 am every day".
api_server | I20220624-05:00:00.011(0)? send email out
api_server | I20220624-05:00:00.012(0) (percolate_synced-cron.js:87) SyncedCron: Finished "send report email 12:00 am every day".
api_server | I20220624-05:04:29.353(0)? send offline notification
api_server | I20220624-05:04:29.354(0)? { clientId: 'test_client_id_1111' }
api_server | I20220624-05:04:29.355(0)? send offline notification to test_client_id_1111
@KenaHemnani For running on X86 Linux, you need checkout master branch, please make another clean folder to have master branch, then run the command again. When you use X86 version, after you configure camera connection, you can go to localhost:3000 for GUI.
@solderzzc Thank you for clarifying this. I have made a new folder and clone the repo and switched to master branch.
Following are System logs while running sudo ./run-on-linux.sh start:

Following are Systems logs while running sudo ./start-cloud.sh start:

Going to localhost:3000 using http://localhost:3000/
Then this url is not working:

Also, I have tried doing API_SERVER_ADDRESS=127.0.0.1 in servers.env. But the api could not run. Also, let me know what should be variables values in aws.env and servers.env files.
@KenaHemnani you only need to run sudo run-on-linux.sh start, it takes several minutes to install dependencies as you already observed. You don't need to run start-cloud.sh if you have already launched with run-on-linux.sh. You don't have to modify servers.env. To load image on gui, you need configure AWS_READABLE_PREFIX=http://minio:9000/faces/ in aws.env, you only need to change AWS_READABLE_PREFIX=http://<IP_ADDR>:9000/faces/ IP_ADDR is an address you can access when you are using browser to open server running at.
Hi @solderzzc, Thank you for the response. After the above suggested changes I am able to see detection result via. message on GUI at http://165.232.62.29:3000/message sayin "AI saw kena", since it was previously labelled on cloud when minio was running at <IP_ADDR>=165.232.62.29 i.e, AWS_READABLE_PREFIX. But, I am not able to see images over "Name Unknown" tab at GUI first page(It shows gray images). Also I am not able to label them. How to label and train model on linux system?
@KenaHemnani can you share your configuration files with modification?
Hi @solderzzc ,Thank you for your response. Following are the configuration files modified:
aws.env AWS_END_POINT=165.232.62.29 AWS_PORT=9000 AWS_USE_SSL=false AWS_ACCESS_KEY=QUA2IU17RHOKE6NUZ7T2 AWS_SECRET_KEY=MQniMc5K3lsRbv9OPaUbJN9ft2eTQJ1rh4Yx6C17 AWS_BUCKET=faces AWS_READABLE_PREFIX=http://192.168.0.71:9000/faces/
servers.env MQTT_BROKER_ADDRESS=165.232.62.29 MQTT_BROKER_PORT=1883 MQTT_BROKER_TRANSPORT=tcp API_SERVER_ADDRESS=165.232.62.29 API_SERVER_PORT=3000
@KenaHemnani It's caused by server address mismatching, the IP address of AWS_END_POINT and AWS_READABLE_PREFIX must be the same.
AWS_END_POINT=165.232.62.29
AWS_READABLE_PREFIX=http://192.168.0.71:9000/faces/
@solderzzc ,Thank your for the response. After changing aws.env as following:
AWS_END_POINT=192.168.0.71 AWS_PORT=9000 AWS_USE_SSL=false AWS_ACCESS_KEY=QUA2IU17RHOKE6NUZ7T2 AWS_SECRET_KEY=MQniMc5K3lsRbv9OPaUbJN9ft2eTQJ1rh4Yx6C17 AWS_BUCKET=faces AWS_READABLE_PREFIX=http://192.168.0.71:9000/faces/
I am able to see the captured images at minio http://192.168.0.71:9000/faces/ . But, in the GUI the images are still showing up gray over 'Name Unknown' and 'Timeline' though it is detecting faces and giving message 'AI saw
@KenaHemnani You should be able to get a clean environment by deleting all docker and local files, then you can use the clean local deployment from the beginning. Make sure you have created faces bucket with your minio server. The model will be trained again when you label them with the local deployment again. If it still not works, you can attach browser inspector log here. Whenever you label an image, a transfer learning script will be called and your local model will be updated.
Hi @solderzzc , Thank you for the response. I have deleted docker and intsalled again and run everything from start. Case-I: For below configuration files: aws.env: AWS_PORT=9000 AWS_READABLE_PREFIX=http://192.168.0.71:9000/faces/
servers.env: MQTT_BROKER_ADDRESS=192.168.0.71 MQTT_BROKER_PORT=1883 MQTT_BROKER_TRANSPORT=tcp API_SERVER_ADDRESS=192.168.0.71 API_SERVER_PORT=3000
Then the terminal is saying app is running at localhost:8000:
Browser inspect: (at http://localhost:3000)

Case-II: When running only ./run-on-linux.sh with above configuration of aws.env and following servers.env: MQTT_BROKER_ADDRESS=165.232.62.29 MQTT_BROKER_PORT=1883 MQTT_BROKER_TRANSPORT=tcp API_SERVER_ADDRESS=165.232.62.29 API_SERVER_PORT=3000
Browser inspect at (at http://165.232.62.29:3000/)
Continuing...

**Here, we can see images but they are gray and cannot label it.
Also, how to run the GUI at localhost:3000 ???**
Issue 1: Your local browser should be point to http://192.168.0.71:3000 to get your local label interface work.
Issue 2: If your api server is set to cloud server, you should also change aws.env to upload image to the cloud server to get rid of cross domain issue.
Hi @solderzzc , Thank you for the response. In continuation to issue-1: I am Still getting the error. Please let me know what else is required.

Private local deployment is not supported for open-source version. please use cloud server.
The installation pain point was solved by the latest release, now you can use command line to install application:
sharpai-cli deepcamera start
Hi @KenaHemnani
SharpAI team decided to bring local deployment with sharpai-cli based on your feedback:
https://github.com/SharpAI/DeepCamera/blob/master/README.md#local-deployment-is-ready-for-testing-now