Not able to view any report but I am able to see the Real time data

I have configured piwik on my local environment (using How to Install Piwik with Nginx on Ubuntu 15.10) and able to view the real time data in the widget. But none of the data is showing in any of the graph. I also tried to see the logs, but no error or warning there.
My “Archive reports when viewed from the browser” is enabled and set to archive report at every 150 seconds.
I tried to get some help from this thread: https://forum.matomo.org/t/visitors-real-time-log-working-but-there-is-no-data-for-this-report-everywhere-else/11457

But couldnt find any success.
Can anyone please help me what is going wrong here.

Hi Jay,

could you specify the steps you already performed trying to solve the problem?
Did you try all of these steps? Troubleshooting - Analytics Platform - Matomo