Magento 2 command line for php bin/magento setup:upgradebin/magento setup:upgrade not runningI need to install one Magento 2 themeMagento command line errorcommand line user does not have read and write permissions on generated directoryElasticsearch setup:upgrade error: No handler for type [text] declared on field [search]Magento 2: Zend_Http_Exception Invalid header line detectedMagento 2 - bin/magento Commands not working in Cpanel Terminal
What should come first—characters or plot?
Can RMSE and MAE have the same value?
"fF" letter combination seems to be typeset strangely or incorrectly
Round towards zero
Does ostensible/specious make sense in this sentence?
“T” in subscript in formulas
Filling a listlineplot with a texture
Another solution to create a set with two conditions
When, exactly, does the Rogue Scout get to use their Skirmisher ability?
Ghidra: Prepend memory segment in assembly listing view
Why does Windows store Wi-Fi passwords in a reversible format?
Discussing work with supervisor in an invited dinner with his family
How do we tell which part of kinetic energy gives rise to temperature?
Rent contract say that pets are not allowed. Possible repercussions if bringing the pet anyway?
How were medieval castles built in swamps or marshes without draining them?
Do Bayesian credible intervals treat the estimated parameter as a random variable?
Where does learning new skills fit into Agile?
Can $! cause race conditions when used in scripts running in parallel?
Why is the UK so keen to remove the "backstop" when their leadership seems to think that no border will be needed in Northern Ireland?
How to respectfully refuse to assist co-workers with IT issues?
Add 2 new columns to existing dataframe using apply
Duplicate instruments in unison in an orchestra
How much does Commander Data weigh?
What is a natural problem in theory of computation?
Magento 2 command line for php bin/magento setup:upgrade
bin/magento setup:upgrade not runningI need to install one Magento 2 themeMagento command line errorcommand line user does not have read and write permissions on generated directoryElasticsearch setup:upgrade error: No handler for type [text] declared on field [search]Magento 2: Zend_Http_Exception Invalid header line detectedMagento 2 - bin/magento Commands not working in Cpanel Terminal
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I have an issue to install Magento theme extension using -jailshell-4.2$
I used to be use command line php bin/magento setup:upgrade
And now the "TERMINAL" on my mac doesn't work properly as before.

Does anyone know what command line should I typing?
Thank you
magento2 theme
add a comment |
I have an issue to install Magento theme extension using -jailshell-4.2$
I used to be use command line php bin/magento setup:upgrade
And now the "TERMINAL" on my mac doesn't work properly as before.

Does anyone know what command line should I typing?
Thank you
magento2 theme
'sudo rm -rf var/cache/* var/di/* var/generation/* var/page_cache/* var/view_preprocessed/* pub/static/frontend/*' 'sudo rm -rf pub/static/adminhtml/*' 'sudo chmod -R 0777 pub var generated' run these command and then try yours
– Ketan Borada
Feb 26 at 11:10
add a comment |
I have an issue to install Magento theme extension using -jailshell-4.2$
I used to be use command line php bin/magento setup:upgrade
And now the "TERMINAL" on my mac doesn't work properly as before.

Does anyone know what command line should I typing?
Thank you
magento2 theme
I have an issue to install Magento theme extension using -jailshell-4.2$
I used to be use command line php bin/magento setup:upgrade
And now the "TERMINAL" on my mac doesn't work properly as before.

