On Mon, Apr 3, 2017 at 3:07 PM, Wolfgang Theissen
<wolfgang.theissen(a)online.de> wrote:
Hi,
as recommended I deleted the files in /var/lib/xwiki/data/solr but the
problems with SOLR Indexer persist.
SOLR indexer starts, new files are generated, but the search does not run
properly.
Search as you type works, but if click "show all results" an errox box is
shown, with this extract from details:
"...
Caused by: org.apache.velocity.exception.MethodInvocationException:
Invocation of method 'execute' in class org.xwiki.query.internal.ScriptQuery
threw exception org.xwiki.query.QueryException: Solr query require
programming right. Query statement = [update] at 59:xwiki:Main.Search[line
585, column 32]
..."
I was logged in as superadmin, so their can't be a problem with rights...
This error is not related to current user but to the content author of
the search page. It usually means it was installed by someone who does
not have programming right or lost them since.
You should modify (you need to actually modify something, a new line
is enough for example) and save Main/Search page with a user who have
programming right.
Regards, Wolfgang
Am 10.03.2017 um 12:03 schrieb Wolfgang Theissen:
Hello,
I'm trying to upgrade our XWIKI Installation from 7.4.5 to 8.4.4 (running
on an Tomcat7/Ubuntu 16.0.4 ). I folllowed the upgrade guide which basically
says nothing except apt-get update and apt-get upgrade. The database should
be upgraded by the distribution wizard. The apt-get commands are executed
without errors.
But this leaves a broken system.It failes to initialize the Solr embedded
server:
"Could not load conf for core xwiki: Error loading solr config from
/var/lib/xwiki/data/solr/xwiki/conf/solrconfig.xml"
But as far as I understood this file in untouched by the upgrade so it
should be the same. So I assume the error is elseware. I double checked all
other configuration files (xwiki.cfg, xwiki.properties, webx.ml,
catalina.properties) they should be okay.
Any help is welcome, Wolfgang
--
Thomas Mortagne