<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<div class="moz-cite-prefix">On 13/11/2020 14:56, PGNet Dev wrote:<br>
</div>
<blockquote type="cite"
cite="mid:c159b1f9-ceec-c6b6-6b40-1b2a4b684059@gmail.com">I've
built a new dovecot + fts-solr instance; I've now picked up &
am running the recently released solr 8.7.0.
<br>
<br>
In a test account, I've one message -- in the 'Drafts' folder.
<br>
<br>
On exec of fts 'index'
<br>
<br>
doveadm index -u <a class="moz-txt-link-abbreviated" href="mailto:testuser@example.com">testuser@example.com</a> -q '*'
<br>
<br>
I get a
<br>
<br>
401 unauthorized
<br>
<br>
indexing failure, only for the one dir+message in 'Drafts',
<br>
<br>
2020-11-13 05:43:21
indexer-worker(<a class="moz-txt-link-abbreviated" href="mailto:testuser@example.com">testuser@example.com</a>)<8MKVNHmNrl/DJgEA+IOfAw>:
Info: Indexed 0 messages in Queue
<br>
2020-11-13 05:43:21
indexer-worker(<a class="moz-txt-link-abbreviated" href="mailto:testuser@example.com">testuser@example.com</a>)<OHfzNHmNrl/DJgEA+IOfAw>:
Info: Indexed 0 messages in testing
<br>
2020-11-13 05:43:21
indexer-worker(<a class="moz-txt-link-abbreviated" href="mailto:testuser@example.com">testuser@example.com</a>)<yMxJNXmNrl/DJgEA+IOfAw>:
Info: Indexed 0 messages in Junk
<br>
2020-11-13 05:43:21
indexer-worker(<a class="moz-txt-link-abbreviated" href="mailto:testuser@example.com">testuser@example.com</a>)<uDCbNXmNrl/DJgEA+IOfAw>:
Info: Indexed 0 messages in Trash
<br>
2020-11-13 05:43:21
indexer-worker(<a class="moz-txt-link-abbreviated" href="mailto:testuser@example.com">testuser@example.com</a>)<kA/uNXmNrl/DJgEA+IOfAw>:
Info: Indexed 0 messages in Sent
<br>
2020-11-13 05:43:22
indexer-worker(<a class="moz-txt-link-abbreviated" href="mailto:testuser@example.com">testuser@example.com</a>)<cEw/NnmNrl/DJgEA+IOfAw>:
Error: fts_solr: Indexing failed: 401 Unauthorized
<br>
2020-11-13 05:43:22
indexer-worker(<a class="moz-txt-link-abbreviated" href="mailto:testuser@example.com">testuser@example.com</a>)<cEw/NnmNrl/DJgEA+IOfAw>:
Error: fts_solr: Indexing failed: 401 Unauthorized
<br>
2020-11-13 05:43:22
indexer-worker(<a class="moz-txt-link-abbreviated" href="mailto:testuser@example.com">testuser@example.com</a>)<cEw/NnmNrl/DJgEA+IOfAw>:
Error: Mailbox Drafts: Transaction commit failed: FTS transaction
commit failed: backend deinit (attempted to index 1 messages (UIDs
3..3))
<br>
2020-11-13 05:43:22
indexer-worker(<a class="moz-txt-link-abbreviated" href="mailto:testuser@example.com">testuser@example.com</a>)<2OUMCHqNrl/DJgEA+IOfAw>:
Info: Indexed 0 messages in INBOX
<br>
<br>
I get NO output atm in my solr logs @ this 'index'; just, atm, in
the dovecot logs, above
<br>
<br>
I've checked all my usual perms.
<br>
Indexing _was_ working with a prior solr v8.6.3 ...
<br>
<br>
Either I've misconfigured some perm, and am missing it, or
new-solr-version v8.7.0 is causing me some grief.
<br>
<br>
(1) Can anyone yet verify Doveoct/fts-solr working with solr
8.7.x?
<br>
(2) What logging config in Dovecot gets me more/detailed output
for the fts_solr fail?
<br>
(3) Any obvious clues as to what, specifically, is the source of
this prob?
<br>
<br>
</blockquote>
<p>(1) I can't, I'm still on an earlier version</p>
<p>(2) see here: <a class="moz-txt-link-freetext" href="https://wiki.dovecot.org/Plugins/FTS/Solr">https://wiki.dovecot.org/Plugins/FTS/Solr</a></p>
<p>two useful settings are debug and rawlog_dir=whatever to be added
in the same line as fts_solr</p>
<p>(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? Are you
now using apache in front of solr? One obvious thing to check is
the url= part of your fts_solr setting including the credentials
and the solr core name. You may also want to test your solr
installation from the command line. For example this does a manual
soft commit:</p>
<p>curl <a rel="nofollow" class="external free"
href="https://user:password@solr.example.com:443/solr/dovecot/update?softCommit=true">https://user:password@solr.example.com:443/solr/dovecot/update?softCommit=true</a></p>
<p>If your solr server is correctly configured you should get back
something like this:</p>
<p><?xml version="1.0" encoding="UTF-8"?><br>
<response><br>
<br>
<lst name="responseHeader"><br>
<int name="status">0</int><br>
<int name="QTime">3</int><br>
</lst><br>
</response><br>
</p>
<p>John<br>
</p>
</body>
</html>