Difference between revisions of "Debug"

From Berlin Harvesting and Indexing Toolkit
Jump to: navigation, search
(The application is deployed but does not start)
 
Line 4: Line 4:
  
 
Have a look in the catalina logs and windows!
 
Have a look in the catalina logs and windows!
 +
 +
=Target count is 0 after metadata harvesting=
 +
Check if dataset title is searchable (don't use literal). for ABCD archive target count also is 0.
  
 
=A new datasource can not get its metadata updated=
 
=A new datasource can not get its metadata updated=

Latest revision as of 12:47, 2 March 2016

The application is deployed but does not start

  • Check the JVM used. From 1.8 there should not be any problem.
  • Check if the permissions (folders, database) are correct.

Have a look in the catalina logs and windows!

Target count is 0 after metadata harvesting

Check if dataset title is searchable (don't use literal). for ABCD archive target count also is 0.

A new datasource can not get its metadata updated

  • Check your MySQL schema - did you add the schemaOnly commands?
  • Is it a brand new schema or protocol version, absent from the standardschema table?

It's complaining about some SHA file not found

  • Check the path for the temporaryFolder - did you forget to escape the backslash on windows?
  • In the latest version, the sha1responses.datasetdir should only contain slashes (no backslashes anymore). If this column still contains \, please update the content.


A datasource is added, the metadata are not updated

  • Check the accespoint you entered: on the datasource page, you can use the function "Check accesspoints validity".

A datasource is added, the metadata are updated but no new datasource to harvest appears in the tab

  • Reload the page.

A associated datasource is added, the metadata are updated but no new datasource to harvest appears in the tab

  • Reload the Associated datasource page.
  • Check if there is a new line in the MySQL table bio_datasource.
  • Check if the new datasource (harvester_factory like '%Harvester%') has the correct value for "isAssociated" (should be 1). If not, edit and save the changes. For some obscure reasons, this parameter is sometimes left as false.

The new jobs are listed in the tab, but disappears without anything being done

It might be due to a difference between the time stamp from the database server and the server where b-hit is running. B-HIT can only handle cases where the database server is max. 5min ahead from the application server.