Git Product home page Git Product logo

docker's Introduction

THIS MOLGENIS VERSION IS IN ARCHIVE MODE. PLEASE USE NEXT GENERATION AT MOLGENIS-EMX2

Build status Quality Status

Welcome to MOLGENIS

MOLGENIS is a collaborative open source project on a mission to generate great software infrastructure for life science research.

Develop

MOLGENIS has a frontend and a backend. You can develop on them separately. When you want to develop an API and and App simultaneously you need to checkout both.

Useful links

Deploy MOLGENIS

docker's People

Contributors

akuperus avatar bartcharbon avatar christianhilbrands avatar connoratrug avatar connorstroomberg avatar dennishendriksen avatar fdlk avatar jelmerveen avatar jvanveen avatar marieke-bijlsma avatar marikaris avatar mark-de-haan avatar maxpostema avatar mswertz avatar pneerincx avatar sidohaakma avatar tommydeboer avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

docker's Issues

Docker images get cached

How to reproduce:

Check out this repository
Start molgenis using docker-compose up
The snapshot war will be downloaded from sonatype
Bring down molgenis using docker-compose down and remove the volumes using docker volume rm
Update the version mentioned in the Dockerfile to the latest snapshot version of molgenis
Bring molgenis back up

Expected behavior

A new version of the snapshot war will be downloaded from sonatype
If you surf to localhost:8081, you'll see the timestamp in the footer corresponds to the latest snapshot build

Actual

The old version is still cached somewhere and has started up.
Timestamp in the footer corresponds to the old build
There are no instructions explaining how to update to a newer version

Login always redirects to localhost

How to reproduce:

