Comments (1)
Hey, I've just updated to the latest version (1.2.0) using docker-compose (via portainer) and am seeing the same issue. Fix is below
I've tried using version 1.1.0 and that has the same issue, but version 1.0.1 works ok so have currently reverted to that.
For comparison, the 1.0.1 logs show:
/docker-entrypoint.sh: /docker-entrypoint.d/ is not empty, will attempt to perform configuration
/docker-entrypoint.sh: Looking for shell scripts in /docker-entrypoint.d/
/docker-entrypoint.sh: Launching /docker-entrypoint.d/10-listen-on-ipv6-by-default.sh
10-listen-on-ipv6-by-default.sh: info: /etc/nginx/conf.d/default.conf is not a file or does not exist
/docker-entrypoint.sh: Launching /docker-entrypoint.d/20-envsubst-on-templates.sh
/docker-entrypoint.sh: Launching /docker-entrypoint.d/30-tune-worker-processes.sh
/docker-entrypoint.sh: Configuration complete; ready for start up
So the first difference appears to be this line in 1.1/1.2 that wasn't in 1.0.1:
20-envsubst-on-templates.sh: Running envsubst on /etc/nginx/templates/nginx.conf.template to /etc/nginx/conf.d/nginx.conf
followed by the warning about client_max_body_size.
Looking for client_max_body_size in the code, I can see the docker-compose.yml was changed under EFRS-1186:
environment:
- CLIENT_MAX_BODY_SIZE=${client_max_body_size}
became
- CLIENT_MAX_BODY_SIZE=${max_request_size}
So basically - solution is to update your docker-compose file, and also make sure you have the latest .env variables from 1.2 branch. As of 1.2 the default variable is max_request_size = 10M. Or you could add this directly in your docker file
environment:
- CLIENT_MAX_BODY_SIZE=10M
from compreface.
Related Issues (20)
- compreface-core only using 1st GPU
- Migrating from FaceNet to another version
- face-detect-service input no-face image without Exception
- Admin & API Node wont start HOT 1
- Openvino support HOT 1
- Install Compreface on docker desktop.
- Compreface API shows only 1 subject instead of 10 subjects HOT 1
- Port contention with Portainer (i.e. port 8000) HOT 1
- compreface-api service in constant "crash loop". HOT 2
- How to Challenge Millions of Faces HOT 1
- When I synchronize the PostgreSQL database with third-party software, facial recognition fails to work correctly
- Clarification for commerical use
- how to add new model of face recognize
- How to add extra information like introduction for each Subject?
- How to add extra information like introduction for each Subject? HOT 1
- Super-admin role account
- Getting kill signal for uWSGI worker
- Minimum Hardware Specification for SubCenter-ArcFace-r100
- Unable to get running HOT 1
- UI change HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from compreface.