Thanks Jan, will try.
rdkleine
@rdkleine
Posts made by rdkleine
-
RE: Docker (in Azure App Service) Running out of space
-
Docker (in Azure App Service) Running out of space
A docker container running jsReport is running out of sapce and the container is failing.
Error in logfile
2021-07-13T07: 37: 25.469Z ERROR - Container start failed for xxxx with System.AggregateException, One or more errors occurred. (Docker API responded with status code=InternalServerError, response= { "message": "OCI runtime create failed: container_linux.go:370: starting container process caused: process_linux.go:459: container init caused: rootfs_linux.go:59: mounting "/var/LWASFiles/Sites/xxxx/appsvctmp" to rootfs at "/mnt/data/docker/images/231072.231072/aufs/mnt/7c0065c198b3881806bb293ccee0ceef29b8b619bb47a7512f9b5485557811d5/appsvctmp" caused: mkdir /mnt/data/docker/images/231072.231072/aufs/mnt/7c0065c198b3881806bb293ccee0ceef29b8b619bb47a7512f9b5485557811d5/appsvctmp: no space left on device: unknown" }
Problem started when I was updating to service where each dowload was about 200MB+. I could probably fix this by removing the service and create a new one OR up the service plan which adds more space.
However I would think there must be a way to use docker commands to clean up some of these upgrade files. Can anyone point me in the right direction?
We are running v2.1.0 currently in production and would like to upgrade to 2.8.0 (we have a license). Although I'm running into some problems running 2.8.0 and then tried upgrading from 2.2.0 and up and then ran into this problem.
-
RE: toLocaleString
Ok, that explains it thanks!
Are the docker versions > 2.8.0.0 using node > 14.14 by any chance?
-
RE: toLocaleString
Node
v14.15.0jsreport
v2.8.0*I'm running jsreport in Docker
-
toLocaleString
I've got a requirement to get the clients report to render decimal values in the Dutch format which is comma instead of dot and vise versa. So a value of 1,234.56 should be rendered as 1.234,56.
What I have tried:
The report template
(productKg = 1.1){{locale productKg}} {{locale 1.123}}
Handlebar
Handlebars.registerHelper('locale', (value) => value.toLocaleString('nl-NL'));
The result in the report
1.1
1.123Expected result
1,1
1,123