<html theme="default-light" iconset="color"><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head><body text="#485663">Basil Elbalaawi wrote on 23/03/2021 21:00:
<blockquote type="cite">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<div dir="ltr"><div class="gmail_quote"><blockquote
class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px
solid rgb(204,204,204);padding-left:1ex">Hi Nick<br></blockquote><div><br></div><div>after
disable GRAPHER_BACKEND_MRTG_DBTYPE="rrd"
by #GRAPHER_BACKEND_MRTG_DBTYPE="rrd"</div><div><br></div><div>the
output of graph is </div><div><br></div><div><h1
style="word-break:break-word;padding:30px
0px;color:rgb(255,255,255);font-size:21px;font-weight:400;margin:0px;font-family:Helvetica,Arial,sans-serif;background-color:rgb(176,65,62)">file_put_contents(/srv/ixpmanager/storage/framework/cache/data/c2/6e/c26ee835b3e3e0176e686264d2c08452c0b8162a):
failed to open stream: Permission denied</h1></div></div></div>
</blockquote>
<br>
this can happen if you run artisan commands as root. You can fix it
easily:<br>
<br>
<blockquote type="cite">
<pre id="__code_13"><code><span class="c1"># set this to your IXP Manager installation directory</span>
<span class="nv">IXPROOT</span><span class="o">=</span>/srv/ixpmanager
<span class="nv">MY_WWW_USER</span><span class="o">=</span>www-data <span class="c1"># fix as appropriate to your operating system</span>
<span class="c1"># ensure the web server daemon user can write to necessary directories:</span>
chown -R <span class="nv">$MY_WWW_USER</span>: <span class="si">${</span><span class="nv">IXPROOT</span><span class="si">}</span>/<span class="o">{</span>bootstrap/cache,composer.lock,storage,vendor<span class="o">}</span>
chmod -R ug+rwX <span class="si">${</span><span class="nv">IXPROOT</span><span class="si">}</span>/<span class="o">{</span>bootstrap/cache,composer.lock,storage,vendor<span class="o">}</span></code></pre>
</blockquote>
<br>
(copied from <a class="moz-txt-link-freetext" href="https://docs.ixpmanager.org/install/upgrading/">https://docs.ixpmanager.org/install/upgrading/</a>)<br>
<br>
Nick<br>
<br>
</body></html>