Install CentOS 9 based distro (AlmaLinux 9) to install Zammad version 6.5.2 or above to migrate data.
Actual behavior:
Since CentOS 8 is no longer supported, I am stuck with my deployment on version 6.5.2 that’s on AlmaLinux 8 and need to migrate to a new host. I reinstalled a new host with AlmaLinux 9 but the only versions available seem to be 7.0.0 and 7.0.1. But now I can’t migrate as I have the issue that after doing a backup & restore, the new host doesn’t allow login because of the error:
PG::UndefinedTable: ERROR: relation "ai_agents" does not exist LINE 10: WHERE a.attrelid = '"ai_agents"'::regclass ^
We encountered this message after migrating from Zammad 6.5.x to Zammad 7.x.
The migration was to a Debian 13 installation. After the first boot, we received the exact same message. After running zammad run rake zammad:searchindex:rebuild
the message disappeared and login was possible. Of course, I can’t guarantee that an index rebuild will help in your case. A backup or snapshot before attempting this would certainly be highly recommended.
A backup or snapshot is recommended before performing this action.
Thank you for the solution and thanks @tweis for the suggestion. All that was needed was indeed the DB migration. I’m sure I’ve missed it somewhere in the steps but it’s now working.