Jump to content

Server Usage Stats Not Updating


Recommended Posts

Hi,

I have a new WHMCS 7.7.1 installation and have setup a few test client accounts. Only one of them is syncing the Server Usage Stats and showing them in the client area. The other two are setup exactly the same way with active cPanel accounts and nothing is coming through for usage. All other hosting info is syncing perfectly.

The cron is running fine, there are no offline servers in my list and manually updating the report pulls the latest usage for the one client that is updating.

I've enabled error display and nothing comes up in the activity logs.

Anyone have any suggestions on this?

Link to comment
Share on other sites

All ran okay. Here is the terminal output and the activity log.. not errors of any kind and usage stats appears to run okay...

WHMCS Automation Task Utility: all
==================================

 Daily Cron Automation Mode

Queuing Tasks
-------------

 Force run any tasks: ignore "in progress" and "is due"
 Task queues ready

Executing Application Queue
---------------------------

  0/27 [░░░░░░░░░░░░░░░░░░░░░░░░░░░░]   0% < 1 sec/< 1 sec 24.0 MiB
 Currency Exchange Rates
  1/27 [▓░░░░░░░░░░░░░░░░░░░░░░░░░░░]   3%  1 sec/27 secs 26.0 MiB
 Product Pricing Updates
  2/27 [▓▓░░░░░░░░░░░░░░░░░░░░░░░░░░]   7%  1 sec/14 secs 24.0 MiB
 Invoices
  3/27 [▓▓▓░░░░░░░░░░░░░░░░░░░░░░░░░]  11%  1 sec/9 secs 26.0 MiB
 Late Fees
  4/27 [▓▓▓▓░░░░░░░░░░░░░░░░░░░░░░░░]  14%  1 sec/7 secs 26.0 MiB
 Credit Card Charges
  5/27 [▓▓▓▓▓░░░░░░░░░░░░░░░░░░░░░░░]  18%  1 sec/5 secs 26.0 MiB
 Invoice & Overdue Reminders
  6/27 [▓▓▓▓▓▓░░░░░░░░░░░░░░░░░░░░░░]  22%  1 sec/5 secs 26.0 MiB
 Domain Renewal Notices
  7/27 [▓▓▓▓▓▓▓░░░░░░░░░░░░░░░░░░░░░]  25%  1 sec/4 secs 26.0 MiB
 Cancellation Requests
  8/27 [▓▓▓▓▓▓▓▓░░░░░░░░░░░░░░░░░░░░]  29%  1 sec/3 secs 28.0 MiB
 Overdue Suspensions
  9/27 [▓▓▓▓▓▓▓▓▓░░░░░░░░░░░░░░░░░░░]  33% 2 secs/6 secs 28.0 MiB
 Overdue Terminations
 10/27 [▓▓▓▓▓▓▓▓▓▓░░░░░░░░░░░░░░░░░░]  37% 2 secs/5 secs 28.0 MiB
 Fixed Term Terminations
 11/27 [▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░░░░░░░░░░]  40% 2 secs/5 secs 28.0 MiB
 Inactive Tickets
 12/27 [▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░░░░░░░░░]  44% 2 secs/5 secs 28.0 MiB
 Delayed Affiliate Commissions
 13/27 [▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░░░░░░░░]  48% 2 secs/4 secs 28.0 MiB
 Affiliate Reports
 14/27 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░░░░░░░]  51% 2 secs/4 secs 28.0 MiB
 Email Marketer Rules
 15/27 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░░░░░░]  55% 2 secs/4 secs 28.0 MiB
 Credit Card Expiry Notices
 16/27 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░░░░░]  59% 2 secs/3 secs 28.0 MiB
  SSL Sync
 17/27 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░░░░]  62% 2 secs/3 secs 28.0 MiB
 Server Usage Stats
 18/27 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░░░]  66% 2 secs/3 secs 32.0 MiB
 Overage Billing Charges
 19/27 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░░]  70% 2 secs/3 secs 32.0 MiB
 Client Status Update
 20/27 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░]  74% 2 secs/3 secs 32.0 MiB
 Domain Expiry
 21/27 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░░]  77% 2 secs/3 secs 32.0 MiB
 Ticket Escalation Rules
 22/27 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░]  81% 2 secs/2 secs 32.0 MiB
 Data Retention Pruning
 23/27 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░]  85% 2 secs/2 secs 32.0 MiB
 WHMCS Updates
 24/27 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░]  88% 7 secs/8 secs 38.0 MiB
 Run Jobs Queue
 25/27 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░]  92% 7 secs/8 secs 38.0 MiB
 Domain Transfer Status Synchronisation
 26/27 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░]  96% 7 secs/7 secs 38.0 MiB
 Domain Expiry Synchronisation
 27/27 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100% 8 secs/8 secs 40.0 MiB


 Sending Daily Cron Digest email

