akaunting / docker

Docker Image for Akaunting
https://github.com/akaunting/akaunting
GNU General Public License v3.0
182 stars 85 forks source link

500 on Login only in "Prod Mode" #85

Open henry4711lp opened 1 year ago

henry4711lp commented 1 year ago

I am encoutering a 500 error when i try to login. The error doesnt appear when running akaunting with the AKAUNTING_SETUP=true flag

kaibloecker commented 1 year ago

I am having the same problem. The log output I get is akaunting-db | 2023-01-07 18:34:25 4 [Warning] Access denied for user 'admin'@'%' to database 'forge'

Login works fine, when AKAUNTING_SETUP=true is set.

ddelagneau commented 1 year ago

Hi @henry4711lp looks like that the variable database name is not set correctly, setting DB_DATABASE instead of DB_NAME woks for me

Related to https://github.com/akaunting/docker/issues/81