-
Greetings, I am kind of a newbie with this stuff but am slowly learning bit by bit. My issue is that I think I have followed most of the step by step procedures you have outlined, but when trying to get firefly-iii to get access to the mariadb database I have setup I am running into an issue. It is causing php to fail whatever process is being done in the "upgrade-database" command. Whenever I try to run it I get a bunch of "PHP Deprecated:" along with a bunch of file paths and then this output which says it ran into an exception. Illuminate\Database\QueryException SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo for db failed: Name or service not known (Connection: mysql, SQL: select table_name as name, (data_length + index_length) as size, table_comment as comment, engine as engine, table_collation as collation from information_schema.tables where table_schema = 'firefly' and table_type in ('BASE TABLE', 'SYSTEM VERSIONED') order by table_name) What am I supposed to do with this? It just appears like a bunch of gibberish to me. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 19 replies
-
Hey, thanks for starting this discussion. It looks like it tries to reach "db", but that address does not exist. You say you set up a mariadb. Are you running Firefly III locally, on your own machine? Or are you using Docker? Cheers, |
Beta Was this translation helpful? Give feedback.
-
Alright I ran the four commands and now I can pull up the webpage using my apache server but it is giving me this notice. Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 8.4.0" I find this strange since i have multiple versions of php on my computer, one of which is 8.4 so it should work. Do I need to tell composer or some other application to only use 8.4 and if so how do I do that? |
Beta Was this translation helpful? Give feedback.
No not a problem. Did you run
composer install
in the Firefly III installation directory?https://docs.firefly-iii.org/references/faq/install/#error-class-auth-does-not-exist