Rusky Posted May 29, 2019 Share Posted May 29, 2019 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? 0 Quote Link to comment Share on other sites More sharing options...
WHMCS ChrisD Posted May 30, 2019 Share Posted May 30, 2019 @Rusky if you manually execute the cron via your servers terminal window with -F all -vvv on the end of it does it output any error or update the specific accounts? In your activity log what shows at the point the Server Usage Stats is run? 0 Quote Link to comment Share on other sites More sharing options...
Rusky Posted May 30, 2019 Author Share Posted May 30, 2019 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 0 Quote Link to comment Share on other sites More sharing options...
WHMCS ChrisD Posted May 31, 2019 Share Posted May 31, 2019 And what do the products show for last updated in the server stats? 0 Quote Link to comment Share on other sites More sharing options...
Rusky Posted May 31, 2019 Author Share Posted May 31, 2019 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. 0 Quote Link to comment Share on other sites More sharing options...
Vander Host Posted January 11, 2021 Share Posted January 11, 2021 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? 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.