TripalCultivate / TripalCultivate-Phenotypes

Provides generic support for large scale phenotypic data and traits with importers, content pages and visualizations.
GNU General Public License v3.0
1 stars 0 forks source link

Use new noChado Tripaldocker images. #33

Closed laceysanderson closed 1 year ago

laceysanderson commented 1 year ago

Issue #31

Motivation

While the docker was able to build with no error, however, when I load the homepage it is a WSOD with the following error message:

Drupal\tripal\TripalDBX\Exceptions\SchemaException: Invalid or unsupported Chado schema version ''. in Drupal\tripal_chado\Database\ChadoSchema->getSchemaDef() (line 56 of modules/contrib/tripal/tripal_chado/src/Database/ChadoSchema.php).

The motivation for this PR is to fix that issue so we can actually use our docker site again ;-p

What does this PR do?

Please describe each things this PR does. For example, a PR may 1) solve a specific bug, 2) create an automated test to ensure it doesn't return.

  1. Switches the dockerfile to use -noChado images from Tripal core added via https://github.com/tripal/tripal/pull/1575
  2. Updates the dockerfile to both install and prepare chado based on the supplied arguement with a default of testchado.

Testing

Manual Testing

Describe in detail how someone should manually test this functionality. Make sure to include whether they need to build a docker from scratch, create any records, etc.

  1. Build the docker image
  2. Ensure you can load the home page of the site by going to https://localhost
reynoldtan commented 1 year ago

Confirmed fixed, I am to load localhost without errors mentioned previously.