JS report on Azure with Azure Blob Storage



  • Hi there, I've got the docker image all pulled and works with Azure Web Apps, however, I am struggled a bit on the setting up the persistence storage part.

    Here are some screenshots of the setup, anything not right?

    0_1583883330900_1.PNG

    0_1583883378180_2.PNG

    here are some logs
    2020-03-10 23:19:25.315 INFO - Pull Image successful, Time taken: 0 Minutes and 2 Seconds
    2020-03-10 23:19:25.354 INFO - Starting container for site
    2020-03-10 23:19:25.361 INFO - docker run -d -p 9786:5488 --name uml-test-pdf_0_3ec67fd4 -e WEBSITES_ENABLE_APP_SERVICE_STORAGE=false -e WEBSITE_SITE_NAME=UML-Test-PDF -e WEBSITE_AUTH_ENABLED=False -e PORT=5488 -e WEBSITE_ROLE_INSTANCE_ID=0 -e WEBSITE_HOSTNAME=uml-test-pdf.azurewebsites.net -e WEBSITE_INSTANCE_ID=d7bff24215deed0031fbe7cc3824d094723a14ca931671527a10782616169a35 jsreport/jsreport:2.7.1-full

    2020-03-10 23:19:25.362 INFO - Logging is not enabled for this container.
    Please use https://aka.ms/linux-diagnostics to enable logging to see container logs here.
    2020-03-10 23:19:27.635 INFO - Initiating warmup request to container uml-test-pdf_0_3ec67fd4 for site uml-test-pdf
    2020-03-10 23:19:43.895 INFO - Waiting for response to warmup request for container uml-test-pdf_0_3ec67fd4. Elapsed time = 16.2598616 sec
    2020-03-10 23:19:53.610 ERROR - Container uml-test-pdf_0_3ec67fd4 for site uml-test-pdf has exited, failing site start
    2020-03-10 23:19:53.632 ERROR - Container uml-test-pdf_0_3ec67fd4 didn't respond to HTTP pings on port: 5488, failing site start. See container logs for debugging.
    2020-03-10 23:19:53.647 INFO - Stoping site uml-test-pdf because it failed during startup.
    2020-03-10 23:19:54.502 INFO - Pulling image from Docker hub: jsreport/jsreport:2.7.1-full
    2020-03-10 23:19:57.304 INFO - 2.7.1-full Pulling from jsreport/jsreport
    2020-03-10 23:19:57.305 INFO - Digest: sha256:b59df2c9b12a4869c423a8ff77c9d74908990177f9610bd4a1bce1d52ac0b1a7
    2020-03-10 23:19:57.306 INFO - Status: Image is up to date for jsreport/jsreport:2.7.1-full
    2020-03-10 23:19:57.309 INFO - Pull Image successful, Time taken: 0 Minutes and 2 Seconds
    2020-03-10 23:19:57.329 INFO - Starting container for site
    2020-03-10 23:19:57.330 INFO - docker run -d -p 1317:5488 --name uml-test-pdf_0_831fcc64 -e WEBSITES_ENABLE_APP_SERVICE_STORAGE=false -e WEBSITE_SITE_NAME=UML-Test-PDF -e WEBSITE_AUTH_ENABLED=False -e PORT=5488 -e WEBSITE_ROLE_INSTANCE_ID=0 -e WEBSITE_HOSTNAME=uml-test-pdf.azurewebsites.net -e WEBSITE_INSTANCE_ID=d7bff24215deed0031fbe7cc3824d094723a14ca931671527a10782616169a35 jsreport/jsreport:2.7.1-full

    2020-03-10 23:19:57.331 INFO - Logging is not enabled for this container.
    Please use https://aka.ms/linux-diagnostics to enable logging to see container logs here.
    2020-03-10 23:19:58.774 INFO - Initiating warmup request to container uml-test-pdf_0_831fcc64 for site uml-test-pdf
    2020-03-10 23:20:14.245 INFO - Waiting for response to warmup request for container uml-test-pdf_0_831fcc64. Elapsed time = 15.4712582 sec
    2020-03-10 23:20:17.653 ERROR - Container uml-test-pdf_0_831fcc64 for site uml-test-pdf has exited, failing site start
    2020-03-10 23:20:17.664 ERROR - Container uml-test-pdf_0_831fcc64 didn't respond to HTTP pings on port: 5488, failing site start. See container logs for debugging.
    2020-03-10 23:20:17.700 INFO - Stoping site uml-test-pdf because it failed during startup.
    2020-03-10 23:23:25.430 INFO - Pulling image from Docker hub: jsreport/jsreport:2.7.1-full
    2020-03-10 23:23:28.230 INFO - 2.7.1-full Pulling from jsreport/jsreport
    2020-03-10 23:23:28.230 INFO - Digest: sha256:b59df2c9b12a4869c423a8ff77c9d74908990177f9610bd4a1bce1d52ac0b1a7
    2020-03-10 23:23:28.231 INFO - Status: Image is up to date for jsreport/jsreport:2.7.1-full
    2020-03-10 23:23:28.248 INFO - Pull Image successful, Time taken: 0 Minutes and 2 Seconds
    2020-03-10 23:23:28.298 INFO - Starting container for site
    2020-03-10 23:23:28.299 INFO - docker run -d -p 5666:5488 --name uml-test-pdf_0_0f225abe -e WEBSITES_ENABLE_APP_SERVICE_STORAGE=false -e WEBSITE_SITE_NAME=UML-Test-PDF -e WEBSITE_AUTH_ENABLED=False -e PORT=5488 -e WEBSITE_ROLE_INSTANCE_ID=0 -e WEBSITE_HOSTNAME=uml-test-pdf.azurewebsites.net -e WEBSITE_INSTANCE_ID=d7bff24215deed0031fbe7cc3824d094723a14ca931671527a10782616169a35 jsreport/jsreport:2.7.1-full

    2020-03-10 23:23:28.300 INFO - Logging is not enabled for this container.
    Please use https://aka.ms/linux-diagnostics to enable logging to see container logs here.
    2020-03-10 23:23:29.581 INFO - Initiating warmup request to container uml-test-pdf_0_0f225abe for site uml-test-pdf
    2020-03-10 23:23:45.229 INFO - Waiting for response to warmup request for container uml-test-pdf_0_0f225abe. Elapsed time = 15.6480701 sec
    2020-03-10 23:23:52.865 ERROR - Container uml-test-pdf_0_0f225abe for site uml-test-pdf has exited, failing site start
    2020-03-10 23:23:52.877 ERROR - Container uml-test-pdf_0_0f225abe didn't respond to HTTP pings on port: 5488, failing site start. See container logs for debugging.
    2020-03-10 23:23:52.899 INFO - Stoping site uml-test-pdf because it failed during startup.
    2020-03-10 23:28:17.950 INFO - Pulling image from Docker hub: jsreport/jsreport:2.7.1-full
    2020-03-10 23:28:20.892 INFO - 2.7.1-full Pulling from jsreport/jsreport
    2020-03-10 23:28:20.893 INFO - Digest: sha256:b59df2c9b12a4869c423a8ff77c9d74908990177f9610bd4a1bce1d52ac0b1a7
    2020-03-10 23:28:20.893 INFO - Status: Image is up to date for jsreport/jsreport:2.7.1-full
    2020-03-10 23:28:20.895 INFO - Pull Image successful, Time taken: 0 Minutes and 2 Seconds
    2020-03-10 23:28:20.908 INFO - Starting container for site
    2020-03-10 23:28:20.908 INFO - docker run -d -p 9671:5488 --name uml-test-pdf_0_5c2375e8 -e WEBSITES_ENABLE_APP_SERVICE_STORAGE=false -e WEBSITE_SITE_NAME=UML-Test-PDF -e WEBSITE_AUTH_ENABLED=False -e PORT=5488 -e WEBSITE_ROLE_INSTANCE_ID=0 -e WEBSITE_HOSTNAME=uml-test-pdf.azurewebsites.net -e WEBSITE_INSTANCE_ID=d7bff24215deed0031fbe7cc3824d094723a14ca931671527a10782616169a35 jsreport/jsreport:2.7.1-full

    2020-03-10 23:28:20.908 INFO - Logging is not enabled for this container.
    Please use https://aka.ms/linux-diagnostics to enable logging to see container logs here.
    2020-03-10 23:28:22.264 INFO - Initiating warmup request to container uml-test-pdf_0_5c2375e8 for site uml-test-pdf
    2020-03-10 23:28:38.350 INFO - Waiting for response to warmup request for container uml-test-pdf_0_5c2375e8. Elapsed time = 16.0854658 sec
    2020-03-10 23:28:43.607 ERROR - Container uml-test-pdf_0_5c2375e8 for site uml-test-pdf has exited, failing site start
    2020-03-10 23:28:43.613 ERROR - Container uml-test-pdf_0_5c2375e8 didn't respond to HTTP pings on port: 5488, failing site start. See container logs for debugging.
    2020-03-10 23:28:43.646 INFO - Stoping site uml-test-pdf because it failed during startup.
    2020-03-10 23:31:44.124 INFO - Pulling image from Docker hub: jsreport/jsreport:2.7.1-full
    2020-03-10 23:31:46.914 INFO - 2.7.1-full Pulling from jsreport/jsreport
    2020-03-10 23:31:46.915 INFO - Digest: sha256:b59df2c9b12a4869c423a8ff77c9d74908990177f9610bd4a1bce1d52ac0b1a7
    2020-03-10 23:31:46.918 INFO - Status: Image is up to date for jsreport/jsreport:2.7.1-full
    2020-03-10 23:31:46.921 INFO - Pull Image successful, Time taken: 0 Minutes and 2 Seconds
    2020-03-10 23:31:46.937 INFO - Starting container for site
    2020-03-10 23:31:46.938 INFO - docker run -d -p 4110:5488 --name uml-test-pdf_0_ad0f90be -e WEBSITES_ENABLE_APP_SERVICE_STORAGE=false -e WEBSITE_SITE_NAME=UML-Test-PDF -e WEBSITE_AUTH_ENABLED=False -e PORT=5488 -e WEBSITE_ROLE_INSTANCE_ID=0 -e WEBSITE_HOSTNAME=uml-test-pdf.azurewebsites.net -e WEBSITE_INSTANCE_ID=d7bff24215deed0031fbe7cc3824d094723a14ca931671527a10782616169a35 jsreport/jsreport:2.7.1-full

    2020-03-10 23:31:46.939 INFO - Logging is not enabled for this container.
    Please use https://aka.ms/linux-diagnostics to enable logging to see container logs here.
    2020-03-10 23:31:48.312 INFO - Initiating warmup request to container uml-test-pdf_0_ad0f90be for site uml-test-pdf
    2020-03-10 23:32:03.831 INFO - Waiting for response to warmup request for container uml-test-pdf_0_ad0f90be. Elapsed time = 15.518169 sec
    2020-03-10 23:32:11.034 ERROR - Container uml-test-pdf_0_ad0f90be for site uml-test-pdf has exited, failing site start
    2020-03-10 23:32:11.040 ERROR - Container uml-test-pdf_0_ad0f90be didn't respond to HTTP pings on port: 5488, failing site start. See container logs for debugging.
    2020-03-10 23:32:11.061 INFO - Stoping site uml-test-pdf because it failed during startup.



  • Please share the jsreport logs. So the docker/std output which comes from the app.
    You should be able to see the last lines in the azure "App Service/Monitoring/Log stream"



  • Thanks figured that out now by looking into the logs.

    It seems the extension doesn't work for the Azure premium blob storage.


Log in to reply
 

Looks like your connection to jsreport forum was lost, please wait while we try to reconnect.