Permalink
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
137 lines (77 sloc) 2.44 KB

Updating Zammad

Source update

Note

Please backup your Zammad instance before update!

1. Download Zammad to your system

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

2. Install all dependencies

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

3. Stop Zammad services

Stop the application server, websocket server and scheduler.

4. Upgrade your database

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

5. Start Zammad services

Start the application server, websocket server and scheduler.

6. Go and login to Zammad

Update with RPM

Note: Please backup your Zammad instance before update!

1. Stop Zammad

shell> sudo systemctl stop zammad

3. Update Zammad

shell> sudo yum update zammad

Note: The package will automatically execute maintenance tasks like database changes and will restart Zammad for you.

4. Start Zammad

shell> sudo systemctl start zammad

5. Go and log in to Zammad

Update with DEB

Note: Please backup your Zammad instance before update!

1. Stop Zammad

shell> sudo systemctl stop zammad

3. Update 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.

4. Start Zammad

shell> sudo systemctl start zammad

5. Go and log in to Zammad