Jump to content

Cron backup won't work


Recommended Posts

Hi all,

 

Need help guys.

I got problem with cron work.

 

Long time I getting email with DB backup and billing stats.

Than I found that anymore backups and stats, but emails work OK.

I manually run cron and found that I getting this erors:

 

1. System Cron Tasks

The system cron does not appear to have completed successfully within the last 24 hours. Check your activity logs or learn more about enabling the cron in our documentation.

 

2. In billing where show activity log, I havent see anymore information that cron run DB backup.

 

Billing - 6.3.1

PHP version - 5.6.30

cURL- 7.29.0

 

In server logs can't find any errors.

 

Pls help.

Link to comment
Share on other sites

04/05/2017 22:00

Cron Job: Suspending Service - Service ID: 26

System

04/05/2017 22:00

Cron Job: Starting Processing Overdue Suspensions

System

04/05/2017 22:00

Cron Job: Processed 0 Cancellations

System

04/05/2017 22:00

Cron Job: Starting Processing Cancellation Requests

System

04/05/2017 22:00

Cron Job: Sent 0 Notices

System

04/05/2017 22:00

Cron Job: Starting Processing Domain Renewal Notices

System

04/05/2017 22:00

Cron Job: Sent 0 Reminders

System

04/05/2017 22:00

Cron Job: Sent 1 Unpaid Invoice Payment Reminders to Invoice Numbers 195

System

04/05/2017 22:00

Email Sent to Artem Taran (TongoHost Invoice Payment Reminder) - User ID: 34

System

04/05/2017 22:00

Cron Job: Starting Processing Invoice Reminder Notices

System

04/05/2017 22:00

Cron Job: Starting Processing Credit Card Charges

System

04/05/2017 22:00

Cron Job: Late Invoice Fees added to 0 Invoices

System

04/05/2017 22:00

Cron Job: Starting Applying Late Fees

System

04/05/2017 22:00

Cron Job: 0 Invoices Created

System

04/05/2017 22:00

Cron Job: Starting Generating Invoices

System

04/05/2017 22:00

Cron Job: Done

System

04/05/2017 22:00

Cron Job: Starting Updating Product Pricing for Current Exchange Rates

System

04/05/2017 22:00

Cron Job: Done

System

04/05/2017 22:00

Cron Job: Update Failed for UAH Exchange Rate

System

04/05/2017 22:00

Cron Job: Updated RUB Exchange Rate to 57.96907

System

04/05/2017 22:00

Cron Job: Starting Updating Currency Exchange Rates

System

04/05/2017 22:00

Cron Job: Running Pre-Cron Hooks

System

04/05/2017 22:00

Cron Job: Starting

System

04/05/2017 19:24

Smarty Error: Unable to load template file 'tongohost/resources/sidemenu.tpl' in '/var/www/tongohost/data/www/tongohost.com/templates/tongohost/opening-hours.tpl'

System 5.255.250.77

04/05/2017 14:42

Email Sent to Regina Murray ([Ticket ID: 441912] Request for dedicated server)

System 209.95.150.70

04/05/2017 03:00

Domainprice Sync Result for Reseller ID 559112: Prices for TLDs .cn.com, .cc, .ca, .bz, .biz, .asia, .co, .com, .de, .es, .eu, .in, .info, .me, .mobi, .name, .net, .nl, .org, .pro, .tel, .tv, .uk, .us, .ws, .blue, .buzz, .club, .menu, .uno, .com.ua, .in.ua, .org.ua, .ua, .УКР, .cherkassy.ua, .cherkasy.ua, .chernigov.ua, .chernivtsi.ua, .chernovtsy.ua, .ck.ua, .cn.ua, .crimea.ua, .cv.ua, .dn.ua, .donetsk.ua, .dp.ua, .if.ua, .ivano-frankivsk.ua, .kh.ua, .kharkiv.ua, .kharkov.ua, .kherson.ua, .khmelnitskiy.ua, .kiev.ua, .kirovograd.ua, .km.ua, .kr.ua, .ks.ua, .lg.ua, .lt.ua, .lugansk.ua, .lutsk.ua, .lviv.ua, .net.ua, .od.ua, .odesa.ua, .odessa.ua, .pl.ua, .poltava.ua, .rivne.ua, .rovno.ua, .rv.ua, .sebastopol.ua, .sm.ua, .sumy.ua, .te.ua, .ternopil.ua, .uz.ua, .uzhgorod.ua, .vinnica.ua, .vn.ua, .volyn.ua, .yalta.ua, .zaporizhzhe.ua, .zhitomir.ua, .zp.ua, .zt.ua, .ru, .fun have been successfully synced and all Currencies updated

