Cannot login after moving to new machine


  • Used Zammad version: 3.0 -> 3.2
  • Used Zammad installation source: (source, package, …) docker-compose
  • Operating system: debian -> ubuntu 16.04
  • Browser + version: chrome

Expected behavior:

  • normal login

Actual behavior:

  • cannot login, display message with invalid login credentials
  • still displays “Login over old machine IP”

Steps to reproduce the behavior:

moved from debian to ubuntu, running on docker-compose

  • zammad version 3.0.x -> 3.2.x ( is this the problem!)
    postgres DB

Steps followed :

docker-compose stop zammad-nginx zammad-websocket zammad-railsserver zammad-memcached zammad-elasticsearch zammad-scheduler

  • took backup from debian

  • dropped db
    docker-compose exec zammad-postgresql su -c ‘dropdb zammad_production’ - postgres
    docker-compose start zammad-scheduler
    docker-compose exec zammad-scheduler bundle exec rake db:create

  • tried using restore script as well as manually (imported db , ran db:migrate and cleared cache )
    ** docker-compose exec zammad-railsserver bundle exec rake db:migrate
    ** docker-compose exec zammad-railsserver bundle exec rails runner ‘Rails.cache.clear’

  • restarted all
    docker-compose stop; docker-compose start && docker-compose logs -f

my databse size on new machine is same as on old one.
without any Luck, any clues ?

Restoring the backup from a 3.0 installation will overwrite 3.2 files and let you end up in a 3.2 container together with 3.0 source files. You’ll need to push the current version again to force the container to update your files.

If you entered a login message on the login page, it will of course provide that same message. Ensure you don’t have strange proxy settings (or in general changes proxy settings) that might let you end up on the old setup.

Also you might want to have a look at the production log which might tell you what the issue is.