tripal搭建基因组数据库网站

tripal搭建基因组数据库网站

下载tripal官方镜像:

docker pull   tripalproject/tripaldocker:latest


下载tripal模块:

git clone https://github.com/tripal/t4d8


启动镜像运行网站:

docker run --publish=80:80 --name=t4d8 -tid --volume=/web/t4d8:/var/www/drupal8/web/modules/contrib/tripal tripalproject/tripaldocker:latest



常见错误1:The provided host name is not valid for this server.  解决办法见:https://tripal4.readthedocs.io/en/latest/install/docker.html


常见错误2:

The website encountered an unexpected error. Please try again later.
PDOException: SQLSTATE[08006] [7] FATAL: no pg_hba.conf entry for host "::1", user "drupaladmin", database "sitedb", SSL on FATAL: no pg_hba.conf entry for host "::1", user "drupaladmin", database "sitedb", SSL off in Drupal\Component\DependencyInjection\PhpArrayContainer->createService() (line 79 of /var/www/drupal8/web/core/lib/Drupal/Component/DependencyInjection/PhpArrayContainer.php).
Drupal\Component\DependencyInjection\PhpArrayContainer->createService(Array, 'database') (Line: 176)
Drupal\Component\DependencyInjection\Container->get('database', 1) (Line: 212)
Drupal\Component\DependencyInjection\PhpArrayContainer->resolveServicesAndParameters(Array) (Line: 62)
Drupal\Component\DependencyInjection\PhpArrayContainer->createService(Array, 'cache.container') (Line: 176)
Drupal\Component\DependencyInjection\Container->get('cache.container') (Line: 550)
Drupal\Core\DrupalKernel->getCachedContainerDefinition() (Line: 903)
Drupal\Core\DrupalKernel->initializeContainer() (Line: 473)
Drupal\Core\DrupalKernel->boot() (Line: 716)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)


解决办法: 将 /var/www/drupal8/web/sites/default/settings.php  文件种的localhost 修改: 'host' => '127.0.0.1',  



  • 发表于 2021-12-03 14:05
  • 阅读 ( 2401 )
  • 分类:基因组学

你可能感兴趣的文章

相关问题

0 条评论

请先 登录 后评论
omicsgene
omicsgene

生物信息

698 篇文章

作家榜 »

  1. omicsgene 698 文章
  2. 安生水 347 文章
  3. Daitoue 167 文章
  4. 生物女学霸 120 文章
  5. xun 82 文章
  6. 红橙子 78 文章
  7. rzx 74 文章
  8. CORNERSTONE 72 文章