Package Details: tika-server 3.3.1-1

Git Clone URL: https://aur.archlinux.org/tika-server.git (read-only, click to copy)
Package Base: tika-server
Description: Detects and extracts metadata and text from over a thousand different file types, such as PPT, XLS, and PDF. (server)
Upstream URL: https://tika-server.apache.org
Licenses: Apache-2.0
Submitter: evine
Maintainer: ccppi
Last Packager: ccppi
Votes: 3
Popularity: 0.170217
First Submitted: 2024-12-26 01:43 (UTC)
Last Updated: 2026-07-20 16:40 (UTC)

Dependencies (1)

Required by (4)

Sources (3)

Latest Comments

vini.nu commented on 2026-07-20 16:34 (UTC) (edited on 2026-07-20 16:39 (UTC) by vini.nu)

Hmm... https://tika.apache.org/download.html

I see this page contains SHA512 and PGP hashes with download links.

I would guess first scrapping of this page is needed, and then new mirrors can be found from it.

https://www.apache.org/info/verification.html

ccppi commented on 2026-07-20 16:28 (UTC) (edited on 2026-07-20 16:31 (UTC) by ccppi)

Thats true for sure, and thanks for the valuable input..., well but how to handle the sha sums? just trust them? or ignore them?(hint: i dont do that) any good suggestions?

also keep in mind the mirrors are kinda rotating, thats why there is an ugly hack int the PKGBUILD. this part:

_get_url() {
    url_upstream="${pkgname}-${pkgver}.jar::https://dlcdn.apache.org/tika/  ${pkgver}/${pkgname}-standard-${pkgver}.jar"
ret=$(curl --output /dev/null --silent --head --fail "$url_upstream")
if [ ret == 0 ];then
    echo $url_upstream
else
    echo ${pkgname}-${pkgver}.jar::https://archive.apache.org/dist/tika/${pkgver}/${pkgname}-standard-${pkgver}.jar
fi

}

vini.nu commented on 2026-07-20 14:25 (UTC)

Update of this package could be CI/CD automated by tracking https://github.com/apache/tika git release tags.

Jonathan commented on 2025-08-04 17:28 (UTC) (edited on 2025-08-04 17:31 (UTC) by Jonathan)

The tika-server version 3.2.0 download is no longer accessible. Package needs to be updated to 3.2.1 to build.

diff --git a/PKGBUILD b/PKGBUILD
index 4c3fde6..e200aab 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
 # Contributor: Karol Babioch <karol@babioch.de

 pkgname=tika-server
-pkgver=3.2.0
+pkgver=3.2.1
 pkgrel=1
 pkgdesc="Detects and extracts metadata and text from over a thousand different file types, such as PPT, XLS, and PDF. (server)"
 arch=('any')
@@ -11,10 +11,10 @@ url="https://${pkgname}.apache.org"
 license=('Apache-2.0')
 backup=("etc/default/${pkgname}")
 depends=('java-runtime-headless')
-    source=("${pkgname}-${pkgver}.jar::https://dlcdn.apache.org/tika/${pkgver}/${pkgname}-standard-${pkgver}.jar"
+source=("${pkgname}-${pkgver}.jar::https://dlcdn.apache.org/tika/${pkgver}/${pkgname}-standard-${pkgver}.jar"
         "${pkgname}.env"
         "${pkgname}.service")
-sha256sums=('60cc16fc933ee47f94e9f4a56e8d6f9554e0caf14facf896d9727b1e834224c1'
+sha256sums=('383a8a99ec886ea95e4143bfe200208afe1884db14b4c1e470950edec82d2c5d'
             'de1829782fc698b1be42fdb850ea3d9dd1d750bf37d4ab98a8ed5d43157cdeac'
             '00ad2023fe47bb77b78c4be364973c21ef8961a51cfa8b4f5ef910ee32542837')
 noextract=("${pkgname}-${pkgver}.jar")

uberben commented on 2025-05-08 13:26 (UTC)

I'm getting a bunch of these errors in my journalctl:

Exception in thread "main" java.lang.UnsupportedClassVersionError: org/apache/tika/server/core/TikaServerProcess has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0

I tried changing my tika-server.service file to use /usr/lib/jvm/java-11-openjdk/bin/java instead of /usr/bin/java (my system default java seems to be openjdk 8).

Changing my default java version to 11 with sudo archlinux-java set java-11-openjdk and restarting the original tika-server.service seems to be working. Hopefully I wasn't using 8 for any critical reason.