Jump to content

Daily Cron problem


Recommended Posts

Hello
I'm getting error in daily cron. I couldn't find any information how to fix this on community or google.

Version of whmcs -  8.10.1, php - 7.4

 

 

Here is output:

root@mail:/etc# /usr/bin/php7.4 -q /home/admin/web/site.site/public_html/crons/cron.php -F -vvv

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/35 [░░░░░░░░░░░░░░░░░░░░░░░░░░░░]   0% < 1 sec/< 1 sec 30.0 MiB
 Currency Exchange Rates
  1/35 [░░░░░░░░░░░░░░░░░░░░░░░░░░░░]   2% < 1 sec/< 1 sec 30.0 MiB
 Product Pricing Updates
  2/35 [▓░░░░░░░░░░░░░░░░░░░░░░░░░░░]   5% < 1 sec/< 1 sec 30.0 MiB
 Tenant Usage Metrics
  3/35 [▓▓░░░░░░░░░░░░░░░░░░░░░░░░░░]   8% < 1 sec/< 1 sec 30.0 MiB
 Invoices
  4/35 [▓▓▓░░░░░░░░░░░░░░░░░░░░░░░░░]  11%  1 sec/9 secs 30.0 MiB
 Late Fees
  5/35 [▓▓▓▓░░░░░░░░░░░░░░░░░░░░░░░░]  14%  1 sec/7 secs 30.0 MiB
 Credit Card Charges
  6/35 [▓▓▓▓░░░░░░░░░░░░░░░░░░░░░░░░]  17%  1 sec/6 secs 32.0 MiB
 Invoice & Overdue Reminders
  7/35 [▓▓▓▓▓░░░░░░░░░░░░░░░░░░░░░░░]  20% 4 secs/20 secs 52.5 MiB
 Domain Renewal Notices
  8/35 [▓▓▓▓▓▓░░░░░░░░░░░░░░░░░░░░░░]  22% 4 secs/18 secs 52.5 MiB
 Cancellation Requests
  9/35 [▓▓▓▓▓▓▓░░░░░░░░░░░░░░░░░░░░░]  25% 4 secs/16 secs 52.5 MiB
 Overdue Suspensions
 10/35 [▓▓▓▓▓▓▓▓░░░░░░░░░░░░░░░░░░░░]  28% 4 secs/14 secs 52.5 MiB
 Overdue Terminations
 11/35 [▓▓▓▓▓▓▓▓░░░░░░░░░░░░░░░░░░░░]  31% 4 secs/13 secs 52.5 MiB
 Fixed Term Terminations
 12/35 [▓▓▓▓▓▓▓▓▓░░░░░░░░░░░░░░░░░░░]  34% 4 secs/12 secs 52.5 MiB
 Overdue Invoice Cancellations
 13/35 [▓▓▓▓▓▓▓▓▓▓░░░░░░░░░░░░░░░░░░]  37% 5 secs/13 secs 52.5 MiB
 Inactive Tickets
 14/35 [▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░░░░░░░░░░]  40% 5 secs/13 secs 52.5 MiB
 Prune Ticket Attachments
 15/35 [▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░░░░░░░░░]  42% 5 secs/12 secs 52.5 MiB
 Delayed Affiliate Commissions
 16/35 [▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░░░░░░░░░]  45% 5 secs/11 secs 52.5 MiB
 Affiliate Reports
 17/35 [▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░░░░░░░░]  48% 5 secs/10 secs 52.5 MiB
 Process Email Campaigns
 18/35 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░░░░░░░]  51% 5 secs/10 secs 52.5 MiB
 Process Email Queue
 19/35 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░░░░░░]  54% 5 secs/9 secs 52.5 MiB
 Email Marketer Rules
 20/35 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░░░░░]  57% 5 secs/9 secs 52.5 MiB
 SSL Sync
 21/35 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░░░░░]  60% 4 mins/7 mins 52.5 MiB
 Credit Card Expiry Notices
 22/35 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░░░░]  62% 4 mins/7 mins 52.5 MiB
 Server Usage Stats
 23/35 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░░░]  65% 4 mins/7 mins 52.5 MiB
 Overage Billing Charges
 24/35 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░░]  68% 4 mins/6 mins 52.5 MiB
 Client Status Update
 25/35 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░]  71% 4 mins/6 mins 52.5 MiB
 Domain Expiry
 26/35 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░]  74% 4 mins/6 mins 52.5 MiB
 Ticket Escalation Rules
 27/35 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░░]  77% 4 mins/6 mins 54.5 MiB
 Data Retention Pruning
 28/35 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░]  80% 4 mins/5 mins 54.5 MiB
 SSL Certificate Reissues
 29/35 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░]  82% 4 mins/5 mins 54.5 MiB
 Update Server Usage
 30/35 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░]  85% 4 mins/5 mins 54.5 MiB
 Update Server Meta Data
 31/35 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░]  88% 4 mins/5 mins 54.5 MiB
 Run Jobs Queue
 32/35 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░]  91% 4 mins/5 mins 54.5 MiB
 WHMCS Updates
