Package Details: zammad 5.1.0-1

Git Clone URL: https://aur.archlinux.org/zammad.git (read-only, click to copy)
Package Base: zammad
Description: Zammad is a web-based, open source user support/ticketing solution.
Upstream URL: https://zammad.org
Licenses: AGPL
Submitter: patstew
Maintainer: patstew
Last Packager: patstew
Votes: 2
Popularity: 0.061569
First Submitted: 2021-10-06 13:46 (UTC)
Last Updated: 2022-04-18 15:40 (UTC)

Pinned Comments

patstew commented on 2021-10-06 13:48 (UTC) (edited on 2021-10-06 13:54 (UTC) by patstew)

This package installs the package to /opt/zammad, and creates a zammad user for you. You still need to do a fair amount of manual configuration. I already had nginx and postgres setup. Here are the commands I needed, roughly:

# See also https://docs.zammad.org/en/latest/install/source.html
# As postgres user, createuser and createdb to make a user and db called zammad
# As root
elasticsearch-keystore create
/usr/share/elasticsearch/bin/elasticsearch-plugin install ingest-attachment
nano /etc/elasticsearch/jvm.options # Adjust memory usage
systemctl enable --now elasticsearch
# As zammad
su - zammad
rvm install ruby-2.6.6
rvm --default use 2.6.6
gem install bundler rake rails
bundle install --without test development mysql --gemfile=/opt/zammad/Gemfile
cp /opt/zammad/config/database/database.yml /opt/zammad/config/database.yml
nano /opt/zammad/config/database.yml # Set database you just made
rake db:migrate
rake db:seed
rake assets:precompile
rails r "Setting.set('es_url', 'http://localhost:9200')"
rake searchindex:rebuild
exit
# As root again
cp /opt/zammad/contrib/nginx/zammad_ssl.conf /etc/nginx/sites-enabled/zammad.conf
nano /etc/nginx/sites-enabled/zammad.conf # Tweak webserver, add ssl keys
systemctl enable --now zammad
systemctl reload nginx
# Follow https://docs.zammad.org/en/latest/getting-started/first-steps.html

Latest Comments

patstew commented on 2021-10-06 13:48 (UTC) (edited on 2021-10-06 13:54 (UTC) by patstew)

This package installs the package to /opt/zammad, and creates a zammad user for you. You still need to do a fair amount of manual configuration. I already had nginx and postgres setup. Here are the commands I needed, roughly:

# See also https://docs.zammad.org/en/latest/install/source.html
# As postgres user, createuser and createdb to make a user and db called zammad
# As root
elasticsearch-keystore create
/usr/share/elasticsearch/bin/elasticsearch-plugin install ingest-attachment
nano /etc/elasticsearch/jvm.options # Adjust memory usage
systemctl enable --now elasticsearch
# As zammad
su - zammad
rvm install ruby-2.6.6
rvm --default use 2.6.6
gem install bundler rake rails
bundle install --without test development mysql --gemfile=/opt/zammad/Gemfile
cp /opt/zammad/config/database/database.yml /opt/zammad/config/database.yml
nano /opt/zammad/config/database.yml # Set database you just made
rake db:migrate
rake db:seed
rake assets:precompile
rails r "Setting.set('es_url', 'http://localhost:9200')"
rake searchindex:rebuild
exit
# As root again
cp /opt/zammad/contrib/nginx/zammad_ssl.conf /etc/nginx/sites-enabled/zammad.conf
nano /etc/nginx/sites-enabled/zammad.conf # Tweak webserver, add ssl keys
systemctl enable --now zammad
systemctl reload nginx
# Follow https://docs.zammad.org/en/latest/getting-started/first-steps.html