Closed pospielov closed 3 years ago
Hello, Can you please assign this issue to me?
@pospielov Hi, I would like to work on this issue, could you please assign this to me ?
Hi, thanks for the interest in our repository @iamanshulgit I assigned the issue to you as you were the first. Please notify me if you decide not to work on it. @durgeshmeena Sorry, but iamanshulgit wrote a comment first. Please look at other issues, I will also notify you if this issue will be available again.
Hi @iamanshulgit, just wanted to know if you have any issues with the completion of this task. If you don't want to work on it anymore, please notify me, so I'll assign it to other contributors.
Yes, I am working on it. If I face any issues, I will let you know. Thank you
Hello @pospielov , I am facing issues with creating account. Error is coming "Sorry, something went wrong"
Could you run docker ps
command and how the result?
Also, please run docker-compose logs
command and upload the result somewhere.
for docker ps
everything is up.
but for docker-compose logs
, I am getting errors
Attaching to compreface-ui, compreface-admin, compreface-api, compreface-postgres-db, compreface-core
compreface-admin | Listening for transport dtsocket at address: 5005
compreface-admin |
compreface-admin | . ____
compreface-admin | /\ / __' () _ \ \ \ \
compreface-admin | ( ( )_ | ' | '| | ' \/ ` | \ \ \ \
compreface-admin | \/ _)| |)| | | | | || (| | ) ) ) )
compreface-admin | ' |__| .|| ||| |\, | / / / /
compreface-admin | =========|_|==============|_/=///_/
compreface-admin | :: Spring Boot :: (v2.3.4.RELEASE)
compreface-admin |
compreface-admin | 2021-10-11 19:43:10.279 INFO 7 --- [ main] com.exadel.frs.FrsApplication : The following profiles are active: dev
compreface-admin | 2021-10-11 19:43:18.392 INFO 7 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFERRED mode.
compreface-admin | 2021-10-11 19:43:19.672 INFO 7 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 1228ms. Found 10 JPA repository interfaces.
compreface-admin | 2021-10-11 19:43:21.484 INFO 7 --- [ main] o.s.cloud.context.scope.GenericScope : BeanFactory id=e7f41a96-3f70-3efd-b7dc-40aa4699bf29
compreface-admin | 2021-10-11 19:43:22.059 INFO 7 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'com.exadel.frs.commonservice.system.feign.ApperyStatisticsClient' of type [org.springframework.cloud.openfeign.FeignClientFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
compreface-admin | 2021-10-11 19:43:25.332 INFO 7 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8080 (http)
compreface-admin | 2021-10-11 19:43:25.373 INFO 7 --- [ main] o.a.coyote.http11.Http11NioProtocol : Initializing ProtocolHandler ["http-nio-8080"]
compreface-admin | 2021-10-11 19:43:25.383 INFO 7 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat]
compreface-admin | 2021-10-11 19:43:25.384 INFO 7 --- [ main] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.38]
compreface-admin | 2021-10-11 19:43:25.788 INFO 7 --- [ main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext
compreface-admin | 2021-10-11 19:43:25.788 INFO 7 --- [ main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 15285 ms
compreface-admin | 2021-10-11 19:43:28.296 INFO 7 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting...
compreface-admin | 2021-10-11 19:43:29.445 INFO 7 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed.
compreface-admin | 2021-10-11 19:43:31.933 INFO 7 --- [ main] liquibase.lockservice : Waiting for changelog lock....
compreface-admin | 2021-10-11 19:43:41.937 INFO 7 --- [ main] liquibase.lockservice : Waiting for changelog lock....
compreface-admin | 2021-10-11 19:43:51.940 INFO 7 --- [ main] liquibase.lockservice : Waiting for changelog lock....
compreface-admin | 2021-10-11 19:44:01.947 INFO 7 --- [ main] liquibase.lockservice : Waiting for changelog lock....
compreface-admin | 2021-10-11 19:44:11.949 INFO 7 --- [ main] liquibase.lockservice : Waiting for changelog lock....
compreface-admin | 2021-10-11 19:44:21.952 INFO 7 --- [ main] liquibase.lockservice : Waiting for changelog lock....
compreface-admin | 2021-10-11 19:44:31.960 INFO 7 --- [ main] liquibase.lockservice : Waiting for changelog lock....
compreface-admin | 2021-10-11 19:44:41.964 INFO 7 --- [ main] liquibase.lockservice : Waiting for changelog lock....
compreface-admin | 2021-10-11 19:44:51.971 INFO 7 --- [ main] liquibase.lockservice : Waiting for changelog lock....
compreface-admin | 2021-10-11 19:45:01.975 INFO 7 --- [ main] liquibase.lockservice : Waiting for changelog lock....
compreface-admin | 2021-10-11 19:45:11.978 INFO 7 --- [ main] liquibase.lockservice : Waiting for changelog lock....
compreface-admin | 2021-10-11 19:45:21.983 INFO 7 --- [ main] liquibase.lockservice : Waiting for changelog lock....
compreface-admin | 2021-10-11 19:45:31.986 INFO 7 --- [ main] liquibase.lockservice : Waiting for changelog lock....
compreface-admin | 2021-10-11 19:45:41.994 INFO 7 --- [ main] liquibase.lockservice : Waiting for changelog lock....
compreface-admin | 2021-10-11 19:45:52.000 INFO 7 --- [ main] liquibase.lockservice : Waiting for changelog lock....
compreface-admin | 2021-10-11 19:46:02.005 INFO 7 --- [ main] liquibase.lockservice : Waiting for changelog lock....
compreface-admin | 2021-10-11 19:46:12.009 INFO 7 --- [ main] liquibase.lockservice : Waiting for changelog lock....
compreface-admin | 2021-10-11 19:46:22.018 INFO 7 --- [ main] liquibase.lockservice : Waiting for changelog lock....
compreface-admin | 2021-10-11 19:46:32.020 INFO 7 --- [ main] liquibase.lockservice : Waiting for changelog lock....
compreface-admin | 2021-10-11 19:46:42.024 INFO 7 --- [ main] liquibase.lockservice : Waiting for changelog lock....
compreface-admin | 2021-10-11 19:46:52.031 INFO 7 --- [ main] liquibase.lockservice : Waiting for changelog lock....
compreface-admin | 2021-10-11 19:47:02.035 INFO 7 --- [ main] liquibase.lockservice : Waiting for changelog lock....
compreface-admin | 2021-10-11 19:47:12.039 INFO 7 --- [ main] liquibase.lockservice : Waiting for changelog lock....
compreface-admin | 2021-10-11 19:47:22.041 INFO 7 --- [ main] liquibase.lockservice : Waiting for changelog lock....
compreface-admin | 2021-10-11 19:47:32.048 INFO 7 --- [ main] liquibase.lockservice : Waiting for changelog lock....
compreface-admin | 2021-10-11 19:47:42.052 INFO 7 --- [ main] liquibase.lockservice : Waiting for changelog lock....
compreface-admin | 2021-10-11 19:47:52.060 INFO 7 --- [ main] liquibase.lockservice : Waiting for changelog lock....
compreface-admin | 2021-10-11 19:48:02.064 INFO 7 --- [ main] liquibase.lockservice : Waiting for changelog lock....
compreface-admin | 2021-10-11 19:48:12.067 INFO 7 --- [ main] liquibase.lockservice : Waiting for changelog lock....
compreface-admin | 2021-10-11 19:48:22.071 INFO 7 --- [ main] liquibase.lockservice : Waiting for changelog lock....
compreface-api | Listening for transport dt_socket at address: 5005
compreface-api |
compreface-api | . __ _
compreface-api | /\ / ' () _ \ \ \ \
compreface-api | ( ( )_ | ' | '| | ' \/ ` | \ \ \ \
compreface-api | \/ _)| |)| | | | | || (| | ) ) ) )
compreface-api | ' |__| .|| ||| |\, | / / / /
compreface-api | =========|_|==============|__/=////
compreface-api | :: Spring Boot :: (v2.3.4.RELEASE)
compreface-api |
compreface-api | 2021-10-11 19:43:11.139 INFO 7 --- [ main] com.exadel.frs.TrainServiceApplication : The following profiles are active: dev
compreface-api | 2021-10-11 19:43:16.765 INFO 7 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
compreface-api | 2021-10-11 19:43:17.256 INFO 7 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 439ms. Found 6 JPA repository interfaces.
compreface-api | 2021-10-11 19:43:20.792 INFO 7 --- [ main] o.s.cloud.context.scope.GenericScope : BeanFactory id=205fcd5f-0d69-3b59-9454-33cf48b1f0e2
compreface-api | 2021-10-11 19:43:21.144 INFO 7 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'com.exadel.frs.commonservice.system.feign.ApperyStatisticsClient' of type [org.springframework.cloud.openfeign.FeignClientFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
compreface-api | 2021-10-11 19:43:23.008 INFO 7 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'cacheConfig' of type [com.exadel.frs.core.trainservice.config.CacheConfig$$EnhancerBySpringCGLIB$$458aac59] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
compreface-api | 2021-10-11 19:43:25.365 INFO 7 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8080 (http)
compreface-api | 2021-10-11 19:43:25.406 INFO 7 --- [ main] o.a.coyote.http11.Http11NioProtocol : Initializing ProtocolHandler ["http-nio-8080"]
compreface-api | 2021-10-11 19:43:25.417 INFO 7 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat]
compreface-api | 2021-10-11 19:43:25.427 INFO 7 --- [ main] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.38]
compreface-api | 2021-10-11 19:43:25.847 INFO 7 --- [ main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext
compreface-api | 2021-10-11 19:43:25.847 INFO 7 --- [ main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 14523 ms
compreface-api | 2021-10-11 19:43:28.179 INFO 7 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default]
compreface-api | 2021-10-11 19:43:29.034 INFO 7 --- [ main] org.hibernate.Version : HHH000412: Hibernate ORM core version 5.4.21.Final
compreface-api | 2021-10-11 19:43:29.047 INFO 7 --- [ main] org.hibernate.cfg.Environment : HHH000205: Loaded properties from resource hibernate.properties: {hibernate.bytecode.use_reflection_optimizer=false, hibernate.types.print.banner=false}
compreface-api | 2021-10-11 19:43:30.365 INFO 7 --- [ main] o.hibernate.annotations.common.Version : HCANN000001: Hibernate Commons Annotations {5.1.0.Final}
compreface-api | 2021-10-11 19:43:34.501 INFO 7 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting...
compreface-api | 2021-10-11 19:43:34.740 INFO 7 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed.
compreface-api | 2021-10-11 19:43:34.801 INFO 7 --- [ main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.PostgreSQL10Dialect
compreface-api | 2021-10-11 19:43:36.346 INFO 7 --- [ main] o.h.validator.internal.util.Version : HV000001: Hibernate Validator 6.1.5.Final
compreface-api | 2021-10-11 19:43:38.404 INFO 7 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform]
compreface-api | 2021-10-11 19:43:38.414 INFO 7 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
compreface-api | 2021-10-11 19:43:44.744 INFO 7 --- [ main] o.s.b.a.e.web.EndpointLinksResolver : Exposing 2 endpoint(s) beneath base path '/actuator'
compreface-api | 2021-10-11 19:43:44.963 INFO 7 --- [ main] pertySourcedRequestMappingHandlerMapping : Mapped URL path [/v2/api-docs] onto method [springfox.documentation.swagger2.web.Swagger2Controller#getDocumentation(String, HttpServletRequest)]
compreface-api | 2021-10-11 19:43:45.137 INFO 7 --- [ main] org.quartz.impl.StdSchedulerFactory : Using default implementation for ThreadExecutor
compreface-api | 2021-10-11 19:43:45.199 INFO 7 --- [ main] org.quartz.core.SchedulerSignalerImpl : Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl
compreface-api | 2021-10-11 19:43:45.199 INFO 7 --- [ main] org.quartz.core.QuartzScheduler : Quartz Scheduler v.2.3.2 created.
compreface-api | 2021-10-11 19:43:45.200 INFO 7 --- [ main] org.quartz.simpl.RAMJobStore : RAMJobStore initialized.
compreface-api | 2021-10-11 19:43:45.201 INFO 7 --- [ main] org.quartz.core.QuartzScheduler : Scheduler meta-data: Quartz Scheduler (v2.3.2) 'quartzScheduler' with instanceId 'NONCLUSTERED'
compreface-api | Scheduler class: 'org.quartz.core.QuartzScheduler' - running locally.
compreface-api | NOT STARTED.
compreface-api | Currently in standby mode.
compreface-api | Number of jobs executed: 0
compreface-api | Using thread pool 'org.quartz.simpl.SimpleThreadPool' - with 10 threads.
compreface-api | Using job-store 'org.quartz.simpl.RAMJobStore' - which does not support persistence. and is not clustered.
compreface-api |
compreface-api | 2021-10-11 19:43:45.202 INFO 7 --- [ main] org.quartz.impl.StdSchedulerFactory : Quartz scheduler 'quartzScheduler' initialized from an externally provided properties instance.
compreface-api | 2021-10-11 19:43:45.202 INFO 7 --- [ main] org.quartz.impl.StdSchedulerFactory : Quartz scheduler version: 2.3.2
compreface-api | 2021-10-11 19:43:45.202 INFO 7 --- [ main] org.quartz.core.QuartzScheduler : JobFactory set to: org.springframework.scheduling.quartz.SpringBeanJobFactory@39004e4f
compreface-api | 2021-10-11 19:43:45.267 INFO 7 --- [ main] org.quartz.core.QuartzScheduler : Scheduler quartzScheduler$_NON_CLUSTERED started.
compreface-core | [uWSGI] getting INI configuration from uwsgi.ini
compreface-core | Starting uWSGI 2.0.19 (64bit) on [Mon Oct 11 19:42:39 2021]
compreface-core | compiled with version: 10.2.1 20210110 on 08 October 2021 14:24:11
compreface-core | os: Linux-5.11.0-37-generic #41~20.04.2-Ubuntu SMP Fri Sep 24 09:06:38 UTC 2021
compreface-core | nodename: c329a8cd7c59
compreface-core | machine: x86_64
compreface-core | clock source: unix
compreface-core | detected number of CPU cores: 1
compreface-core | current working directory: /app/ml
compreface-core | detected binary path: /usr/local/bin/uwsgi
compreface-core | !!! no internal routing support, rebuild with pcre support !!!
compreface-core | setgid() to 33
compreface-core | setuid() to 33
compreface-core | your memory page size is 4096 bytes
compreface-core | detected max file descriptor number: 1048576
compreface-core | lock engine: pthread robust mutexes
compreface-core | thunder lock: disabled (you can enable it with --thunder-lock)
compreface-core | uwsgi socket 0 bound to TCP address 0.0.0.0:3000 fd 3
compreface-core | Python version: 3.7.12 (default, Sep 28 2021, 19:53:04) [GCC 10.2.1 20210110]
compreface-core | Python main interpreter initialized at 0x55b9125bc390
compreface-core | python threads support enabled
compreface-core | your server socket listen backlog is limited to 100 connections
compreface-core | your mercy for graceful operations on workers is 60 seconds
compreface-core | mapped 218712 bytes (213 KB) for 2 cores
compreface-core | Operational MODE: preforking
compreface-core | {"severity": "DEBUG", "message": "Falling back to TensorFlow client; we recommended you install the Cloud TPU client directly with pip install cloud-tpu-client.", "request": null, "logger": "tensorflow", "module": "tpu_cluster_resolver", "traceback": "Traceback (most recent call last):\n File \"/usr/local/lib/python3.7/site-packages/tensorflow/python/distribute/cluster_resolver/tpu/tpu_cluster_resolver.py\", line 33, in
Hi looks like something didn't initialized the first time you started the CompreFace
Try to clean the installation:
Run docker command:
docker volume ls
Find volume with name <folder_with_compreface_name>_postgres-data
Probably it will be compreface_060_postgres-data
run: docker volume rm compreface_060_postgres-data
Hi, I was checking the volume, but it was compreface_postgres-data
Am I doing it wrong somewhere?
I am going to try it again. Thank you for the help.
Hey @iamanshulgit The project is successfully running on my machine. I've checked my docker configuration and found out to be
I followed README.md inside the dev folder; everything worked fine (from dev/README.md)
git config --global core.autocrlf false
docker ps
docker-compose down
docker system prune --volumes
cd dev
sh start.sh
and make sure http://localhost:4200/ startsOpen a new terminal window and run the following commands:
cd ui
npm install
(only for the first-time run)npm start
Go to http://localhost:4200/ and you can sign up with any credentials.
Hi, I was checking the volume, but it was
compreface_postgres-data
Am I doing it wrong somewhere? I am going to try it again. Thank you for the help.
The name is totally ok
So you need to run:
docker-compose down
docker volume rm compreface_postgres-data
docker-compose up -d
Then check the logs:
docker-compose logs -f --tail=100
when they stop appearing, try to open the browser: http://localhost:8000/login
merged
Describe the bug When a user doesn't have any applications, he sees the "Create Application" title instead of "Applications"
To Reproduce Steps to reproduce the behavior:
Actual result: The title is "Create Application"
Expected behavior The title should be "Applications"