<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Garamond;
        panose-1:2 2 4 4 3 3 1 1 8 3;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-GB" link="blue" vlink="purple" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black;background:white">Dear devs,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black;background:white"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black;background:white">I am still getting the error QNetworkDiskCache::prepare() in QGIS server (ubuntu bionic) (
<a href="https://gis.stackexchange.com/questions/42491/warning-qnetworkdiskcacheprepare-unable-to-open-temporary-file">
https://gis.stackexchange.com/questions/42491/warning-qnetworkdiskcacheprepare-unable-to-open-temporary-file</a>).</span><span style="font-size:10.0pt;font-family:"Tahoma",sans-serif;background:white"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black;background:white">This ‘error’ occurs when I move the map. When I send a getCapabilities request I get a warning (QGIS server side)
</span><span style="font-size:10.0pt;font-family:"Tahoma",sans-serif;background:white"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black;background:white">“WMS capabilities document not found in cache”<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black;background:white">Did some search and tried some options (1) to get rid of this ‘error’ with no success.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black;background:white">I found that this question has been asked somewhere else (</span><a href="https://lists.osgeo.org/pipermail/qgis-user/2021-April/048576.html" target="_blank"><span style="color:windowtext;text-decoration:none">
</span><span style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:#3A6D99;background:white;text-decoration:none">https://www.mail-archive.com/qgis-user@lists.osgeo.org/msg48102.html
</span></a><span style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black;background:white">) without answer yet.
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black;background:white">I will rephrase my question then, is this something that I should be worried about or just live with that?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black;background:white"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black;background:white">Best regards,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black;background:white"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black;background:white"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black;background:white">1. Giving full permissions to the folder for the cache.  <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black;background:white">2. Setting the TMPDIR 
<a href="https://askubuntu.com/questions/1297403/change-temp-file-location-of-qgis-in-ubuntu">
https://askubuntu.com/questions/1297403/change-temp-file-location-of-qgis-in-ubuntu</a></span><span style="font-size:10.0pt;font-family:"Tahoma",sans-serif;background:white"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black;background:white">3. Configuring the cache folder (QGIS_SERVER_CACHE_DIRECTORY ) as explained in the doc.
</span><span style="font-size:10.0pt;font-family:"Tahoma",sans-serif;background:white"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black;background:white">4. Setting apache service with PrivateTmp=false (
<a href="https://muras.eu/2017/12/06/apache-ubuntu-systemd-privatetmp/">https://muras.eu/2017/12/06/apache-ubuntu-systemd-privatetmp/</a>;
<a href="https://github.com/qgis/QGIS/issues/26243">https://github.com/qgis/QGIS/issues/26243</a>)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black;background:white">5. Setting the variable directory in  QGIS3.ini file as below:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">[cache]<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">directory=/tmpcacheqgis<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal" align="center" style="text-align:center;background:white"><span lang="EN-US" style="font-size:12.0pt;font-family:"Garamond",serif;color:#3333FF">----------------------------------------------------------------</span><span lang="EN-US" style="font-size:12.0pt;font-family:"Garamond",serif;color:#222222">-</span><span lang="EN-US" style="font-size:12.0pt;font-family:"Arial",sans-serif;color:#222222"><o:p></o:p></span></p>
<p class="MsoNormal" align="center" style="text-align:center;background:white"><span lang="EN-US" style="font-size:9.5pt;font-family:"Garamond",serif;color:#222222">MSc Rosa Aguilar - PhD Candidate<o:p></o:p></span></p>
<p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" style="font-size:9.5pt;font-family:"Garamond",serif">University of Twente<o:p></o:p></span></p>
<p class="MsoNormal" align="center" style="text-align:center"><span style="font-size:9.5pt;font-family:"Garamond",serif">Faculty of Geoinformation Science and Earth Observation<o:p></o:p></span></p>
<p class="MsoNormal" align="center" style="text-align:center;background:white"><span style="font-size:9.5pt;font-family:"Garamond",serif;color:black">Connect with me on
</span><span style="color:black"><a href="https://www.linkedin.com/in/rosamaguilar/?locale=en_US"><span style="font-size:9.5pt;font-family:"Garamond",serif;color:#0563C1">LinkedIn</span></a></span><span style="font-size:9.5pt;font-family:"Garamond",serif;color:black"><o:p></o:p></span></p>
<p class="MsoNormal" align="center" style="text-align:center;background:white"><span style="color:black"><a href="https://rosaguilar.github.io/"><span style="font-family:"Garamond",serif;color:#0563C1">https://rosaguilar.github.io</span></a></span><u><span lang="EN-US" style="font-size:9.5pt;font-family:"Garamond",serif;color:#0000EE;background:#F6F6F6"><o:p></o:p></span></u></p>
<p class="MsoNormal" align="center" style="text-align:center;background:white"><span lang="EN-US" style="font-size:12.0pt;font-family:"Garamond",serif;color:#3333FF">----------------------------------------------------------------</span><span lang="EN-US" style="font-size:12.0pt;font-family:"Garamond",serif;color:#222222">-</span><span lang="EN-US" style="font-size:12.0pt;font-family:"Arial",sans-serif;color:#222222"><o:p></o:p></span></p>
<p class="MsoNormal" align="center" style="text-align:center"><span style="font-family:"Garamond",serif">The essential is invisible to the eye. Saint-Exupéry</span><o:p></o:p></p>
<div>
<div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
</div>
</div>
</body>
</html>