open-semantic-search icon indicating copy to clipboard operation
open-semantic-search copied to clipboard

I am trying to install on a Raspberry PI 4

Open adam-ma-roberts opened this issue 4 years ago • 3 comments

Hi,

I am trying to install Open Semantic Search on a Raspberry PI 4, the model with 8GB of RAM and a quad core ARM processor.

I have tried a few times, I have just done another complete wipe and reinstall with the latest Raspbian Buster image, I then ran updates.

Then i followed the website guide, https://opensemanticsearch.org/doc/admin/install/search_server

Downloaded the latest, https://opensemanticsearch.org/download/open-semantic-search_20.01.17.deb

and followed instructions.

I then got some errors at the end of the process, so i rebooted.

I now get this error message when i try and run, sudo apt-get updates then sudo apt-get upgrade,


Setting up open-semantic-search (20.01.17) ... openjdk version "11.0.8" 2020-07-14 OpenJDK Runtime Environment (build 11.0.8+10-post-Raspbian-1deb10u1) OpenJDK Server VM (build 11.0.8+10-post-Raspbian-1deb10u1, mixed mode)

ERROR: Unable to auto-detect your *NIX distribution! You'll need to setup Solr as a service manually using the documentation provided in the Solr Reference Guide.

dpkg: error processing package open-semantic-search (--configure): installed open-semantic-search package post-installation script subprocess retu rned error exit status 1 Errors were encountered while processing: open-semantic-search E: Sub-process /usr/bin/dpkg returned an error code (1)


Could anyone suggest any further steps ?

adam-ma-roberts avatar Aug 21 '20 11:08 adam-ma-roberts

There is another error message when i re-run,

sudo dpkg --install open-semantic-search_20.01.17.deb


Preparing to unpack open-semantic-search_20.01.17.deb ... neo4j.service is not a native service, redirecting to systemd-sysv-install. Executing: /lib/systemd/systemd-sysv-install disable neo4j Failed to disable unit: Unit file solr.service does not exist. Failed to stop solr.service: Unit solr.service not loaded. neo4j.service is not a native service, redirecting to systemd-sysv-install. Executing: /lib/systemd/systemd-sysv-install disable neo4j Unpacking open-semantic-search (20.01.17) over (20.01.17) ... Setting up open-semantic-search (20.01.17) ... openjdk version "11.0.8" 2020-07-14 OpenJDK Runtime Environment (build 11.0.8+10-post-Raspbian-1deb10u1) OpenJDK Server VM (build 11.0.8+10-post-Raspbian-1deb10u1, mixed mode)

ERROR: Unable to auto-detect your *NIX distribution! You'll need to setup Solr as a service manually using the documentation provided in the Solr Reference Guide.

dpkg: error processing package open-semantic-search (--install): installed open-semantic-search package post-installation script subprocess returned error exit status 1 Processing triggers for systemd (241-7~deb10u4+rpi1) ... Errors were encountered while processing: open-semantic-search

adam-ma-roberts avatar Aug 21 '20 11:08 adam-ma-roberts

Previously i have tried installing Solr, but it seems to need extensive config to integrate and so did not help.

adam-ma-roberts avatar Aug 21 '20 11:08 adam-ma-roberts

The debs are for x86 architecture and the Pi has an ARM processor. So you would have to literally clone repos and build it all from scratch. That is doable, but it is a LOT of work.

OSS is pretty demanding, I gave it a virtual machine with eight cores and sixteen gig. What is the motivation for trying to put it on such a small device? You'd likely do better with an old, inexpensive laptop if you're wanting some sort of home appliance.

NetwarSystem avatar Dec 16 '20 13:12 NetwarSystem