Note: Please backup your Zammad instance before update!
You can directly download Zammad from https://ftp.zammad.com/ or use the direct URL to get the latest stable release via https://ftp.zammad.com/zammad-latest.tar.gz
root@shell> cd /opt root@shell> wget https://ftp.zammad.com/zammad-latest.tar.gz root@shell> tar -C zammad -xzf zammad-latest.tar.gz root@shell> chown -R zammad /opt/zammad root@shell> su - zammad
zammad@shell> cd zammad zammad@shell> gem install bundler
- For PostgreSQL (note, the option says "without ... mysql"):
zammad@shell> bundle install --without test development mysql
- For MySQL (note, the option says "without ... postgres"):
zammad@shell> bundle install --without test development postgres
Stop the application server, websocket server and scheduler.
zammad@shell> export RAILS_ENV=production zammad@shell> export RAILS_SERVE_STATIC_FILES=true # only if you use no HTTP reverse proxy zammad@shell> rake db:migrate zammad@shell> rake assets:precompile
Start the application server, websocket server and scheduler.
Note: Please backup your Zammad instance before update!
During development we reorganized our repo structure. Please update your /etc/yum.repos.d/zammad.repo with the correct baseurl (see below).
CentOS7
echo "[zammad] name=Repository for zammad/zammad application. baseurl=https://rpm.packager.io/gh/zammad/zammad/centos7/stable enabled=1" | sudo tee /etc/yum.repos.d/zammad.repo
shell> sudo systemctl stop zammad
shell> sudo yum update zammad
Note: The package will automatically execute maintenance tasks like database changes and will restart Zammad for you.
shell> sudo systemctl start zammad
Note: Please backup your Zammad instance before update!
During development we reorganized our repo structure. Please update your /etc/yum.repos.d/zammad.repo with the correct baseurl (see below).
echo "deb https://deb.packager.io/gh/zammad/zammad jessie stable" | sudo tee /etc/apt/sources.list.d/zammad.list
echo "deb https://deb.packager.io/gh/zammad/zammad xenial stable" | sudo tee /etc/apt/sources.list.d/zammad.list
shell> sudo systemctl stop zammad
shell> apt-get update shell> apt-get upgrade
Note: The package will automatically execute maintenance tasks like database changes and will restart Zammad for you.
shell> sudo systemctl start zammad