Error while installing Firefly III : Unable to update firefly-iii core dependencies

Hi,

I tried to install firefly III on my yunohost instance and i’ve got an error :

Warning: Unable to update firefly-iii core dependencies
Warning: !!
Warning:   firefly-iii's script has encountered an error. Its execution was cancelled.
Warning: !!

My YunoHost configuration

Hardware: rpi 3
Internet access: ethernet at home
YunoHost version:
yunohost: version: 3.2.2
yunohost-admin: version: 3.2.1
moulinette: version: 3.2.0
ssowat: version: 3.2.0

You can find log here : https://paste.yunohost.org/raw/usizakahoh

ping @kanhu as you build the package :slight_smile:

thanks
enuts

Hi @enuts
As the script don’t show composer logs while running the cause of error could not be found from your log.

I have removed the quite option while running the composer to get the error.
You will require to run the testing branch to show where the error occur:

Please run this command and show the log to get the error:

$ yunohost app install --debug https://github.com/YunoHost-Apps/Firefly-III_ynh/tree/testing

Hi,
Thanks for your time and this test branch ! :slight_smile:

After running your command line, here is the interesting part of logs:
(seems that a dependency is missing)

WARNING Your requirements could not be resolved to an installable set of packages.
196540 WARNING 
196542 WARNING   Problem 1
196546 WARNING     - The requested PHP extension ext-ldap * is missing from your system. Install or enable PHP's ldap extension.
196548 WARNING   Problem 2
196552 WARNING     - Installation request for adldap2/adldap2 v8.1.5 -> satisfiable by adldap2/adldap2[v8.1.5].
196558 WARNING     - adldap2/adldap2 v8.1.5 requires ext-ldap * -> the requested PHP extension ldap is missing from your system.
196560 DEBUG + ynh_die 'Unable to update firefly-iii core dependencies'
196562 WARNING   Problem 3
196564 DEBUG + echo 'Unable to update firefly-iii core dependencies'
196566 WARNING     - adldap2/adldap2 v8.1.5 requires ext-ldap * -> the requested PHP extension ldap is missing from your system.
196568 DEBUG + exit 1
196570 WARNING     - adldap2/adldap2-laravel v4.0.10 requires adldap2/adldap2 ^8.0 -> satisfiable by adldap2/adldap2[v8.1.5].
196571 DEBUG + ynh_exit_properly
196572 WARNING     - Installation request for adldap2/adldap2-laravel v4.0.10 -> satisfiable by adldap2/adldap2-laravel[v4.0.10].
196574 DEBUG + local exit_code=1
196575 WARNING 
196577 DEBUG + '[' 1 -eq 0 ']'
196578 WARNING   To enable extensions, verify that they are enabled in your .ini files:
196579 DEBUG + trap '' EXIT
196581 WARNING     - /etc/php/7.2/cli/php.ini
196582 DEBUG + set +eu
196583 WARNING     - /etc/php/7.2/cli/conf.d/10-mysqlnd.ini
196585 DEBUG + echo -e '!!\n  firefly-iii'\''s script has encountered an error. Its execution was cancelled.\n!!'
196586 WARNING     - /etc/php/7.2/cli/conf.d/10-opcache.ini
196587 DEBUG + type -t ynh_clean_setup
196589 WARNING     - /etc/php/7.2/cli/conf.d/10-pdo.ini
196590 DEBUG + ynh_die
196591 WARNING     - /etc/php/7.2/cli/conf.d/15-xml.ini
196593 DEBUG + echo ''
196594 WARNING     - /etc/php/7.2/cli/conf.d/20-bcmath.ini
196596 DEBUG + exit 1
196597 WARNING     - /etc/php/7.2/cli/conf.d/20-calendar.ini
196598 WARNING     - /etc/php/7.2/cli/conf.d/20-ctype.ini
indent preformatted text by 4 spaces 196600 WARNING     - /etc/php/7.2/cli/conf.d/20-curl.ini
196601 WARNING     - /etc/php/7.2/cli/conf.d/20-dom.ini
196603 WARNING     - /etc/php/7.2/cli/conf.d/20-exif.ini
196604 WARNING     - /etc/php/7.2/cli/conf.d/20-fileinfo.ini
196606 WARNING     - /etc/php/7.2/cli/conf.d/20-ftp.ini
196607 WARNING     - /etc/php/7.2/cli/conf.d/20-gd.ini
196609 WARNING     - /etc/php/7.2/cli/conf.d/20-gettext.ini
196610 WARNING     - /etc/php/7.2/cli/conf.d/20-iconv.ini
196612 WARNING     - /etc/php/7.2/cli/conf.d/20-intl.ini
196613 WARNING     - /etc/php/7.2/cli/conf.d/20-json.ini
196615 WARNING     - /etc/php/7.2/cli/conf.d/20-mbstring.ini
196616 WARNING     - /etc/php/7.2/cli/conf.d/20-mysqli.ini
196617 WARNING     - /etc/php/7.2/cli/conf.d/20-pdo_mysql.ini
196619 WARNING     - /etc/php/7.2/cli/conf.d/20-phar.ini
196620 WARNING     - /etc/php/7.2/cli/conf.d/20-posix.ini
196622 WARNING     - /etc/php/7.2/cli/conf.d/20-readline.ini
196623 WARNING     - /etc/php/7.2/cli/conf.d/20-shmop.ini
196624 WARNING     - /etc/php/7.2/cli/conf.d/20-simplexml.ini
196626 WARNING     - /etc/php/7.2/cli/conf.d/20-sockets.ini
196627 WARNING     - /etc/php/7.2/cli/conf.d/20-sysvmsg.ini
196629 WARNING     - /etc/php/7.2/cli/conf.d/20-sysvsem.ini
196630 WARNING     - /etc/php/7.2/cli/conf.d/20-sysvshm.ini
196632 WARNING     - /etc/php/7.2/cli/conf.d/20-tokenizer.ini
196633 WARNING     - /etc/php/7.2/cli/conf.d/20-wddx.ini
196635 WARNING     - /etc/php/7.2/cli/conf.d/20-xmlreader.ini
196636 WARNING     - /etc/php/7.2/cli/conf.d/20-xmlwriter.ini
196638 WARNING     - /etc/php/7.2/cli/conf.d/20-xsl.ini
196639 WARNING     - /etc/php/7.2/cli/conf.d/20-zip.ini
196641 WARNING   You can also run `php --ini` inside terminal to see which files are used by PHP in CLI mode.
196642 WARNING Unable to update firefly-iii core dependencies
196643 WARNING !!
196645 WARNING   firefly-iii's script has encountered an error. Its execution was cancelled.
196646 WARNING !!
196648 WARNING

Recently Firefly-III added the support for Ldap but I did not get time to test it with Yunohot. But of course the new version require php ldap plugin which I forgot to add as dependency.

I have added the the plugin in testing branch. You can test the same branch and see if Firefly-III works well.

1 Like

It seems to work !

Thanks for your time and your work

1 Like