We usually use rebuilding when updating the software version and the message Need to rebuild data on the server appears When running the program.
Rebuilding performs automatic maintenance of database indexes and necessary database updates when the code names for some fields or table differ, or when new features are added to the program that require rebuilding.
All you have to do is press the start button after making sure that the required data is selected and whose status needs to be updated Or its state is empty and wants to rebuild for the purpose of regular maintenance.
In some cases, there are errors communicating with the database, and a message appears with the status: faild connection, then you must check the information entered into the database, and sometimes the problem is due to the failure of the postgres database server to boot.
Database rebuild screen