DHIS2 Installation on Ubuntu

Hi Al-Gassim,

As shown in the screenshot I shared, my server remained stuck at the “deploying web app stage”. After several unsuccessful restarts, I decided to destroy the machine and set up a new server using the same software versions but with the following changes:

  1. Upgraded memory to 4GB. Initially, I was running on a 1GM memory.

  2. Created a new dhis user using the command:
    sudo useradd -d /home/dhis -m dhis -s /bin/false.

Initially, my dhis user was a sudoer. I highly suspect this is where the issue was.

Thanks,

G.

1 Like