Questions tagged [magerun]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
2 answers
47 views

Is it possible to run Magerun DB dump command from a deployer.php file?

Using the "jalogut/magento2-deployer-plus" I am unable to do a DB backup using the Magerun command. It throws an error where it shows the app/etc/env.php is not accessible. Even though i am ...
Arjun B's user avatar
  • 66
1 vote
3 answers
737 views

Magerun Unable to find the wrapper "phar"

I was able to run Magerun and suddenly is stopped working, and this error message showed up. Warning: file_exists(): Unable to find the wrapper "phar" - did you forget to enable it when you ...
Rafael Corrêa Gomes's user avatar
1 vote
0 answers
34 views

How to fix 'Magento_Store' data-version not available and duplicated entry?

I'm receiving some error messages related to the Magento_Store module when I try to run the downgrade version via Magerun and when I try to change it too, as you can see in these images below. I ...
Rafael Corrêa Gomes's user avatar
1 vote
1 answer
681 views

Magerun not recognized on command line

I am unable to run magerun from the CLI on one of my Commerce cloud sites. How do I fix? here is the error: var/magerun db:dump --compression="gzip" ./var/mg_integration_before_sync.sql.gz PHP ...
guerinteed_mike's user avatar
0 votes
2 answers
295 views

How to truncate database table using n98-magerun2?

I am trying to truncate the database table using n98-magerun2 version 3.2.0 and having some difficulties. I know there is a command with option to run an SQL query: db:query Executes an SQL query on ...
Greg's user avatar
  • 2,919
2 votes
1 answer
134 views

n98-magerun - access denied

I can't use n98 magerun to create a dump of my database, I get mysqldump: Got error: 1045: "Access denied for user 'example'@'example.de' (using password: YES)" when trying to connect after executing ....
Black's user avatar
  • 3,150
0 votes
1 answer
89 views

n98-magerun: Do we need to drop the old database before importing the new one?

Do I always have to drop all tables in the old database before importing a new one, or can I just import the new one and it will automatically just update the old database with the new infos?
Black's user avatar
  • 3,150
1 vote
3 answers
2k views

n98-magerun.phar not working - PHP Fatal error: Class 'Phar' not found

I can't execute n98-magerun.phar, I get PHP Fatal error: Class 'Phar' not found. I am using PHP 5.5.14 (cli) Any hints how to solve this?
Black's user avatar
  • 3,150
0 votes
2 answers
196 views

Solving helper rewrite conflict. Three modules conflicted on payment/data helper.

I have a problem where a newly installed module is not working due to a conflict. The result of n98-magerun dev:module:rewrite:conflicts: How would I solve this problem? Is there any particular way ...
Greg's user avatar
  • 2,919
1 vote
1 answer
132 views

Magento in maintenance mode after importing database from live to test

I created a dump of my live database and imported it into staging by using n98-magerun. ./n98-magerun.phar db:import live.sql But now my website is in maintenance mode, even though there is no ...
Black's user avatar
  • 3,150
0 votes
1 answer
86 views

How can I execute a extension from the vendor’s bin folder?

Hi I install a extension magerun2 using composer which is install in vendor . now how I can execute it from vendor as on root director it is showing no command found Manual for this is https://...
Learner's user avatar
  • 833
1 vote
1 answer
467 views

Using n98-magerun in Magento 1 issue

Usually I get the n98-magerun file by executing this command when I need it: wget https://files.magerun.net/n98-magerun.phar && chmod +x ./n98-magerun.phar on my project . I used this in the ...
Attila Naghi's user avatar
  • 3,903