API/Report - AWS EC2 Error - autocleanup ENONET



  • Hello,

    We are beginning to host an EC2 instance on AWS Elastic Beanstalk / EC2. The JSReport server works as expected while using the developer portal - but, when we attempt to hit the API (api/report/) we get the following error:

    ENOENT: no such file or directory, open '/tmp/jsreport/autocleanup/ed1fc487-b093-4ccf-879f-b236e0c4d188html.html'

    I have confirmed that the EC2 instance does not have the folder /tmp/jsreport.

    Is there a configuration change that must be made?

    Thank you!
    Tyler



  • Hi,

    So you can render from studio but get this error when calling API?
    Does this happen for all reports? Can you try a simple "Hello world one" ?
    Can you share how your API call looks like?



  • Hey Jan,

    Strangely, I re-deployed the code via elastic beanstalk and it worked as expected without any errors. I will update this thread if it appears again.

    Thanks!
    Tyler


Log in to reply
 

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