Skip to content

Business Portals Frontend Update Problem

When updating the Business Portal frontend to a new version, it may happen that the build process gets stuck at the step Build stylesheet. Especially when the update is triggered automatically via the command build auto, the system builds the portal independently but often gets stuck at this point. In such cases, the update is not completed, and the portal is subsequently unusable.

Follow these steps to manually update the frontend:

  1. Open the page Business Portals - Portals.
  2. Here, the existing portals are displayed.
  3. Click on the respective Publish URL in the corresponding row on the right side.
  4. The Kudu Portal will open by clicking on the Publish URL.
  5. Click on Debug Console and then on the action CMD.
  6. Navigate through the folder structure:
    • Site
    • wwwroot
    • Modules
    • AppStack
  7. Open the file npminstalloutput.txt.
  8. Copy the command npm audit fix --force.
  9. Click Cancel to close the file npminstalloutput.txt.
  10. Paste the copied command into the console and press Enter.
  11. After the process is complete, delete the file npminstalloutput.txt.
  12. Also, delete the files npmrunbuildoutput.txt and npmrunbuildrunning.txt.
  13. Go back to the page Business Portals - Portals and click on Build Auto.
  14. The frontend of the portal should now be updated.