PHP Fatal error:  Class Composer\Semver\Constraint\EmptyConstraint contains 3 abstract methods and must therefore be declared abstract or implement the remaining methods (Composer\Semver\Constraint\ConstraintInterface::compile, Composer\Semver\Constraint\ConstraintInterface::getUpperBound, Composer\Semver\Constraint\ConstraintInterface::getLowerBound) in /home/admin/web/site.site/public_html/vendor/composer/semver/src/Constraint/EmptyConstraint.php on line 17
[WHMCS Application] ERROR: Whoops\Exception\ErrorException: Class Composer\Semver\Constraint\EmptyConstraint contains 3 abstract methods and must therefore be declared abstract or implement the remaining methods (Composer\Semver\Constraint\ConstraintInterface::compile, Composer\Semver\Constraint\ConstraintInterface::getUpperBound, Composer\Semver\Constraint\ConstraintInterface::getLowerBound) in /home/admin/web/site.site/public_html/vendor/composer/semver/src/Constraint/EmptyConstraint.php:17 Stack trace: #0 /home/admin/web/site.site/public_html/vendor/whmcs/whmcs-foundation/lib/Utility/Error/Run.php(0): WHMCS\Utility\Error\Run->handleError(1, 'Class Composer\\...', '/home/admin/web...', 17) #1 [internal function]: WHMCS\Utility\Error\Run->handleShutdown() #2 {main} {"exception":"[object] (Whoops\\Exception\\ErrorException(code: 1): Class Composer\\Semver\\Constraint\\EmptyConstraint contains 3 abstract methods and must therefore be declared abstract or implement the remaining methods (Composer\\Semver\\Constraint\\ConstraintInterface::compile, Composer\\Semver\\Constraint\\ConstraintInterface::getUpperBound, Composer\\Semver\\Constraint\\ConstraintInterface::getLowerBound) at /home/admin/web/site.site/public_html/vendor/composer/semver/src/Constraint/EmptyConstraint.php:17)"} []
Whoops\Exception\ErrorException: Class Composer\Semver\Constraint\EmptyConstraint contains 3 abstract methods and must therefore be declared abstract or implement the remaining methods (Composer\Semver\Constraint\ConstraintInterface::compile, Composer\Semver\Constraint\ConstraintInterface::getUpperBound, Composer\Semver\Constraint\ConstraintInterface::getLowerBound) in /home/admin/web/site.site/public_html/vendor/composer/semver/src/Constraint/EmptyConstraint.php:17

#0 /home/admin/web/site.site/public_html/vendor/whmcs/whmcs-foundation/lib/Utility/Error/Run.php(0): WHMCS\Utility\Error\Run->handleError(1, 'Class Composer\\...', '/home/admin/web...', 17)
#1 [internal function]: WHMCS\Utility\Error\Run->handleShutdown()
#2 {main}root@mail:/etc#

 

 

Link to comment
Share on other sites

  • 2 weeks later...

Update

I found second problem

I got error in WHMCS:

Cron PHP Version Mismatch
Your environment appears to be running a different PHP version (7.2.34-51+0~20240802.96+debian12~1.gbpe3aa6e) for the System Cron than the currently loaded PHP version (8.1.29). This may cause issues running your System Cron.
 
But i dont have php 7.2 on server
And i run cron task with this command */5 * * * * root /usr/bin/php8.1 -q /home/admin/web/site.site/private/crons/cron.php
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