Versions Compared

Key

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

...

For large collections, expect these operations to take five to ten minutes and place considerable load on the server.

Regenerating derivatives on a fileset

Log into the jobs server (prod or staging, depending on the situation.)

$ sudo su
$ cd /opt/sufia-project/current
$ bundle exec rails c production

irb(main) > file_set = FileSet.find("z029p569t")
irb(main) > file_set_id = file_set.files[0].id
irb(main) > CHF::CreateDerivativesOnS3Service.new(file_set, file_set_id).call