Bug 332902 - upgrade from KDE 4.12 w Nepomuk to 4.13 Beta - all system tags missing
Summary: upgrade from KDE 4.12 w Nepomuk to 4.13 Beta - all system tags missing
Status: RESOLVED INTENTIONAL
Alias: None
Product: Baloo
Classification: Frameworks and Libraries
Component: General (show other bugs)
Version: unspecified
Platform: Kubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Vishesh Handa
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-01 13:54 UTC by Orion
Modified: 2014-11-13 13:39 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
nepomuk config file (311 bytes, text/plain)
2014-04-04 11:05 UTC, Orion
Details
.kde/share/config/nepomukserverrc (332 bytes, application/octet-stream)
2014-04-22 23:44 UTC, Tobias Ludwig
Details
Contact dialogue of KAdressbook (71.45 KB, image/jpeg)
2014-07-07 14:16 UTC, Knut Hildebrandt
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Orion 2014-04-01 13:54:32 UTC
after upgrade from 4.12.x KDE to 4.13 Beta meaning migrate from Nepomuk to Baloo all my "system tags" such as important etc are missing

Reproducible: Didn't try

Steps to Reproduce:
1. install Kubuntu 14.04 on existing system
2. upgrade to latest version
3.
Actual Results:  
system tags missing

Expected Results:  
system tags migrated from Nepomuk to Baloo search system
Comment 1 Vishesh Handa 2014-04-01 13:57:29 UTC
Please replace 'file' with a file which should have tags and run the following commands -

$ getfattr -d file
$ balooshow file

Please also post your ~/.kde/share/config/nepomukserverrc file. It could also be in your ~/.kde4 folder. It depends on your distro.
Comment 2 Orion 2014-04-04 11:05:57 UTC
Created attachment 85953 [details]
nepomuk config file
Comment 3 Orion 2014-04-04 11:07:29 UTC
seems my reply went missing.. thanks for checking up on this. I do not really use tags outside of my Contacts so am not able to remember any tagged file.

Any chance of searching for missing tags via a contact?

Kind regards
Sinclair
Comment 4 Vishesh Handa 2014-04-04 11:12:14 UTC
I didn't know you could tag contacts. Sorry - This hasn't been implemented, and implementing it won't be easy.

Did you have a large amount of tags?
Comment 5 Orion 2014-04-04 11:39:44 UTC
yes you could, the "system tags" could be used in KMail and Contacts as well as for files.

not all of them and there seems to have been changes lately (before Baloo) in that some things were added in KMail (replied to and such) that were unusable outside KMail.

