Old Release

This documentation relates to an old version of VIVO, version 1.9.x. Looking for another version? See all documentation.

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Warning screen at startup

As VIVO goes through its startup process, it executes a series of "smoke tests" to try to confirm that the configuration is correct. For example, it checks to see that the home directory exists, and that VIVO has permission to write to it. It checks that VIVO can connect to the database. It checks that Solr is running, and that VIVO can connect to it.

If any of these tests fail, you will see a warning or error message when you direct your browser to VIVO. If the message is a warning (yellow), you may click the "continue" link to ignore the warning. If the message is an error (red), it is considered fatal, and VIVO will not respond to any requests.

Some of the warnings or errors may be cryptic, but they are intended to offer clues as to why your VIVO installation will not work properly.

FIGURE 1 - A fatal error at startup

Rebuilding the Search Index

The search index of VIVO is used not just for full text search but also for the menu pages and index pages. If the system is not displaying the individuals that you would expect to see, the search index may need to be rebuilt. To rebuild the index log in as an administrative user and request *

http://vivo.example.edu/SearchIndex

*. This page will allow you to start a rebuild of the search index. A rebuild may take some time. The browser page will refresh every few seconds. Once the index rebuild is set up, the page will display how much time the rebuild has taken, and an estimate of how much additional time will be needed. When the indexing is completed, the page will return to its previous state.

How to Serve Linked Data

The default namespace value set during installation needs to match the domain name where you are serving your VIVO application from (VIVO web address).

Examples of VIVO web addresses and default namespace values:

To check what your default namespace is currently set for:

  1. Log into VIVO as an administrator, go to Site Admin -> SPARQL query.
  2. Clear all of the text from the text area, enter the following query in the text area:

    SELECT str( ?a ) WHERE { ?_ <http://vitro.mannlib.cornell.edu/ns/vitro/0.7#rootTab> ?a }

  3. Scroll down and click “Run Query” and you should get a result like this:
  4. To get the default namespace from the result, take everything in quotes up to and including the last forward slash. In this case the default namespace is *

    http://usertesting.mannlib.cornell.edu/individual/

    *

  5. If you do not have a default namespace that matches the domain name where your VIVO application is installed, you can use the “Change Namespace of Resources” option under Site Admin – Ingest Tools to correct it. If you just change your configuration in runtime.properties, VIVO will not run correctly. Once you’ve made the change in the SiteAdmin, you will need to change it in runtime.properties, re-deploy and restart tomcat.

Long URLS

If you checked your default namespace and ensured it matches the domain name where your VIVO application is installed, you may find that you still have long URLs on some people profiles.

In other words, you expect to have URLs like this: *

http://vivo.example.edu/individual/n5143

But instead, you have URLs like this:

http://example.edu/individual?uri=http%3A%2F%2Fvivo.example.edu%2Fsomethingl%2Fn5143

In this case, you have individuals with URIs that are not in your VIVO application’s default namespace. There are a couple of ways that this could have happened:

The individuals could have been created using a ingest process that did not create individuals in the default namespace.

The individuals could have been created when the system had a different default namespace.

The individuals could be from RDF data that was imported.

In general, once you have the default namespace set up correctly for your VIVO application, then all the individuals you create using the web interface will have the default namespace. You have to be careful to make sure that any individuals created by an ingest process use the default namespace. Please see the Data Ingest Guide located at http://vivoweb.org for instructions.

Some individuals that are shipped with the application are not in the default namespace. For example, the countries and geographical locations are in a different namespace. Do not attempt to change the namespace of these individuals.

  • No labels