Announcement

Collapse
No announcement yet.

[solved] Today's update broke nepomuk

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    [solved] Today's update broke nepomuk

    I have virtuoso-ose-6.1 installed, via the repositories. Today's update (4 Sept 2010) included an update to the entire virtuoso-ose package, from 6.0 to 6.1. After the update, virtuoso seems to be working fine -- conductor comes up on the web interface, just as it should. But nepomuk, or rather strigi, I don't know how to tell which -- is dead. I get an error message from akonadi to the effect that the nepomuk search service is disabled.

    Going to SystemSettings > Desktop Search, the checkbox for Nepomuk Semantic Desktop is checked, but the box for Strigi says, "Strigi Service not running". If I check that box, I get the akonadi message again:

    Nepomuk Indexing Agents Have Been Disabled
    The Nepomuk service is not available or fully operational and attempts to rectify this have failed. Therefore indexing of all data stored in the Akonadi PIM service has been disabled, which will severely limit the capabilities of any application using this data.

    The following problems were detected:
    Calling the Nepomuk storage service failed: 'The name org.kde.NepomukStorage was not provided by any .service files'.
    Additional help can be found here: userbase.kde.org/Akonadi
    and I still get the message that the strigi service is not running. Searching within Dolphin is dead.

    I looked through the virtuoso packages, and they are all 6.1.2+dfsg1..., so there does not seem to be a version mismatch. Trying to sort through the package dependencies, it look like virtuoso-minimal just depends on virtuoso-opensource-6.1-bin, which is what is installed. So it appears that the update didn't break virtuoso itself, but somehow blew up whatever configuration nepomuk.strigi needs.

    I'm still hacking away at this; any ideas appreciated.
    Also, looks like Maverick is similarly affected.

    Edit: I take back what I said about virtuoso being OK. The update totally whacked all of my accounts. Bad update...




    We only have to look at ourselves to see how intelligent life might develop into something we wouldn't want to meet. -- Stephen Hawking

    #2
    Re: Today's update broke nepomuk

    Is there a reason that you need virtuoso-opensource installed? I just have virtuoso-nepomuk installed. Here, on my 10.04 32-bit install, all is well. virtuoso-nepomuk (here) is at version 6.1.0. Kontact works. My contacts are fully functional.
    Windows no longer obstructs my view.
    Using Kubuntu Linux since March 23, 2007.
    "It is a capital mistake to theorize before one has data." - Sherlock Holmes

    Comment


      #3
      Re: Today's update broke nepomuk

      Is there a reason that you need virtuoso-opensource installed?
      Yes.
      No matter, it did work, and should still. Apparently the update wiped out all the configuration files.

      virtuoso-nepomuk (here) is at version 6.1.0.
      Hmm. Everything I see in synaptic says version 6.1.2, including virtuoso-nepomuk.
      Next thing to try is a reinstall of virtuoso-nepomuk.
      We only have to look at ourselves to see how intelligent life might develop into something we wouldn't want to meet. -- Stephen Hawking

      Comment


        #4
        Re: Today's update broke nepomuk

        Further:

        I did a remove-and-purge of all the virtuoso packages, then reinstalled nepomuk-virtuoso.
        Nepomuk still refuses to work. When I try to start the nepomukserver, I get an error message saying it can't start virtuoso. Manually starting virtuoso-t seems to work; the server process starts, and there are no error messages.


        We only have to look at ourselves to see how intelligent life might develop into something we wouldn't want to meet. -- Stephen Hawking

        Comment


          #5
          Re: Today's update broke nepomuk

          Yet further:

          Strange. When I start kontact, the calendars I set up are there. So akonadi itself is running.

          But when I try to search from Dolphin, I get error messages about nepomuk not running (it is, according to ps aux | grep nepomuk) and the virtuoso backend not being available (virtuoso is running).

          The attached file contains the akonadi start log, which has some information about nepomuk.


          Attached Files
          We only have to look at ourselves to see how intelligent life might develop into something we wouldn't want to meet. -- Stephen Hawking

          Comment


            #6
            Re: Today's update broke nepomuk

            Here is what I discovered:

            In the virtuoso-6.1.0 packages, the package virtuoso-nepomuk contains, among other things, the file /usr/lib/virtuoso/virtuoso-t and /usr/lib/odbc/virtodbc_r.so. These are the files that nepomuk needs to run. As follows:

            greenman@Wolfenstein:~$ dpkg-query --listfiles virtuoso-nepomuk
            /.
            /usr
            /usr/bin
            /usr/sbin
            /usr/share
            /usr/share/doc
            /usr/share/doc/virtuoso-nepomuk
            /usr/share/doc/virtuoso-nepomuk/changelog.Debian.gz
            /usr/share/doc/virtuoso-nepomuk/TODO.Debian
            /usr/share/doc/virtuoso-nepomuk/AUTHORS
            /usr/share/doc/virtuoso-nepomuk/README.Debian
            /usr/share/doc/virtuoso-nepomuk/copyright
            /usr/share/doc/virtuoso-nepomuk/changelog.gz
            /usr/share/doc/virtuoso-nepomuk/NEWS.gz
            /usr/share/doc/virtuoso-nepomuk/README.gz
            /usr/lib
            /usr/lib/odbc
            /usr/lib/odbc/virtodbc_r.so
            /usr/lib/virtuoso
            /usr/lib/virtuoso/virtuoso-t
            /etc/init.d/virtuoso-nepomuk
            Now in 6.1.2, virtuoso-nepomuk has only these:
            root@Wolfenstein:/# dpkg-query --listfiles virtuoso-nepomuk
            /.
            /usr
            /usr/share
            /usr/share/doc
            /usr/share/doc/virtuoso-nepomuk
            /usr/share/doc/virtuoso-nepomuk/README.Debian
            /usr/share/doc/virtuoso-nepomuk/copyright
            /usr/share/doc/virtuoso-nepomuk/NEWS.Debian.gz
            /usr/share/doc/virtuoso-nepomuk/TODO.Debian
            /usr/share/doc/virtuoso-nepomuk/NEWS.gz
            /usr/share/doc/virtuoso-nepomuk/README.gz
            /usr/share/doc/virtuoso-nepomuk/changelog.gz
            /usr/share/doc/virtuoso-nepomuk/changelog.Debian.gz
            /usr/share/doc/virtuoso-nepomuk/AUTHORS
            So nothing of any real value. It apparently depends on the virtuoso--bin package for its files, which may be causing the problem.
            We only have to look at ourselves to see how intelligent life might develop into something we wouldn't want to meet. -- Stephen Hawking

            Comment


              #7
              Re: Today's update broke nepomuk

              Is this lucid or maverick? In maverick, all the stuff in virtuoso-nepomuk got moved to virutoso-minimal, and virtuoso-nepomuk became a transitional package to virutoso-minimal. If this is lucid, then it looks like somebody botched the backport of virtuoso...

              Comment


                #8
                Re: Today's update broke nepomuk

                If this is lucid, then it looks like somebody botched the backport of virtuoso...
                Yeah, I think that's about it.

                Yes, this is lucid, and yes, the backport is apparently botched.

                What seems to have happened is that instead of installing a unique virtuoso-t and virtodbc_r.so, the new method will be to install virtuoso-opensource, and use it's files to run nepomuk. That's what virtuoso-minimal now points to. Great plan; that means that nepomuk can now co-exist with the virtuoso package, and both will be able to run concurrently, instead of having to stop one to run the other. But it appears at this point that nepomuk, or the soprano backend, don't lnow how to work with this arrangement.

                Well, maybe it will get worked out eventually. Right now, I messed up the lucid installation so bad I am restoring from backup. Will do the upgrade again, and watch more carefully what it is doing this time.
                We only have to look at ourselves to see how intelligent life might develop into something we wouldn't want to meet. -- Stephen Hawking

                Comment


                  #9
                  Re: Today's update broke nepomuk

                  Workaround:

                  I reloaded the system from backup, put holds on all the virtuoso packages, and ran the full dist-upgrade. Nepomuk and strigi seem happy. Will mess with the virtuoso stuff later.
                  We only have to look at ourselves to see how intelligent life might develop into something we wouldn't want to meet. -- Stephen Hawking

                  Comment


                    #10
                    Re: [solved] Today's update broke nepomuk

                    After hacking away at this, came up with the following fix:

                    Remove the file
                    ~/.kde/share/apps/nepomuk/repository/main/data/virtuosobackend/soprano-virtuoso.trx
                    Evidently this is not compatible with the new virtuoso-t.
                    Also removed
                    /var/lib/virtuoso-opensource-6.1/db

                    Lost all the data, but I lost all that upgrading from 6.0 -> 6.1 anyway.

                    Rebooted, now nepomuk works, and virtuoso conductor works. There are two virtuoso processes, one for nepomuk and another for the regular database, and both seem to be coexisting.

                    Works in both Maverick and Lucid.
                    Will have to test further to make sure it's perfect, but at this point all seems to be working.

                    But, as a CS professor once said, nothing is more dangerous than a computer output that "seems" right ...

                    Edit: If you happen to have data from 6.0 that you need to migrate, there is an "official" way to do it somewhere on the web site ( http://virtuoso.openlinksw.com/ ). Found it once, but nevermore...

                    We only have to look at ourselves to see how intelligent life might develop into something we wouldn't want to meet. -- Stephen Hawking

                    Comment

                    Working...
                    X