cancel
Showing results for 
Search instead for 
Did you mean: 

There are no commands defined in the "cron" namespace ???

SOLVED

There are no commands defined in the "cron" namespace ???

I am getting this error fresh install.

 

I get this by running

sudo -u www-data php8.4 bin/magento cron:install

 

how do I fix this?

1 ACCEPTED SOLUTION

Accepted Solutions

Re: There are no commands defined in the "cron" namespace ???

I figured it out. I had to add this to mysql cnf file:

[mysqld]
log_bin_trust_function_creators = 1

 

thanks for reply.

View solution in original post

2 REPLIES 2

Re: There are no commands defined in the "cron" namespace ???

Hello @tmccaff57g5da8 ,

Could you please confirm whether both the frontend and backend are working correctly?
I just want to verify that the setup:install command has already been executed and that other commands, such as cache:clean and cache:flush, are running without issues.
The only problem is specifically with the cron:install command, correct?

 

 

Ankit Jasani

Re: There are no commands defined in the "cron" namespace ???

I figured it out. I had to add this to mysql cnf file:

[mysqld]
log_bin_trust_function_creators = 1

 

thanks for reply.