System

04/05/2017 03:00

Transfer Check Cron: There is no pending domain transfer

System

04/05/2017 02:56

Smarty Error: Unable to load template file 'tongohost/resources/sidemenu.tpl' in '/var/www/tongohost/data/www/tongohost.com/templates/tongohost/company.tpl'

System 5.255.250.77

Link to comment
Share on other sites

Hi Mesir

 

It looks like your cron is dropping out at this point

 

Cron Job: Starting Processing Overdue Suspensions System

 

This could indicate a few things such as your server time out being reached

 

Could you please enable errors under Setup > General Settings > Other > Display errors then run the following command in your Command Line:

 

php -q /path/to/cron.php --force -vvv

Link to comment
Share on other sites

Last login: Sun May 7 03:00:56 UTC 2017

-bash-4.2$ php -q /var/www/tongohost/data/www/tongohost.com/crons/cron.php -force -vvv

PHP Fatal error:

The file /var/www/tongohost/data/www/tongohost.com/includes/hooks/resellerclubmods_promoupdate.php was encoded

with the PHP 5.5 ionCube Encoder and requires PHP 5.5 to be installed.

in Unknown on line 0

 

Fatal error:

The file /var/www/tongohost/data/www/tongohost.com/includes/hooks/resellerclubmods_promoupdate.php was encoded

with the PHP 5.5 ionCube Encoder and requires PHP 5.5 to be installed.

in Unknown on line 0

-bash-4.2$

Link to comment
Share on other sites

that seems to show an issue with the resellerclubmods addon - it might be an idea to go to the ResellerclubMods website and get the latest release for your version of PHP...

 

RCLBT - FREE ResellerClub Tools v2.10.3 - PHP 5.6_7.0 Requirements

WHMCS 6.0.x - 7.1.x :: Valid for PHP 5.6 with Ioncube Loaders 5.x and PHP 7.0 with Ioncube Loaders 6.x

Link to comment
Share on other sites

Update module to php 5.4 version, here cron log:

 

Starting

Running Pre-Cron Hooks

Starting Updating Currency Exchange Rates

- Updated RUB Exchange Rate to 58.53481

- Update Failed for UAH Exchange Rate

- Done

Starting Updating Product Pricing for Current Exchange Rates

- Done

Starting Generating Invoices

- 0 Invoices Created

Starting Applying Late Fees

- Late Invoice Fees added to 0 Invoices

Starting Processing Credit Card Charges

Starting Processing Invoice Reminder Notices

- Sent 0 Unpaid Invoice Payment Reminders

- Sent 0 Reminders

Starting Processing Domain Renewal Notices

- Sent 0 Notices

Starting Processing Cancellation Requests

- Processed 0 Cancellations

Starting Processing Overdue Suspensions

 

Still no backup also no email with stats and archive.

Link to comment
Share on other sites

Switch back PHP to 5.6.30

 

Cron log:

-bash-4.2$ php -q /var/www/tongohost/data/www/tongohost.com/crons/cron.php -force -vvv

Starting

Running Pre-Cron Hooks

Starting Updating Currency Exchange Rates

- Updated RUB Exchange Rate to 58.53481

- Update Failed for UAH Exchange Rate

- Done

Starting Updating Product Pricing for Current Exchange Rates

- Done

Starting Generating Invoices

- 0 Invoices Created

Starting Applying Late Fees

- Late Invoice Fees added to 0 Invoices

Starting Processing Credit Card Charges

Starting Processing Invoice Reminder Notices

- Sent 0 Unpaid Invoice Payment Reminders

- Sent 0 Reminders

Starting Processing Domain Renewal Notices

- Sent 0 Notices

Starting Processing Cancellation Requests

- Processed 0 Cancellations

Starting Processing Overdue Suspensions

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated