Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

When Matterhorn is running on a different server than Avalon and they don't share the same filesystem (and filesystem paths) for both the Rails web upload directory and dropbox, Avalon uses something called a working file path.  The working file path is a copy of the originally uploaded file where Matterhorn has access and at a path shared by both servers.  The working file path is stored on the MasterFile so that it can be cleaned up by a background job after the MasterFile has finished processing.


Image Added

Code Block
titleconfig/settings.xml
matterhorn:
  media_path: '/srv/matterhorn/ingest'


For example, if Matterhorn is running on a different server and Matterhorn's ingest directory is '/srv/matterhorn/ingest' and mounted on the Avalon server at the same location and Avalon's dropbox directory is '/srv/avalon/dropbox' then Settings.matterhorn.media_path should be configured to be '/srv/matterhorn/ingest'.    Note that the directories must be named the same on both the matterhorn server and the avalon server since absolute paths are sent to matterhorn from avalon.