MrGeneration / KB Catalan redirect

0 Kedvelések
0 forkok
2 fájlok
Utoljára aktív 22 hours 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;

MrGeneration / Limit Elasticsearch Memory Usage

0 Kedvelések
0 forkok
1 fájlok
Utoljára aktív 22 hours 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 Kedvelések
0 forkok
8 fájlok
Utoljára aktív 22 hours 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 # The following action is NOT reversible but is significantly faster.
2 # Use at own descression - replace oldversion with your old version and newversion with your new version
3
4 pg_upgradecluster --method=upgrade --link <oldversion> main /var/lib/postgresql/<newversion>/main/

MrGeneration / Zammad 6.2: Enforce SSL-Verification

0 Kedvelések
0 forkok
4 fájlok
Utoljára aktív 22 hours 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 # Side note: Elasticsearch has an option to verify SSL as well. This might be an edge case.
2 # By default these certificates are self-signed and thus you may not want to run this at all
3 Setting.set('es_ssl_verify', true)
Újabb Régebbi