galaxy-genome-annotation / docker-tripal

Docker container for Tripal
10 stars 11 forks source link

Apparent infinite loop in Docker-Compose build of web subproject #26

Closed RichardBruskiewich closed 5 years ago

RichardBruskiewich commented 5 years ago

While running the latest (Oct 2/18) docker-compose.yml build on the v3.x branch, the build of the web container, although giving the impression that it was building, was in fact caught in some kind of bizarre infinite loop of configuration (hence, never actually completes its provisioning/initialization)?

Here is one full cycle of the docker log output for the issue (I'm making an educated guess.. perhaps wrong? - of where the cycle starts). I do notice (highlighted here) that whatever script is running, it appears to be picking up the 7.x-2.1 release of the Tripal code, NOT the 7.x-3.x. I suspect that this is because the latest release of the repo is set to 2.1, so when https://updates.drupal.org/release-history/tripal/7.x is accessed, that is all that is seen.

===========================================
The following projects provide some or all of the extensions not            [ok]
found:
tripal
Calling proc_open(/usr/local/bin/php /root/.composer/vendor/drush/drush/drush.php --php=/usr/local/bin/php  --verbose --root=/var/www/html --uri=http://default  pm-download tripal 2>&1);
Executing: PGPASSFILE=/tmp/drush_YZ1Y60 psql -q --dbname=postgres --host=postgres --port=5432 --username=postgres  --no-align --field-separator='       ' --pset tuples_only=on --file /tmp/drush_VgCc0x
Executing: PGPASSFILE=/tmp/drush_83K5LX psql -q --dbname=postgres --host=postgres --port=5432 --username=postgres  --no-align --field-separator='       ' --pset tuples_only=on --file /tmp/drush_Pulwru
Loading version_control engine.                                         [notice]
Loading package_handler engine.                                         [notice]
Executing: wget --version
Loading release_info engine.                                            [notice]
Downloading release history from                                        [notice]
https://updates.drupal.org/release-history/tripal/7.x
/root/.drush/cache/download/https---updates.drupal.org-release-history-tripal-7.x   [notice]
retrieved from cache.
Undefined variable: recommended_major Project.php:397                   [notice]
Undefined variable: recommended_major Project.php:397                   [notice]
Downloading project tripal ...                                          [notice]
/root/.drush/cache/download/https---ftp.drupal.org-files-projects-tripal-**7.x-2.1**.tar.gz   [notice]
retrieved from cache.
Downloading tripal-**7.x-2.1**.tar.gz was successful.                       [notice]
Md5 checksum of tripal-**7.x-2.1**.tar.gz verified.                         [notice]
Executing: tar  -C /tmp/drush_tmp_1538684512_5bb6766043e4d -xzf tripal-**7.x-2.1**.tar.gz
Executing: tar -tzf tripal-**7.x-2.1**.tar.gz
Using destination directory /var/www/html/sites/all/modules             [notice]
Executing: svn info /var/www/html/sites/all/modules
Executing: bzr root /var/www/html/sites/all/modules
Install location /var/www/html/sites/all/modules/tripal already exists. Do you want to overwrite it? (y/n): y
Project tripal (**7.x-2.1**) downloaded to                                 [success]
/var/www/html/sites/all/modules/tripal.
Project tripal contains 19 modules: tripal_stock, tripal_example, tripal_phenotype, tripal_analysis, tripal_featuremap, tripal_feature, tripal_views, tripal_cv, tripal_contact, tripal_phylogeny, tripal_libr
ary, tripal_db, tripal_core, tripal_genetic, tripal_organism, tripal_natural_diversity, tripal_project, tripal_bulk_loader, tripal_pub.
Command dispatch complete                                               [notice]
tripal was not found.                                                  [warning]
tripal_chado was not found.                                            [warning]
tripal_ds was not found.                                               [warning]
tripal_ws was not found.                                               [warning]

===========================================
abretaud commented 5 years ago

I guess that's because the image comes with a collection of pre-installed modules, and one of them is probably not yet 3.x ready. I'm going to check this. In the meantime, you can play with TRIPAL_ENABLE_MODULES to enable only the modules you need

abretaud commented 5 years ago

Ok, I've pushed an update of the docker image, it no longer tries to install deprecated modules. I'm closing it as I think you shouldn't have this problem anymore, feel free to reopen if you still have problem!