Hello @generare,
The System Requirements mentioned here expect RAM to be atleast 8GB.
https://bahmni.atlassian.net/wiki/display/BAH/System+Requirements
If the RAM is less, the system will run slow, and exit / crash unexpectedly when it encounters a need for storing a larger dataset in memory. Request you to please allocate minimum 8GB RAM.
I think you are using Digital Ocean. It doesn’t come pre-setup with swap space, which acts as a temporary storage of in-memory data on the Hard disk. If you haven’t setup swap space, please read these instructions, to setup atleast 4GB RAM. https://bahmni.atlassian.net/wiki/pages/viewpage.action?pageId=34439320
This should ensure your Bahmni runs fast.
With regards to HTTP going to HTTPs, it is the desired behaviour. Bahmni EMR runs on HTTPs, which is more secure that HTTP. Apache under-the-hood, will always redirect any http request to https, so that all communication over the wire is encrypted. Bahmni is currently shipped with default certificates, which point to domain: mybahmni.org
Since, you are accessing it over an IP Address, the browser complains that certificates do not match the domain being accessed. Hence you see this error/warning about invalid certificates in browser. If you select “Ignore” / “Continue” (Trust these certificates), then next time you won’t see this warning in the same browser.
Ideally, one should setup proper certificates for each deployment. You can do that once you have played with Bahmni. Meanwhile you can just ignore the error and continue. Please read this to understand how to obtain free SSL certificates for your setup: https://bahmni.atlassian.net/wiki/display/BAH/Configuring+Valid+SSL+Certificates
Alternatively, you can make an entry in your machine, to point mybahmni.org to the Digital Ocean IP being accessed, so that in browser when you enter “http://mybahmni.org”, it goes and accesses the right IP address. For that, you will need to update you /etc/hosts file, and make a DNS entry for mybahmni.org. Its really quite simple, just needs a single entry in your /etc/hosts file:
http://www.howtogeek.com/howto/27350/beginner-geek-how-to-edit-your-hosts-file/ (Shows Windows example too)
I hope this helps.