Search code examples
azureazure-web-app-serviceazure-postgresqlwiki.js

Azure Web App - Application Error If you are the application administrator, you can access the diagnostic resources


I have created the Azure Postgres SQL Server and Web app with docker image following the official site of Wiki JS installation: https://docs.requarks.io/install/azurewebapp

Configured the web app with same information given in the above site:

enter image description here

After configuring, restarted the web app. But still, I'm getting this error;

enter image description here

even though I select basic plan of web app at yesterday, it worked. It shown the administrator page of wiki js but from today, it is giving me application error.


Solution

  • To replicate the issue, I have created an Azure database for postgres with Basic pricing tier as recommended the wiki.js official docs.
    enter image description here

    • Allow all the Public access in networking of this Postgres SQL server.

    • The other resource is Azure web app with Docker wiki image and B1 app service plan:
      enter image description here

    enter image description here

    • After creation of web app, configured the application settings as shown in the Wiki.js-Azure web app installation document:

    enter image description here

    • Restarted the web app after configuring the application settings.

    Next part is Installation of Azure web app with Wiki.js:
    When I launch azure web app public URL in the browser, it taken so much time because it is hosted in basic b1 plan which is of 1.75 GB RAM.

    • To test whether this site is working, I did ping in command prompt - it is working successfully;

    enter image description here

    Also, I have received the same error you got in the browser:
    enter image description here

    This is because it hosted in the basic b1 app service compute where it is having less RAM to load. So, I did wait for 10 to 15 minutes and finally it shown the result as expected (Wiki.js Installation and local admin account creation page):

    enter image description here

    Note:

    1. For the 1st time only, it takes more time to launch the instance and the web application.
    2. Even when you stop the server and start again next day, it will take some time to load the instance and launch the web application.

    Reference: https://docs.requarks.io/install/azurewebapp