No I can not say I had a huge amount but I liked to be able to search for e.g "travel agent" or "family" or whatever
Comment 6 Tobias Ludwig 2014-04-22 23:44:23 UTC
Created attachment 86222 [details]
.kde/share/config/nepomukserverrc
Comment 7 Tobias Ludwig 2014-04-22 23:58:21 UTC
I can confirm this bug :(

I upgraded from kubuntu 13.10 to 14.04 and lost all file ratings (backed up db size: 3.5MiB ; < 10^4 rated files).

$ getfattr -d file
$ balooshow file
Object::connect: No such signal org::freedesktop::UPower::DeviceAdded(QDBusObjectPath)
Object::connect: No such signal org::freedesktop::UPower::DeviceRemoved(QDBusObjectPath)
237146 file

$ nepomukbaloomigrator
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
Data already migrated. Quitting
nepomukbaloomigrator(6595): Communication problem with  "nepomukbaloomigrator" , it probably crashed. 
Error message was:  "org.freedesktop.DBus.Error.UnknownObject" : " "No such object path '/MainApplication'" " 



Additional information:
Backing up the db took about an hour and virtuoso-t completely used up one core.
The 13.04 --> 13.10 upgrade also lost all ratings, BUT nepomuk had at least a restore feature...
Comment 8 Vishesh Handa 2014-05-12 11:16:32 UTC
@Orion: Hey! Sorry about the delay. How did you tag your contacts? 

@Ludwig: This bug seems to be about tags related to Akonadi. If your file related ratings were not ported, could you please file a bug for that? You should ideally follow the steps over here - https://bugs.kde.org/show_bug.cgi?id=332902#c1
Comment 9 Orion 2014-05-12 12:46:32 UTC
The "system tags" existed in Kmail/Kontact as a way of e.g tagging a contact, an email and so on. They were far from flawless (especially version upgrades) but were to me a convenient way to sort primarily contacts.

As it is I have discovered that the "notes" filed in Kaddressbook in 4.13.x serves the same function (though I assume not systemwide, that does not worry me though). I can set a Contact to "plumber" and  searching for that in Kaddressbook it filters nicely.

As a sidenote any tags related to files etc also went missing meaning that at this moment I have no tags at all, not having bothered to recreate them. As I wrote I  have never really been a "tagging" person for files, I sort my files in directory trees mainly. Not being able to search for tags (earlier at least) from Dolphin did not make it very interesting
Comment 10 Knut Hildebrandt 2014-07-07 14:10:47 UTC
Same issue here. Migrated in Chakra Linux from KDE 4.12.x to 4.13.2 and all my tags (categories) in kadressbook and notes in kmail are gone. As already mentioned tags for tagging files could be used to tag contacts and mails too. In my case most of these tags were actually the "categories" I used to tag my contacts starting from Kmail1 on. These "categories" are/were written into the vcard-files using the entry CATEGORIES. Thus they somehow found their way into Akonadi too were I could use them - what I never did - to tag files. Moreover they are still being used by my owncloud-account to "categorise" my contacts. There everything seems to work fine.

Funny is, that I still can search for my "categories" in kadressbook and only get the contacts displayed which I had tagged with them. I just can't "categorise" new contacts nor change "categories". I append a screen-shot with the respective dialogue.

Another but seemingly related problem are the notes I added to many of my archived mails. All are gone. Were they migrated to Baloo? If so, how can I access them?

Cheers

Knut
Comment 11 Knut Hildebrandt 2014-07-07 14:16:55 UTC
Created attachment 87621 [details]
Contact dialogue of KAdressbook

As you can see, no "categories" are displayed any more. Furthermore in the contact management window none of my "categories" is being displayed. Thus I can't even tag new contacts using them.
Comment 12 Knut Hildebrandt 2014-07-07 14:20:55 UTC
One last question. Is there a way to migrate back to nepomuk and thus get back these for me crucial features and all the tags (categories) and notes I already have created?
Comment 13 Vishesh Handa 2014-10-17 14:50:51 UTC
Hey guys.

The Nepomuk project is not being developed anymore, and Baloo is only being developed in Qt5 as part of Plasma. Nepomuk was this rather large project which was being used in many different ways by many projects. Most developers weren't even aware of many of its uses. Now, with Baloo, responsibilities have been more clearly defined.

The concept of "System tags" no longer exists. For contacts and calendar entries Akonadi now maintains the tags themselves. This allows them to easily synchronize the tags with the server, and be more robust in general. 

It is unfortunate, but during the port to Nepomuk, only file tags were migrated. We weren't really aware of tags being used in other places apart from Emails and Files. Hopefully, now that we're moving towards smaller systems this shouldn't happen in the future.

I'm going to mark this bug as WONTFIX as it doesn't seem like we're going to be able to write a new migrator specially for these other tags.
Comment 14 Knut Hildebrandt 2014-10-19 08:28:21 UTC
Well, I can live without "System Tags". Did not use them anyway. But is there a way to get back the categories in kadressbook. Until 4.12 they were stored in " System Tags" and disappeared after the upgrade to 4.13. But they are still stored in the VCF-files and can be read and changed by other programs like ownCloud. I even can search for them in kadressbook. They are just not displayed anymore. Is there a way to import them into the new tag storage?

Cheers

Knut
Comment 15 Orion 2014-11-13 13:39:19 UTC
(In reply to Knut Hildebrandt from comment #14)
> Well, I can live without "System Tags". Did not use them anyway. But is
> there a way to get back the categories in kadressbook. Until 4.12 they were
> stored in " System Tags" and disappeared after the upgrade to 4.13. But they
> are still stored in the VCF-files and can be read and changed by other
> programs like ownCloud. I even can search for them in kadressbook. They are
> just not displayed anymore. Is there a way to import them into the new tag
> storage?
Interesting - I can also search for e.g Family, Business etc in Contacts (old Categories) and get results though the field Categories in 4.14.2 at least relates to the "Baloo" tags that I have created a few just to test
I think this needs the devs to sit down and make sure that tags, categories etc do not get confused in the future