Versions Compared

Key

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

...

# ssh to server as deploy user
$ cd /opt/sufia-project/current
$ RAILS_ENV=production bundle exec rails console production$ ActiveFedora::Base.reindex_everythingrake chf:reindex

Or, try using cap remote rake:  `cap (production|staging) invoke:rake TASK=chf:reindex`

Note: If Reindexing due to a server move, import the Postgres database of users prior to reindexing. Otherwise you will need to reindex again once the users have been moved over.

...