Empty values in docker rails console with 6.1

Infos:

  • Used Zammad version: 6.1
  • Used Zammad installation type: docker-compose

Expected behavior:

  • running Ticket.count should return amount of tickets.

Actual behavior:

  • it returns 0

So far as I understood this problem should be fixed with 6.1 but it’s still happening after the upgrade.
If I edit the database.yml as explained here: V6.0.0 Zammad-rails return empty values - #12 by pabloR_77 it works.
I could at least process all the unprocessed mails I had due to a server issue.
Is this supposed to be fixed in 6.1? Not sure what I’m missing.

Make sure to adapt the docker-compose.yml, overrides and envs from the upstream repo. Stuff has changed and if your stack doesn’t reflect that, it won’t work.

Manual fiddling inside the container images is not needed.

Same problem here. We have to edit the file manually.

Please see my above statement, it’s still valid.

I am at the recent master branch. Problem still exits:

sudo git status
Auf Branch master
Ihr Branch ist auf demselben Stand wie ‘origin/master’.

root@f1014ea4c89b:/opt/zammad# cat config/database.yml
production:
adapter: nulldb
database: zammad_production
pool: 50
timeout: 5000
encoding: utf8
username: postgres
password:
host: zammad-postgresql

What’s the docker tag you’re using.

We work with your github repo Release v11.1.1. So we use your defined tag.

sudo docker container ls
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
9b0d7859ea82 Package zammad · GitHub “/docker-entrypoint.…” 36 minutes ago Up 35 minutes 0.0.0.0:8080->8080/tcp, :::8080->8080/tcp zammad-it

Or what specific docker tag do you mean?

The single container IS NOT made for production.

Use either docker compose:

or helm-chart

Please also use your own thread because it seems to be completely out of the scope of this threads topic aside the version we “may” be talking about.

Also I’m talking about these version tags:
image

They’re used in every scope for container based stuff and are referenced in our repos as well.

Hi,

why should i use my own thread if i had exectly the same problem with the same version and enviroment? I admit that I may not have provided all the necessary information at the beginning. If you are still of the opinion that a separate thread is useful, I would be happy to create one.

Of course we use docker compose and not a single container. That was just a shortened version.
I still don’t know where to find the version tag you need. According to your documentation, we clone the corresponding git repo > GitHub - zammad/zammad-docker-compose: Zammad Docker images for docker-compose and use 11.1.1. In the .env it only says “VERSION=6.1.0” Maybe you can tell me where I can find it?

@MrGeneration any updates to my issue?

This topic was automatically closed 360 days after the last reply. New replies are no longer allowed.