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;








2















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.



enter image description here



Does anyone know what command line should I typing?



Thank you










share|improve this question


























  • '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


















2















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.



enter image description here



Does anyone know what command line should I typing?



Thank you










share|improve this question


























  • '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














2












2








2








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.



enter image description here



Does anyone know what command line should I typing?



Thank you










share|improve this question
















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.



enter image description here



Does anyone know what command line should I typing?



Thank you







magento2 theme






share|improve this question















share|improve this question













share|improve this question




share|improve this question








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


















  • '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











5 Answers
5






active

oldest

votes


















1















  1. Clear cache and delete generated folder then try again.

  2. Check if you have magento file in bin directory

  3. If vendor folder is not in .gitignore file then check if some file
    are missing from core by 'git status'.

  4. 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.





share|improve this answer


































    0















    try :



    php ./public_html/bin/magento setup:upgrade





    share|improve this answer
































      0















      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.






      share|improve this answer


































        0















        Please follow this step to run Magento 2 cli command



        $ cd public_html
        $ php bin/magento setup:upgrade





        share|improve this answer

























        • For example my project on "public_html/abc.com/ then write "cd public_html/abc.com/"

          – Birjitsinh Zala
          Feb 26 at 12:59


















        0















        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





        share|improve this answer





























          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
          );



          );













          draft saved

          draft discarded


















          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









          1















          1. Clear cache and delete generated folder then try again.

          2. Check if you have magento file in bin directory

          3. If vendor folder is not in .gitignore file then check if some file
            are missing from core by 'git status'.

          4. 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.





          share|improve this answer































            1















            1. Clear cache and delete generated folder then try again.

            2. Check if you have magento file in bin directory

            3. If vendor folder is not in .gitignore file then check if some file
              are missing from core by 'git status'.

            4. 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.





            share|improve this answer





























              1














              1










              1









              1. Clear cache and delete generated folder then try again.

              2. Check if you have magento file in bin directory

              3. If vendor folder is not in .gitignore file then check if some file
                are missing from core by 'git status'.

              4. 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.





              share|improve this answer















              1. Clear cache and delete generated folder then try again.

              2. Check if you have magento file in bin directory

              3. If vendor folder is not in .gitignore file then check if some file
                are missing from core by 'git status'.

              4. 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.






              share|improve this answer














              share|improve this answer



              share|improve this answer








              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


























                  0















                  try :



                  php ./public_html/bin/magento setup:upgrade





                  share|improve this answer





























                    0















                    try :



                    php ./public_html/bin/magento setup:upgrade





                    share|improve this answer



























                      0














                      0










                      0









                      try :



                      php ./public_html/bin/magento setup:upgrade





                      share|improve this answer













                      try :



                      php ./public_html/bin/magento setup:upgrade






                      share|improve this answer












                      share|improve this answer



                      share|improve this answer










                      answered Feb 26 at 12:03









                      bjornredemptionbjornredemption

                      3192 silver badges8 bronze badges




                      3192 silver badges8 bronze badges
























                          0















                          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.






                          share|improve this answer































                            0















                            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.






                            share|improve this answer





























                              0














                              0










                              0









                              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.






                              share|improve this answer















                              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.







                              share|improve this answer














                              share|improve this answer



                              share|improve this answer








                              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
























                                  0















                                  Please follow this step to run Magento 2 cli command



                                  $ cd public_html
                                  $ php bin/magento setup:upgrade





                                  share|improve this answer

























                                  • For example my project on "public_html/abc.com/ then write "cd public_html/abc.com/"

                                    – Birjitsinh Zala
                                    Feb 26 at 12:59















                                  0















                                  Please follow this step to run Magento 2 cli command



                                  $ cd public_html
                                  $ php bin/magento setup:upgrade





                                  share|improve this answer

























                                  • For example my project on "public_html/abc.com/ then write "cd public_html/abc.com/"

                                    – Birjitsinh Zala
                                    Feb 26 at 12:59













                                  0














                                  0










                                  0









                                  Please follow this step to run Magento 2 cli command



                                  $ cd public_html
                                  $ php bin/magento setup:upgrade





                                  share|improve this answer













                                  Please follow this step to run Magento 2 cli command



                                  $ cd public_html
                                  $ php bin/magento setup:upgrade






                                  share|improve this answer












                                  share|improve this answer



                                  share|improve this answer










                                  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

















                                  • 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











                                  0















                                  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





                                  share|improve this answer































                                    0















                                    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





                                    share|improve this answer





























                                      0














                                      0










                                      0









                                      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





                                      share|improve this answer















                                      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






                                      share|improve this answer














                                      share|improve this answer



                                      share|improve this answer








                                      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






























                                          draft saved

                                          draft discarded
















































                                          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.




                                          draft saved


                                          draft discarded














                                          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





















































                                          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







                                          Popular posts from this blog

                                          Grendel Contents Story Scholarship Depictions Notes References Navigation menu10.1093/notesj/gjn112Berserkeree

                                          Area configuration aggregation error after install Porto themeMagento 2.1 CE Installed but front/backend not loading/workingCSS not loading on page within Magento 2 pageCannot install module in Magento 2no commands defined in the “setup” namespace. in Magento2Magento 2: Static files are present but shows 404Why do i have to always run the commands to clean cache in Magento 2.1.8?Failure reason: 'Unable to unserialize value.'Error 500 after magento migrationIn production mode the site does not loadMagento 2 : Error 500 after installing

                                          Middle Expansion Olielle Resaix Definition: Uttering songs of triumph shouting with joy triumphant exulting Sejunction Journal 붙다 달 고급 품목 외출 The stretch trades the screeching tin. Definition: The act of speaking with a drawl a drawl Cough Sand Definition: An uproar a quarrel a noisy outbreak Shake Iron Publicize Horse House Baby 사과 Resaix Flaggy Jelly Temporary Unequaled Puppet A drop in the bucket Shrew 성격 회원 성질 미팅 The burn frames the tacky quality. Materialistic The smoke reduces the way. Yammoe Nondescript Cheek 얼굴 배 약하다 날리다 타다 The illegal country shows the iron. Help Rule Drearien Smoke Teaching Meaty Wasp Abraham Lincoln Jaws 진심 수리하다 Size Cork Idea Convert Think Lark John Lennon 거울 청소 군 추천하다 아이스크림