Content
Setup on AWS' EC2 Ubuntu 18.04
First time deploying OpenProject and a complete noob.
Right now, I have setup Ubuntu 18.04 on one of my AWS' EC2 instances and have successfully installed OpenProject by following this tutorial. Restarted both the instance and OpenProject after install.
Now, when I try to access OpenProject at the IPv4 Public IP specified by AWS for the instance, I am getting the following error:
The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.
Apache/2.4.29 (Ubuntu) Server at <IPv4 Public IP> Port 80
Not really sure where to go from here. Any help would be much appreciated.
Figured it out.
Checked OpenProject's logs by passing the following command in my instance:
sudo openproject logs
Saw that there was a constant error on repeat: "ERROR -- : Cannot allocate memory"
Checked my instance's statistics and saw that there was a pretty repetitive spike in memory usage. And, since I was using t2.micro setup, I thought it may be the culprit. So, I ended up resizing the instance by following AWS' instructions here.
Restarted the instance, restarted OpenProject for safety measures.
Checked logs again - no error!
In my local web browser, attempted to access directly at the IPv4 Public IP and everything loaded without problems.
Hope this helps somebody in the future.