Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build do servidor Apache Tika está quebrado #73

Open
ogecece opened this issue Mar 21, 2024 · 2 comments · May be fixed by #74
Open

Build do servidor Apache Tika está quebrado #73

ogecece opened this issue Mar 21, 2024 · 2 comments · May be fixed by #74
Labels
bug Something isn't working precisa ajuda Extra attention is needed

Comments

@ogecece
Copy link
Member

ogecece commented Mar 21, 2024

Ao realizar o build localmente do servidor Apache Tika (make build ou make build-tika-server) e levantá-lo (make setup ou make create-pod && make apache-tika-server) os logs do container apresentam apenas a mensagem de erro: Error: Invalid or corrupt jarfile /tika-server.jar.

Por enquanto, para levantar um Tika localmente devemos executar podman pull ghcr.io/okfn-brasil/querido-diario-apache-tika-server:latest ao invés do build local, pois a imagem criada para produção está funcional.

@ogecece ogecece added bug Something isn't working precisa ajuda Extra attention is needed labels Mar 21, 2024
@ogecece
Copy link
Member Author

ogecece commented Mar 21, 2024

A imagem tika de produção teve seu último build em 29/11/2022: https://github.com/orgs/okfn-brasil/packages/container/package/querido-diario-apache-tika-server

@jvanz
Copy link
Member

jvanz commented Mar 21, 2024

Acredito que o binário do Apache Tika está corrompido. Eu baixei ele localmente na minha estação de trabalho e ainda está dando o mesmo problema:

$ java -jar tika-server.jar
Error: Invalid or corrupt jarfile tika-server.jar

Acredito que devemos atualizar o nosso servidor do Tika para 2.9.1. O branch 1.x.x não é mais mantido.

@jvanz jvanz linked a pull request Mar 21, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working precisa ajuda Extra attention is needed
Development

Successfully merging a pull request may close this issue.

2 participants