Re: docker arguments

2023-03-24 Thread Tim Clarke
Just got back to this, thanks for your help Shawn. Agree that docker is the problem here, I don't have time/need for this experiment to faff with docker so I've gone back to monolithic solr installed in /opt. It's not going to be in production anyway. I'll move on to other problems. Be useful if so

Re: docker arguments

2023-03-21 Thread Shawn Heisey
On 3/20/23 14:42, Tim Clarke wrote: Sorry, I'd stopped it before answering you. I get this after starting: timc@Debian:$ docker exec 9a65798bda0d ps aux | grep solr Neither the "-e schemaless" nor "-Dsolr.modules=extraction" options were honored in the actual solr startup inside the container

Fwd: Undeliverable: Re: docker arguments

2023-03-20 Thread dmitri maziuk
Could somebody please unsubscribe srinivas.as...@live.com ? -- best I can tell the "Resent-From: " is the culprit. Or am I the only one geting these: Forwarded Message Subject:Undeliverable: Re: docker arguments Date: Tue, 21 Mar 2023 00:24:50 + From:

Re: docker arguments

2023-03-20 Thread dmitri maziuk
On 2023-03-20 5:29 PM, Tim Clarke wrote: And that's a good lead - thanks - it contains the elusive solrconfig.xml file which I'd not been finding since I unexpectedly had no read rights to the folder. Yeah, right: don't never ever run as root. Except when you actually need to. Dima

Re: docker arguments

2023-03-20 Thread Tim Clarke
The example instruction I'm following uses this line: docker exec -it my_solr post -c gettingstarted example/exampledocs/manufacturers.xml which sets up the folder ~/dev/solrdata/data/gettingstarted And that's a good lead - thanks - it contains the elusive solrconfig.xml file which I'd not been fi

Re: docker arguments

2023-03-20 Thread dmitri maziuk
On 2023-03-20 3:33 PM, Tim Clarke wrote: Thanks Dima, that FM reference is the 8.x version of the 9.x one I've been following :D https://solr.apache.org/guide/solr/latest/indexing-guide/indexing-with-tika.html But there's no solrconfig.xml in that data folder - it must be inside the docker image

Re: docker arguments

2023-03-20 Thread Tim Clarke
Sorry, I'd stopped it before answering you. I get this after starting: timc@Debian:$ docker exec 9a65798bda0d ps aux | grep solr solr 1 0.0 0.0 2504 524 ?Ss 20:34 0:00 tini -- solr -f solr 12 11.7 5.0 5424836 715596 ? Sl 20:34 0:14 /opt/java/openjdk/b

Re: docker arguments

2023-03-20 Thread Tim Clarke
Thanks Dima, that FM reference is the 8.x version of the 9.x one I've been following :D https://solr.apache.org/guide/solr/latest/indexing-guide/indexing-with-tika.html But there's no solrconfig.xml in that data folder - it must be inside the docker image/container I think. Tim On Sat, 18 Mar 20

Re: docker arguments

2023-03-19 Thread Shawn Heisey
On 3/18/23 12:21, Tim Clarke wrote: CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 3eebcc1a2b25 solr "docker-entrypoint.s…" 5 hours ago Exited (137) 23 minutes ago my_solr2 9a65798bda0d solr

Re: docker arguments

2023-03-18 Thread dmitri maziuk
On 2023-03-18 12:17 PM, Tim Clarke wrote: Presumably that would be the CLASSPATH inside the docker image and/or the libraries available within the image? I'd have to find out how to check that. Not really a question for here, but does a docker image have a source to check? I can't tell you ab

Re: docker arguments

2023-03-18 Thread Tim Clarke
"docker run -d -v "/home/timc/dev//solrdata:/var/solr" -p 8983:8983 --name my_solr solr solr-precreate gettingstarted -e schemaless -Dsolr.modules=extraction" docker ps -a CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 3eebcc1a2b25

Re: docker arguments

2023-03-18 Thread Shawn Heisey
On 3/18/23 07:34, Tim Clarke wrote: Hmmm, I may have made progress by passing the arguments at the "docker run" stage: But when the curl command is issued per to add the request handler, I receive this reply: "errorMessages":[" Error loading class 'solr.extraction.ExtractingRequest

Re: docker arguments

2023-03-18 Thread Tim Clarke
Presumably that would be the CLASSPATH inside the docker image and/or the libraries available within the image? I'd have to find out how to check that. Not really a question for here, but does a docker image have a source to check? Tim On Sat, 18 Mar 2023 at 16:06, dmitri maziuk wrote: > On 202

Re: docker arguments

2023-03-18 Thread dmitri maziuk
On 2023-03-18 8:34 AM, Tim Clarke wrote: errorMessages=[ Error loading class 'solr.extraction.ExtractingRequestHandler']}], \n"], It's not in CLASSPATH presumably. https://solr.apache.org/guide/8_11/uploading-data-with-solr-cell-using-apache-tika.html#configuring-the-extractingrequesthandler

Re: docker arguments

2023-03-18 Thread Tim Clarke
Hmmm, I may have made progress by passing the arguments at the "docker run" stage: But when the curl command is issued per to add the request handler, I receive this reply: timc@Debian$ curl -X POST -H 'Content-type:application/json' -d '{ "add-requesthandler": { "name": "/update/extract",