MrGeneration / KB Catalan redirect

0 j'aimes
0 forks
2 fichiers
Dernière activité 1 week ago
Redirects outdated locale slug for knowledge bases from 'es-ca' to 'ca' for improved usability and very easy switching. As shown in the Zammad 7.0 Release video: https://www.youtube.com/watch?v=unwYUx5--7M
1 # Default /help URL (replace help with your custom alias if needed; NOT for custom domains)
2 rewrite ^/help/es-ca/(.*)$ /help/ca/$1 permanent;
3
4 # for custom URLs
5 rewrite ^/es-ca/(.*)$ /ca/$1 permanent;
Dernière activité 1 month ago
Commands used as shown in the video https://youtu.be/P-Pr7Dy6mP8 .

Preview not available

MrGeneration / Limit Elasticsearch Memory Usage

0 j'aimes
0 forks
1 fichiers
Dernière activité 9 months ago
Code snippet to create linked storage directories for Zammad. As shown in https://youtu.be/EorlfrN6n60
1 # /etc/elasticsearch/jvm.options.d/heap-size.conf
2 # Below limits Elasticsearch to 1GB memory usage
3 # It uses 50% of your hosts memory by default otherwise
4 -Xms1g
5 -Xmx1g

MrGeneration / Debian / Ubuntu Upgrade

0 j'aimes
0 forks
8 fichiers
Dernière activité 11 months ago
This gist provides contextual copy paste options for Distribution upgrades with installed Zammad and PostgreSQL for Debian (10, 11, 12) and Ubuntu (18, 20, 22). Video context to this: https://youtu.be/IXp4VWU27wo
1 systemctl disable zammad --now
2 apt-mark hold zammad
3 apt update
4 apt upgrade
5
6 # Continue with step 2 or 3 depending on your current state

MrGeneration / Zammad 6.2: Enforce SSL-Verification

0 j'aimes
0 forks
4 fichiers
Dernière activité 2 years ago
With Zammad 6.2 existing configurations for Email channels and i-doit by default have ssl verification disabled. This code snippet activates SSL verification. This change ONLY affects existing, update installations.
1 # If you've configured "SSL-Verification: true" on previous Zammad-Versions, this setting is going to be a problem.
2 # Below turns off SSL verification for all LDAP-Sources. You then can login again and have the time needed to fix the configuration.
3
4 LdapSource.all.each do |l|
5 l.preferences.merge!("ssl_verify"=>false)
6 l.save
7 end;
Plus récent Plus ancien