Avalon R4 uses a new approach to storing the file locations of streaming derivatives. Administrators should modify their avalon.yml
configuration to point to the absolute path of the folder that will be used to store Avalon derivatives (see below). In almost all circumstances, the path will exactly match the org.opencastproject.streaming.directory
in Matterhorn’s config.properties
file.
In config/settings.yml
:
Code Block |
---|
... streaming: ... content_path: /path/to/streaming/derivatives ... |
...
Code Block |
---|
Derivative.where('derivativeFile_ssi:*/mnt/my_nfs_old*').find_each {|d| d.absolute_location = d.absolute_location.sub("/mnt/my_nfs_old","/mnt/my_nfs_new"); d.save!; puts d.absolute_location} |
...