Re: [Dhis2-devs] [Dhis2-users] Installation of dhis2 on docker

2018-09-05 Thread Paulo Grácio
Hi Geral, with the current docker setup you can generate your own docker image and use that one instead of sierra-leone. All you need to do is: 1. comment this line https://github.com/pgracio/dhis2-docker/blob/master/database/docker-build.sh#L60 2. have a file named *dhis2-db.sql.gz* that contain

Re: [Dhis2-devs] [Dhis2-users] Installation of dhis2 on docker

2018-09-05 Thread Alex Tumwesigye
Hello Gerald, Look at the exec command https://docs.docker.com/engine/reference/commandline/exec/#examples e.g docker exec -it container_name "psql -U postgres -d template1 -c 'drop database dhis;create database dhis with owner dhis'"docker exec -it container_name "psql -U dhis -d dhis -f dumpfil

Re: [Dhis2-devs] ver 2.29 , can't import metadata.

2018-09-05 Thread 林晓东
| 2018-09-06 09:43:25 | (admin) Creating 147 object(s) of type Option | | 2018-09-06 09:43:25 | (admin) Creating 1 object(s) of type Constant | | 2018-09-06 09:43:25 | (admin) Creating 2 object(s) of type UserGroup | | 2018-09-06 09:43:25 | (admin) Updating 1 object(s) of type User | | 2018