Software Open Access

PecanProject/bety: BETYdb 5.3.0

Scott Rohde; Carl Crott; David LeBauer; Patrick Mulrooney; Rob Kooper; Jeremy Kemball; Jimmy Chen; Andrew Shirk; Zhengqi Yang; Max Burnette; Haotian Jiang; Yilin Dong; Uday Saraf; Michael Dietze; Chris Black; Chris Schnaufer


Dublin Core Export

<?xml version='1.0' encoding='utf-8'?>
<oai_dc:dc xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:oai_dc="http://www.openarchives.org/OAI/2.0/oai_dc/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/oai_dc/ http://www.openarchives.org/OAI/2.0/oai_dc.xsd">
  <dc:creator>Scott Rohde</dc:creator>
  <dc:creator>Carl Crott</dc:creator>
  <dc:creator>David LeBauer</dc:creator>
  <dc:creator>Patrick Mulrooney</dc:creator>
  <dc:creator>Rob Kooper</dc:creator>
  <dc:creator>Jeremy Kemball</dc:creator>
  <dc:creator>Jimmy Chen</dc:creator>
  <dc:creator>Andrew Shirk</dc:creator>
  <dc:creator>Zhengqi Yang</dc:creator>
  <dc:creator>Max Burnette</dc:creator>
  <dc:creator>Haotian Jiang</dc:creator>
  <dc:creator>Yilin Dong</dc:creator>
  <dc:creator>Uday Saraf</dc:creator>
  <dc:creator>Michael Dietze</dc:creator>
  <dc:creator>Chris Black</dc:creator>
  <dc:creator>Chris Schnaufer</dc:creator>
  <dc:date>2020-04-15</dc:date>
  <dc:description>Please read the steps below to upgrade your system. Not following these steps could break your instance of BETY.
Password encryption
The previous versions of BETY would ignore the environment variable SECRET_KEY_BASE and use the default value defined in config/defaults.yml. If you have set SECRET_KEY_BASE and upgrade BETY you will not be able to login anymore!. It is best to remove SECRET_KEY_BASE if set and default back to the default SECRET_KEY_BASE.
This release requires a migration.
Steps Needed for Upgrade (Non Docker)

Log in to the server.
cd to the Rails root directory.
Run git pull to get the latest version of the master branch.
Update any gems using bundle
Run the migration in the new release with
bundle exec rake db:migrate RAILS_ENV=production
Restart the Rails server with
touch tmp/restart.txt

Steps Needed for Upgrade (Docker)

Log in to the server
cd to the directory with the docker-compose file
update the version of bety (if you don't use latest)
stop BETY
docker-compose rm --stop bety 
download latest version
docker-compose pull bety
run migration
docker-compose run --rm bety migrate
start bety
docker-compose up -d bety

PEcAn dump script
There is a change to the script/dump.bety.sh that will keep the creation/update times of the users in the database. This is needed for future work to speed up database synchronizations. If you use the script standalone, please copy latest script.
Complete list of changes
Fixes

#696 : actually now uses environment variable SECRET_KEY_BASE. If this was set, unset otherwise you can not login to BETY.
#551 : remove GUnload message from console on page change.
#672 : Added activemodel-serializers-xml Gem to restore functionality of "original" API XML endpoints.
#674 : Upgraded comma Gem to restore CSV file downloads.
#699 : when dumping users created/updated is set to date of dump, now keeps original dates.
use actual information in database for load and dump scripts.
update doi links http://dx.doi.org --&gt; https://doi.org
fixed functions to explicitly add public. to function call and table reference. (this will require a migration)
upgrade rake to 13.0.1 (dependbot fix)
upgrade nokogiri to 1.10.8 (dependbot fix)

Added

script to add new users to bety
dockerfile to dump database in docker image for faster restore of database.
switched to github actions instead of Travis
cronjob on github actions to create pecan/db docker image nightly, will safe also with year-weak (i.e 2020-15)
</dc:description>
  <dc:description>Development of BETYdb is supported by the National Science Foundation (ABI #1062547, ABI #1458021),  the Department of Energy (ARPA-E awards #DE-AR0000594 and DE-AR0000598), and the Energy Biosciences Institute.</dc:description>
  <dc:identifier>https://zenodo.org/record/3753246</dc:identifier>
  <dc:identifier>10.5281/zenodo.3753246</dc:identifier>
  <dc:identifier>oai:zenodo.org:3753246</dc:identifier>
  <dc:language>eng</dc:language>
  <dc:relation>url:https://github.com/PecanProject/bety/tree/betydb_5.3.0</dc:relation>
  <dc:relation>doi:10.5281/zenodo.593027</dc:relation>
  <dc:rights>info:eu-repo/semantics/openAccess</dc:rights>
  <dc:rights>https://opensource.org/licenses/NCSA</dc:rights>
  <dc:title>PecanProject/bety: BETYdb 5.3.0</dc:title>
  <dc:type>info:eu-repo/semantics/other</dc:type>
  <dc:type>software</dc:type>
</oai_dc:dc>
247
24
views
downloads
All versions This version
Views 24713
Downloads 243
Data volume 326.7 MB38.3 MB
Unique views 1759
Unique downloads 131

Share

Cite as