tschallacka / magento2

All Submissions you make to Magento Inc. ("Magento") through GitHub are subject to the following terms and conditions: (1) You grant Magento a perpetual, worldwide, non-exclusive, no charge, royalty free, irrevocable license under your applicable copyrights and patents to reproduce, prepare derivative works of, display, publically perform, sublicense and distribute any feedback, ideas, code, or other information (“Submission") you submit through GitHub. (2) Your Submission is an original work of authorship and you are the owner or are legally entitled to grant the license stated above. (3) You agree to the Contributor License Agreement found here: https://github.com/magento/magento2/blob/master/CONTRIBUTOR_LICENSE_AGREEMENT.html
http://www.magento.com
Open Software License 3.0
0 stars 0 forks source link

Note to self #1

Open tschallacka opened 3 years ago

tschallacka commented 3 years ago

Magento uninstall keeps hanging.

https://github.com/tschallacka/magento2/blob/2.4-develop/setup/src/Magento/Setup/Model/ModuleUninstaller.php#L114

The buffered output is collected but never used. Rewrite everything so the standard output is used instead of the buffered output. Also figure out what causes the hang.

tschallacka commented 3 years ago

Typing gibberish results in in the following messages: Somehow the ~/.composer/auth.json isn't passed along to the custom run configuration. Search for where it tries to read auth.json and why it fails.

Command "remove" failed: <warning>You are running composer with Xdebug enabled. This has a major impact on runtime performance. See https://getcomposer.org/xdebug</warning>
<warning>test/dummy is not required in your composer.json and has not been removed</warning>
Loading composer repositories with package information
<warning>Warning from repo.magento.com: You haven't provided your Magento authentication keys. For instructions, visit https://devdocs.magento.com/guides/v2.3/install-gde/prereq/connect-auth.html</warning>
    Authentication required (repo.magento.com):
      Username:       Password: 
<warning>Warning from repo.magento.com: Your Magento authentication keys are invalid. Please double-check your keys in your Marketplace account. For instructions, visit https://devdocs.magento.com/guides/v2.3/install-gde/prereq/connect-auth.html</warning>
<warning>Warning from repo.magento.com: Your Magento authentication keys are invalid. Please double-check your keys in your Marketplace account. For instructions, visit https://devdocs.magento.com/guides/v2.3/install-gde/prereq/connect-auth.html</warning>
<warning>Warning from repo.magento.com: Your Magento authentication keys are invalid. Please double-check your keys in your Marketplace account. For instructions, visit https://devdocs.magento.com/guides/v2.3/install-gde/prereq/connect-auth.html</warning>

In RemoteFilesystem.php line 748:

  Invalid credentials for 'https://repo.magento.com/packages.json', aborting.  
tschallacka commented 3 years ago

Also patch in proper input for when it asks for input even though it should not request input