Jsreport .net configuration with aws lambda



  • Hello everyone,

    I have an AWS Lambda function and a service consuming the Jsreport local and Jsreport binary packages. The Lambda is running on .NET 8, and when I deploy everything, I receive the following error:

    "Read-only file system: '/var/task/var'"

    This error occurs when I deploy my AWS Lambda. If anyone knows of any specific configuration that should be applied in the Dockerfile, or if anyone has any suggestions on resolving this error, I would appreciate your help. Thank you in advance.



  • Are you sure this is caused by the jsreport packages? I'm not aware there would be writes to the /var/task/var from jsreport or chrome.

    Anyway, try to set the jsreport temp directory explicitely to /tmp/something.

    new LocalReporting().TempDirectory("/tmp/something")
    

Log in to reply
 

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