<div dir="ltr">
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">root@ixpmanager:~# tail -f /var/log/syslog</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">Mar 28 21:46:01 ixpmanager CRON[14255]: (www-data) CMD (cd /srv/ixpmanager && php artisan schedule:run >> /dev/null 2>&1)</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">Mar 28 21:47:01 ixpmanager CRON[15030]: (www-data) CMD (cd /srv/ixpmanager && php artisan schedule:run >> /dev/null 2>&1)</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">Mar 28 21:48:01 ixpmanager CRON[15042]: (www-data) CMD (cd /srv/ixpmanager && php artisan schedule:run >> /dev/null 2>&1)</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">Mar 28 21:49:01 ixpmanager CRON[15074]: (www-data) CMD (cd /srv/ixpmanager && php artisan schedule:run >> /dev/null 2>&1)</span></p><p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><br></span></p><p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">Cron Job running fine</span></p><p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">Thanks</span></p></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Mar 28, 2020 at 9:48 PM Shahab Vahabzadeh <<a href="mailto:me@shahabv.com">me@shahabv.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">root@ixpmanager:~# runuser -l www-data -c 'cd /srv/ixpmanager && php artisan schedule:run -v'</span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">This account is currently not available.</span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">root@ixpmanager:~# cat /etc/passwd |grep www-data</span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures;color:rgb(180,36,25)"><b>www-data</b></span><span style="font-variant-ligatures:no-common-ligatures">:x:33:33:</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(180,36,25)"><b>www-data</b></span><span style="font-variant-ligatures:no-common-ligatures">:/var/www:/usr/sbin/nologin</span></p></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Mar 28, 2020 at 9:42 PM Barry O'Donovan <<a href="mailto:barry.odonovan@inex.ie" target="_blank">barry.odonovan@inex.ie</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
Hi Shahab,<br>
<br>
what happens if you run this as the www-data user:<br>
<br>
cd /srv/ixpmanager && php artisan schedule:run -v<br>
<br>
Can you also ensure permissions are correct per step #9 here:<br>
<br>
<a href="https://docs.ixpmanager.org/install/upgrading/" rel="noreferrer" target="_blank">https://docs.ixpmanager.org/install/upgrading/</a><br>
<br>
<br>
Thanks,<br>
- Barry<br>
<br>
<br>
Shahab Vahabzadeh wrote on 28/03/2020 16:46:<br>
> Hello Hello,<br>
> After Upgrade, Port Utilization is not working, Its always empty and I <br>
> think cron Jobs are not working well.<br>
> <br>
> My crontab:<br>
> <br>
> # IXP Manager cron jobs:<br>
> * * * * * www-data cd /srv/ixpmanager && php artisan <br>
> schedule:run >> /dev/null 2>&1<br>
> <br>
> 0 2 * * * www-data cd /srv/ixpmanager && php artisan <br>
> grapher:upload-stats-to-db >> /dev/null 2>&1<br>
> 5 2 * * * www-data cd /srv/ixpmanager && php artisan <br>
> grapher:upload-pi-stats-to-db >> /dev/null 2>&1<br>
> <br>
> When I am manually running these two grapher to-db scripts, port <br>
> utilization is okey and just working that day. Next day again its empty <br>
> must insert manually.<br>
> <br>
> Can u help?<br>
> <br>
> Thanks<br>
> <br>
> On Tue, Mar 24, 2020 at 16:14 Barry O'Donovan <<a href="mailto:barry.odonovan@inex.ie" target="_blank">barry.odonovan@inex.ie</a> <br>
> <mailto:<a href="mailto:barry.odonovan@inex.ie" target="_blank">barry.odonovan@inex.ie</a>>> wrote:<br>
> <br>
> <br>
> <br>
> Barry O'Donovan wrote on 23/03/2020 20:24:<br>
> > Shahab Vahabzadeh wrote on 23/03/2020 20:07:<br>
> >> Would u please tell me for a secure backup which files and which<br>
> >> databases I need to backup? Maybe full database + some files<br>
> like .env<br>
> >> or cron files?<br>
> <br>
> We have a plan to collate operational notes / hints and tips / FAQs and<br>
> we've started this now with this question:<br>
> <br>
> <a href="https://docs.ixpmanager.org/usage/operational-notes/" rel="noreferrer" target="_blank">https://docs.ixpmanager.org/usage/operational-notes/</a><br>
> <br>
> and this is also linked in the upgrade documentation.<br>
> <br>
> Thanks,<br>
> - Barry<br>
> <br>
> -- <br>
> Ch,<br>
> Shahab<br>
> <br>
> <br>
> _______________________________________________<br>
> INEX IXP Manager mailing list<br>
> <a href="mailto:ixpmanager@inex.ie" target="_blank">ixpmanager@inex.ie</a><br>
> Unsubscribe or change options here: <a href="https://www.inex.ie/mailman/listinfo/ixpmanager" rel="noreferrer" target="_blank">https://www.inex.ie/mailman/listinfo/ixpmanager</a><br>
> <br>
<br>
<br>
-- <br>
<br>
Kind regards,<br>
Barry O'Donovan<br>
INEX Operations<br>
<br>
<a href="https://www.inex.ie/support/" rel="noreferrer" target="_blank">https://www.inex.ie/support/</a><br>
+353 1 531 3339<br>
<br>
<br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr"><div dir="ltr"><div><div dir="ltr"><div><br></div><div>Cheers, Shahab</div></div></div></div></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><br></div><div>Cheers, Shahab</div></div></div></div></div>