axa-group / Parsr

Transforms PDF, Documents and Images into Enriched Structured Data
Apache License 2.0
5.72k stars 304 forks source link

UI in docker fails with io_setup() failed #662

Open timbmg opened 1 year ago

timbmg commented 1 year ago

When running the docker image for the UI, it fails with [emerg] 44#44: io_setup() failed (38: Function not implemented).

I have tried both the docker-compose and docker.

This is the complete log:

parsr-parsr-ui-1  | /docker-entrypoint.sh: /docker-entrypoint.d/ is not empty, will attempt to perform configuration
parsr-parsr-ui-1  | /docker-entrypoint.sh: Looking for shell scripts in /docker-entrypoint.d/
parsr-parsr-ui-1  | /docker-entrypoint.sh: Launching /docker-entrypoint.d/10-listen-on-ipv6-by-default.sh
parsr-parsr-1     | Starting par.sr API : node api/server/dist/index.js
parsr-parsr-ui-1  | 10-listen-on-ipv6-by-default.sh: error: /etc/nginx/conf.d/default.conf is not a file or does not exist
parsr-parsr-ui-1  | /docker-entrypoint.sh: Launching /docker-entrypoint.d/20-envsubst-on-templates.sh
parsr-parsr-ui-1  | /docker-entrypoint.sh: Configuration complete; ready for start up
parsr-parsr-ui-1  | 2023/03/20 11:22:53 [emerg] 44#44: io_setup() failed (38: Function not implemented)
parsr-parsr-1     | [2023-03-20T11:22:56] INFO  (parsr-api/8 on 9e516f2461ee): Api listening on port 3001!
nguyenvulong commented 1 week ago

For those who're looking for the quick solution without rebuilding the image: create mappings in vscode from your remote development server to your local machine.

image