After installing ArcGIS Server and Portal for ArcGIS 10.9.1 on a single machine, the installation of ArcGIS Data Store (also on the same machine) is now stuck in the configuration page where it says "Please wait while the ArcGIS Data Store is configured...". I have been waiting for hours to no avail. The browser developer console also did not reflect any error. I have tried reinstalling ArcGIS Data Store and removed the old C:\arcgisdatastore folder but it did not work.
What can I do?
Update: If you encountered the same issue, first unfederate your server site from your portal first (removing-an-arcgis-server-site-from-your-portal), then try again. It worked for my case.