docker exec -it zammad-docker-compose-zammad-railsserver-1 sh
$ rails c
I, [2023-07-07T16:15:16.080217#91-5400] INFO – : Using the Redis back end for Zammad’s web socket session store.
Loading production environment (Rails 6.1.7.3)
irb(main):001:0> Ticket::Priority.pluck(:name)
=> [PRIORITIES ARRAY]
irb(main):002:0>
Hi @pabloR_77. I was able to check this in a test environment, currently, I have no idea what’s going on there. I’ll try to clarify this in the next week.
You need to provide the correct credentials for the database, otherwise, the nulldb adapter is used and you’re not getting any results. Maybe this helps.
Hi @fliebe92 , thank you for your swift responses,
For your suggestion, I modified the .env and docker-compose.yml (since I use external DB), because zammad wont running with the existing .env. Here is my container info
Hi @pabloR_77 , tried to exec to railserver container, edit the config/database.yml with my adapter and other information related to DB. It works, but I dont like the solution.
Just my 2 cents but you shouldn’t need to adjust the database.yml of Zammads docker-compose at all.
As far as I’m aware the init container is adjusting it itself already.
Not sure what’s going wrong here but this might be a bug.