doku:server:zammad1.shackspace.de
Inhaltsverzeichnis
zammad1.shackspace.de
Manuelle Ergänzungen
Logrotate
Zusätzlich zu normalem Logrotate für elasicsearch logs, mangels Wissen um korrekte log4j-Konfiguration:
cat <<'EOF' >/etc/cron.daily/logexpire-elasticsearch find /var/log/elasticsearch -type f -name 'elasticsearch-*' -ctime +30 -print0 | xargs -0 --no-run-if-empty rm EOF chmod +x /etc/cron.daily/logexpire-elasticsearch
Backup
Backup der lokalen Postgresinstanz ins Dateisystem nach /var/backups/postgresql
mit autopostgresbackup
. Kleiner Zusatzjob /etc/cron.daily/autopostgresbackup-expire
der Backups die älter als 4 Tage sind löscht, zu wenig Platz auf dem System für mehr.
Index Rebuild
Wenn die Suche nicht mehr funktioniert:
- /etc/init.d/elasticsearch stop
- mv /var/lib/elasticsearch /var/lib/elasticsearch-$( date -I )
- mkdir /var/lib/elasticsearch
- chown elasticsearch: /var/lib/elasticsearch
- /etc/init.d/elasticsearch start
- zammad run rake searchindex:rebuild
- Stand: 2025-05-18
doku/server/zammad1.shackspace.de.txt · Zuletzt geändert: 2025-05-18 20:12 von chris