Setting Up JSReports on Azure App Service



  • I am trying to set up JSReports on Azure App Service using Docker Containers as explained in this post I seem to have several problems :

    1. Have set Authentication to true and configured credentials for mssql to persists the templates. No Success in either cases. Not sure what's going wrong. Am using the latest latest docker pull


  • Hello ! I just noticed the post https://jsreport.net/blog/render-reports-using-azure-app-service is now updated with example to connect to Azure Storage Account. Unfortunately this doesn't work either for me

    1. If i add the application settings for authentication and storage connections i get a "Service Unavailable Error".. If i remove the AppSettings everythings starts to work again but then naturally there is no authentication or template persistence

  • administrators

    hi! thanks for the report, we updated the blog post but still need to try it in real azure account in order to confirm that it works (that is the reason why we were not posting anything on this thread yet). so we will check in real azure account and later post the results and update the blog post again if needed.

    note: using docker with just latest tag can be bad. it will be much better if you pull specific version of images like 2.0.0 or 2.0.0-full to avoid breaking your services when new updates are made.



  • Thanks !! I am trying to configure with 2.0.0-full and will update the outcome in a while.. would be nice to publish JsReports as an image in the azure marketplace ?, may be that helps to get online faster !! Just an idea



  • you may want to update the blog post to jsreport/jsreport:2.0.0-full

    2018_05_30_RD0003FF74DCEC_docker.log:

    2018-05-30 16:34:32.557 INFO - Starting container for site
    2018-05-30 16:34:32.564 INFO - docker run -d -p 55148:80 --name ci-pdf_0 -e WEBSITE_SITE_NAME=ci-pdf -e WEBSITE_AUTH_ENABLED=False -e PORT=80 -e WEBSITE_ROLE_INSTANCE_ID=0 -e WEBSITE_INSTANCE_ID=decb6417c2dd60068a77030ae298f4a69478c9b98e895e51e6b4964b285f32d4 jsreport/jsreport:2.0.1-full

    2018-05-30 16:34:32.564 INFO - Logging is not enabled for this container.
    Please use https://aka.ms/linux-diagnostics to enable logging to see container logs here.
    2018-05-30 16:34:32.593 ERROR - Container create failed for ci-pdf_0 with System.AggregateException, One or more errors occurred.
    InnerException: Docker.DotNet.DockerContainerNotFoundException, Docker API responded with status code=NotFound, response={"message":"No such image: jsreport/jsreport:2.0.1-full"}


  • administrators

    yes, sorry we planned to land the blog post after new v2 patch release, that is why it points to unpublished version 2.0.1-full. we will update when confirming that it works.



  • It's unfortunate but 2.0.0 does not work in azure either and gives a service-unavailable error



  • Sorry for troubles. Could you try this settings and let me know if it works for you? It does for me on brand new app service on S1 plan.

    0_1527703241278_upload-9cc2d834-0c92-47fc-9c48-3c9d838eb166

    0_1527703300999_upload-0e1adc61-1f90-4bde-8e27-3f5c868e0231



  • Tried the below :

    1. Threw away the Resource Group
    2. Created a fresh App Service Plan in S1 at West Europe DataCenter and pulled the 2.0.0-full docker Image
    3. The App Started Normally and behaved well just like the SaaS Solution
    4. Now added the 3 appsettings as shown in the prev thread by @jan_blaha .. After adding the appsettings i ran into the below exception and the WebApp started showing "Service Unavailable"
    5. Tried restarting the webapp several times but no effect

    2018-05-30 20:11:31.522 ERROR - Container start failed for ci-pdfservice_0 with System.AggregateException, One or more errors occurred.
    InnerException: Docker.DotNet.DockerApiException, Docker API responded with status code=BadRequest, response={"message":"OCI runtime create failed: container_linux.go:296: starting container process caused "exec: \"jsreport/jsreport:2.0.0-full\": stat jsreport/jsreport:2.0.0-full: no such file or directory": unknown"}



  • Hm. Could you try to download full logs and inspect them?
    I use this button for it

    0_1527711887733_upload-6e74e7fb-50c6-4c62-8114-debf299224e7



  • Am sorry to push this back and forth... Hereby the logs and it's not leading to any clues.. may be i will try again to create another app service and see what happens

    2018-05-30 19:54:14.043 INFO - Issuing docker pull: imagename =jsreport/jsreport:2.0.0-full
    2018-05-30 19:54:14.735 INFO - Issuing docker pull: imagename =jsreport/jsreport:2.0.0-full
    2018-05-30 19:54:15.393 INFO - Issuing docker pull jsreport/jsreport:2.0.0-full
    2018-05-30 20:07:51.833 INFO - docker pull returned STDOUT>> 2.0.0-full: Pulling from jsreport/jsreport
    a48c500ed24e: Pulling fs layer
    1e1de00ff7e1: Pulling fs layer
    0330ca45a200: Pulling fs layer
    471db38bcfbf: Pulling fs layer
    0b4aba487617: Pulling fs layer
    4a839d81d5bd: Pulling fs layer
    0921452ce39b: Pulling fs layer
    6e6a5a2a5e4d: Pulling fs layer
    edfe24e2a9ab: Pulling fs layer
    29e2bfa14681: Pulling fs layer
    7d0c81ff464b: Pulling fs layer
    0921452ce39b: Verifying Checksum
    0921452ce39b: Download complete
    0330ca45a200: Verifying Checksum
    0330ca45a200: Download complete
    29e2bfa14681: Verifying Checksum
    29e2bfa14681: Download complete
    1e1de00ff7e1: Verifying Checksum
    1e1de00ff7e1: Download complete
    471db38bcfbf: Verifying Checksum
    471db38bcfbf: Download complete
    0b4aba487617: Verifying Checksum
    0b4aba487617: Download complete
    7d0c81ff464b: Verifying Checksum
    7d0c81ff464b: Download complete
    a48c500ed24e: Verifying Checksum
    a48c500ed24e: Download complete
    6e6a5a2a5e4d: Verifying Checksum
    6e6a5a2a5e4d: Download complete
    edfe24e2a9ab: Verifying Checksum
    edfe24e2a9ab: Download complete
    4a839d81d5bd: Verifying Checksum
    4a839d81d5bd: Download complete
    a48c500ed24e: Pull complete
    1e1de00ff7e1: Pull complete
    0330ca45a200: Pull complete
    471db38bcfbf: Pull complete
    0b4aba487617: Pull complete
    4a839d81d5bd: Pull complete
    0921452ce39b: Pull complete
    6e6a5a2a5e4d: Pull complete
    edfe24e2a9ab: Pull complete
    29e2bfa14681: Pull complete
    7d0c81ff464b: Pull complete
    Digest: sha256:f2e520cfcd7334cb493f5b899dfc98d2b4b17f06a6adb6079996912df7321a4f
    Status: Downloaded newer image for jsreport/jsreport:2.0.0-full

    2018-05-30 20:07:52.000 INFO - Starting container for site
    2018-05-30 20:07:52.003 INFO - docker run -d -p 16863:5488 --name ci-pdfservice_0 -e WEBSITE_SITE_NAME=ci-pdfservice -e WEBSITE_AUTH_ENABLED=False -e PORT=5488 -e WEBSITE_ROLE_INSTANCE_ID=0 -e WEBSITE_INSTANCE_ID=d37dd5d8d249680769964d49ae34d93033db5d8a5c23d0b50e194ca5c352350f jsreport/jsreport:2.0.0-full

    2018-05-30 20:07:52.005 INFO - Logging is not enabled for this container.
    Please use https://aka.ms/linux-diagnostics to enable logging to see container logs here.
    2018-05-30 20:08:21.320 INFO - Container ci-pdfservice_0 for site ci-pdfservice initialized successfully.
    2018-05-30 20:10:24.603 INFO - Recycling container because of AppCommandLineChange and appCommandLine = jsreport/jsreport:2.0.0-full
    2018-05-30 20:10:24.653 INFO - Issuing docker pull: imagename =jsreport/jsreport:2.0.0-full
    2018-05-30 20:10:25.603 INFO - Issuing docker pull: imagename =jsreport/jsreport:2.0.0-full
    2018-05-30 20:10:26.606 INFO - Issuing docker pull jsreport/jsreport:2.0.0-full
    2018-05-30 20:10:28.796 INFO - docker pull returned STDOUT>> 2.0.0-full: Pulling from jsreport/jsreport
    Digest: sha256:f2e520cfcd7334cb493f5b899dfc98d2b4b17f06a6adb6079996912df7321a4f
    Status: Image is up to date for jsreport/jsreport:2.0.0-full

    2018-05-30 20:10:28.833 INFO - Starting container for site
    2018-05-30 20:10:28.835 INFO - docker run -d -p 30253:5488 --name ci-pdfservice_1 -e WEBSITE_SITE_NAME=ci-pdfservice -e WEBSITE_AUTH_ENABLED=False -e PORT=5488 -e WEBSITE_ROLE_INSTANCE_ID=0 -e WEBSITE_INSTANCE_ID=d37dd5d8d249680769964d49ae34d93033db5d8a5c23d0b50e194ca5c352350f jsreport/jsreport:2.0.0-full jsreport/jsreport:2.0.0-full

    2018-05-30 20:10:28.842 INFO - Logging is not enabled for this container.
    Please use https://aka.ms/linux-diagnostics to enable logging to see container logs here.
    2018-05-30 20:10:32.602 ERROR - Container start failed for ci-pdfservice_1 with System.AggregateException, One or more errors occurred.
    InnerException: Docker.DotNet.DockerApiException, Docker API responded with status code=BadRequest, response={"message":"OCI runtime create failed: container_linux.go:296: starting container process caused "exec: \"jsreport/jsreport:2.0.0-full\": stat jsreport/jsreport:2.0.0-full: no such file or directory": unknown"}

    2018-05-30 20:11:12.547 INFO - Issuing docker pull: imagename =jsreport/jsreport:2.0.0-full
    2018-05-30 20:11:13.318 INFO - Issuing docker pull: imagename =jsreport/jsreport:2.0.0-full
    2018-05-30 20:11:14.029 INFO - Issuing docker pull jsreport/jsreport:2.0.0-full
    2018-05-30 20:11:15.498 INFO - docker pull returned STDOUT>> 2.0.0-full: Pulling from jsreport/jsreport
    Digest: sha256:f2e520cfcd7334cb493f5b899dfc98d2b4b17f06a6adb6079996912df7321a4f
    Status: Image is up to date for jsreport/jsreport:2.0.0-full

    2018-05-30 20:11:15.557 INFO - Starting container for site
    2018-05-30 20:11:15.565 INFO - docker run -d -p 16693:5488 --name ci-pdfservice_0 -e WEBSITE_SITE_NAME=ci-pdfservice -e WEBSITE_AUTH_ENABLED=False -e PORT=5488 -e WEBSITE_ROLE_INSTANCE_ID=0 -e WEBSITE_INSTANCE_ID=d37dd5d8d249680769964d49ae34d93033db5d8a5c23d0b50e194ca5c352350f jsreport/jsreport:2.0.0-full jsreport/jsreport:2.0.0-full

    2018-05-30 20:11:15.567 INFO - Logging is not enabled for this container.
    Please use https://aka.ms/linux-diagnostics to enable logging to see container logs here.
    2018-05-30 20:11:18.014 ERROR - Container start failed for ci-pdfservice_0 with System.AggregateException, One or more errors occurred.
    InnerException: Docker.DotNet.DockerApiException, Docker API responded with status code=BadRequest, response={"message":"OCI runtime create failed: container_linux.go:296: starting container process caused "exec: \"jsreport/jsreport:2.0.0-full\": stat jsreport/jsreport:2.0.0-full: no such file or directory": unknown"}

    2018-05-30 20:11:25.744 INFO - Issuing docker pull: imagename =jsreport/jsreport:2.0.0-full
    2018-05-30 20:11:26.454 INFO - Issuing docker pull: imagename =jsreport/jsreport:2.0.0-full
    2018-05-30 20:11:27.248 INFO - Issuing docker pull jsreport/jsreport:2.0.0-full
    2018-05-30 20:11:28.617 INFO - docker pull returned STDOUT>> 2.0.0-full: Pulling from jsreport/jsreport
    Digest: sha256:f2e520cfcd7334cb493f5b899dfc98d2b4b17f06a6adb6079996912df7321a4f
    Status: Image is up to date for jsreport/jsreport:2.0.0-full

    2018-05-30 20:11:28.655 INFO - Starting container for site
    2018-05-30 20:11:28.657 INFO - docker run -d -p 44835:5488 --name ci-pdfservice_0 -e WEBSITE_SITE_NAME=ci-pdfservice -e WEBSITE_AUTH_ENABLED=False -e PORT=5488 -e WEBSITE_ROLE_INSTANCE_ID=0 -e WEBSITE_INSTANCE_ID=d37dd5d8d249680769964d49ae34d93033db5d8a5c23d0b50e194ca5c352350f jsreport/jsreport:2.0.0-full jsreport/jsreport:2.0.0-full

    2018-05-30 20:11:28.663 INFO - Logging is not enabled for this container.
    Please use https://aka.ms/linux-diagnostics to enable logging to see container logs here.
    2018-05-30 20:11:31.522 ERROR - Container start failed for ci-pdfservice_0 with System.AggregateException, One or more errors occurred.
    InnerException: Docker.DotNet.DockerApiException, Docker API responded with status code=BadRequest, response={"message":"OCI runtime create failed: container_linux.go:296: starting container process caused "exec: \"jsreport/jsreport:2.0.0-full\": stat jsreport/jsreport:2.0.0-full: no such file or directory": unknown"}

    2018-05-30 20:15:12.026 INFO - Issuing docker pull: imagename =jsreport/jsreport:2.0.0-full
    2018-05-30 20:15:12.676 INFO - Issuing docker pull: imagename =jsreport/jsreport:2.0.0-full
    2018-05-30 20:15:13.408 INFO - Issuing docker pull jsreport/jsreport:2.0.0-full
    2018-05-30 20:15:14.590 INFO - docker pull returned STDOUT>> 2.0.0-full: Pulling from jsreport/jsreport
    Digest: sha256:f2e520cfcd7334cb493f5b899dfc98d2b4b17f06a6adb6079996912df7321a4f
    Status: Image is up to date for jsreport/jsreport:2.0.0-full

    2018-05-30 20:15:14.610 INFO - Starting container for site
    2018-05-30 20:15:14.612 INFO - docker run -d -p 2400:5488 --name ci-pdfservice_0 -e WEBSITE_SITE_NAME=ci-pdfservice -e WEBSITE_AUTH_ENABLED=False -e PORT=5488 -e WEBSITE_ROLE_INSTANCE_ID=0 -e WEBSITE_INSTANCE_ID=d37dd5d8d249680769964d49ae34d93033db5d8a5c23d0b50e194ca5c352350f jsreport/jsreport:2.0.0-full jsreport/jsreport:2.0.0-full

    2018-05-30 20:15:14.614 INFO - Logging is not enabled for this container.
    Please use https://aka.ms/linux-diagnostics to enable logging to see container logs here.
    2018-05-30 20:15:16.446 ERROR - Container start failed for ci-pdfservice_0 with System.AggregateException, One or more errors occurred.
    InnerException: Docker.DotNet.DockerApiException, Docker API responded with status code=BadRequest, response={"message":"OCI runtime create failed: container_linux.go:296: starting container process caused "exec: \"jsreport/jsreport:2.0.0-full\": stat jsreport/jsreport:2.0.0-full: no such file or directory": unknown"}

    2018-05-30 20:15:47.876 INFO - Issuing docker pull: imagename =jsreport/jsreport:2.0.0-full
    2018-05-30 20:15:49.194 INFO - Issuing docker pull: imagename =jsreport/jsreport:2.0.0-full
    2018-05-30 20:15:50.231 INFO - Issuing docker pull jsreport/jsreport:2.0.0-full
    2018-05-30 20:15:51.454 INFO - docker pull returned STDOUT>> 2.0.0-full: Pulling from jsreport/jsreport
    Digest: sha256:f2e520cfcd7334cb493f5b899dfc98d2b4b17f06a6adb6079996912df7321a4f
    Status: Image is up to date for jsreport/jsreport:2.0.0-full

    2018-05-30 20:15:51.475 INFO - Starting container for site
    2018-05-30 20:15:51.477 INFO - docker run -d -p 31995:5488 --name ci-pdfservice_0 -e WEBSITE_SITE_NAME=ci-pdfservice -e WEBSITE_AUTH_ENABLED=False -e PORT=5488 -e WEBSITE_ROLE_INSTANCE_ID=0 -e WEBSITE_INSTANCE_ID=d37dd5d8d249680769964d49ae34d93033db5d8a5c23d0b50e194ca5c352350f jsreport/jsreport:2.0.0-full jsreport/jsreport:2.0.0-full

    2018-05-30 20:15:51.479 INFO - Logging is not enabled for this container.
    Please use https://aka.ms/linux-diagnostics to enable logging to see container logs here.
    2018-05-30 20:15:53.074 ERROR - Container start failed for ci-pdfservice_0 with System.AggregateException, One or more errors occurred.
    InnerException: Docker.DotNet.DockerApiException, Docker API responded with status code=BadRequest, response={"message":"OCI runtime create failed: container_linux.go:296: starting container process caused "exec: \"jsreport/jsreport:2.0.0-full\": stat jsreport/jsreport:2.0.0-full: no such file or directory": unknown"}

    2018-05-30 20:19:32.666 INFO - Issuing docker pull: imagename =jsreport/jsreport:2.0.0-full
    2018-05-30 20:19:33.647 INFO - Issuing docker pull: imagename =jsreport/jsreport:2.0.0-full
    2018-05-30 20:19:34.563 INFO - Issuing docker pull jsreport/jsreport:2.0.0-full
    2018-05-30 20:19:36.008 INFO - docker pull returned STDOUT>> 2.0.0-full: Pulling from jsreport/jsreport
    Digest: sha256:f2e520cfcd7334cb493f5b899dfc98d2b4b17f06a6adb6079996912df7321a4f
    Status: Image is up to date for jsreport/jsreport:2.0.0-full

    2018-05-30 20:19:36.025 INFO - Starting container for site
    2018-05-30 20:19:36.033 INFO - docker run -d -p 39611:5488 --name ci-pdfservice_0 -e WEBSITE_SITE_NAME=ci-pdfservice -e WEBSITE_AUTH_ENABLED=False -e PORT=5488 -e WEBSITE_ROLE_INSTANCE_ID=0 -e WEBSITE_INSTANCE_ID=d37dd5d8d249680769964d49ae34d93033db5d8a5c23d0b50e194ca5c352350f jsreport/jsreport:2.0.0-full jsreport/jsreport:2.0.0-full

    2018-05-30 20:19:36.035 INFO - Logging is not enabled for this container.
    Please use https://aka.ms/linux-diagnostics to enable logging to see container logs here.
    2018-05-30 20:19:37.579 ERROR - Container start failed for ci-pdfservice_0 with System.AggregateException, One or more errors occurred.
    InnerException: Docker.DotNet.DockerApiException, Docker API responded with status code=BadRequest, response={"message":"OCI runtime create failed: container_linux.go:296: starting container process caused "exec: \"jsreport/jsreport:2.0.0-full\": stat jsreport/jsreport:2.0.0-full: no such file or directory": unknown"}

    2018-05-30 20:19:38.590 INFO - Issuing docker pull: imagename =jsreport/jsreport:2.0.0-full
    2018-05-30 20:19:39.244 INFO - Issuing docker pull: imagename =jsreport/jsreport:2.0.0-full
    2018-05-30 20:19:39.948 INFO - Issuing docker pull jsreport/jsreport:2.0.0-full
    2018-05-30 20:19:41.166 INFO - docker pull returned STDOUT>> 2.0.0-full: Pulling from jsreport/jsreport
    Digest: sha256:f2e520cfcd7334cb493f5b899dfc98d2b4b17f06a6adb6079996912df7321a4f
    Status: Image is up to date for jsreport/jsreport:2.0.0-full

    2018-05-30 20:19:41.187 INFO - Starting container for site
    2018-05-30 20:19:41.187 INFO - docker run -d -p 57262:5488 --name ci-pdfservice_0 -e WEBSITE_SITE_NAME=ci-pdfservice -e WEBSITE_AUTH_ENABLED=False -e PORT=5488 -e WEBSITE_ROLE_INSTANCE_ID=0 -e WEBSITE_INSTANCE_ID=d37dd5d8d249680769964d49ae34d93033db5d8a5c23d0b50e194ca5c352350f jsreport/jsreport:2.0.0-full jsreport/jsreport:2.0.0-full

    2018-05-30 20:19:41.187 INFO - Logging is not enabled for this container.
    Please use https://aka.ms/linux-diagnostics to enable logging to see container logs here.
    2018-05-30 20:19:42.646 ERROR - Container start failed for ci-pdfservice_0 with System.AggregateException, One or more errors occurred.
    InnerException: Docker.DotNet.DockerApiException, Docker API responded with status code=BadRequest, response={"message":"OCI runtime create failed: container_linux.go:296: starting container process caused "exec: \"jsreport/jsreport:2.0.0-full\": stat jsreport/jsreport:2.0.0-full: no such file or directory": unknown"}

    2018-05-30 20:21:18.961 INFO - Issuing docker pull: imagename =jsreport/jsreport:2.0.0-full
    2018-05-30 20:21:19.659 INFO - Issuing docker pull: imagename =jsreport/jsreport:2.0.0-full
    2018-05-30 20:21:20.411 INFO - Issuing docker pull jsreport/jsreport:2.0.0-full
    2018-05-30 20:21:21.834 INFO - docker pull returned STDOUT>> 2.0.0-full: Pulling from jsreport/jsreport
    Digest: sha256:f2e520cfcd7334cb493f5b899dfc98d2b4b17f06a6adb6079996912df7321a4f
    Status: Image is up to date for jsreport/jsreport:2.0.0-full

    2018-05-30 20:21:21.853 INFO - Starting container for site
    2018-05-30 20:21:21.861 INFO - docker run -d -p 44492:5488 --name ci-pdfservice_0 -e WEBSITE_SITE_NAME=ci-pdfservice -e WEBSITE_AUTH_ENABLED=False -e PORT=5488 -e WEBSITE_ROLE_INSTANCE_ID=0 -e WEBSITE_INSTANCE_ID=d37dd5d8d249680769964d49ae34d93033db5d8a5c23d0b50e194ca5c352350f jsreport/jsreport:2.0.0-full jsreport/jsreport:2.0.0-full

    2018-05-30 20:21:21.863 INFO - Logging is not enabled for this container.
    Please use https://aka.ms/linux-diagnostics to enable logging to see container logs here.
    2018-05-30 20:21:25.314 ERROR - Container start failed for ci-pdfservice_0 with System.AggregateException, One or more errors occurred.
    InnerException: Docker.DotNet.DockerApiException, Docker API responded with status code=BadRequest, response={"message":"OCI runtime create failed: container_linux.go:296: starting container process caused "exec: \"jsreport/jsreport:2.0.0-full\": stat jsreport/jsreport:2.0.0-full: no such file or directory": unknown"}

    2018-05-30 20:21:26.781 INFO - Issuing docker pull: imagename =jsreport/jsreport:2.0.0-full
    2018-05-30 20:21:27.857 INFO - Issuing docker pull: imagename =jsreport/jsreport:2.0.0-full
    2018-05-30 20:21:28.881 INFO - Issuing docker pull jsreport/jsreport:2.0.0-full
    2018-05-30 20:21:30.417 INFO - docker pull returned STDOUT>> 2.0.0-full: Pulling from jsreport/jsreport
    Digest: sha256:f2e520cfcd7334cb493f5b899dfc98d2b4b17f06a6adb6079996912df7321a4f
    Status: Image is up to date for jsreport/jsreport:2.0.0-full

    2018-05-30 20:21:30.465 INFO - Starting container for site
    2018-05-30 20:21:30.473 INFO - docker run -d -p 4562:5488 --name ci-pdfservice_0 -e WEBSITE_SITE_NAME=ci-pdfservice -e WEBSITE_AUTH_ENABLED=False -e PORT=5488 -e WEBSITE_ROLE_INSTANCE_ID=0 -e WEBSITE_INSTANCE_ID=d37dd5d8d249680769964d49ae34d93033db5d8a5c23d0b50e194ca5c352350f jsreport/jsreport:2.0.0-full jsreport/jsreport:2.0.0-full

    2018-05-30 20:21:30.475 INFO - Logging is not enabled for this container.
    Please use https://aka.ms/linux-diagnostics to enable logging to see container logs here.
    2018-05-30 20:21:34.186 ERROR - Container start failed for ci-pdfservice_0 with System.AggregateException, One or more errors occurred.
    InnerException: Docker.DotNet.DockerApiException, Docker API responded with status code=BadRequest, response={"message":"OCI runtime create failed: container_linux.go:296: starting container process caused "exec: \"jsreport/jsreport:2.0.0-full\": stat jsreport/jsreport:2.0.0-full: no such file or directory": unknown"}



  • 1.I re-tried deploying the docker image to a fresh S1 Plan again and this time just added the authentication to true in Appsetting.
    2.Stopped and Restarted the webApp and then added the username and password

    1. Now Stopped and Restarted the WebApp Agin and things started working normally with a nice Login Screen
    2. Now tried adding all the settings required for connecting to a storage account and then the app broke and never restarted again and ended up in service unavailable

    So Moral of the story, I am in a better shape than yesterday but could not get the connection to storage working in order to persist the templates. Let me know when you see some way forward !!



  • Great. Good news.

    The current docker image contains bug in azure blob storage driver. We will release hotfix during the CET evening.



  • Super :) :) :) You guys have been the fastest in the community to solve things ! Am waiting for the new build then



  • OK the 2.1.0 is out. Please follow these steps.

    1. Stop your web app
    2. Delete jsreport container in your blob storage (backup it if there is something you need)
    3. Change the web app docker image to jsreport/jsreport:2.1.0-full
    4. Additionally add this app settings as it is required to be explicitly set in 2.1.0
      extensions_authentication_cookieSession_secret=yoursecrethere
    5. Start web app


  • Do you need a Azure Service Bus Resource to configure the solution ? I see that ...
    "In case you want to run multiple instances of jsreport you need to create also service bus."

    ... But I believe this is in cases where the app service running the jsreports image is scaled out to multiple instances.. Is that correct ?



  • Yes that is correct. The service bus is used to notify the other servers about changes so they can reload the data. In case you have just single server there is no need for it.



  • Am glad to confirm that the 2.1.0 build is working as expected. Both Authentication and Template Persistence Works Like a breeze. Can't wait to roll it down to all projects within the department. Thank you so much.

    0_1527882000638_upload-18eca0e6-3446-4635-b1c5-1407bfe89222


Log in to reply
 

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