Check out this repository
Start molgenis using docker-compose up
access and login from an (external) address other than http:/llocalhost (can be easily mimicked by browsing to http://127.0.0.1)

Expected behaviour:

after login the user is redirected to the url used to access the instance.

Actual:

After a (succesful) login in the user is always redirected to http://localhost.
This breaks the user experience if the molgenis instance is used on any other ip/domain than localhost because the user ends up on http://localhost.

Additional info:

  • The login is succesful and the incorrect redirect seems to be specific for the login, because the application can be accessed and navigated when visiting the instance again on the correct address after login.
  • Probably related to issues #72 and #77
  • Removing the "proxy_set_header X-Forwarded-Port $server_port; and proxy_set_header X-Forwarded-Host $server_name;" lines in backend.conf fixes the issue, but may have other consequences I cannot oversee.

Update the docker configuration of all services to the MOLGENIS standard

How to reproduce

It is now not possible to import "medium" large datasets.

  • Login as admin
  • Goto the Advanced Importer
  • Import the full BBMRI dataset (available on cluster)

Expected behavoir

Import is successfull

Observed behavior

Import fails on SQL errors

Steps to be taken to solve the issue

  • Use MOLGENIS image in docker-compose from Dockerhub
  • Use MOLGENIS opencpu image from Dockerhub in docker-compose
  • Add MOLGENIS specific postgres configuration (check Ansible configuration)
    • Extend the default image and add your own configuration
    • Create docker build on Jenkins save the image on Dockerhub
    • Use image in docker-compose
  • Add MOLGENIS specific elasticsearch configuration (check Ansible configuration)
    • Extend the default image and add your own configuration
    • Create docker build on Jenkins save the image on Dockerhub
    • Use image in docker-compose

7.2, 7.3 and 7.4 fail to boot because environment variables are not set

Not sure which versions but at the very least booting 7.2 and 7.4 results in a molgenis that cannot access the postgres instance.

Booting latest works correctly.

app_1            | 2019-03-07_11:49:02.538 [C3P0PooledConnectionPoolManager[identityToken->1bqx2bpa1oeu9qirgxssq|623e0f55]-HelperThread-#1] WARN  c.m.v.resourcepool.BasicResourcePool - com.mchange.v2.resourcepool.BasicResourcePool$ScatteredAcquireTask@13bc66c0 -- Acquisition Attempt Failed!!! Clearing pending acquires. While trying to acquire a needed new resource, we failed to succeed more than the maximum number of allowed acquisition attempts (30). Last acquisition attempt exception:
app_1            | org.postgresql.util.PSQLException: Connection to 127.0.0.1:5432 refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.

MOLGENIS docker can't run on Windows 7

When running Docker on Windows 7 it is executed in a MINGW64 environment. The following part of the manual cannot be executed because sysctl does not exist in MINGW64:

sysctl -w vm.max_map_count=262144
To set this value permanently, update the vm.max_map_count setting in /etc/sysctl.conf.

Without this setting Elasticsearch terminated on startup:
image

missing captcha prevents signup

When enabling authentication settings and allowing users to signup (moderated by the admins), we get the following browser error:

GET http://localhost:8081/captcha?_=1518774171299 500 (Internal Server Error)

Same for 127.0.0.1. Is this a captcha issue specific to a local setup?

version 8.1 is broken

when running docker compose up,
the version 8.1 does not start correctly :
molgenis_1 | Exception in thread "schedulerFactoryBean_Worker-1" java.lang.NoClassDefFoundError: ch/qos/logback/core/status/WarnStatus
molgenis_1 | at ch.qos.logback.classic.LoggerContext.noAppenderDefinedWarning(LoggerContext.java:186)

no problem with version 8

Cannot run docker if host machine has process running on port 80

> ๎‚ฐ docker-compose up
Removing 51_opencpu_1
51_db_1 is up-to-date
elasticsearch is up-to-date
Recreating 85f11a6d7884_51_opencpu_1 ...
Recreating 85f11a6d7884_51_opencpu_1
Recreating 85f11a6d7884_51_opencpu_1 ... error

ERROR: for 85f11a6d7884_51_opencpu_1  Cannot start service opencpu: driver failed programming external connectivity on endpoint 51_opencpu_1 (770a52391b84bf07069caa65212ba1d79959fb232a66522296a42d79617ad7ed): Error starting userland proxy: Bind for 0.0.0.0:80: unexpected error (Failure EADDRINUSE)

ERROR: for opencpu  Cannot start service opencpu: driver failed programming external connectivity on endpoint 51_opencpu_1 (770a52391b84bf07069caa65212ba1d79959fb232a66522296a42d79617ad7ed): Error starting userland proxy: Bind for 0.0.0.0:80: unexpected error (Failure EADDRINUSE)
ERROR: Encountered errors while bringing up the project.

internal port base_url not correct when using mapped port

Version 8.4

in docker-compose.yml changed ports: - "81:80"
to map internal molgenis port 80 to 81 on my machine since 80 is taken by another process.
Docker comes up and allows login window. But as soon as given credentials it maps to localhost/login instead localhost:81/login. Deadend.

Is there a base_url configuration to provide in docker-compose-yml?

MOLGENIS Docker does not work in Ubuntu 16.04 and 17.04

How to Reproduce

Expected behavior

  • The 4 containers for MOLGENIS are all running and MOLGENIS is accessible on http:/localhost:8081/

Observed behavior

  • MOLGENIS is not accessible
  • ElasticSearch container is not running, it aborts after approximately 50 seconds

Sytem details

Ubuntu 16.04: Docker version 17.06.0-ce, build 02c1d87
Ubuntu 17.04: Docker version 17.04.0-ce, build 4845c56

In docker-compose, molgenis 10.x fails to connect to Elasticsearch

We're trying to test the new Molgenis version from the provided docker-compose file in this repository but can't get it to work.

All containers seem to start up nominally, but then the molgenis container keeps throwing the following error:

molgenis_1          | 2023-02-08_10:48:54.686 [main] ERROR o.m.d.e.client.ClientFactory - Failed to connect to Elasticsearch cluster on http://host.docker.internal:9200. Retry count = 2
molgenis_1          | 2023-02-08_10:48:58.689 [main] ERROR o.m.d.e.client.ClientFactory - Failed to connect to Elasticsearch cluster on http://host.docker.internal:9200. Retry count = 3
molgenis_1          | 2023-02-08_10:49:06.695 [main] ERROR o.m.d.e.client.ClientFactory - Failed to connect to Elasticsearch cluster on http://host.docker.internal:9200. Retry count = 4
molgenis_1          | 2023-02-08_10:49:22.701 [main] ERROR o.m.d.e.client.ClientFactory - Failed to connect to Elasticsearch cluster on http://host.docker.internal:9200. Retry count = 5

At this point, further initialisation of molgenis stalls, and the frontend is not reachable in the browser.

We starting the containers with docker-compose up and tried this on different machines using the latest docker-compose version 2.15. We could not find any hints or documentation what configuration needs to be adjusted to let molgenis connect with elastic search. Do you have any advice?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.