Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


SOLVED Firefly III: A personal finances manager


  • Staff

    @timbo Yes, I was just updating the package adding the popular locales.



  • Sorry for hitting you up again but i still get the problem, even after uninstall and a fresh install with the package being last updated "about 10 minutes" ago. i even made sure that the right locales are installed on my root and rebootet the server.


  • Staff

    @timbo The locales have to be installed in the app package and not on the server. I just pushed the update now (package version 1.1.0). Can you try on that? Just install a new ff to get the latest package or updates -> check for updates.



  • @girish Yes it works now after manually updating again, confirming Package 1.1.0 being installed with the pop locales. Thanks girish for you amazing work!



  • @girish It seems there is still an error in this app.

    After adding a recurring transaction, the UI shows the following warning:

    Message: It seems the cron job that is necessary to support recurring transactions has never run. This is of course normal when you have just installed Firefly III, but this should be something to set up as soon as possible. Please check out the help-pages using the (?)-icon in the top right corner of the page.

    After looking into it, I found that the cron job is added in the CloudronManifest.json file. But looking in the application logs, showed nothing about that task actually being run.

    So I opened the console, and ran the command manually:

    sudo -u www-data php /app/code/artisan firefly-iii:cron

    This resulted in an error. Instead of pasting the gigantic stack trace, let me summarize it:

    [2020-02-08 00:24:14] local.ERROR: SQLSTATE[08006] [7] invalid port number: "${CLOUDRON_POSTGRESQL_PORT}" (SQL: select * from "recurrences" where "recurrences"."deleted_at" is null order by "active" desc, "title" asc) {"exception":"[object] (Illuminate\\Database\\QueryException(code: 7): SQLSTATE[08006] [7] invalid port number: \"${CLOUDRON_POSTGRESQL_PORT}\" (SQL: select * from \"recurrences\" where \"recurrences\".\"deleted_at\" is null order by \"active\" desc, \"title\" asc) at /app/code/vendor/laravel/framework/src/Illuminate/Database/Connection.php:669)
    
    [stacktrace cut]
    
    [previous exception] [object] (Doctrine\\DBAL\\Driver\\PDOException(code: 7): SQLSTATE[08006] [7] invalid port number: \"${CLOUDRON_POSTGRESQL_PORT}\" at /app/code/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:31)
    
    [stacktrace cut]
    
    [previous exception] [object] (PDOException(code: 7): SQLSTATE[08006] [7] invalid port number: \"${CLOUDRON_POSTGRESQL_PORT}\" at /app/code/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:27)
    
    [stacktrace cut]
    

    Any idea why this fails?


  • Staff

    Looks like the sudo is missing -E. I will update the package.


  • Staff

    @jk Pushed an update now to fix it.



  • @girish Thanks. That was fast!



  • Is this app only working with LDAP? No open registration? If so, can we change this?


  • Staff

    @timbo Not yet, can you create an issue at https://git.cloudron.io/cloudron/firefly-iii-app ?


Log in to reply