Does anyone know what command line should I typing?
Thank you
magento2 theme
magento2 theme
edited Feb 26 at 11:35
Shoaib Munir
5,8446 gold badges24 silver badges72 bronze badges
5,8446 gold badges24 silver badges72 bronze badges
asked Feb 26 at 10:56
vianzovianzo
111 bronze badge
111 bronze badge
'sudo rm -rf var/cache/* var/di/* var/generation/* var/page_cache/* var/view_preprocessed/* pub/static/frontend/*' 'sudo rm -rf pub/static/adminhtml/*' 'sudo chmod -R 0777 pub var generated' run these command and then try yours
– Ketan Borada
Feb 26 at 11:10
add a comment |
'sudo rm -rf var/cache/* var/di/* var/generation/* var/page_cache/* var/view_preprocessed/* pub/static/frontend/*' 'sudo rm -rf pub/static/adminhtml/*' 'sudo chmod -R 0777 pub var generated' run these command and then try yours
– Ketan Borada
Feb 26 at 11:10
'sudo rm -rf var/cache/* var/di/* var/generation/* var/page_cache/* var/view_preprocessed/* pub/static/frontend/*' 'sudo rm -rf pub/static/adminhtml/*' 'sudo chmod -R 0777 pub var generated' run these command and then try yours
– Ketan Borada
Feb 26 at 11:10
'sudo rm -rf var/cache/* var/di/* var/generation/* var/page_cache/* var/view_preprocessed/* pub/static/frontend/*' 'sudo rm -rf pub/static/adminhtml/*' 'sudo chmod -R 0777 pub var generated' run these command and then try yours
– Ketan Borada
Feb 26 at 11:10
add a comment |
5 Answers
5
active
oldest
votes
- Clear cache and delete generated folder then try again.
- Check if you have magento file in bin directory
- If vendor folder is not in .gitignore file then check if some file
are missing from core by 'git status'. - You can download the folder manually and place it in root folder of
magento then can use setup:upgrade, static-content:deploy,
cache:clear, cache:flush.
add a comment |
try :
php ./public_html/bin/magento setup:upgrade
add a comment |
Maybe you just need to move in your project root folder first.
In my case that is /var/www/html. It can't find command because you are not pointing to it by bin/magento, you need to tell it where magento is. So in my case/var/www/html/bin/magento.
add a comment |
Please follow this step to run Magento 2 cli command
$ cd public_html
$ php bin/magento setup:upgrade
For example my project on "public_html/abc.com/ then write "cd public_html/abc.com/"
– Birjitsinh Zala
Feb 26 at 12:59
add a comment |
Check permission first and ownership.
make sure you are on the project root folder or inside bin/magento (remove bin/magento form commands than)
sudo chown www-data:www-data -R *
sudo rm -rf var/
sudo rm -rf pub/static
sudo php bin/magento setup:static-content:deploy -f
sudo php bin/magento cache:flush
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "479"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f263448%2fmagento-2-command-line-for-php-bin-magento-setupupgrade%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
5 Answers
5
active
oldest
votes
5 Answers
5
active
oldest
votes
active
oldest
votes
active
oldest
votes
- Clear cache and delete generated folder then try again.
- Check if you have magento file in bin directory
- If vendor folder is not in .gitignore file then check if some file
are missing from core by 'git status'. - You can download the folder manually and place it in root folder of
magento then can use setup:upgrade, static-content:deploy,
cache:clear, cache:flush.
add a comment |
- Clear cache and delete generated folder then try again.
- Check if you have magento file in bin directory
- If vendor folder is not in .gitignore file then check if some file
are missing from core by 'git status'. - You can download the folder manually and place it in root folder of
magento then can use setup:upgrade, static-content:deploy,
cache:clear, cache:flush.
add a comment |
- Clear cache and delete generated folder then try again.
- Check if you have magento file in bin directory
- If vendor folder is not in .gitignore file then check if some file
are missing from core by 'git status'. - You can download the folder manually and place it in root folder of
magento then can use setup:upgrade, static-content:deploy,
cache:clear, cache:flush.
- Clear cache and delete generated folder then try again.
- Check if you have magento file in bin directory
- If vendor folder is not in .gitignore file then check if some file
are missing from core by 'git status'. - You can download the folder manually and place it in root folder of
magento then can use setup:upgrade, static-content:deploy,
cache:clear, cache:flush.
edited Feb 26 at 12:21
Chirag Patel
3,7827 silver badges28 bronze badges
3,7827 silver badges28 bronze badges
answered Feb 26 at 11:59
groygroy
14610 bronze badges
14610 bronze badges
add a comment |
add a comment |
try :
php ./public_html/bin/magento setup:upgrade
add a comment |
try :
php ./public_html/bin/magento setup:upgrade
add a comment |
try :
php ./public_html/bin/magento setup:upgrade
try :
php ./public_html/bin/magento setup:upgrade
answered Feb 26 at 12:03
bjornredemptionbjornredemption
3192 silver badges8 bronze badges
3192 silver badges8 bronze badges
add a comment |
add a comment |
Maybe you just need to move in your project root folder first.
In my case that is /var/www/html. It can't find command because you are not pointing to it by bin/magento, you need to tell it where magento is. So in my case/var/www/html/bin/magento.
add a comment |
Maybe you just need to move in your project root folder first.
In my case that is /var/www/html. It can't find command because you are not pointing to it by bin/magento, you need to tell it where magento is. So in my case/var/www/html/bin/magento.
add a comment |
Maybe you just need to move in your project root folder first.
In my case that is /var/www/html. It can't find command because you are not pointing to it by bin/magento, you need to tell it where magento is. So in my case/var/www/html/bin/magento.
Maybe you just need to move in your project root folder first.
In my case that is /var/www/html. It can't find command because you are not pointing to it by bin/magento, you need to tell it where magento is. So in my case/var/www/html/bin/magento.
edited Feb 26 at 12:18
Chirag Patel
3,7827 silver badges28 bronze badges
3,7827 silver badges28 bronze badges
answered Feb 26 at 11:44
VarikapVarikap
245 bronze badges
245 bronze badges
add a comment |
add a comment |
Please follow this step to run Magento 2 cli command
$ cd public_html
$ php bin/magento setup:upgrade
For example my project on "public_html/abc.com/ then write "cd public_html/abc.com/"
– Birjitsinh Zala
Feb 26 at 12:59
add a comment |
Please follow this step to run Magento 2 cli command
$ cd public_html
$ php bin/magento setup:upgrade
For example my project on "public_html/abc.com/ then write "cd public_html/abc.com/"
– Birjitsinh Zala
Feb 26 at 12:59
add a comment |
Please follow this step to run Magento 2 cli command
$ cd public_html
$ php bin/magento setup:upgrade
Please follow this step to run Magento 2 cli command
$ cd public_html
$ php bin/magento setup:upgrade
answered Feb 26 at 12:56
Birjitsinh ZalaBirjitsinh Zala
5793 silver badges15 bronze badges
5793 silver badges15 bronze badges
For example my project on "public_html/abc.com/ then write "cd public_html/abc.com/"
– Birjitsinh Zala
Feb 26 at 12:59
add a comment |
For example my project on "public_html/abc.com/ then write "cd public_html/abc.com/"
– Birjitsinh Zala
Feb 26 at 12:59
For example my project on "public_html/abc.com/ then write "cd public_html/abc.com/"
– Birjitsinh Zala
Feb 26 at 12:59
For example my project on "public_html/abc.com/ then write "cd public_html/abc.com/"
– Birjitsinh Zala
Feb 26 at 12:59
add a comment |
Check permission first and ownership.
make sure you are on the project root folder or inside bin/magento (remove bin/magento form commands than)
sudo chown www-data:www-data -R *
sudo rm -rf var/
sudo rm -rf pub/static
sudo php bin/magento setup:static-content:deploy -f
sudo php bin/magento cache:flush
add a comment |
Check permission first and ownership.
make sure you are on the project root folder or inside bin/magento (remove bin/magento form commands than)
sudo chown www-data:www-data -R *
sudo rm -rf var/
sudo rm -rf pub/static
sudo php bin/magento setup:static-content:deploy -f
sudo php bin/magento cache:flush
add a comment |
Check permission first and ownership.
make sure you are on the project root folder or inside bin/magento (remove bin/magento form commands than)
sudo chown www-data:www-data -R *
sudo rm -rf var/
sudo rm -rf pub/static
sudo php bin/magento setup:static-content:deploy -f
sudo php bin/magento cache:flush
Check permission first and ownership.
make sure you are on the project root folder or inside bin/magento (remove bin/magento form commands than)
sudo chown www-data:www-data -R *
sudo rm -rf var/
sudo rm -rf pub/static
sudo php bin/magento setup:static-content:deploy -f
sudo php bin/magento cache:flush
edited Aug 13 at 15:41
sandip
1,3022 gold badges8 silver badges27 bronze badges
1,3022 gold badges8 silver badges27 bronze badges
answered Feb 28 at 15:02
inrsaurabhinrsaurabh
1,11412 silver badges33 bronze badges
1,11412 silver badges33 bronze badges
add a comment |
add a comment |
Thanks for contributing an answer to Magento Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f263448%2fmagento-2-command-line-for-php-bin-magento-setupupgrade%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
'sudo rm -rf var/cache/* var/di/* var/generation/* var/page_cache/* var/view_preprocessed/* pub/static/frontend/*' 'sudo rm -rf pub/static/adminhtml/*' 'sudo chmod -R 0777 pub var generated' run these command and then try yours
– Ketan Borada
Feb 26 at 11:10