Skip to content

Commit 87ae0dd

Browse files
committed
Merge pull request #112 from tkdb/patch-1
Update README.md
2 parents d95c6b4 + af11209 commit 87ae0dd

File tree

1 file changed

+20
-6
lines changed

1 file changed

+20
-6
lines changed

README.md

Lines changed: 20 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,18 +36,32 @@ other support contacts
3636
* irc: freenode the channels #magento-composer #magento-reddit and for german speaking people #magento-de
3737
* twitter: [@firegento](https://twitter.com/firegento)
3838

39-
## Known issue
40-
- Error message: `Fatal error: Call to undefined method MagentoHackathon\Composer\Magento\Installer::setDeployManager()` happens when you update from 1.x to 2.x, as we switched from pure installer to plugin.
39+
## Known issues
4140

42-
maybe better Solution: ```composer update --no-plugins --no-dev "magento-hackathon/magento-composer-installer"```
43-
Fallback Solution(if first one does not work): remove the `vendor` directory and the `composer.lock` and do a fresh install.
41+
### When upgrading from 1.x to 2.x
4442

43+
The update from 1.x to 2.x has to be done with no plugins as otherwise a fatal error will be triggered (which does not hurt, just run the update again and it runs through).
4544

46-
- Timeouts and slow downloading. Mostly caused by outtages of Github, Repositories or the Internet.
45+
- Error message: `Fatal error: Call to undefined method MagentoHackathon\Composer\Magento\Installer::setDeployManager()`
4746

48-
for all of this Issues you can make use of the commercial [Toran Proxy](https://toranproxy.com/).
47+
To prevent this error, upgrade only *magento-composer-installer* first:
48+
49+
```composer update --no-plugins --no-dev "magento-hackathon/magento-composer-installer"```
50+
51+
Fallback Solutions:
52+
53+
1. execute `composer install` two times.
54+
2. remove the `vendor` directory and `composer.lock` and do a fresh install.
55+
56+
### Timeouts and slow downloading.
57+
58+
Mostly caused by outtages of Github, Repositories or the Internet. This is a common problem with having all
59+
packges remote.
60+
61+
For all of this Issues you can make use of the commercial [Toran Proxy](https://toranproxy.com/).
4962
It also allows hosting of private packages and speeds up the whole downloading process.
5063

64+
Another alternative is to look into [Satis](https://github.com/composer/satis), bare git mirrors and repository aliasing.
5165

5266
## Usage
5367

0 commit comments

Comments
 (0)