Re: [Dhis2-devs] Importing large data files - server settings

2015-12-03 Thread Alan Ivey
Also, it's worth noting that the default for "client_max_body_size" is only 1 MB: http://nginx.org/en/docs/http/ngx_http_core_module.html#client_max_body_size . It will need to be increased on most deployments of DHIS2. On Thu, Dec 3, 2015 at 9:09 AM, Lars Helge Ă˜verland wrote: > If you are inde

[Dhis2-devs] 2.22 Encryption

2016-01-19 Thread Alan Ivey
Hi all, I upgraded a 2.20 instance with a 22-character encryption password to 2.22 (with 2.21 in the middle) and had the following warning in the log upon 2.22 startup: * WARN 2016-01-19 16:54:23,276 Encryption not configured: encryption.password in dhis.conf is too short. Minimum 24 characters

Re: [Dhis2-devs] Changing admin password to default

2015-08-31 Thread Alan Ivey
Hi Gerald, You can create a password hash with Python and the Bcrypt library. Run this single command in your terminal to get a hash for *passwordGoesHere*: $ python -c 'import bcrypt; hash = bcrypt.hashpw("*passwordGoesHere*", bcrypt.gensalt(rounds=10, prefix=b"2a")); print(hash);' You can inse

[Dhis2-devs] [Bug 1507725] [NEW] Error in posting non-String data to API

2015-10-19 Thread Alan Ivey
Public bug reported: Consider the following API call, as following the instructions on https://www.dhis2.org/doc/snapshot/en/user/html/ch32s28.html : $ curl -k -u 'system:redacted' -H "Content-Type: text/plain" -X POST -d 'true' https://apps.dhis2.org/demo/api/systemSettings/keyEmailTls {"httpSt

Re: [Dhis2-devs] DHIS2 2.15 or 2.18 download link

2015-10-21 Thread Alan Ivey
Regarding older download links from your original email, you can download 2.18 from https://www.dhis2.org/downloads. However, for 2.15 or another version you can't find a public war download link, you can build them locally from the source code: - Ensure that you have Java, Maven, and Bzr (Baza