This forum has been archived. All content is frozen. Please use KDE Discuss instead.

not able to find the configured database backend 'redland'

Tags: None
(comma "," separated)
marcaurel
Registered Member
Posts
8
Karma
0
Hello,
if I understood it correctly I need depomuk to index my emails in order to search them from within kmail.

But when I enable Nepomuk and enable the Email-Indexer still kmail complains about:
The Nepomuk semantic search service is not available. Searching is not possible without it. You can enable it in "System Settings".
But I see some 'nepomukserver' running - so what do I miss here ?

So 2nd I tried to also Enable Nepomuk File Indexer (not sure wether this is necessary if I'm only interested in searching my mails).
But doing so nepomuk complains about:
Nepomuk was not able to find the configured database backend 'redland'. Existing data can this not be accessed.
For data security reasons Nepomuk wiil be disabled until the situation has been resdolved manually.

So here I'm stuck - what can I do to solve the 'redland' problem (an according package is installed, too) ?
Or maybe I'm on the wrong path: Is there a way to let kmail search my messages without nepomuk ?
(currently the only solution I see is to use native console grep & find as an work-around)

Any help welcome!
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Did you compile the version of KDE installed on your system, or was it provided by your distribution?
In particular, this concerns "Soprano", which is the underlying library supporting Nepomuk.

If it was distribution provided, check to see if a "soprano-backend-redland" package is installed - and install it if it is not.
If there is no such package, I would suggest asking on your distributors forums, as they are not shipping a usable Nepomuk.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
marcaurel
Registered Member
Posts
8
Karma
0
It's the standard KDE-4.10 provided by openSUSE-12.3 and the soprano-backend-redland package (2.9.0) is installed.
I even did a complete re-install of all nepomuk/soprano-packages today, but with no effect.
The only special thing on my installation is that its not a fresh initial KDE-4.10, but an update from kDE-4.4.
And as kmail in KDE-4.4 worked without nepomuk I had it switched off (i.e. maybe it was broken beforehand
and I just didn't recognise, because I never used it).

One further info:
On the 'Desktop Search' configuration I see a 'Desktop search is active', but the Nepomuk file indexer
says 'File indexing service not running' (also I have it enabled). Moreover clicking on 'Details' I am also
told that indexing is not running with the hint 'Indexing files: Calculating ...' but I see no option to start/stop
indexing. Hence: How can I start indexing ? or waht else can I check ?
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Can you check the output of this command please?
Code: Select all
sopranocmd --help

In particular you are looking for something such as this:
Code: Select all
   --backend           The backend to use when accessing a storage directly and not via the Soprano server.
                       Possible backends are:
                       virtuosobackend, redland

If Redland is not in that list (it is in this example) then it seems to be missing - try checking your Soprano packages to make sure they come from the same repository, and are of matching versions.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
marcaurel
Registered Member
Posts
8
Karma
0
Yes, sopranocmd (2.9.0) gives me exactly that --backend information: virtuosobackend, redland

But meanwhile I got a little bit further: Triggered by the experience from my kwallet-issue
regarding strange upgrade-behaviour I just created a new user-account with fresh kde-settings
and on this new account the redland-error is gone and nepomuk indexing is working.
Hence it must be the user-home-settings, not the kde-package installation as such.
When comparing config files between old/new user I found in the [main settings] of old user's
~/.kde4/share/config/nepomukserverrc:
> Used Soprano Backend=redland
> rebuilt index for type indexing=true

I removed those extra-lines from the old user's config and voila: nepomuk indexing works :-)

However, my enthusiasm was broken again when I tried to search my indexed emails via kmail
'Find Messages'. This still doesn't work, but instead of the Nepomuk/redland-error I get an
"Can not get search result. Only resources can modify remote identifiers."
Again this message text is not really helpful for me - again I have no glue of what is happening.
Perhaps this new problem is purely kmail related and not caused by nepomuk/strigi.
Also I have other strange effects in kmail (duplicate mails, resyncing untouched mail-folders,
filters not working, etc.) - probably mostly related to earlier attempts to update the kde-version
(I remember that once I had to switch back from an apha-4.6 to 4.4 and the kmail-migration to
4.10 didn't went smooth either).
So 'yes' the problems probably arise from my special upgrade-history - but this knowing doesn't
really help me yet. After fiddling/googling/re/up/downgrading for days I'm currently quite frustrated.
Thank you very much for your support, but currently I do not see an end to my overall-upgrade-problems
other than starting a new life (i.e. forget my 15 years of ~50000 old mails) or again downgrading
to an older kde or switching to xfce (maybe I should try suse's kde-3.5 repository) - which is a pity,
because I'm really a log-term fan of kde and kmail in especially.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
That error does indicate a problem in KMail i'm afraid, so you will need to ask in the Kontact forum about that. I can't help there as i'm not a Kontact user.
I can advise that you do take a full backup of all of your email, contacts, and other PIM data before making any further changes however.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]


Bookmarks



Who is online

Registered users: bancha, Bing [Bot], Google [Bot], Sogou [Bot]