Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add content - Analysis: Blast,throw error #44

Open
horizon365 opened this issue Feb 8, 2022 · 5 comments
Open

Add content - Analysis: Blast,throw error #44

horizon365 opened this issue Feb 8, 2022 · 5 comments

Comments

@horizon365
Copy link
Contributor

图片

In browser network debug tool, it shows [HTTP/1.1 500 Service unavailable (with message) 310ms] with below url.
http://127.0.0.1:3000/node/add/chado-analysis-blast?render=overlay
图片

@abretaud
Copy link
Member

abretaud commented Feb 8, 2022

Hi!
Do you have more details in the docker logs?
How did you run your container?

@horizon365
Copy link
Contributor Author

Hi, abretaud. thanks for you reply. The docker logs is show as follow:

tripal_1 | x:80 116.6.99.217 - - [09/Feb/2022:02:05:37 +0000] "GET /node/add/chado-analysis-blast?render=overlay HTTP/1.1" 500 7380 "http://x:8210/node/add/chado-analysis-blast?render=overlay" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:95.0) Gecko/20100101 Firefox/95.0"

and i use docker-compose up to run my container.

@abretaud
Copy link
Member

Can you paste here the content of your docker-compose.yml file?

@horizon365
Copy link
Contributor Author

horizon365 commented Feb 11, 2022

version: "2"
services:
  tripal:
    image: quay.io/galaxy-genome-annotation/tripal
    links:
      - db:postgres
    volumes:
      - /var/www/html/sites
      - /var/www/private
    environment:
      UPLOAD_LIMIT: 20M
      MEMORY_LIMIT: 128M
      VIRTUAL_HOST: 121.36.7.6
      # If you run the image on a different port, then BASE_URL must be set
      # correctly. If you run on :80 it should be OK to remove BASE_URL
      BASE_URL: "http://121.36.7.6:8210"
      BASE_URL_PROTO: "http://"
      DB_NAME: 'tripal'
      TRIPAL_DOWNLOAD_MODULES: "tripal_analysis_blast-7.x-2.x-dev"
      TRIPAL_GIT_CLONE_MODULES: "https://github.com/tripal/tripal_analysis_expression.git"
      TRIPAL_ENABLE_MODULES: "tripal_analysis_blast tripal_analysis_expression tripal_analysis_interpro"
    ports:
      - "8210:80"
  db:
    image: quay.io/galaxy-genome-annotation/chado
    environment:
      - POSTGRES_PASSWORD=postgres
        # The default chado image would try to install the schema on first run,
        # we just want the GMOD tools to be available.
      - INSTALL_CHADO_SCHEMA=0
      - INSTALL_YEAST_DATA=0
      - PGDATA=/var/lib/postgresql/data/
    volumes:
      - /var/lib/postgresql/data/

it is just as exactly the template in 'Readme.md',expect the ip and ports.

@abretaud
Copy link
Member

Ok the doc was not up to date: the default image is based on Tripal 3 while the docker-compose.yml referenced a Tripal 2.x module.
It should work better if you make this change: 96010de
You might need to delete the db volume and restart from crash to avoid any conflict between the 2 module versions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants