on 2023 Jul 05 3:38 PM
Request clarification before answering.
Dear charan_nalli,
Please explore the command ant updatesystem as an alternative other than HAC.
--
Kind Regards,
H.V.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The blank screen is caused by time out when HAC FE tries to fetch the log from the BE.
If you check the network activity when doing a system update, you will notice that FE will make Ajax calls to BE repeatedly, and the BE will respond with something like this:
{
"log": "<h3>Updating system ...</h3><br/>\nPlease wait. This step can take some minutes to complete.<br/>\nIf you do not receive any feedback on this page in this time, consult the applicationserver logs for possible errors.<br/>\nUpdating system... <br/>\n>>> Updating schema (and type system) ...<br/>\n>>> Reloading persistence ...<br/>\n>>> Clearing cache ...<br/>\n>>> Initializing media storages ...<br/>\nRestarting system internals ....<br/>\n################ Storing Generic Audit Report configurations ...<br/>\n<br/><h3>Localizing types ...</h3><br/>\n<h3>################ Creating project data </h3><br/>\n"
}
When FE receives this response, it will actually empty everything shown on the page, and replace it with everything from the BE.
The problem was when the Ajax calls is unsuccessful, usually due to time out, the FE will still clear the information, but since there was nothing from BE, it will show a blank page.
Actually, even when the screen is blank, the update still continues in the background, just leave it for a few minutes, and refresh it, if it comes to the login screen, then the update is complete, but when you refresh it and it comes back to update screen, then the update is yet to complete.
If you can open HAC by using its app server's IP address, you can update systems from there, as usually, if you open IP address directly, it will not have any timeout.
Also, I agree that you should explore for update system from the ant command, you can dump configuration from HAC (there should be a dump configuration button just below the "lock" and "update" buttons).
Once you dump the update configuration, you can update the system using this command:
ant updatesystem -DconfigFile=/path/to/your/file.json
Replace it with wherever you put your update configuration, if you put your config file in the platform folder, you can simply put your file name without its path.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hello romit.c, Thanks for your time, is there any other option available to update the platform without hac in higher enviroments like (production, sit server on OCP containers) can you please Guide me...?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.