How to import data using docker

hi can anyone help me with importing data from freshdesk using docker? I’ve tried using the suggested commands inside the railsserver container but any time i try to set a setting i get eg this:

Setting.set(‘import_mode’, true)

RunutimeError: Cant’d find config setting ‘import_mode’

this is the same error even if i try and read default settings so i think something is wrong eg

Setting.get(‘fqdn’)

shows same error. any ideas please? thanks

Make sure to use the latest docker compose. There where many changes in the last 3-4 months. Also make sure to use a current Zammad version.

Can you connect to your container with docker-entrypoint.sh and try again

$ docker exec zammad-docker-compose-zammad-railsserver-1 /docker-entrypoint.sh rails r ‘…your rails command here…’

https://docs.zammad.org/en/latest/install/docker-compose.html?highlight=docker#step-4-start-zammad-using-dockerhub-images