PGNet Dev
2020-Nov-13 17:56 UTC
dovecot fts-solr + solr 8.7.0 upgrade: "Indexing failed: 401 Unauthorized" + "Transaction commit failed: FTS transaction commit failed: backend deinit" ?
On 11/13/20 9:46 AM, John Fawcett wrote:>> (1) Can anyone yet verify Doveoct/fts-solr working with solr 8.7.x?>> (2) What logging config in Dovecot gets me more/detailed output for the fts_solr fail? >> (3) Any obvious clues as to what, specifically, is the source of this prob? >> > (1) I can't, I'm still on an earlier versionI'll look for the 8.6.3, rather than 'current' (8.7.0) bins, spin up an instance, and do some dubl-checking> (2) see here: https://wiki.dovecot.org/Plugins/FTS/Solr > > two useful settings are debug and rawlog_dir=whatever to be added in the same line as fts_solrah, thx!> (3) strange you don't see anything on the solr server. Something is giving a 401 response so if it's not solr what is it?head-scratcher, atm. the logging^ should help.> Are you now using apache in front of solr?nope. direct to solr.> One obvious thing to check is the url= part of your fts_solr setting including the credentials and the solr core name.sure. hasn't changed from prior working config. admin UI is accessible/responsive. i _can_ exec some solr commands without any error, e.g. sudo -u solr /srv/webapps/solr/solr/bin/solr create -c dovecot sudo -u solr /srv/webapps/solr/solr/bin/solr config \ -c dovecot \ -p 8984 \ -action set-user-property \ -property update.autoCreateFields \ -value false are fine. it's the indexing that's not ...> You may also want to test your solr installation from the command line. For example this does a manual soft commit: > > curl https://user:password at solr.example.com:443/solr/dovecot/update?softCommit=true <https://user:password at solr.example.com:443/solr/dovecot/update?softCommit=true>> If your solr server is correctly configured you should get back something like this: > > <?xml version="1.0" encoding="UTF-8"?> > <response> > > <lst name="responseHeader"> > <int name="status">0</int> > <int name="QTime">3</int> > </lst> > </response>thx. will check that in a bit ...
PGNet Dev
2020-Nov-13 18:55 UTC
dovecot fts-solr + solr 8.7.0 upgrade: "Indexing failed: 401 Unauthorized" + "Transaction commit failed: FTS transaction commit failed: backend deinit" ?
On 11/13/20 9:56 AM, PGNet Dev wrote:>> (2) see here: https://wiki.dovecot.org/Plugins/FTS/Solr >> >> two useful settings are debug and rawlog_dir=whatever to be added in the same line as fts_solrwith fts_solr = ... debug line #35 @ https://pastebin.com/9ecLQspD _looks_ like the 401's from solr server itself. i do NOT currently have service indexer{} service indexer-worker {} configured in dovecot conf; i.e., at whatever the defaults are. didn't have to before ... still dunno why the 401. :-/
John Fawcett
2020-Nov-13 19:37 UTC
dovecot fts-solr + solr 8.7.0 upgrade: "Indexing failed: 401 Unauthorized" + "Transaction commit failed: FTS transaction commit failed: backend deinit" ?
On 13/11/2020 19:55, PGNet Dev wrote:> On 11/13/20 9:56 AM, PGNet Dev wrote: >>> (2) see here: https://wiki.dovecot.org/Plugins/FTS/Solr >>> >>> two useful settings are debug and rawlog_dir=whatever to be added in >>> the same line as fts_solr > > with > > ????fts_solr = ... debug > > line #35 @ https://pastebin.com/9ecLQspD _looks_ like the 401's from > solr server itself. > > > i do NOT currently have > > ? service indexer{} > ? service indexer-worker {} > > configured in dovecot conf; i.e., at whatever the defaults are. > didn't have to before ... > > still dunno why the 401. :-/So I just did a quick check of running dovecot with a standalone solr-8.7.0 instance and I'm not seeing any issues. I confirm I haven't configured anything for indexer or indexer-worker in dovecot, just left the defaults. For 401's returned from your solr server you'll need to look into how you set up authentication. John
Maybe Matching Threads
- dovecot fts-solr + solr 8.7.0 upgrade: "Indexing failed: 401 Unauthorized" + "Transaction commit failed: FTS transaction commit failed: backend deinit" ?
- dovecot fts-solr + solr 8.7.0 upgrade: "Indexing failed: 401 Unauthorized" + "Transaction commit failed: FTS transaction commit failed: backend deinit" ?
- dovecot fts-solr + solr 8.7.0 upgrade: "Indexing failed: 401 Unauthorized" + "Transaction commit failed: FTS transaction commit failed: backend deinit" ?
- dovecot fts-solr + solr 8.7.0 upgrade: "Indexing failed: 401 Unauthorized" + "Transaction commit failed: FTS transaction commit failed: backend deinit" ?
- dovecot fts-solr + solr 8.7.0 upgrade: "Indexing failed: 401 Unauthorized" + "Transaction commit failed: FTS transaction commit failed: backend deinit" ?