docker icon indicating copy to clipboard operation
docker copied to clipboard

500 on Login only in "Prod Mode"

Open henry4711lp opened this issue 3 years ago • 2 comments

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

henry4711lp avatar Dec 15 '22 17:12 henry4711lp

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.

kaibloecker avatar Jan 07 '23 18:01 kaibloecker

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

ddelagneau avatar Feb 12 '23 23:02 ddelagneau