bahmni / bahmni-docker-old Goto Github PK
View Code? Open in Web Editor NEWDEPRECATED - This repository contains the relevant docker configuration for setting up Bahmni
Home Page: https://bahmni.atlassian.net/wiki/display/BAH/Bahmni+Using+Docker
DEPRECATED - This repository contains the relevant docker configuration for setting up Bahmni
Home Page: https://bahmni.atlassian.net/wiki/display/BAH/Bahmni+Using+Docker
The implementation config repositories like default_config will contain the liquibase migrations that are specific to a particular implementation. During development, team will update this and there should be a script from web container to run the migrations. The script for doing it in Puppet based bahmni setup is available here
Bahmni has puppet modules for provisioning and deployment. Need to explore an option of using the existing puppet modules and reusing them to build docker containers. It should not impact the existing way of provisioning and deployment as this is the standard way in which we deploy in production. This ticket is just for exploration and we can decide based on the effort.
I am trying to install bahmni on my ubuntu 14.04 server. I am following steps which are mentioned in https://bahmni.atlassian.net/wiki/display/BAH/Bahmni+Using+Docker for linux. Now I didn't write that line in hosts file "192.168.59.103 dockerhost ", and i am trying to access bahmni using "localhost". Now i can access "openmrs", "openelis" and "OpenERP" using localhost but i am unable to access "https://localhost/bahmni/home". When i try to access that url "it works" tomcat page appears.
Please guide me how to solve that. Thank You
Hello
My name is deepak and i am currently trying to set up my Bahmni software for test and developer purposes.
So for now i just want to set up Bahmni in order to use and implement it.
I have installed centOS FRESH 6.4 and using the following link,
"Install+Bahmni+on+CentOS"<<(Link).
DURING THE INSTALLATION I'M FACING THE FOLLOWING ERRORS
Installed:
postgresql92-server.x86_64 0:9.2.16-1PGDG.rhel6
Dependency Installed:
postgresql92.x86_64 0:9.2.16-1PGDG.rhel6
postgresql92-libs.x86_64 0:9.2.16-1PGDG.rhel6
Complete!
Initializing database: [ OK ]
Starting postgresql-9.2 service: [ OK ]
--2016-05-11 09:44:29-- ##https://github.com/Bahmni/emr-functional-tests/blob/master/dbdump/pgsql_backup.sql.gz?raw=true
Resolving github.com... 192.30.252.121
Connecting to github.com|192.30.252.121|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: ##https://github.com/Bahmni/emr-functional-tests/raw/master/dbdump/pgsql_backup.sql.gz [following]
--2016-05-11 09:44:30-- ##https://github.com/Bahmni/emr-functional-tests/raw/master/dbdump/pgsql_backup.sql.gz
Connecting to github.com|192.30.252.121|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: ##https://raw.githubusercontent.com/Bahmni/emr-functional-tests/master/dbdump/pgsql_backup.sql.gz [following]
--2016-05-11 09:44:31-- ##https://raw.githubusercontent.com/Bahmni/emr-functional-tests/master/dbdump/pgsql_backup.sql.gz
Resolving raw.githubusercontent.com... 103.245.222.133
Connecting to raw.githubusercontent.com|103.245.222.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 35093933 (33M) [application/octet-stream]
Saving to: “pgsql_backup.sql.gz”
100%[======================================>] 35,093,933 328K/s in 35s
2016-05-11 09:45:09 (973 KB/s) - “pgsql_backup.sql.gz” saved [35093933/35093933]
NOTICE: database "CAMBIAR_CLAVE" does not exist, skipping
NOTICE: database "DEMO" does not exist, skipping
NOTICE: database "arsh" does not exist, skipping
NOTICE: database "bahmnireportsdata" does not exist, skipping
NOTICE: database "clinlims" does not exist, skipping
NOTICE: database "ghanshyam" does not exist, skipping
NOTICE: database "jklo" does not exist, skipping
NOTICE: database "lab" does not exist, skipping
NOTICE: database "mydb" does not exist, skipping
NOTICE: database "nueva" does not exist, skipping
NOTICE: database "openerp" does not exist, skipping
NOTICE: database "openerp1" does not exist, skipping
NOTICE: database "pacsdb" does not exist, skipping
NOTICE: database "referenceData" does not exist, skipping
NOTICE: database "reference_data" does not exist, skipping
NOTICE: database "test" does not exist, skipping
NOTICE: database "test2" does not exist, skipping
NOTICE: database "test_replication_db" does not exist, skipping
NOTICE: database "testdb" does not exist, skipping
NOTICE: database "testkl" does not exist, skipping
NOTICE: database "zsh" does not exist, skipping
NOTICE: database "zsh1" does not exist, skipping
ERROR: role "postgres" already exists
Question : I have not priorly installed any postgress database instances. I ignored this error and passed by it. Can i install and link to the postgresql database for openErp later? Is this only related to the backup test data provided?
Out of 62 packages of Bahmni , the openers one always failed to download properly which leads to an error installing it.
openerp-7.0-20130301-002301/openerp/report/print_xml.py
openerp-7.0-20130301-002301/openerp/pooler.py
openerp-7.0-20130301-002301/openerp/exceptions.py
openerp-7.0-20130301-002301/PKG-INFO
openerp-7.0-20130301-002301/README
openerp-7.0-20130301-002301/setup.py
openerp-7.0-20130301-002301/setup.cfg
openerp-7.0-20130301-002301/setup_rpm.sh
warning: no directories found matching 'tests'
warning: no files found matching 'gunicorn.conf.py'
warning: no previously-included files matching 'pyc' found anywhere in distribution
warning: no previously-included files matching '~' found anywhere in distribution
zip_safe flag not set; analyzing archive contents...
openerp.addons.web.tests.qunitsuite.suite: module references file
openerp.addons.resource.faces.utils: module references file
openerp.modules.module: module references file
could not identify current directory: No such file or directory
could not identify current directory: No such file or directory
error reading information on service openerp: No such file or directory
Installing : bahmni-web-0.80-373.noarch 67/72
groupadd: group 'bahmni' already exists
useradd: user 'bahmni' already exists
useradd: user 'bahmni' already exists
Running bahmni_config migrations
Liquibase Update Failed: Communications link failure
Question : How do i fix this?
Installing : bahmni-lab-0.80-58.noarch 68/72
groupadd: group 'bahmni' already exists
useradd: user 'bahmni' already exists
The database clinlims already exits
Adding required extensions
psql:scripts/setupExtensions.sql:1: ERROR: could not open extension control file "/usr/pgsql-9.2/share/extension/uuid-ossp.control": No such file or directory
This is another error that i come across.
Kindly help me resolve this issues.
Thanking you all.
And lets talk more about this, so we learn more to make it easier to install Bahmni and other open source softs.. in future..
Looks like there is a recent change in centos:7 repo and a conflict in python versions being used. The docker build is failing.
Try running - docker build -t bahmni/erp build/openerp
and it returns a failure. This needs to be fixed
The bahmni script should have the ability to pull all the latest images in a single command.
Hi,
I'm running through the instructions on the Bahmni Using Docker page, and I'm getting issues that all seem to be related to pgsql.
$ docker images bahmni/pgsql
REPOSITORY TAG IMAGE ID CREATED VIRTUAL SIZE
bahmni/pgsql latest 856759e54e9c 3 days ago 272.5 MB
$ docker logs a421487b6ca4 | tail
WARNING: enabling "trust" authentication for local connections
You can change this by editing pg_hba.conf or using the option -A, or
--auth-local and --auth-host, the next time you run initdb.
****************************************************
WARNING: No password has been set for the database.
This will allow anyone with access to the
Postgres port to access your database. In
Docker's default configuration, this is
effectively any other container on the same
system.
Use "-e POSTGRES_PASSWORD=password" to set
it in "docker run".
****************************************************
LOG: database system was shut down at 2015-08-15 06:39:49 UTC
FATAL: the database system is starting up
LOG: MultiXact member wraparound protections are now enabled
LOG: database system is ready to accept connections
LOG: autovacuum launcher started
pg_ctl: another server might be running; trying to start server anyway
ERROR: role "postgres" already exists
STATEMENT: CREATE ROLE postgres;
ERROR: role "postgres" already exists
LOG: received smart shutdown request
LOG: autovacuum launcher shutting down
LOG: shutting down
LOG: database system is shut down
/docker-entrypoint.sh: line 94: kill: (54) - No such process
PostgreSQL init process failed
LOG: database system was shut down at 2015-08-15 06:40:03 UTC
LOG: MultiXact member wraparound protections are now enabled
LOG: autovacuum launcher started
LOG: database system is ready to accept connections
/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/init-database.sh
waiting for server to start... done
server started
FATAL: lock file "postmaster.pid" already exists
HINT: Is another postmaster (PID 54) running in data directory "/var/lib/postgresql/data"?
waiting for server to shut down..... done
server stopped
I'm able to fix this locally by unpacking the pgdump to db.sql & modifying the Dockerfile to:
FROM postgres:9.4
MAINTAINER Bahmni Team <[email protected]>
ADD db.sql /docker-entrypoint-initdb.d/
The sql file is then picked up by the postgres docker-entrypoint.sh script.
After this OpenELIS is able to start.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.