# Getting Error-Cannot delete files/directories outside the current working directory when i wants to generate visualization report in pdf

**URL:** <https://discuss.elastic.co/t/getting-error-cannot-delete-files-directories-outside-the-current-working-directory-when-i-wants-to-generate-visualization-report-in-pdf/283633>\
**Category:** Kibana\
**Tags:** elastic-stack-reporting\
**Created:** [September 8, 2021, 8:58am UTC](https://discuss.elastic.co/t/getting-error-cannot-delete-files-directories-outside-the-current-working-directory-when-i-wants-to-generate-visualization-report-in-pdf/283633 "2021-09-08T08:58:44Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![syed0510](https://avatars.discourse-cdn.com/v4/letter/s/76d3ee/32.png) [@syed0510](https://discuss.elastic.co/u/syed0510)\
**Post date:** [September 8, 2021, 8:58am UTC](https://discuss.elastic.co/t/getting-error-cannot-delete-files-directories-outside-the-current-working-directory-when-i-wants-to-generate-visualization-report-in-pdf/283633/1 "2021-09-08T08:58:44Z")

</div>

![KibanaLogerror](https://us1.discourse-cdn.com/elastic/original/3X/5/3/533bcbb4b84d78ed40394daf03105056134ae13f.png)  
Kibana Version: 7.6.1  
ElasticSearch version- 6.4.0

Getting address invalid error when wants to generate visualization report in pdf{attaching screenshot of error

 ![kibanaError](https://us1.discourse-cdn.com/elastic/original/3X/7/a/7ab7e465c4e30bbf3beaf56c676314cf7e7e5baa.png)}.

Attaching log files details also. log file is showing error of Cannot delete files/directories outside the current working directory.

can you please provide me the solution that how to remove this error and than able to generate visualization report in pdf.

thanks,  
Syed

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [September 9, 2021, 12:20am UTC](https://discuss.elastic.co/t/getting-error-cannot-delete-files-directories-outside-the-current-working-directory-when-i-wants-to-generate-visualization-report-in-pdf/283633/2 "2021-09-09T00:20:48Z")

</div>

Welcome to our community! 😃

Please don't post pictures of text or code. They are difficult to read, impossible to search and replicate (if it's code), and some people may not be even able to see them 🙂

---

<div class="post-metadata">

**Author:** ![syed0510](https://avatars.discourse-cdn.com/v4/letter/s/76d3ee/32.png) [@syed0510](https://discuss.elastic.co/u/syed0510)\
**Post date:** [September 9, 2021, 2:31am UTC](https://discuss.elastic.co/t/getting-error-cannot-delete-files-directories-outside-the-current-working-directory-when-i-wants-to-generate-visualization-report-in-pdf/283633/3 "2021-09-09T02:31:01Z")

</div>

can anyone please give me the solution of my question?

---

<div class="post-metadata">

**Author:** ![syed0510](https://avatars.discourse-cdn.com/v4/letter/s/76d3ee/32.png) [@syed0510](https://discuss.elastic.co/u/syed0510)\
**Post date:** [September 9, 2021, 2:32am UTC](https://discuss.elastic.co/t/getting-error-cannot-delete-files-directories-outside-the-current-working-directory-when-i-wants-to-generate-visualization-report-in-pdf/283633/4 "2021-09-09T02:32:51Z")

</div>

Hi @warkolm  
can you please provide me the solution that how to remove this error and than able to generate visualization report in pdf.

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [September 9, 2021, 2:33am UTC](https://discuss.elastic.co/t/getting-error-cannot-delete-files-directories-outside-the-current-working-directory-when-i-wants-to-generate-visualization-report-in-pdf/283633/5 "2021-09-09T02:33:33Z")

</div>

Can you please post the logs as text and not an image.

---

<div class="post-metadata">

**Author:** ![syed0510](https://avatars.discourse-cdn.com/v4/letter/s/76d3ee/32.png) [@syed0510](https://discuss.elastic.co/u/syed0510)\
**Post date:** [September 9, 2021, 2:58am UTC](https://discuss.elastic.co/t/getting-error-cannot-delete-files-directories-outside-the-current-working-directory-when-i-wants-to-generate-visualization-report-in-pdf/283633/6 "2021-09-09T02:58:59Z")

</div>

\</\>  
{"type":"error","@timestamp":"2021-09-08T08:33:36Z","tags":["reporting","printable\_pdf","execute","ktb8vpa206z09436714cvd94","error"],"pid":9036,"level":"error","error":{"message":"net::ERR\_ADDRESS\_INVALID at [http://0.0.0.0:5000/app/kibana#/visualize/edit/0b5ec2f0-eb9b-11eb-b6ee-61a1602a9749?\_g=(refreshInterval%3A(pause%3A!t%2Cvalue%3A0)%2Ctime%3A(from%3Anow-15m%2Cto%3Anow)](http://0.0.0.0:5000/app/kibana#/visualize/edit/0b5ec2f0-eb9b-11eb-b6ee-61a1602a9749?_g=(refreshInterval%3A(pause%3A!t%2Cvalue%3A0)%2Ctime%3A(from%3Anow-15m%2Cto%3Anow)))&\_a=(filters%3A!()%2Clinked%3A!f%2Cquery%3A(language%3Akuery%2Cquery%3A'')%2CuiState%3A()%2Cvis%3A(aggs%3A!((enabled%3A!t%2Cid%3A'1'%2Cparams%3A(customLabel%3AUser%2FRole)%2Cschema%3Ametric%2Ctype%3Acount)%2C(enabled%3A!t%2Cid%3A'2'%2Cparams%3A(customLabel%3ARepository%2Cdrop\_partials%3A!f%2Cextended\_bounds%3A()%2Cfield%3A'%40timestamp'%2Cinterval%3Aauto%2Cmin\_doc\_count%3A1%2CscaleMetricValues%3A!f%2CuseNormalizedEsInterval%3A!t)%2Cschema%3Asegment%2Ctype%3Adate\_histogram))%2Cparams%3A(addLegend%3A!t%2CaddTimeMarker%3A!f%2CaddTooltip%3A!t%2CcategoryAxes%3A!((id%3ACategoryAxis-1%2Clabels%3A(filter%3A!t%2Cshow%3A!t%2Ctruncate%3A100)%2Cposition%3Abottom%2Cscale%3A(type%3Alinear)%2Cshow%3A!t%2Cstyle%3A()%2Ctitle%3A()%2Ctype%3Acategory))%2Cdimensions%3A(x%3A!n%2Cy%3A!((accessor%3A0%2CaggType%3Acount%2Cformat%3A(id%3Anumber)%2Clabel%3ACount%2Cparams%3A())))%2Cgrid%3A(categoryLines%3A!f)%2Clabels%3A(show%3A!f)%2ClegendPosition%3Aright%2CseriesParams%3A!((data%3A(id%3A'1'%2Clabel%3AUser%2FRole)%2CdrawLinesBetweenPoints%3A!t%2ClineWidth%3A2%2Cmode%3Astacked%2Cshow%3A!t%2CshowCircles%3A!t%2Ctype%3Ahistogram%2CvalueAxis%3AValueAxis-1))%2CthresholdLine%3A(color%3A%23E7664C%2Cshow%3A!f%2Cstyle%3Afull%2Cvalue%3A10%2Cwidth%3A1)%2Ctimes%3A!()%2Ctype%3Ahistogram%2CvalueAxes%3A!((id%3AValueAxis-1%2Clabels%3A(filter%3A!f%2Crotate%3A0%2Cshow%3A!t%2Ctruncate%3A100)%2Cname%3ALeftAxis-1%2Cposition%3Aleft%2Cscale%3A(mode%3Anormal%2Ctype%3Alinear)%2Cshow%3A!t%2Cstyle%3A()%2Ctitle%3A(text%3AUser%2FRole)%2Ctype%3Avalue)))%2Ctitle%3ADummyVisual%2Ctype%3Ahistogram))&forceNow=2021-09-08T08%3A33%3A33.625Z","name":"Error","stack":"Error: net::ERR\_ADDRESS\_INVALID at [http://0.0.0.0:5000/app/kibana#/visualize/edit/0b5ec2f0-eb9b-11eb-b6ee-61a1602a9749?\_g=(refreshInterval%3A(pause%3A!t%2Cvalue%3A0)%2Ctime%3A(from%3Anow-15m%2Cto%3Anow)](http://0.0.0.0:5000/app/kibana#/visualize/edit/0b5ec2f0-eb9b-11eb-b6ee-61a1602a9749?_g=(refreshInterval%3A(pause%3A!t%2Cvalue%3A0)%2Ctime%3A(from%3Anow-15m%2Cto%3Anow)))&\_a=(filters%3A!()%2Clinked%3A!f%2Cquery%3A(language%3Akuery%2Cquery%3A'')%2CuiState%3A()%2Cvis%3A(aggs%3A!((enabled%3A!t%2Cid%3A'1'%2Cparams%3A(customLabel%3AUser%2FRole)%2Cschema%3Ametric%2Ctype%3Acount)%2C(enabled%3A!t%2Cid%3A'2'%2Cparams%3A(customLabel%3ARepository%2Cdrop\_partials%3A!f%2Cextended\_bounds%3A()%2Cfield%3A'%40timestamp'%2Cinterval%3Aauto%2Cmin\_doc\_count%3A1%2CscaleMetricValues%3A!f%2CuseNormalizedEsInterval%3A!t)%2Cschema%3Asegment%2Ctype%3Adate\_histogram))%2Cparams%3A(addLegend%3A!t%2CaddTimeMarker%3A!f%2CaddTooltip%3A!t%2CcategoryAxes%3A!((id%3ACategoryAxis-1%2Clabels%3A(filter%3A!t%2Cshow%3A!t%2Ctruncate%3A100)%2Cposition%3Abottom%2Cscale%3A(type%3Alinear)%2Cshow%3A!t%2Cstyle%3A()%2Ctitle%3A()%2Ctype%3Acategory))%2Cdimensions%3A(x%3A!n%2Cy%3A!((accessor%3A0%2CaggType%3Acount%2Cformat%3A(id%3Anumber)%2Clabel%3ACount%2Cparams%3A())))%2Cgrid%3A(categoryLines%3A!f)%2Clabels%3A(show%3A!f)%2ClegendPosition%3Aright%2CseriesParams%3A!((data%3A(id%3A'1'%2Clabel%3AUser%2FRole)%2CdrawLinesBetweenPoints%3A!t%2ClineWidth%3A2%2Cmode%3Astacked%2Cshow%3A!t%2CshowCircles%3A!t%2Ctype%3Ahistogram%2CvalueAxis%3AValueAxis-1))%2CthresholdLine%3A(color%3A%23E7664C%2Cshow%3A!f%2Cstyle%3Afull%2Cvalue%3A10%2Cwidth%3A1)%2Ctimes%3A!()%2Ctype%3Ahistogram%2CvalueAxes%3A!((id%3AValueAxis-1%2Clabels%3A(filter%3A!f%2Crotate%3A0%2Cshow%3A!t%2Ctruncate%3A100)%2Cname%3ALeftAxis-1%2Cposition%3Aleft%2Cscale%3A(mode%3Anormal%2Ctype%3Alinear)%2Cshow%3A!t%2Cstyle%3A()%2Ctitle%3A(text%3AUser%2FRole)%2Ctype%3Avalue)))%2Ctitle%3ADummyVisual%2Ctype%3Ahistogram))&forceNow=2021-09-08T08%3A33%3A33.625Z\n at navigate (D:\ElasticSearch-6.4.0\kibana-7.6.1-windows-x86\_64\node\_modules\puppeteer-core\lib\FrameManager.js:121:37)\n at process.\_tickCallback (internal/process/next\_tick.js:68:7)\n -- ASYNC --\n at Frame. (D:\ElasticSearch-6.4.0\kibana-7.6.1-windows-x86\_64\node\_modules\puppeteer-core\lib\helper.js:111:15)\n at Page.goto (D:\ElasticSearch-6.4.0\kibana-7.6.1-windows-x86\_64\node\_modules\puppeteer-core\lib\Page.js:674:49)\n at Page.goto (D:\ElasticSearch-6.4.0\kibana-7.6.1-windows-x86\_64\node\_modules\puppeteer-core\lib\helper.js:112:23)\n at HeadlessChromiumDriver.open (D:\ElasticSearch-6.4.0\kibana-7.6.1-windows-x86\_64\x-pack\legacy\plugins\reporting\server\browsers\chromium\driver/chromium\_driver.js:118:21)\n at process.\_tickCallback (internal/process/next\_tick.js:68:7)"},"message":"net::ERR\_ADDRESS\_INVALID at [http://0.0.0.0:5000/app/kibana#/visualize/edit/0b5ec2f0-eb9b-11eb-b6ee-61a1602a9749?\_g=(refreshInterval%3A(pause%3A!t%2Cvalue%3A0)%2Ctime%3A(from%3Anow-15m%2Cto%3Anow)](http://0.0.0.0:5000/app/kibana#/visualize/edit/0b5ec2f0-eb9b-11eb-b6ee-61a1602a9749?_g=(refreshInterval%3A(pause%3A!t%2Cvalue%3A0)%2Ctime%3A(from%3Anow-15m%2Cto%3Anow)))&\_a=(filters%3A!()%2Clinked%3A!f%2Cquery%3A(language%3Akuery%2Cquery%3A'')%2CuiState%3A()%2Cvis%3A(aggs%3A!((enabled%3A!t%2Cid%3A'1'%2Cparams%3A(customLabel%3AUser%2FRole)%2Cschema%3Ametric%2Ctype%3Acount)%2C(enabled%3A!t%2Cid%3A'2'%2Cparams%3A(customLabel%3ARepository%2Cdrop\_partials%3A!f%2Cextended\_bounds%3A()%2Cfield%3A'%40timestamp'%2Cinterval%3Aauto%2Cmin\_doc\_count%3A1%2CscaleMetricValues%3A!f%2CuseNormalizedEsInterval%3A!t)%2Cschema%3Asegment%2Ctype%3Adate\_histogram))%2Cparams%3A(addLegend%3A!t%2CaddTimeMarker%3A!f%2CaddTooltip%3A!t%2CcategoryAxes%3A!((id%3ACategoryAxis-1%2Clabels%3A(filter%3A!t%2Cshow%3A!t%2Ctruncate%3A100)%2Cposition%3Abottom%2Cscale%3A(type%3Alinear)%2Cshow%3A!t%2Cstyle%3A()%2Ctitle%3A()%2Ctype%3Acategory))%2Cdimensions%3A(x%3A!n%2Cy%3A!((accessor%3A0%2CaggType%3Acount%2Cformat%3A(id%3Anumber)%2Clabel%3ACount%2Cparams%3A())))%2Cgrid%3A(categoryLines%3A!f)%2Clabels%3A(show%3A!f)%2ClegendPosition%3Aright%2CseriesParams%3A!((data%3A(id%3A'1'%2Clabel%3AUser%2FRole)%2CdrawLinesBetweenPoints%3A!t%2ClineWidth%3A2%2Cmode%3Astacked%2Cshow%3A!t%2CshowCircles%3A!t%2Ctype%3Ahistogram%2CvalueAxis%3AValueAxis-1))%2CthresholdLine%3A(color%3A%23E7664C%2Cshow%3A!f%2Cstyle%3Afull%2Cvalue%3A10%2Cwidth%3A1)%2Ctimes%3A!()%2Ctype%3Ahistogram%2CvalueAxes%3A!((id%3AValueAxis-1%2Clabels%3A(filter%3A!f%2Crotate%3A0%2Cshow%3A!t%2Ctruncate%3A100)%2Cname%3ALeftAxis-1%2Cposition%3Aleft%2Cscale%3A(mode%3Anormal%2Ctype%3Alinear)%2Cshow%3A!t%2Cstyle%3A()%2Ctitle%3A(text%3AUser%2FRole)%2Ctype%3Avalue)))%2Ctitle%3ADummyVisual%2Ctype%3Ahistogram))&forceNow=2021-09-08T08%3A33%3A33.625Z"}  
\</\>  
\</\> {"type":"log","@timestamp":"2021-09-08T08:33:36Z","tags":["reporting","esqueue","queue-worker","error"],"pid":9036,"message":"kta1uonn06z09436711nwlcv - Failure occurred on job ktb8vpa206z09436714cvd94: Error: net::ERR\_ADDRESS\_INVALID at [http://0.0.0.0:5000/app/kibana#/visualize/edit/0b5ec2f0-eb9b-11eb-b6ee-61a1602a9749?\_g=(refreshInterval%3A(pause%3A!t%2Cvalue%3A0)%2Ctime%3A(from%3Anow-15m%2Cto%3Anow)](http://0.0.0.0:5000/app/kibana#/visualize/edit/0b5ec2f0-eb9b-11eb-b6ee-61a1602a9749?_g=(refreshInterval%3A(pause%3A!t%2Cvalue%3A0)%2Ctime%3A(from%3Anow-15m%2Cto%3Anow)))&\_a=(filters%3A!()%2Clinked%3A!f%2Cquery%3A(language%3Akuery%2Cquery%3A'')%2CuiState%3A()%2Cvis%3A(aggs%3A!((enabled%3A!t%2Cid%3A'1'%2Cparams%3A(customLabel%3AUser%2FRole)%2Cschema%3Ametric%2Ctype%3Acount)%2C(enabled%3A!t%2Cid%3A'2'%2Cparams%3A(customLabel%3ARepository%2Cdrop\_partials%3A!f%2Cextended\_bounds%3A()%2Cfield%3A'%40timestamp'%2Cinterval%3Aauto%2Cmin\_doc\_count%3A1%2CscaleMetricValues%3A!f%2CuseNormalizedEsInterval%3A!t)%2Cschema%3Asegment%2Ctype%3Adate\_histogram))%2Cparams%3A(addLegend%3A!t%2CaddTimeMarker%3A!f%2CaddTooltip%3A!t%2CcategoryAxes%3A!((id%3ACategoryAxis-1%2Clabels%3A(filter%3A!t%2Cshow%3A!t%2Ctruncate%3A100)%2Cposition%3Abottom%2Cscale%3A(type%3Alinear)%2Cshow%3A!t%2Cstyle%3A()%2Ctitle%3A...%3A(mode%3Anormal%2Ctype%3Alinear)%2Cshow%3A!t%2Cstyle%3A()%2Ctitle%3A(text%3AUser%2FRole)%2Ctype%3Avalue)))%2Ctitle%3ADummyVisual%2Ctype%3Ahistogram))&forceNow=2021-09-08T08%3A33%3A33.625Z\n at navigate (D:\ElasticSearch-6.4.0\kibana-7.6.1-windows-x86\_64\node\_modules\puppeteer-core\lib\FrameManager.js:121:37)\n at process.\_tickCallback (internal/process/next\_tick.js:68:7)\n -- ASYNC --\n at Frame. (D:\ElasticSearch-6.4.0\kibana-7.6.1-windows-x86\_64\node\_modules\puppeteer-core\lib\helper.js:111:15)\n at Page.goto (D:\ElasticSearch-6.4.0\kibana-7.6.1-windows-x86\_64\node\_modules\puppeteer-core\lib\Page.js:674:49)\n at Page.goto (D:\ElasticSearch-6.4.0\kibana-7.6.1-windows-x86\_64\node\_modules\puppeteer-core\lib\helper.js:112:23)\n at HeadlessChromiumDriver.open (D:\ElasticSearch-6.4.0\kibana-7.6.1-windows-x86\_64\x-pack\legacy\plugins\reporting\server\browsers\chromium\driver/chromium\_driver.js:118:21)\n at process.\_tickCallback (internal/process/next\_tick.js:68:7)"}\</\>

\</\>{"type":"log","@timestamp":"2021-09-08T08:33:36Z","tags":["reporting","esqueue","queue-worker","error"],"pid":9036,"message":"A partial version of the entire error message was logged. The entire error message length is: 2692 characters."}\</\>

\</\>{"type":"log","@timestamp":"2021-09-08T08:33:36Z","tags":["reporting","printable\_pdf","execute","ktb8vpa206z09436714cvd94","browser-driver","error"],"pid":9036,"message":"error deleting user data directory at [C:\windows\TEMP\chromium-U4is3u]: [Error: Cannot delete files/directories outside the current working directory. Can be overridden with the `force` option.]"}\</\>

\</\>{"type":"error","@timestamp":"2021-09-08T08:41:35Z","tags":,"pid":9036,"level":"error","error":{"message":"Internal Server Error","name":"Error","stack":"Error: Internal Server Error\n at HapiResponseAdapter.toError (D:\ElasticSearch-6.4.0\kibana-7.6.1-windows-x86\_64\src\core\server\http\router\response\_adapter.js:119:19)\n at HapiResponseAdapter.toHapiResponse (D:\ElasticSearch-6.4.0\kibana-7.6.1-windows-x86\_64\src\core\server\http\router\response\_adapter.js:80:19)\n at HapiResponseAdapter.handle (D:\ElasticSearch-6.4.0\kibana-7.6.1-windows-x86\_64\src\core\server\http\router\response\_adapter.js:75:17)\n at Router.handle (D:\ElasticSearch-6.4.0\kibana-7.6.1-windows-x86\_64\src\core\server\http\router\router.js:162:34)\n at process.\_tickCallback (internal/process/next\_tick.js:68:7)"},"url":{"protocol":null,"slashes":null,"auth":null,"host":null,"port":null,"hostname":null,"hash":null,"search":"?fromDate=now%2Fd&toDate=now%2Fd&timeFieldName=%40timestamp","query":{"fromDate":"now/d","toDate":"now/d","timeFieldName":"@timestamp"},"pathname":"/api/lens/existing\_fields/2d034f60-eb89-11ea-a9e4-b71fb7564970","path":"/api/lens/existing\_fields/2d034f60-eb89-11ea-a9e4-b71fb7564970?fromDate=now%2Fd&toDate=now%2Fd&timeFieldName=%40timestamp","href":"/api/lens/existing\_fields/2d034f60-eb89-11ea-a9e4-b71fb7564970?fromDate=now%2Fd&toDate=now%2Fd&timeFieldName=%40timestamp"},"message":"Internal Server Error"}\</\>

\</\>{"type":"error","@timestamp":"2021-09-08T08:41:45Z","tags":,"pid":9036,"level":"error","error":{"message":"Internal Server Error","name":"Error","stack":"Error: Internal Server Error\n at HapiResponseAdapter.toError (D:\ElasticSearch-6.4.0\kibana-7.6.1-windows-x86\_64\src\core\server\http\router\response\_adapter.js:119:19)\n at HapiResponseAdapter.toHapiResponse (D:\ElasticSearch-6.4.0\kibana-7.6.1-windows-x86\_64\src\core\server\http\router\response\_adapter.js:80:19)\n at HapiResponseAdapter.handle (D:\ElasticSearch-6.4.0\kibana-7.6.1-windows-x86\_64\src\core\server\http\router\response\_adapter.js:75:17)\n at Router.handle (D:\ElasticSearch-6.4.0\kibana-7.6.1-windows-x86\_64\src\core\server\http\router\router.js:162:34)\n at process.\_tickCallback (internal/process/next\_tick.js:68:7)"},"url":{"protocol":null,"slashes":null,"auth":null,"host":null,"port":null,"hostname":null,"hash":null,"search":null,"query":{},"pathname":"/api/lens/telemetry","path":"/api/lens/telemetry","href":"/api/lens/telemetry"},"message":"Internal Server Error"}\</\>

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [September 9, 2021, 3:00am UTC](https://discuss.elastic.co/t/getting-error-cannot-delete-files-directories-outside-the-current-working-directory-when-i-wants-to-generate-visualization-report-in-pdf/283633/7 "2021-09-09T03:00:52Z")

</div>

Can you confirm what versions of the stack you are running? Cause I can see;

> [@syed0510](#):
>
> Elasticsearch-6.4.0

> [@syed0510](#):
>
> kibana-7.6.1-windows-x86\_64

But that will not work, as per [Support Matrix | Elastic](https://www.elastic.co/support/matrix#matrix_compatibility).

---

<div class="post-metadata">

**Author:** ![syed0510](https://avatars.discourse-cdn.com/v4/letter/s/76d3ee/32.png) [@syed0510](https://discuss.elastic.co/u/syed0510)\
**Post date:** [September 9, 2021, 3:12am UTC](https://discuss.elastic.co/t/getting-error-cannot-delete-files-directories-outside-the-current-working-directory-when-i-wants-to-generate-visualization-report-in-pdf/283633/8 "2021-09-09T03:12:59Z")

</div>

How can i find the version of stack?

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [September 9, 2021, 3:19am UTC](https://discuss.elastic.co/t/getting-error-cannot-delete-files-directories-outside-the-current-working-directory-when-i-wants-to-generate-visualization-report-in-pdf/283633/9 "2021-09-09T03:19:39Z")

</div>

It definitely looks like you are running 7.6 of Kibana.  
What does Elasticsearch report when you open `localhost:9200` in a browser?

---

<div class="post-metadata">

**Author:** ![syed0510](https://avatars.discourse-cdn.com/v4/letter/s/76d3ee/32.png) [@syed0510](https://discuss.elastic.co/u/syed0510)\
**Post date:** [September 9, 2021, 3:25am UTC](https://discuss.elastic.co/t/getting-error-cannot-delete-files-directories-outside-the-current-working-directory-when-i-wants-to-generate-visualization-report-in-pdf/283633/10 "2021-09-09T03:25:02Z")

</div>

can i write this "localhost:9200" in config file of kibana? can you please elaborate more.

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [September 9, 2021, 3:34am UTC](https://discuss.elastic.co/t/getting-error-cannot-delete-files-directories-outside-the-current-working-directory-when-i-wants-to-generate-visualization-report-in-pdf/283633/11 "2021-09-09T03:34:57Z")

</div>

You need to check what version of Elasticsearch is running, putting that into your browser will tell you that.

---

<div class="post-metadata">

**Author:** ![syed0510](https://avatars.discourse-cdn.com/v4/letter/s/76d3ee/32.png) [@syed0510](https://discuss.elastic.co/u/syed0510)\
**Post date:** [September 9, 2021, 5:00am UTC](https://discuss.elastic.co/t/getting-error-cannot-delete-files-directories-outside-the-current-working-directory-when-i-wants-to-generate-visualization-report-in-pdf/283633/12 "2021-09-09T05:00:32Z")

</div>

we are using http 9000 and tcp 9500 port and version 7.6.1. localhost doesn't work, it open with hostname URL

---

<div class="post-metadata">

**Author:** ![syed0510](https://avatars.discourse-cdn.com/v4/letter/s/76d3ee/32.png) [@syed0510](https://discuss.elastic.co/u/syed0510)\
**Post date:** [September 13, 2021, 5:50am UTC](https://discuss.elastic.co/t/getting-error-cannot-delete-files-directories-outside-the-current-working-directory-when-i-wants-to-generate-visualization-report-in-pdf/283633/13 "2021-09-13T05:50:54Z")

</div>

can i get any update on this?  
please help and give me the solution of my question.

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [September 13, 2021, 5:55am UTC](https://discuss.elastic.co/t/getting-error-cannot-delete-files-directories-outside-the-current-working-directory-when-i-wants-to-generate-visualization-report-in-pdf/283633/14 "2021-09-13T05:55:39Z")

</div>

I think you'd need to post your Elasticsearch and Kibana config files.

---

<div class="post-metadata">

**Author:** ![syed0510](https://avatars.discourse-cdn.com/v4/letter/s/76d3ee/32.png) [@syed0510](https://discuss.elastic.co/u/syed0510)\
**Post date:** [September 13, 2021, 6:07am UTC](https://discuss.elastic.co/t/getting-error-cannot-delete-files-directories-outside-the-current-working-directory-when-i-wants-to-generate-visualization-report-in-pdf/283633/15 "2021-09-13T06:07:05Z")

</div>

okk, i will do that

---

<div class="post-metadata">

**Author:** ![syed0510](https://avatars.discourse-cdn.com/v4/letter/s/76d3ee/32.png) [@syed0510](https://discuss.elastic.co/u/syed0510)\
**Post date:** [September 15, 2021, 2:56am UTC](https://discuss.elastic.co/t/getting-error-cannot-delete-files-directories-outside-the-current-working-directory-when-i-wants-to-generate-visualization-report-in-pdf/283633/16 "2021-09-15T02:56:05Z")

</div>

Sharing Kibana and Elastic Search config file

 ![Kibana_1](https://us1.discourse-cdn.com/elastic/original/3X/9/b/9b6bc87b929de9e23c54389fe4a862f1e352ee5d.png)  
 ![Kibana_2](https://us1.discourse-cdn.com/elastic/original/3X/4/d/4ddafc9f31661cbf1e18afabdd4bc9b1b92e63e5.png)  
 ![Kibana_3](https://us1.discourse-cdn.com/elastic/original/3X/8/c/8cb8555be483616cac2a873fe252f1718fbefd13.png)  
 ![Kibana_4](https://us1.discourse-cdn.com/elastic/original/3X/b/5/b53cbc18f927a6b78f411f3ba9ac0e9e6fa19c3b.png)  
 ![ElasticSearch.yml](https://us1.discourse-cdn.com/elastic/original/3X/b/c/bce81c8872fb4423d66ccd00af79ee7ce75739b1.png)

can you please resolve my problem. Thanks in advance.

Regards,  
Syed

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [September 15, 2021, 3:06am UTC](https://discuss.elastic.co/t/getting-error-cannot-delete-files-directories-outside-the-current-working-directory-when-i-wants-to-generate-visualization-report-in-pdf/283633/17 "2021-09-15T03:06:46Z")

</div>

Please don't post pictures of text or code. They are difficult to read, impossible to search and replicate (if it's code), and some people may not be even able to see them 🙂

---

<div class="post-metadata">

**Author:** ![syed0510](https://avatars.discourse-cdn.com/v4/letter/s/76d3ee/32.png) [@syed0510](https://discuss.elastic.co/u/syed0510)\
**Post date:** [September 15, 2021, 3:41am UTC](https://discuss.elastic.co/t/getting-error-cannot-delete-files-directories-outside-the-current-working-directory-when-i-wants-to-generate-visualization-report-in-pdf/283633/18 "2021-09-15T03:41:17Z")

</div>

actually @warkolm txt file is not supported on this platform means only jpg and png file is acceptable to attach or upload any attachment.

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [September 15, 2021, 3:49am UTC](https://discuss.elastic.co/t/getting-error-cannot-delete-files-directories-outside-the-current-working-directory-when-i-wants-to-generate-visualization-report-in-pdf/283633/19 "2021-09-15T03:49:48Z")

</div>

You can post text here, and then use the `Preformatted text` button, that looks like `</>`.

Otherwise use gist/pastebin/etc.

---

<div class="post-metadata">

**Author:** ![syed0510](https://avatars.discourse-cdn.com/v4/letter/s/76d3ee/32.png) [@syed0510](https://discuss.elastic.co/u/syed0510)\
**Post date:** [September 15, 2021, 3:52am UTC](https://discuss.elastic.co/t/getting-error-cannot-delete-files-directories-outside-the-current-working-directory-when-i-wants-to-generate-visualization-report-in-pdf/283633/20 "2021-09-15T03:52:58Z")

</div>

# Kibana is served by a back end server. This setting specifies the port to use.

server.port: 5000

# Specifies the address to which the Kibana server will bind. IP addresses and host names are both valid values.

# The default is 'localhost', which usually means remote machines will not be able to connect.

# To allow connections from remote users, set this parameter to a non-loopback address.

server.host: "0.0.0.0"

# Enables you to specify a path to mount Kibana at if you are running behind a proxy.

# Use the `server.rewriteBasePath` setting to tell Kibana if it should remove the basePath

# from requests it receives, and to prevent a deprecation warning at startup.

# This setting cannot end in a slash.

#server.basePath: ""

# Specifies whether Kibana should rewrite requests that are prefixed with

# `server.basePath` or require that they are rewritten by your reverse proxy.

# This setting was effectively always `false` before Kibana 6.3 and will

# default to `true` starting in Kibana 7.0.

#server.rewriteBasePath: false

# The maximum payload size in bytes for incoming server requests.

#server.maxPayloadBytes: 1048576

# The Kibana server's name. This is used for display purposes.

server.name: "LCCWIPAP4527"

# The URLs of the Elasticsearch instances to use for all your queries.

elasticsearch.hosts: ["[http://lccwipap4527:9000](http://lccwipap4527:9000)"]

# When this setting's value is true Kibana uses the hostname specified in the server.host

# setting. When the value of this setting is false, Kibana uses the hostname of the host

# that connects to this Kibana instance.

#elasticsearch.preserveHost: true

# Kibana uses an index in Elasticsearch to store saved searches, visualizations and

# dashboards. Kibana creates a new index if the index doesn't already exist.

kibana.index: ".kibana"

# The default application to load.

#kibana.defaultAppId: "home"

# If your Elasticsearch is protected with basic authentication, these settings provide

# the username and password that the Kibana server uses to perform maintenance on the Kibana

# index at startup. Your Kibana users still need to authenticate with Elasticsearch, which

# is proxied through the Kibana server.

elasticsearch.username: "**"  
elasticsearch.password: "**\*\*"

xpack.reporting.enabled: true  
xpack.reporting.encryptionKey: "\*\*\*\*\*\*\*\*\*\*\*\*\*\*_"  
 #xpack.reporting.kibanaServer: ["[http://lccwipap4527:5000](http://lccwipap4527:5000)"]  
 #xpackReporting:customPdfLogo  
 #xpack.reporting.index: ".reporting-_"  
#xpack.reporting.kibanaServer.protocol: http  
#xpack.reporting.kibanaServer.hostname: ["lccwipap4527:5000"]

xpack.reporting.queue.timeout: 600000  
#xpack.reporting.capture.browser.type: chromium  
#xpack.reporting.capture.browser.chromium.disableSandbox: false  
xpack.reporting.index: ".reporting"  
#bin/kibana --force  
#xpack.reporting.capture.browser.chromium.proxy.bypass: "\*.elastic.co"  
#xpack.reporting.capture.browser.chromium.proxy.enabled: true  
#xpack.reporting.capture.browser.chromium.proxy.server: false  
#xpack.reporting.capture.networkPolicy.enabled: true  
#xpack.reporting.roles.enabled: false  
xpack.reporting.capture.browser.chromium.disableSandbox: true

#xpack.reporting.roles.enabled: true  
#xpack.reporting.roles.allow: ["reporting\_user"]

# Enables SSL and paths to the PEM-format SSL certificate and SSL key files, respectively.

# These settings enable SSL for outgoing requests from the Kibana server to the browser.

#server.ssl.enabled: false  
#server.ssl.certificate: /path/to/your/server.crt  
#server.ssl.key: /path/to/your/server.key

# Optional settings that provide the paths to the PEM-format SSL certificate and key files.

# These files are used to verify the identity of Kibana to Elasticsearch and are required when

# xpack.security.http.ssl.client\_authentication in Elasticsearch is set to required.

#elasticsearch.ssl.certificate: /path/to/your/client.crt  
#elasticsearch.ssl.key: /path/to/your/client.key

# Optional setting that enables you to specify a path to the PEM file for the certificate

# authority for your Elasticsearch instance.

#elasticsearch.ssl.certificateAuthorities: ["/path/to/your/CA.pem"]

# To disregard the validity of SSL certificates, change this setting's value to 'none'.

#elasticsearch.ssl.verificationMode: full

# Time in milliseconds to wait for Elasticsearch to respond to pings. Defaults to the value of

# the elasticsearch.requestTimeout setting.

#elasticsearch.pingTimeout: 1500

# Time in milliseconds to wait for responses from the back end or Elasticsearch. This value

# must be a positive integer.

elasticsearch.requestTimeout: 90000

# List of Kibana client-side headers to send to Elasticsearch. To send _no_ client-side

# headers, set this value to (an empty list).

#elasticsearch.requestHeadersWhitelist: [authorization]

# Header names and values that are sent to Elasticsearch. Any custom headers cannot be overwritten

# by client-side headers, regardless of the elasticsearch.requestHeadersWhitelist configuration.

#elasticsearch.customHeaders: {}

# Time in milliseconds for Elasticsearch to wait for responses from shards. Set to 0 to disable.

#elasticsearch.shardTimeout: 30000

# Time in milliseconds to wait for Elasticsearch at Kibana startup before retrying.

#elasticsearch.startupTimeout: 5000

# Logs queries sent to Elasticsearch. Requires logging.verbose set to true.

elasticsearch.logQueries: true

# Specifies the path where Kibana creates the process ID file.

#pid.file: /var/run/kibana.pid

# Enables you specify a file where Kibana stores log output.

logging.dest: "D:/Elasticsearch-6.4.0/kibana-7.6.1-windows-x86\_64/logs/kibana.log"

# Set the value of this setting to true to suppress all logging output.

#logging.silent: false

# Set the value of this setting to true to suppress all logging output other than error messages.

logging.quiet: true

# Set the value of this setting to true to log all events, including system usage information

# and all requests.

logging.verbose: false

# Set the interval in milliseconds to sample system and process performance

# metrics. Minimum is 100ms. Defaults to 5000.

#ops.interval: 5000

# Specifies locale to be used for all localizable strings, dates and number formats.

# Supported languages are the following: English - en , by default , Chinese - zh-CN .

#i18n.locale: "en"

[Next page](https://discuss.elastic.co/t/getting-error-cannot-delete-files-directories-outside-the-current-working-directory-when-i-wants-to-generate-visualization-report-in-pdf/283633.md?page=2)
