-
Notifications
You must be signed in to change notification settings - Fork 358
Add arm64 compatible docker-compose for sqlite-tika #1354
Conversation
…m64 arch right now #1256
…ocker-compose file
Tried to use this image tonight and got this error:
|
@iwishiwasaneagle - I was going to create an issue for you, but wasn't able to... please see error above. |
Will investigate when I'm back home tonight
…On Sun, 10 Oct 2021, 04:32 smseidl, ***@***.***> wrote:
@iwishiwasaneagle <https://github.com/iwishiwasaneagle> - I was going to
create an issue for you, but wasn't able to... please see error above.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1354 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AC6PGNOMTLWVJCMWNKTKURLUGECNFANCNFSM5FCNBH7A>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
@smseidl without knowing too much about Tika, it's due to 64-bit not compiling. Check this stackoverflow thread out for more info on armv7 vs arm64. More info that's lead me to this conclusion:
If you know of a fix, please let me know! Currently I have this running flawelessly on a RaspberryPi 4 (arm64) but I understand people might want to use the RPi 3b+ (armv7). |
I did find another image from 2020 that worked (at least didn't error
immediately). I'm not processing anything through this paperless instance
yet so I don't know if it's really working or not.
image: markusessigde/tika-server
…On Sun, Oct 10, 2021, 2:30 PM Jan-Hendrik Ewers ***@***.***> wrote:
@iwishiwasaneagle <https://github.com/iwishiwasaneagle> - I was going to
create an issue for you, but wasn't able to... please see error above.
@smseidl <https://github.com/smseidl> without knowing too much about
Tika, it's due to 64-bit not compiling. Check this stackoverflow
<https://github.com/iwishiwasaneagle/tika-docker/runs/3756356092?check_suite_focus=true>
thread out for more info on armv7 vs arm64.
More info that's lead me to this conclusion:
1. The amr64, armv7 and amd64 github action build failed here
<https://github.com/iwishiwasaneagle/tika-docker/runs/3756356092?check_suite_focus=true>
2. I removed armv7 from the github action workflow file in this commit
<iwishiwasaneagle/tika-docker@2311309>
3. The following build
<https://github.com/iwishiwasaneagle/tika-docker/runs/3756401284?check_suite_focus=true>
succeeded
4. Original apache/tika docker image only supports amd64
<https://hub.docker.com/r/apache/tika/tags> and no other architecture
If you know of a fix, please let me know! Currently I have this running
flawelessly on a RaspberryPi 4 (arm64) but I understand people might want
to use the RPi 3b+ (armv7).
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1354 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFTXB7GVC7KF2F3Z2MKHYHLUGHSUXANCNFSM5FCNBH7A>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
So that docker image is for Tika 1.24.1. I've tried building versions < 2.0.0 for linux/arm/v7 and that also didn't seem to work. I guess the root issue is within |
@iwishiwasaneagle - I am using a RPi 4B with 4 GB Ram, and using the Raspberry Light OS.... is there a different OS you recommend for a headless install? |
Oh... Well I guess maybe it's then to do with the OS? I use the ubuntu server image (been very stable and fast for me) https://ubuntu.com/download/raspberry-pi. I assumed that newer versions of raspbian would enable arm64 support. My Just FYI for any contributors to the repo, I specifically omitted armv7 from the updated docs for this reason originally https://github.com/jonaswinkler/paperless-ng/pull/1354/files#diff-b0b89f41ca376dee302b0354603ee4a994e16c428dadfb23f2c24d19353b3df5R3 ubuntu@ubuntu:~$ uname -a
Linux ubuntu 5.11.0-1019-raspi #20-Ubuntu SMP PREEMPT Tue Sep 21 15:23:42 UTC 2021 aarch64 aarch64 aarch64 GNU/Linux |
I'm trying to update to Ubuntu today and see how it goes.
…On Mon, Oct 11, 2021, 8:30 AM Jan-Hendrik Ewers ***@***.***> wrote:
@iwishiwasaneagle <https://github.com/iwishiwasaneagle> - I am using a
RPi 4B with 4 GB Ram, and using the Raspberry Light OS.... is there a
different OS you recommend for a headless install?
Oh... Well I guess maybe it's then to do with the OS? I use the ubuntu
server image (been very stable and fast for me)
https://ubuntu.com/download/raspberry-pi. I assumed that newer versions
of raspbian would enable arm64 support. My uname -a output is below.
Just FYI for any contributors to the repo, I specifically omitted armv7
from the updated docs for this reason originally
https://github.com/jonaswinkler/paperless-ng/pull/1354/files#diff-b0b89f41ca376dee302b0354603ee4a994e16c428dadfb23f2c24d19353b3df5R3
------------------------------
***@***.***:~$ uname -a
Linux ubuntu 5.11.0-1019-raspi #20-Ubuntu SMP PREEMPT Tue Sep 21 15:23:42 UTC 2021 aarch64 aarch64 aarch64 GNU/Linux
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1354 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFTXB7FVZE4M332L3A4R2KDUGLRIXANCNFSM5FCNBH7A>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
I did update from Raspberry OS Light (32 bit) to Ubuntu 64 bit, and then I was able to use this
|
Glad it's working! @jonaswinkler any update? |
Co-authored-by: Quinn Casey <quinn@quinncasey.com>
Co-authored-by: Quinn Casey <quinn@quinncasey.com>
Co-authored-by: Quinn Casey <quinn@quinncasey.com>
Not sure why it's not showing up from downstream https://github.com/iwishiwasaneagle/paperless-ng/commit/cbb5199d5a1bca0d37cc09a8cb6b52ba7014f19e
Closed in paperless-ngx/paperless-ngx#479 |
…ion-chains Bugfix: Chain exceptions during exception handling
As per this discussion, #1256, the Tika docker-compose variants weren't working as apache/tika only supports
amd64
and notarm64
. I forked the apache/tika-docker repo and build for bothamd64
andarm64
https://github.com/iwishiwasaneagle/tika-docker.This PR just adds a docker-compose using the new
arm64
compatible Tika image + updates to the docs.