cancel
Showing results for 
Search instead for 
Did you mean: 

Corrupt extention manager after installing Amasty Extention

SOLVED

Corrupt extention manager after installing Amasty Extention

Amasty do not want to know about this problem. !  Support sucks

 

I get this message in my Extension Manager.

The extension does work ok.

 

Command "show" failed: [Composer\Downloader\TransportException] The 'https://composer.amasty.com/community/packages.json' URL required authentication. You must be using the interactive console to authenticate show [--all] [-i|--installed] [-p|--platform] [-a|--available] [-s|--self] [-N|--name-only] [-P|--path] [-t|--tree] [-l|--latest] [-o|--outdated] [-m|--minor-only] [-D|--direct] [--strict] [-f|--format FORMAT] [--] [<package>] [<version>]

 

Can anyone help?  Thanks

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Corrupt extention manager after installing Amasty Extention

OK - I started again with clean Magento 2.2.3 installation.

Uploaded Amasty files via FTP then run :

composer update
Then run:

php bin/magento setup:upgrade
php bin/magento setup:di:compile

 

So if this happens just dont install via Amasty repositories:

 composer config repositories.amasty composer <path>

 

View solution in original post

16 REPLIES 16

Re: Corrupt extention manager after installing Amasty Extention

Issue occurs because you have not added auth.json file in root directory of magento2.

 

Extension manager actually going to authenticate it but its not able to find public key and private key and because of that this issue is occurred, to resolve this issue follow below steps:

 

create one auth.json file in root directory of your magento2 

 

put below code in auth.json file :

 

{
   "http-basic": {
      "repo.magento.com": {
         "username": "<public-key>",
         "password": "<private-key>"
      }
   }
}

 

Note : You might be aware of this still here is the link for how to get key - http://docs.magento.com/marketplace/user_guide/account/account-magento2-access-keys.html

if issue solved,Click Kudos & Accept as Solution

Re: Corrupt extention manager after installing Amasty Extention

 I put auth.json file in root directory but still same message appears.

Re: Corrupt extention manager after installing Amasty Extention

have you added your public key and private key in that auth.json file ? which is of magento 2 and from  marketplace ?

if issue solved,Click Kudos & Accept as Solution

Re: Corrupt extention manager after installing Amasty Extention

Public/Private Keys added from account

Re: Corrupt extention manager after installing Amasty Extention

okay do one thing - There is one more auth.json file in VAR folder , from there add your amasty details or update it.

 

Amasty might have give you authentication code or key or anything put that in auth.json file of VAR directory.

 

if issue solved,Click Kudos & Accept as Solution

Re: Corrupt extention manager after installing Amasty Extention

no auth.json in VAR directory unless you meant here:

var/composer_home/auth.json  (this already has Magento keys)

 

I do have access keys for the Amasty extension.  They only got prompted on first installation run.

 

 

 

Re: Corrupt extention manager after installing Amasty Extention

OK - I started again with clean Magento 2.2.3 installation.

Uploaded Amasty files via FTP then run :

composer update
Then run:

php bin/magento setup:upgrade
php bin/magento setup:di:compile

 

So if this happens just dont install via Amasty repositories:

 composer config repositories.amasty composer <path>

 

Re: Corrupt extention manager after installing Amasty Extention

This worked for me

Re: Corrupt extention manager after installing Amasty Extention

Just found a better way to fix the issue if you run upon this. Instead of doing a fresh install and starting over. You can open composer.json in the root director and remove the following, save and reload extension manager.

,
        "amasty": {
            "type": "composer",
            "url": "https://composer.amasty.com/community/"
        }