Versions Compared

Key

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

...

Code Block
languagebash
themeRDark
wget https://repo.open.catalyst.harvard.edu/nexus/content/groups/public/net/shrine/shrine-setup/3.2.1/shrine-setup-3.2.1-dist.zip -O /tmp/shrine-setup.zip
unzip -d /tmp /tmp/shrine-setup.zip

For hub administrators only, run the following shell command:

Code Block
languagebash
themeRDark
mysql -u shrine -pYourPassword qepAuditDB < /tmp/shrine-setup/hub/sql/mysql-update.sql


In that directory find the following database update scripts script for your brand of database: hub/sql/brand-update.sql and adapter/sql/shrine_query_history-brand.sql . Run the appropriate script on your database. For MariaDB run the following shell commands:

Code Block
languagebash
themeRDark
mysql -u shrine -pYourPassword qepAuditDB < /tmp/shrine-setup/hub/sql/mysql-update.sql
mysql -u shrine -pYourPassword shrine_query_history < /tmp/shrine-setup/adapter/sql/shrine_query_history-update-mysql.sql

...