[ixpmanager] Upgrade 5.2.0
Barry O'Donovan
barry.odonovan at inex.ie
Mon Mar 30 10:04:42 IST 2020
Shahab,
ours runs fine using:
# cat /etc/passwd | grep www-data
www-data:x:33:33:www-data:/var/www:/usr/sbin/nologin
# ls -la /etc/cron.d/ixpmanager
-rw-r--r-- 1 root root 1115 Mar 20 10:30 /etc/cron.d/ixpmanager
# cat /etc/cron.d/ixpmanager
MAILTO=yyy at xxx.ie
* * * * * www-data /srv/ixpmanager/artisan
schedule:run >> /dev/null 2>&1
...
- Barry
Shahab Vahabzadeh wrote on 28/03/2020 17:23:
> root at ixpmanager:~# sudo su -l www-data -s /bin/bash
>
> www-data at ixpmanager:~$
>
> www-data at ixpmanager:~$
>
> www-data at ixpmanager:~$
>
> www-data at ixpmanager:~$
>
> www-data at ixpmanager:~$ cd /srv/ixpmanager && php artisan schedule:run -v
>
> No scheduled commands are ready to run.
>
>
> On Sat, Mar 28, 2020 at 9:50 PM Shahab Vahabzadeh <me at shahabv.com
> <mailto:me at shahabv.com>> wrote:
>
> root at ixpmanager:~# tail -f /var/log/syslog
>
> Mar 28 21:46:01 ixpmanager CRON[14255]: (www-data) CMD (cd
> /srv/ixpmanager && php artisan schedule:run >> /dev/null 2>&1)
>
> Mar 28 21:47:01 ixpmanager CRON[15030]: (www-data) CMD (cd
> /srv/ixpmanager && php artisan schedule:run >> /dev/null 2>&1)
>
> Mar 28 21:48:01 ixpmanager CRON[15042]: (www-data) CMD (cd
> /srv/ixpmanager && php artisan schedule:run >> /dev/null 2>&1)
>
> Mar 28 21:49:01 ixpmanager CRON[15074]: (www-data) CMD (cd
> /srv/ixpmanager && php artisan schedule:run >> /dev/null 2>&1)
>
>
> Cron Job running fine
>
> Thanks
>
>
> On Sat, Mar 28, 2020 at 9:48 PM Shahab Vahabzadeh <me at shahabv.com
> <mailto:me at shahabv.com>> wrote:
>
> root at ixpmanager:~# runuser -l www-data -c 'cd /srv/ixpmanager &&
> php artisan schedule:run -v'
>
> This account is currently not available.
>
> root at ixpmanager:~# cat /etc/passwd |grep www-data
>
> *www-data*:x:33:33:*www-data*:/var/www:/usr/sbin/nologin
>
>
> On Sat, Mar 28, 2020 at 9:42 PM Barry O'Donovan
> <barry.odonovan at inex.ie <mailto:barry.odonovan at inex.ie>> wrote:
>
>
> Hi Shahab,
>
> what happens if you run this as the www-data user:
>
> cd /srv/ixpmanager && php artisan schedule:run -v
>
> Can you also ensure permissions are correct per step #9 here:
>
> https://docs.ixpmanager.org/install/upgrading/
>
>
> Thanks,
> - Barry
>
>
> Shahab Vahabzadeh wrote on 28/03/2020 16:46:
> > Hello Hello,
> > After Upgrade, Port Utilization is not working, Its
> always empty and I
> > think cron Jobs are not working well.
> >
> > My crontab:
> >
> > # IXP Manager cron jobs:
> > * * * * * www-data cd /srv/ixpmanager && php
> artisan
> > schedule:run >> /dev/null 2>&1
> >
> > 0 2 * * * www-data cd /srv/ixpmanager && php
> artisan
> > grapher:upload-stats-to-db >> /dev/null 2>&1
> > 5 2 * * * www-data cd /srv/ixpmanager && php
> artisan
> > grapher:upload-pi-stats-to-db >> /dev/null 2>&1
> >
> > When I am manually running these two grapher to-db
> scripts, port
> > utilization is okey and just working that day. Next day
> again its empty
> > must insert manually.
> >
> > Can u help?
> >
> > Thanks
> >
> > On Tue, Mar 24, 2020 at 16:14 Barry O'Donovan
> <barry.odonovan at inex.ie <mailto:barry.odonovan at inex.ie>
> > <mailto:barry.odonovan at inex.ie
> <mailto:barry.odonovan at inex.ie>>> wrote:
> >
> >
> >
> > Barry O'Donovan wrote on 23/03/2020 20:24:
> > > Shahab Vahabzadeh wrote on 23/03/2020 20:07:
> > >> Would u please tell me for a secure backup which
> files and which
> > >> databases I need to backup? Maybe full database +
> some files
> > like .env
> > >> or cron files?
> >
> > We have a plan to collate operational notes / hints
> and tips / FAQs and
> > we've started this now with this question:
> >
> > https://docs.ixpmanager.org/usage/operational-notes/
> >
> > and this is also linked in the upgrade documentation.
> >
> > Thanks,
> > - Barry
> >
> > --
> > Ch,
> > Shahab
> >
> >
> > _______________________________________________
> > INEX IXP Manager mailing list
> > ixpmanager at inex.ie <mailto:ixpmanager at inex.ie>
> > Unsubscribe or change options here:
> https://www.inex.ie/mailman/listinfo/ixpmanager
> >
>
>
> --
>
> Kind regards,
> Barry O'Donovan
> INEX Operations
>
> https://www.inex.ie/support/
> +353 1 531 3339
>
>
>
>
> --
>
> Cheers, Shahab
>
>
>
> --
>
> Cheers, Shahab
>
>
>
> --
>
> Cheers, Shahab
--
Kind regards,
Barry O'Donovan
INEX Operations
https://www.inex.ie/support/
+353 1 531 3339
More information about the ixpmanager
mailing list