-
Notifications
You must be signed in to change notification settings - Fork 260
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stop creation of log and tmp folder #501
Comments
Thanks for reporting @bhavya0901! Puppeteer requires a directory like In the meantime, if possible, adjust your Kubernetes deployment to allow the creation of temporary folders. This might involve modifying security policies or the filesystem to permit such actions. This approach is pretty straightforward and acts as a good workaround. |
Thank you for answering my question @jszuminski Hope soon you will adding an option which would allow us to change tmp directory. |
Hi @jszuminski |
Hi @bhavya0901, we have not yet added this option. We're currently working on improving the performance and health of the Export Server before the next release (which is going to be a major change). We will get back to your feature request once all the prioritized issues are solved (upcoming months). I will keep you posted. |
Hi @jszuminski Thank you for the update. I understand that improving the performance and health of the Export Server is a priority right now. I appreciate your diligence in addressing these issues first. Looking forward to hearing back about the feature request once the current priorities are resolved. |
This is unfortunately not an option with AWS Lambda so the Highcharts export server is incompatible with lambda until the ability to change the temp folder location has been added. |
Hi @jszuminski , |
1 similar comment
Hi @jszuminski , |
@bhavya0901 You can specify the tmp directory using puppeteer args in export settings
|
Waiting for a path setting which is for logs and tmp folder. |
Actual behaviour
highcharts-export-server create log and tmp folder during chart image download process but kubernetes does not allow to create a folder like this.
Expected behaviour
chart image will download without creation log and tmp folder.
I think after adding options.logging.level = 0 log folder not created, same as log folder which code require to stop creation of tmp folder
I've write above code to get chart image and it's perfectly working fine in my local but I'm getting In pool.postWork: [pool] Error when acquiring available entry: Error when code deployed on live server
I think tmp folder doesn't created on live server and due to this reason I'm getting this error may be Kubernetes does not allow to create tmp folder on live server
Do you have any solution to resolve this issue ?
The text was updated successfully, but these errors were encountered: