I’ve gone through the process of installing Zammad on a new server and to migrate our current installation to the new one. However, I cannot get Zammad to run, and always get an nginx error. When I try to run # zammad run rails c, I get the following error:
Stop postgresql, delete it’s data (/var/lib/pgsql/data), initialize DB: initdb -E UTF8 -D /var/lib/pgsql/data/. Of course I assume you have no valuable data in postgres.
Check your /opt/zammad/config/database.yml - I guess the reason for this error can be found there.
Anyway, I’d reinstall zammad (apt remove zammad and apt-get update && apt install zammad). Looks like your installation went teribly wrong.