Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

could not find package "grumpydictator/firefly-iii" #7614

Closed
GaneshKandu opened this issue Sep 4, 2018 · 5 comments
Closed

could not find package "grumpydictator/firefly-iii" #7614

GaneshKandu opened this issue Sep 4, 2018 · 5 comments
Labels

Comments

@GaneshKandu
Copy link

Hi,
I am trying to install firefly-iii 4.7.6.1 but getting error

firefly-iii
composer.json

OS: Centos6

Output of composer diagnose:

[user@localhost manual]# composer diagnose
Do not run Composer as root/super user! See https://getcomposer.org/root for details
Checking platform settings: OK
Checking git settings: OK
Checking http connectivity to packagist: OK
Checking https connectivity to packagist: OK
Checking github.com rate limit: OK
Checking disk free space: OK
Checking pubkeys:
Tags Public Key Fingerprint: 57815BA2 7E54DC31 7ECC7CC5 573090D0  87719BA6 8F3BB723 4E5D42D0 84A14642
Dev Public Key Fingerprint: 4AC45767 E5EC2265 2F0C1167 CBBB8A2B  0C708369 153E328C AD90147D AFE50952
OK
Checking composer version: OK
Composer version: 1.7.2
PHP version: 7.2.8
PHP binary path: /usr/local/apps/php72/bin/php

When I run this command:

php composer.phar create-project grumpydictator/firefly-iii --no-dev --prefer-dist firefly4761 4.7.6.1

I get the following output:

img_20180904

but same command working on other server

Output of composer diagnose:

[user@domain manual]$ php composer.phar diagnose
Checking platform settings: OK
Checking git settings: OK
Checking http connectivity to packagist: OK
Checking https connectivity to packagist: OK
Checking github.com rate limit: OK
Checking disk free space: OK
Checking pubkeys:
Tags Public Key Fingerprint: 57815BA2 7E54DC31 7ECC7CC5 573090D0  87719BA6 8F3BB723 4E5D42D0 84A14642
Dev Public Key Fingerprint: 4AC45767 E5EC2265 2F0C1167 CBBB8A2B  0C708369 153E328C AD90147D AFE50952
OK
Checking composer version: OK
Composer version: 1.7.2
PHP version: 7.1.19
PHP binary path: /opt/alt/php71/usr/bin/php

When I run this command:

php composer.phar create-project grumpydictator/firefly-iii --no-dev --prefer-dist firefly4761 4.7.6.1

I get the following output:

img_20180904 1

@alcohol
Copy link
Member

alcohol commented Sep 4, 2018

Probably a caching issue on your failing host.

@alcohol
Copy link
Member

alcohol commented Sep 4, 2018

But I cannot reproduce it myself.

rob@galaga /tmp $ composer create-project grumpydictator/firefly-iii --no-dev --prefer-dist --ignore-platform-reqs firefly4761 4.7.6.1
Installing grumpydictator/firefly-iii (4.7.6.1)
  - Installing grumpydictator/firefly-iii (4.7.6.1): Loading from cache
Created project in firefly4761
> @php -r "file_exists('.env') || copy('.env.example', '.env');"
> @php -r "if (!(getenv('DYNO'))===false){file_exists('.env') || copy('.env.heroku', '.env');}"
Loading composer repositories with package information
Installing dependencies from lock file
Package operations: 62 installs, 0 updates, 0 removals
  - Installing bacon/bacon-qr-code (1.0.3): Downloading (100%)         
  - Installing psr/http-message (1.0.1): Loading from cache
  - Installing guzzlehttp/psr7 (1.4.2): Loading from cache

etc

@alcohol alcohol added the Support label Sep 4, 2018
@GaneshKandu
Copy link
Author

GaneshKandu commented Sep 4, 2018

i tried after clearing cache too but installation doesn't work
php composer.phar clear

@Seldaek
Copy link
Member

Seldaek commented Sep 4, 2018

Probably duplicate of #7603 which should be resolved by now. See my last comment there for instructions if you still see the problem: #7603 (comment)

@wolfendex
Copy link

Just an FYI for anyone else coming across this issue, i.e. even the new 5.6.10 version; make sure you have all your dependencies installed for PHP. I was missing a few and after going through the list.
After I had all the packages installed, I re-entered "sudo composer create-project grumpydictator/firefly-iii --no-dev --prefer-dist firefly-iii 5.6.10" and it went through no issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants