Can't login to Zammad after zendesk import

Hi all, greetings!

I’m trying out Zammad and have it installed on a vmware machine locally using Ubuntu 22.04.
I’ve managed to import almost 8000 tickets from my zendesk to Zammad but for some reason I can’t login after the import. I have tried password reset, tried creating a new user and even tried using the API token as password but none seem to work (In this last option I get the following message: “CSRF token verification failed!”.

Could someone please bring me some light? I don’t want to give up on this.

P.S.: Not a very savvy person in Linux myself but I can follow instructions and throw a few commands. Please be kind to me, LOL.

Hi @LugutaTecnologia. Are you using a package install?

You need to check your http_type as well as your fqdn settings I guess.

Tks for your reply, I’ve followed this guide to install it:

I’m not sure what I need to adjust after the migration, could you be more detailed if possible?

Thank you, I’m really new to this and need to make it work.

The official documentation does have you covered.
https://docs.zammad.org/en/latest/admin/console/zammad-settings.html

2 Likes

@LugutaTecnologia see here as well.

Ok, just to be sure, I’m testing this on a local VM machine. Are you saying I need to adjust the FQDN to my machine’s IP? Is that it?
Also, this machine has no certificate, should the HTTP type be http plain and simple?

Thank you

Ok, just to be sure, I’m testing this on a local VM machine. Are you saying I need to adjust the FQDN to my machine’s IP? Is that it?
Also, this machine has no certificate, should the HTTP type be http plain and simple?

Thank you

Dude, I must be dumb. I’m not sure how to run those commands, I get a sintax error…Do I have to enter something prior to Setting.get(‘fqdn’) in order to use it on the console?

Never mind, just saw it on the doc that I have to call rails using the zammad run rails c command. After doing that and changing the FQDN it worked like a charm!

Thank you both, this can be considered solved.

For those like me (I’m working using putty on a windows machine).

-SSH to your Zammad
-Use SU - to elevate to root
-Call the rails console using the command: “zammad run rails c”
-Check the FQDN using Setting.get(‘fqdn’) (It will show something like zammad.example.com).
-Change the FQDN to your IP or domain name if configured using "Setting.set(‘fqdn’, ‘new.domain.tld’)

In my case HTTP was already correct, but if yours is not:

-Check the HTTP using "Setting.get(‘http_type’)
-If you need to change it either to HTTP or HTTPS use: "Setting.set(‘http_type’, ‘https’) if for example you want to change it to HTTPS.

Thank you for helping me on this.

Cheers!

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