This documentation refers to an earlier version of Islandora. https://wiki.duraspace.org/display/ISLANDORA/Start is current.

Skip to end of metadata
Go to start of metadata

Overview

A simple module to extend islandora solution pack install processes by adding technical metadata extraction via the File Information Tool Set (FITS).

Behind the scenes, the module tries to get as much metadata as possible from your file by running:

fits.sh -i infile -xc -o outfile

The -xc command can sometimes cause problems, so if that fails, the module tries:

fits.sh -i infile -x -o outfile

Should that fail, technical metadata extraction is aborted and the error is logged in the watchdog (see Chapter 14 - Troubleshooting).

An error my be produced and logged in the apache error.log file even if TECHMD DS extraction is successfull, as the first attempt may fail and log an error while subsequent attempts may succeed.

The most common error printed out to the error.log file that is safe to ignore is as follows: "Exception in thread "main" java.lang.NullPointerException at edu.harvard.hul.ois.fits.FitsOutput.addStandardCombinedFormat(FitsOutput.java:310) at edu.harvard.hul.ois.fits.Fits.outputStandardCombinedFormat(Fits.java:294) at edu.harvard.hul.ois.fits.Fits.outputResults(Fits.java:275) at edu.harvard.hul.ois.fits.Fits.main(Fits.java:186) Error: output cannot be converted to a standard schema format for this file"

Watchdog will be updated when TECHMD DS fail's to generate.

Dependencies

This module requires the following modules/libraries:

Clone the fits tool which can be found here. Make sure it is in a location where the apache user can get access. Navigate to the fits folder and make sure fits.sh has executable permissions so the apache user can run the script.

Downloads

Release Notes and Downloads

Installation

Install as usual, see this for further information.

Configuration

Set the path for fits.sh and create a name for the Technical metadata stream ID in Administration » Islandora » Islandora Utility Modules » FITS Tool (admin/islandora/tools/fits).

Troubleshooting

If you run an ingest and you don't get any technical metadata, check to make sure the permissions on the fits folder and the fits.sh script are correct and the apache user can run the script.

Some images and audio files will cause problems during metadata extraction. These are not fatal errors, but appear to be formats the fits script can't understand. In these cases, you will get some error reporting in the technical metadata datastream that may help determine what happened.

Icon
If you ingest an object but don't get any technical metadata, you may have forgotten to update the permissions on the fits.sh script. If that is not the case, make sure your configuration points to the correct file.


FAQ

Q. Why didn't I get any technical metatadata?

A. If you run an ingest and you don't get any technical metadata, check to make sure the permissions on the fits folder and the fits.sh script are correct and the apache user can run the script.

Q. Why am I getting weird errors in the log?

A. Some images and audio files will cause problems during metadata extraction. These are not fatal errors, but appear to be formats the fits script can't understand. In these cases, you will get some error reporting in the technical metadata datastream that may help determine what happened.

  • No labels