Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to build Genome Database website by tripal

2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/02 Report--

This article mainly introduces tripal how to build a genome database website, which has a certain reference value. Interested friends can refer to it. I hope you will learn a lot after reading this article. Let's take a look at it.

Setting up Genome Database website by tripal

Download the official tripal image:

Docker pull tripalproject/tripaldocker:latest

Download the tripal module:

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

Start the image to run the website:

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

Common errors 1:The provided host name is not valid for this server. The solution can be found in: https://tripal4.readthedocs.io/en/latest/install/docker.html

Common error 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) 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) 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)

Solution: modify the localhost of / var/www/drupal8/web/sites/default/settings.php file: 'host' = >' 127.0.0.1'

Thank you for reading this article carefully. I hope the article "how to build a Genome Database website in tripal" shared by the editor will be helpful to you. At the same time, I also hope that you will support and follow the industry information channel. More related knowledge is waiting for you to learn!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report