Restore from backup for zammad build manually

  • Zammad version 6.2.0-1709819739.c4f4ca8b.focal
  • Used Zammad installation type: source
  • Operating system: Ubuntu 22.04
  • Browser + version: Google Chrome 133.0.6943.100

Expected behavior:

  • After performing restore, the contents of everything that was on the original machine

Actual behavior:

  • After performing restore in the browser on localhost:3000 I get the page “getting start”

Steps to reproduce the behavior:

  • Built from github zammad 6.2 sources.
    Performed a restore and got:
    "

    ALTER TABLE ONLY public.tickets
    ADD CONSTRAINT fk_rails_fc553dc329 FOREIGN KEY (state_id) REFERENCES public.ticket_states(id);

Clearing Cache …

/usr/bin/env: ‘ruby’: No such file or directory

Starting Zammad

Zammad restored successfully - Fr 21 Feb 2025 04:04:50 MSK!

"
As I understand, after this I should execute
“sudo zammad run rake zammad:searchindex:rebuild”
But I get: sudo: zammad: command not found

zammad run is exclusive to package installations. Zammad 6.2 is outdated and should no longer be used.

Hello! Yes, I understand that Zammad 6.2 is outdated and I should update the system to the latest version. But now I have to solve another problem that I described in the topic.

I still have little understanding of how the components needed to assemble and operate Zammad work.

You wrote that “zammad run is exclusive to package installations.”. But does “sudo zammad run rake zammad:searchindex:rebuild” install the package in this case?

Figured out the problem. It was enough to log in under user “zammad”.

su zammad
cd /opt/zamamd/
run rake zammad:searchindex:rebuild”