You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I followed the instruction of running compreface via docker compose, but the ui is not update or change when I click some button like login/register. The url is changed already, I have to refresh manually to see the updated UI.
To Reproduce
Steps to reproduce the behavior:
Visit the deployed the site url
Click register or login
Expected behavior
The UI should work as expected.
If applicable, add screenshots to help explain your problem.
msedge_n2O5gdPHXI.mp4
Desktop (please complete the following information):
OS: Windows
Browser Edge 125
Version 11
Logs
Run those commands and attach result to the ticket:
Details
[root@ha-master-1 ~]# cd app/compreface/
[root@ha-master-1 compreface]# cat docker-compose.yml
version: '3.4'
volumes:
postgres-data:
services:
compreface-postgres-db:
image: ${registry}compreface-postgres-db:${POSTGRES_VERSION}
restart: always
container_name: "compreface-postgres-db"
environment:
- POSTGRES_USER=${postgres_username}
- POSTGRES_PASSWORD=${postgres_password}
- POSTGRES_DB=${postgres_db}
volumes:
- postgres-data:/var/lib/postgresql/data
compreface-admin:
restart: always
image: ${registry}compreface-admin:${ADMIN_VERSION}
container_name: "compreface-admin"
environment:
- POSTGRES_USER=${postgres_username}
- POSTGRES_PASSWORD=${postgres_password}
- POSTGRES_URL=jdbc:postgresql://${postgres_domain}:${postgres_port}/${postgres_db}
- SPRING_PROFILES_ACTIVE=dev
- ENABLE_EMAIL_SERVER=${enable_email_server}
- EMAIL_HOST=${email_host}
- EMAIL_USERNAME=${email_username}
- EMAIL_FROM=${email_from}
- EMAIL_PASSWORD=${email_password}
- ADMIN_JAVA_OPTS=${compreface_admin_java_options}
- MAX_FILE_SIZE=${max_file_size}
- MAX_REQUEST_SIZE=${max_request_size}B
depends_on:
- compreface-postgres-db
- compreface-api
compreface-api:
restart: always
image: ${registry}compreface-api:${API_VERSION}
container_name: "compreface-api"
depends_on:
- compreface-postgres-db
environment:
- POSTGRES_USER=${postgres_username}
- POSTGRES_PASSWORD=${postgres_password}
- POSTGRES_URL=jdbc:postgresql://${postgres_domain}:${postgres_port}/${postgres_db}
- SPRING_PROFILES_ACTIVE=dev
- API_JAVA_OPTS=${compreface_api_java_options}
- SAVE_IMAGES_TO_DB=${save_images_to_db}
- MAX_FILE_SIZE=${max_file_size}
- MAX_REQUEST_SIZE=${max_request_size}B
- CONNECTION_TIMEOUT=${connection_timeout:-10000}
- READ_TIMEOUT=${read_timeout:-60000}
compreface-fe:
restart: always
image: ${registry}compreface-fe:${FE_VERSION}
container_name: "compreface-ui"
ports:
- "30001:80"
depends_on:
- compreface-api
- compreface-admin
environment:
- CLIENT_MAX_BODY_SIZE=${max_request_size}
- PROXY_READ_TIMEOUT=${read_timeout:-60000}ms
- PROXY_CONNECT_TIMEOUT=${connection_timeout:-10000}ms
compreface-core:
restart: always
image: ${registry}compreface-core:${CORE_VERSION}
container_name: "compreface-core"
environment:
- ML_PORT=3000
- IMG_LENGTH_LIMIT=${max_detect_size}
- UWSGI_PROCESSES=${uwsgi_processes:-2}
- UWSGI_THREADS=${uwsgi_threads:-1}
healthcheck:
test: curl --fail http://localhost:3000/healthcheck || exit 1
interval: 10s
retries: 0
start_period: 0s
timeout: 1s
[root@ha-master-1 compreface]# docker -v
Docker version 26.1.2, build 211e74b
[root@ha-master-1 compreface]# docker compose ps
WARN[0000] /root/app/compreface/docker-compose.yml: `version` is obsolete
NAME IMAGE COMMAND SERVICE CREATED STATUS PORTS
compreface-admin exadel/compreface-admin:1.2.0 "sh -c 'java $ADMIN_…" compreface-admin 9 hours ago Up 9 hours
compreface-api exadel/compreface-api:1.2.0 "sh -c 'java $API_JA…" compreface-api 9 hours ago Up 9 hours
compreface-core exadel/compreface-core:1.2.0 "uwsgi --ini uwsgi.i…" compreface-core 9 hours ago Up 9 hours (healthy) 3000/tcp
compreface-postgres-db exadel/compreface-postgres-db:1.2.0 "docker-entrypoint.s…" compreface-postgres-db 9 hours ago Up 9 hours 5432/tcp
compreface-ui exadel/compreface-fe:1.2.0 "/docker-entrypoint.…" compreface-fe 9 hours ago Up 9 hours 0.0.0.0:30001->80/tcp, :::30001->80/tcp
[root@ha-master-1 compreface]#
[root@ha-master-1 compreface]# docker compose logs
......
compreface-postgres-db | fixing permissions on existing directory /var/lib/postgresql/data ... ok
compreface-postgres-db | creating subdirectories ... ok
compreface-postgres-db | selecting default max_connections ... 100
compreface-postgres-db | selecting default shared_buffers ... 128MB
compreface-postgres-db | selecting default timezone ... Etc/UTC
compreface-postgres-db | selecting dynamic shared memory implementation ... posix
compreface-postgres-db | creating configuration files ... ok
compreface-postgres-db | running bootstrap script ... ok
compreface-postgres-db | performing post-bootstrap initialization ... ok
compreface-postgres-db | syncing data to disk ... ok
compreface-postgres-db |
compreface-postgres-db |
compreface-postgres-db | WARNING: enabling "trust" authentication for local connections
compreface-postgres-db | You can change this by editing pg_hba.conf or using the option -A, or
compreface-postgres-db | --auth-local and --auth-host, the next time you run initdb.
compreface-postgres-db | Success. You can now start the database server using:
compreface-postgres-db |
compreface-postgres-db | pg_ctl -D /var/lib/postgresql/data -l logfile start
compreface-postgres-db |
compreface-postgres-db | waiting for server to start....2024-06-05 07:20:54.211 UTC [44] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
compreface-postgres-db | 2024-06-05 07:20:54.236 UTC [45] LOG: database system was shut down at 2024-06-05 07:20:53 UTC
compreface-postgres-db | 2024-06-05 07:20:54.284 UTC [44] LOG: database system is ready to accept connections
compreface-postgres-db | done
compreface-postgres-db | server started
compreface-postgres-db | CREATE DATABASE
compreface-postgres-db |
compreface-postgres-db |
compreface-postgres-db | /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/initdb.sql
compreface-postgres-db | CREATE EXTENSION
compreface-postgres-db |
compreface-postgres-db |
compreface-postgres-db | 2024-06-05 07:20:55.353 UTC [44] LOG: received fast shutdown request
compreface-postgres-db | waiting for server to shut down....2024-06-05 07:20:55.356 UTC [44] LOG: aborting any active transactions
compreface-postgres-db | 2024-06-05 07:20:55.357 UTC [44] LOG: background worker "logical replication launcher" (PID 51) exited with exit code 1
compreface-postgres-db | 2024-06-05 07:20:55.358 UTC [46] LOG: shutting down
compreface-postgres-db | 2024-06-05 07:20:55.551 UTC [44] LOG: database system is shut down
compreface-postgres-db | done
compreface-postgres-db | server stopped
compreface-postgres-db |
compreface-postgres-db | PostgreSQL init process complete; ready for start up.
compreface-postgres-db |
compreface-postgres-db | 2024-06-05 07:20:55.564 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432
compreface-postgres-db | 2024-06-05 07:20:55.564 UTC [1] LOG: listening on IPv6 address "::", port 5432
compreface-postgres-db | 2024-06-05 07:20:55.567 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
compreface-postgres-db | 2024-06-05 07:20:55.580 UTC [71] LOG: database system was shut down at 2024-06-05 07:20:55 UTC
compreface-postgres-db | 2024-06-05 07:20:55.585 UTC [1] LOG: database system is ready to accept connections
compreface-postgres-db | 2024-06-05 07:21:00.813 UTC [78] ERROR: relation "public.databasechangeloglock" does not exist at character 22
compreface-ui | 192.168.240.1 - - [05/Jun/2024:15:49:08 +0000] "GET /admin/config HTTP/1.0" 200 48 "https://compreface.app.ynu.edu.cn/[email protected]&password=eric_0108" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36 uacq"
compreface-ui | 192.168.240.1 - - [05/Jun/2024:15:49:08 +0000] "GET /assets/img/face-recognition-logo.svg HTTP/1.0" 200 7063 "https://compreface.app.ynu.edu.cn/[email protected]&password=eric_0108" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36 uacq"
compreface-ui | 192.168.240.1 - - [05/Jun/2024:15:49:08 +0000] "GET /assets/img/icons/search.svg HTTP/1.0" 200 267 "https://compreface.app.ynu.edu.cn/[email protected]&password=eric_0108" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36 uacq"
compreface-ui | 192.168.240.1 - - [05/Jun/2024:15:49:08 +0000] "GET /admin/user/roles HTTP/1.0" 200 134 "https://compreface.app.ynu.edu.cn/[email protected]&password=eric_0108" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36 uacq"
compreface-ui | 192.168.240.1 - - [05/Jun/2024:15:49:08 +0000] "GET /admin/apps HTTP/1.0" 200 160 "https://compreface.app.ynu.edu.cn/[email protected]&password=eric_0108" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36 uacq"
compreface-ui | 192.168.240.1 - - [05/Jun/2024:15:49:08 +0000] "GET /assets/img/face-recognition-logo-mobile.svg HTTP/1.0" 200 1862 "https://compreface.app.ynu.edu.cn/[email protected]&password=eric_0108" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36 uacq"
compreface-ui | 192.168.240.1 - - [05/Jun/2024:15:49:08 +0000] "GET /assets/img/avatar.svg HTTP/1.0" 200 623 "https://compreface.app.ynu.edu.cn/[email protected]&password=eric_0108" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36 uacq"
compreface-ui | 192.168.240.1 - - [05/Jun/2024:15:49:08 +0000] "GET /assets/img/icons/user-icon.svg HTTP/1.0" 200 2032 "https://compreface.app.ynu.edu.cn/[email protected]&password=eric_0108" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36 uacq"
compreface-ui | 192.168.240.1 - - [05/Jun/2024:15:49:26 +0000] "GET /2-es2015.783ea6da78f489a54411.js HTTP/1.0" 200 9329 "https://compreface.app.ynu.edu.cn/[email protected]&password=eric_0108" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36 uacq"
compreface-ui | 192.168.240.1 - - [05/Jun/2024:15:49:26 +0000] "GET /11-es2015.ab71c004dc41d01afdfa.js HTTP/1.0" 200 7634 "https://compreface.app.ynu.edu.cn/[email protected]&password=eric_0108" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36 uacq"
compreface-ui | 192.168.240.1 - - [05/Jun/2024:15:53:46 +0000] "GET /[email protected]&password=eric_0108 HTTP/1.0" 200 1066 "https://compreface.app.ynu.edu.cn/application?app=00000000-0000-0000-0000-000000000001" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36 uacq"
compreface-ui | 192.168.240.1 - - [05/Jun/2024:15:54:08 +0000] "GET /assets/img/icons/settings.svg HTTP/1.0" 200 4568 "https://compreface.app.ynu.edu.cn/application?app=00000000-0000-0000-0000-000000000001" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36 uacq"
compreface-ui | 192.168.240.1 - - [05/Jun/2024:15:54:08 +0000] "GET /admin/user/roles HTTP/1.0" 200 134 "https://compreface.app.ynu.edu.cn/application?app=00000000-0000-0000-0000-000000000001" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36 uacq"
compreface-ui | 192.168.240.1 - - [05/Jun/2024:15:54:09 +0000] "GET /admin/app/00000000-0000-0000-0000-000000000001/roles HTTP/1.0" 200 134 "https://compreface.app.ynu.edu.cn/application?app=00000000-0000-0000-0000-000000000001" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36 uacq"
compreface-ui | 192.168.240.1 - CommonClientId [05/Jun/2024:15:54:09 +0000] "POST /admin/oauth/token?grant_type=refresh_token&scope=all HTTP/1.0" 200 148 "https://compreface.app.ynu.edu.cn/application?app=00000000-0000-0000-0000-000000000001" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36 uacq"
compreface-ui | 192.168.240.1 - - [05/Jun/2024:15:54:09 +0000] "GET /admin/app/00000000-0000-0000-0000-000000000001/models HTTP/1.0" 200 174 "https://compreface.app.ynu.edu.cn/application?app=00000000-0000-0000-0000-000000000001" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36 uacq"
......
compreface-admin | 2024-06-05 07:21:08.372 INFO 7 --- [ main] s.d.s.w.s.ApiListingReferenceScanner : Scanning for api listing references
compreface-admin | 2024-06-05 07:21:08.557 INFO 7 --- [ main] .d.s.w.r.o.CachingOperationNameGenerator : Generating unique operation named: regenerateApiKeyUsingPUT_1
compreface-admin | 2024-06-05 07:21:08.648 INFO 7 --- [ main] com.exadel.frs.FrsApplication : Started FrsApplication in 13.612 seconds (JVM running for 14.424)
compreface-admin | 2024-06-05 07:34:04.813 INFO 7 --- [nio-8080-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet'
compreface-admin | 2024-06-05 07:34:04.813 INFO 7 --- [nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet'
compreface-admin | 2024-06-05 07:34:04.816 INFO 7 --- [nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 2 ms
compreface-admin | 2024-06-05 15:47:37.311 INFO 7 --- [nio-8080-exec-6] com.exadel.frs.service.UserService : Demo user update with userCreateDto: UserCreateDto([email protected], firstName=donghua, lastName=liu, password=eric_0108, isAllowStatistics=true)
compreface-admin | 2024-06-05 15:47:37.436 INFO 7 --- [nio-8080-exec-6] c.e.f.c.a.StatisticsCollectionAspect : Request to send statistics in background
compreface-admin | 2024-06-05 15:47:40.211 INFO 7 --- [nio-8080-exec-7] o.s.s.o.p.token.store.JdbcTokenStore : Failed to find access token
compreface-admin | 2024-06-05 15:48:51.708 INFO 7 --- [nio-8080-exec-8] o.s.s.o.p.token.store.JdbcTokenStore : Failed to find access token
compreface-admin | 2024-06-05 15:54:09.009 INFO 7 --- [nio-8080-exec-6] o.s.s.o.p.token.store.JdbcTokenStore : Failed to find access token
[root@ha-master-1 compreface]#
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
Describe the bug
Hi, I followed the instruction of running compreface via docker compose, but the ui is not update or change when I click some button like login/register. The url is changed already, I have to refresh manually to see the updated UI.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The UI should work as expected.
If applicable, add screenshots to help explain your problem.
msedge_n2O5gdPHXI.mp4
Desktop (please complete the following information):
Logs
Run those commands and attach result to the ticket:
Details
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: