Skip to content

Importing users stuck at 0%

edited November 2014 in Troubleshooting

Hi again,

Still struggling to import users. I have saved users to a CSV file as suggested, but when the screen refreshes, it just spins at Active (0%). Am I missing something here?

Comments

  • BenBen
    edited November 2014

    Hi,

    I have saved users to a CSV file as suggested, but when the screen refreshes, it just spins at Active (0%). Am I missing something here?

    If you previously setup a cron job for CSV import, your cron job is not working. Please check if it's setup correctly by checking with your hosting support.

    Best regards,
    Ben

  • edited November 2014

    Hi Ben,

    I have had our server people check the cronjobs - they say everything is running smoothly, but for whatever reason it doesn't work...

    After further investigations by the second line team they can see that the log is executing something. As this is a custom cron, this needs to be looked at as it is not supported by us.

     Nov 11 15:11:01 ds8290 CROND[1078]: (beeseenweb) CMD (/usr/bin/php/var/www/vhosts/bee-seen.co.uk/send.email-schools.co.uk/autoresponders.php > /dev/null 2>&1)
     Nov 11 15:11:01 ds8290 CROND[1081]: (beeseenweb) CMD (/usr/bin/php/var/www/vhosts/bee-seen.co.uk/send.email-schools.co.uk/import-csv.php > /dev/null 2>&1)
     Nov 11 15:11:01 ds8290 CROND[1082]: (beeseenweb) CMD (/usr/bin/php -f /var/www/vhosts/bee-seen.co.uk/send.email-schools.co.uk/import-csv.php > /dev/null 2>&1)
    
  • Try visiting http://your_sendy_installation_url/reset-cron.php to reset cron job statuses in your database. Then go to the 'Add subscribers' page. Refresh the page after 1 minute and see if the cron job setup instructions in a blue box is no longer there.

  • Hi Ben,

    Followed your instructions but the blue box is back and staying :(

    I don't quite understand, I have followed the Cron Job setup guides, My server team say it is running, but it doesn't seem to be working. :(

  • BenBen
    edited November 2014

    Then it's the cron job that's not working.

    Alternatively, try changing your cron job command to:

    curl -L -s http://your_sendy_installation_url/import-csv.php > /dev/null 2>&1

    Change 'http://your_sendy_installation_url' to your Sendy URL.

    Best regards,
    Ben

  • Hi again,

    This looks to have fixed it. Will the same code (Curl -L) work for the other 2 required cronjobs?

    Will update as soon as I know for sure.

    Many thanks again Ben,

    B

  • Will the same code (Curl -L) work for the other 2 required cronjobs?

    Yes.

    Best regards,
    Ben

  • This looks to have resolved the issue. Thanks for the support Ben, finally can use the system! :)

This discussion has been closed.