Phplist is not sending anymore?

Hello,

I use Phplist two times a year for our non proft organization.

I made a cronjob that was working fine for the last two years.

I have made a new campaign that I want to send, The cron loks like it is working but no mail is send.

This is the cron : /usr/bin/curl ‘http://www.activate.nl/phplist/admin/index.php?page=pageaction&action=processqueue&login=&password=****’ >/dev/null

I have send a testmail and that is working so what can be wrong?

This is the cron email that I am getting :

% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed

100 9898 0 9898 0 0 39787 0 --:–:-- --:–:-- --:–:-- 39787
100 11942 0 11942 0 0 45804 0 --:–:-- --:–:-- --:–:-- 181k

Thanks and greetings,

Erik.

Hi Erik,

What version of phpList are you using?
Did you recently make any changes or update?

Thanks,
Dan

hello Dan,

Thanks for the reply,

I haven’t changed anything the version is 3.012

Thanks and greetings,

Erik.

Tried to set the scheduling no effect either…

Change the cron command so that it captures output, otherwise you have no idea whether anything is going wrong. This might work or you may need to add parameters to the curl command:

/usr/bin/curl 'http://www.activate.nl/phplist/admin/index.php?page=pageaction&action=processqueue&login=******&password=**********'  >~/cron.log 2>&1

When was the last time that the cron job successfully ran? I might be wrong but I thought that phplist now doesn’t support the command syntax that you are using.

Thanks for the reply,

The last time I used it was september last year,

I have changed it right now lets see if it works.

Thank and greetings,

Erik.

/bin/sh: /var/www/vhosts/activate.nl/cron.log: No such file or directory

now I am getting this.

Thanks and greetings,

Erik.

Please show the command that you are now running.
Also you may have more success using the recommended cron command or using remote queue processing, see the section of the new phplist manual for how to do that.

This is the line:

/usr/bin/curl ‘http://www.activate.nl/phplist/admin/index.php?page=pageaction&action=processqueue&login=&password=*’ >~/cron.log 2>&1

I will look at the manual.

Thanks and greetings,

Erik.

I am not sure why you are getting this but the cron command that you are using is definitely not supported by phplist. I guess that you have upgraded phplist to release 3.0.12 since the last time that you used the cron job.

Hello Duncan,

The last time I used it was indeed before the update to 3.012.

Now I have to find out to make it work for the process queue and the bounces.

For the bounces I had/have this cron :

/usr/bin/curl ‘http://www.activate.nl/phplist/admin/index.php?page=processbounces&login=&password=*’

Do I have to chance this one also?

Thanks and greetings,

Erik.

/usr/bin/curl 'http://www.activate.nl/phplist/admin/index.php? -pprocessqueue -‘http://www.activate.nl/phplist/config/config.php

Another try …

Still not working…

Thanks and greetings,

Erik.

From the manual

For queue processing, the general format is:

/usr/bin/php /home/mydomain/lists/admin/index.php -pprocessqueue -c/home/mydomain/lists/config/config.php

You need to use the file system paths for phplist and the config file. They probably begin with

/var/www/vhosts/activate.nl/

another try :

/usr/bin/php /var/www/vhosts/activate.nl/httpdocs/phplist/admin/index.php -pprocessqueue -c/home/activate.nl/phplist/config/config.php

The answer is :

Cannot find config file

This part of the command needs to be the path to your config file

-c/home/activate.nl/phplist/config/config.php

I have read the manual and found that is not using the login command anymore?

https://resources.phplist.com/system/remote_processing

So I have made this cron and it is working now for the queue :

/usr/bin/curl ‘http://www.activate.nl/phplist/admin/?pageaction&action=processqueue&secret=************************

I will try it also for the processbounces, hopefully it works the same.

MMhhh…the processbounces do not work this way…

/usr/bin/curl ‘http://www.activate.nl/phplist/admin/?pageaction&action=processbounces&secret=***********

Thanks and greetings,

Erik.

Mhhh strange again…

If I put the next directly in the browser it is working :

/usr/bin/curl http://www.activate.nl/phplist/admin/index.php?page=processbounces&secret=***********

If I put it in a cron like :

/usr/bin/curl ‘http://www.activate.nl/phplist/admin/index.php?page=processbounces&secret=***********

It is not working???

Strange…

And it is working again!!

/usr/bin/curl ‘http://www.activate.nl/phplist/admin/?page=processbounces&secret=***********

If I remove the index.php it is working.

Thanks for all the help!

Thanks and greetings,

Erik.

Hi, can you report this as a bug https://www.phplist.org/development/#bugreport if you think it is one