docker-magento icon indicating copy to clipboard operation
docker-magento copied to clipboard

bin/mysqldump - n98 issue

Open tvaught991 opened this issue 6 months ago • 0 comments

Description Checking to see if you could provide assistance for an error I am having trying to generate a backup. I've been using this docker setup for a couple of years but I think a docker update might have caused issues somewhere. I did go through and update the yaml files so I should be up to date.

This is the error I am seeing: Fatal error: Declaration of N98\Magento\Command\AbstractMagentoCommand::run(Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output) must be compatible with Symfony\Component\Console\Command\Command::run(Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output): int in phar:///var/www/html/bin/n98-magerun2.phar/src/N98/Magento/Command/AbstractMagentoCommand.php on line 243

Docker V:4.33.0

Steps To Reproduce bin/mysqldump > magento.sql or bin/n98-magerun2

Expected Result backup file to be generated

Actual Result error in backup file

tvaught991 avatar Aug 13 '24 14:08 tvaught991