Plugin installation Error through composer and cli

Your software
My Mautic version is: 4.4.9
My PHP version is: 8.0.29
My Database type and version is:

Your problem
My problem is: Plugin installation Error through composer and cli on running the command:
bin/console mautic:marketplace:install cronfig/mautic-cronfig

These errors are showing in the log:
[2023-07-03 04:38:06] mautic.WARNING: Command mautic:plugins:reload exited with status code 1 {“hostname”:“ubuntu-s-1vcpu-2gb-blr1-01”,“pid”:59180}
[2023-07-03 04:43:21] mautic.WARNING: Command mautic:marketplace:install exited with status code 2 {“hostname”:“ubuntu-s-1vcpu-2gb-blr1-01”,“pid”:59315}

Steps I have tried to fix the problem:
i tried doing:
composer update
composer config -g repo.packagist composer

Try running:

php bin/console mautic:plugins:reload --env=prod -vvv

So we get a little more descriptive error. Then we can troubleshoot further.

Regards, M.

i ran that command and it shows:
0 new plugins were installed and 0 updated.

Looks like everything went OK. Can you try to remove the plugin, reload and then putting the plugin back and reload again?

Do not forget to clear the cache with:

rm -rf var/cache/dev/* var/cache/prod/*

after each step.

i did but nothing changed i’m getting the same output

It looks like it activated fine this time. Can you check that the functionality of the plugin is there? That the plugin works?