Your logs says that you are using Postgresql 16 but the supported version is 15? I’m wondering if could test downgrading the Postrgresql version and see if the issue persists?
I tried changing the PostgreSQL version but didn’t get any response. Then I searched for DHIS2 on AWS and followed the steps from a link I found. DHIS2 installation on Ubuntu 20.04 LTS – AWS – JaeTech Global
The installation was successful according to that guide, but I still don’t get any response in the browser.
I also asked the DHIS2 chatbot by sharing the logs, and it said “Congratulations, you’ve done it successfully without any errors.” However, I still don’t see anything in the browser.
Now, I’m posting the catalania logs here. Please check them.
Create a server block sudo nano /etc/nginx/sites-available/port8082
Add the following configuration in the file
server {
listen 8082;
listen [::]:8082;
root /usr/share/nginx/html;
index index.html index.htm;
location / {
try_files $uri $uri/ =404;
}
}
Enable the server block sudo ln -s /etc/nginx/sites-available/port8082 /etc/nginx/sites-enabled/
Reload nginx sudo systemctl reload nginx
Verify nginx is running sudo systemctl status nginx
Open a web browser and navigate to http://your_server_ip:8082. If you still don’t see anything on your browser, there is an issue with public access to that port.
Number 2 might be hard to check for, I would suggest creating a new database and populating it in you dhis.conf file. Might be under /home/dhis/tomcat-dhis or /var/www/mydomain.com/config. I am not sure which folder you are using. Then stop and restart tomcat. Check the logs and when you see the Server startup log entry, check browser
If all fails, I would suggest nuking the instance and starting fresh using the guide here. Make sure to follow the recommendations about versions