Executing System Queue
----------------------

 4/4 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100% 2 secs/2 secs 52.5 MiB


 [OK] Completed

 

30/05/2019 19:03
Cron Job: Backup Complete
System  
30/05/2019 19:03
Cron Job: FTP Backup - Completed Successfully
System  
30/05/2019 19:03
Cron Job: Backup Generation Completed
System  
30/05/2019 19:03
Cron Job: Starting Backup Zip Creation
System  
30/05/2019 19:03
Cron Job: Backup Database Dump Complete
System  
30/05/2019 19:03
Cron Job: Starting Backup Database Dump
System  
30/05/2019 19:03
Cron Job: Starting Backup Generation
System  
30/05/2019 19:03
Cron Job: Completed Daily Automation Tasks
System  
30/05/2019 19:03
Domain Sync Cron: Completed
System  
30/05/2019 19:03
Automated Task: Starting Domain Expiry Synchronisation
System  
30/05/2019 19:03
Automated Task: Starting Domain Transfer Status Synchronisation
System  
30/05/2019 19:03
Automated Task: Starting Run Jobs Queue
System  
30/05/2019 19:03
Automated Task: Starting WHMCS Updates
System  
30/05/2019 19:03
Automated Task: Starting Data Retention Pruning
System  
30/05/2019 19:03
Automated Task: Starting Ticket Escalation Rules
System  
30/05/2019 19:03
Automated Task: Starting Domain Expiry
System  
30/05/2019 19:03
Automated Task: Starting Client Status Update
System  
30/05/2019 19:03
Automated Task: Starting Overage Billing Charges
System  
30/05/2019 19:03
Automated Task: Starting Server Usage Stats
System  
30/05/2019 19:03
Automated Task: Starting SSL Sync
System  
30/05/2019 19:03
Automated Task: Starting Credit Card Expiry Notices
System  
30/05/2019 19:03
Automated Task: Starting Email Marketer Rules
System  
30/05/2019 19:03
Automated Task: Starting Affiliate Reports
System  
30/05/2019 19:03
Automated Task: Starting Delayed Affiliate Commissions
System  
30/05/2019 19:03
Automated Task: Starting Inactive Tickets
System  
30/05/2019 19:03
Automated Task: Starting Fixed Term Terminations
System  
30/05/2019 19:03
Automated Task: Starting Overdue Terminations
System  
30/05/2019 19:03
Automated Task: Starting Overdue Suspensions
System  
30/05/2019 19:03
Automated Task: Starting Cancellation Requests
System  
30/05/2019 19:03
Automated Task: Starting Domain Renewal Notices
System  
30/05/2019 19:03
Automated Task: Starting Invoice & Overdue Reminders
System  
30/05/2019 19:03
Automated Task: Starting Credit Card Charges
System  
30/05/2019 19:03
Cron Job: Late Invoice Fees added to 0 Invoices
System  
30/05/2019 19:03
Automated Task: Starting Late Fees
System  
30/05/2019 19:03
Automated Task: Starting Invoices
System  
30/05/2019 19:03
Automated Task: Starting Product Pricing Updates
System  
30/05/2019 19:03
Automated Task: Starting Currency Exchange Rates
System  
30/05/2019 19:03
Cron Job: Starting Daily Automation Tasks
System
Link to comment
Share on other sites

Only one of the client products show the status when I look at the profile or via the client area for that client. The others don't have any stats. The Usage Report only shows the stats for that one client also.

I'm starting to think that this might be a problem with the hosting module from our wholesale provider. It's running through their custom module.

I've raised a ticket with them and they are having a look at their module.

I'll come back and report when I know more.

Link to comment
Share on other sites

  • 1 year later...

I'm having a similar problem, no statistics are updating. It possibly updated at one point, but doesn't anymore.

To isolate I run this command:

 

# php cron.php do --UpdateServerUsage -vvv

 

The resultant debug output is very skimp, considering we have at least 10 servers that are technically supposed to update:

 

WHMCS Automation Task Utility: do
=================================

Queuing Tasks
-------------

 Force run any tasks: ignore "in progress" and "is due"
 Task queues ready

Executing Application Queue
---------------------------

 0/1 [░░░░░░░░░░░░░░░░░░░░░░░░░░░░]   0% < 1 sec/< 1 sec 26.0 MiB 
 Server Usage Stats
 1/1 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100% 11 secs/11 secs 30.0 MiB


Executing System Queue
----------------------

 No tasks to execute in queue

                                                                                                                        
 [OK] Completed                  

My gut feeling is it's scrolling over the servers and getting blocked by one of them. Either due to incorrect password, or otherwise some kind of break in comms which aborts the entire update cycle.

Is there a way to increase the debug output so see if it's being blocked?

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