There are no commands defined in the "cache" namespace.

clipboard.png
as shown in the figure: I want to refresh the magento, as well as foreground compilation and background compilation, all prompt me for errors.
I tried to find the answer on the Internet. I was prompted to give permission on the Internet, but I still reported the same error

.

which god knows, is there any other solution? Wait online, call for help, thank you

Mar.01,2021

magento, this thing hasn't been used for a long time, and it's a really awkward framework to configure.
this seems to be a permission problem, or else it is the env.php file. You can try the following commands:

php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy
php bin/magento indexer:reindex
php bin/magento cache:flush

then do the following

sudo chmod 777 var -R
sudo chmod 777 pub -R
sudo php bin/magento setup:static-content:deploy
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b37d3c-2ae0b.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b37d3c-2ae0b.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?