Infos:
- Used Zammad version: 6.1.0-1701845240.5a81e629.buster
- Used Zammad installation type: apt package
- Operating system: Debian 11 & 12
Expected behavior:
- successfull required maintenance tasks after restoring on new host on running
zammad run rails r "Rails.cache.clear"
Actual behavior:
- error returned by
zammad run rails r "Rails.cache.clear"
command:
/opt/zammad/lib/core_ext/net/smtp/auth_xoauth2.rb:6:in '<class:SMTP>': uninitialized constant Net::SMTP::Authenticator (NameError)
Steps to reproduce the behavior:
- Create new Debian 11 or 12 (tried with both, the problem occurs anyway)
- Successfully follow migration steps 1 to 8 to migrate from previous host to new host Migrate Zammad to New Host — Zammad System Documentation documentation
- Launch
sudo zammad run rails r "Rails.cache.clear"
- Read the output:
/opt/zammad/lib/core_ext/net/smtp/auth_xoauth2.rb:6:in
class:SMTP’: uninitialized constant Net::SMTP::Authenticator (NameError)`
Tried:
- Running
sudo zammad run rails r "Rails.cache.clear
before restoring backup to new host: all works. The problem occurs only after restoring backup from previous host. - Migrate to new host on Debian 11 instead of Debian 12: same error
uninitialized constant Net::SMTP::Authenticator (NameError)
occurs.
NB:
- backed up installation does NOT used any xoauth2 Microsoft nor Gmail account