1
0
mirror of https://github.com/mailcow/mailcow-dockerized.git synced 2024-12-23 02:04:46 +02:00
Commit Graph

191 Commits

Author SHA1 Message Date
andryyy
184963f760
[Helper] Use NC 20 2021-03-13 12:38:42 +01:00
andryyy
628e699538
[Helper] Add ejabberd to build overrides 2021-02-11 09:36:14 +01:00
andryyy
46928269bb
[Backup Helper] Possible workaround for #3913 2020-12-31 23:26:03 +01:00
Luca Kröger
d3e21aae08
added selinux labels to backup_and_restore script (#3874) 2020-12-06 09:29:25 +01:00
andryyy
0a593bfe7b
[Dovecot, Helper] Add HAProxy listener for 4190/tcp sieve 2020-11-19 16:02:05 +01:00
andryyy
100650a25e
[Helper] Use 999:999 as owner instead of mysql:mysql 2020-11-04 10:17:59 +01:00
Max
b11e9ee1d3
Add option to reset a password to nextcloud.sh (#3806)
* Added option to reset a passwort

* Fix minor typo
2020-10-13 21:31:01 +02:00
andryyy
31d5b85648 Revert "[Helper] Install Nextcloud 20"
This reverts commit 5e7bacaeb4.
2020-10-08 16:52:41 +02:00
andryyy
5e7bacaeb4
[Helper] Install Nextcloud 20 2020-10-08 16:51:25 +02:00
andryyy
d3a14f397c
[Helper] Allow to run backup script everywhere 2020-10-03 11:11:48 +02:00
Maxim Baz
05a5f9e84a
Support mailcow.conf being a symlink (#3770)
* Support mailcow.conf being a symlink

* Detect BusyBox sed in update.sh
2020-09-20 22:07:37 +02:00
andryyy
aab7efae79
[SOGo] Update to 5.0.0.20200816-1 2020-08-16 11:59:03 +02:00
fherbert
cb1ea703e2
Check port 25 and use smtp protocol to check postfix certificate. Fixes #3636 (#3637) 2020-07-06 07:06:12 +02:00
andryyy
0cfdd763f8
[Feature] Add HAProxy listeners and an example override file 2020-07-04 19:30:40 +02:00
Ry3nlNaToR
5d36828f00
Speed up Gziping of backup (#3623)
Changed Gzip compression level to default (-6)
2020-06-26 22:09:43 +02:00
Florian Lindner
36890de7f4
Make delete-days delete only files with mailcow-* in backup location (#3609)
Co-authored-by: Florian Lindner <florian.lindner@ipvs.uni-stuttgart.de>
2020-06-15 07:28:42 +02:00
andryyy
7a90fabac8 Merge branch 'master' of https://github.com/mailcow/mailcow-dockerized 2020-06-06 01:14:37 +02:00
andryyy
ab5d78f675
[Postfix] Fix "disallow login": A catch-all will not catch mail for mailboxes with disallowed login 2020-06-06 01:12:31 +02:00
jonasled
09dc7518be
fixed backup failing (#3592) 2020-06-05 12:07:02 +02:00
andryyy
e01c24aa05
[Helper] Fix mariadb restore when "all" is selected, thanks to @takigama 2020-06-03 08:22:55 +02:00
andryyy
a036d5d5f1
[Helper] Fix expiry-dates.sh 2020-06-01 21:43:28 +02:00
andryyy
443cc89498
[Helper] expiry-dates.sh to check expiry dates 2020-06-01 21:10:56 +02:00
andryyy
3e0be1cb0b
[Nextcloud] Update helper 2020-05-05 08:21:07 +02:00
andryyy
c58c281601
[Nextcloud] Update helper 2020-05-05 08:13:47 +02:00
Süleyman ŞAHİN
ccf65fb50f
Update backup_and_restore.sh (#3493)
Fix error while "Arguments to -type should contain only one letter" on CentOS
2020-04-19 09:56:56 +02:00
Christian Burmeister
25f7ecc542
Update backup_and_restore.sh (#3490)
Upate debian docker image from "debian:stretch-slim" to "debian:buster-slim".
2020-04-18 20:13:38 +02:00
Timo N
a63bad41bf
[Helper] Added name to backup and restore containers (#3477) 2020-04-14 14:20:05 +02:00
andryyy
e7a8c84c03
[Helper] Remove useless rsync 2020-04-13 21:35:20 +02:00
andryyy
07c7da2821
[Helper] Create tar archives for SQL backups 2020-04-06 18:46:31 +02:00
andryyy
212c18fd08
[Helper] backup fixes 2020-03-29 15:50:29 +02:00
andryyy
a71d991c12
[Helper] Fix for numbers in compose project name 2020-03-29 10:45:27 +02:00
andryyy
ba246d34cb [Helper] Some minor improvements 2020-03-28 19:50:18 +01:00
Marc-Niclas H
f7b94f8d77
Fix restore script not restoring MySQL database on restore (#3383)
* Fix restore script not restoring MySQL database on restore

* Add missing 'type' and 'maxdepth' options to 'find' command in backup and restore script
2020-03-03 20:12:11 +01:00
andryyy
a1156c38fc
[Helper] Use mariabackup for SQL 2020-02-26 07:09:56 +01:00
andryyy
c3d53f128b
[Helper] Update to Alpine 3.10 for helper script 2020-01-29 10:38:17 +01:00
andryyy
63c0ddf2a5
[Compose] Allow to set repository in docker-compose.override.yml 2019-12-07 17:18:14 +01:00
andryyy
95995d1529 [Helper] Missing helpers 2019-11-25 07:56:06 +01:00
andryyy
dff81eda19
[Helper] Move override examples to helper-scripts/docker-compose.override.yml.d 2019-11-24 12:51:07 +01:00
Timo Reymann
3453207301 Make restore not only find .tar.gz but also .gz for mysql backup (#3113)
* Make restore not only find .tar.gz but also .gz for mysql backup

* Fix coment for changed restore

* Fix cosmetic for selection
2019-11-14 09:35:57 +01:00
andryyy
ea4da60c36
[Helper] Add template for external dns servers, do NOT use public resolvers or private resolvers forwarding to public resolvers 2019-11-01 12:25:07 +01:00
andryyy
ccd9d934d6
[Helper] New parameter --delete-days to delete backups older than n days 2019-10-23 21:41:19 +02:00
André Peters
7d773e6bae
Merge pull request #2922 from timo-reymann/master
Resolve #2794 Add restore for 'all'
2019-10-19 15:34:49 +02:00
friedPotat0
0d12be8c3b remove tmp folder 2019-09-18 15:32:56 +02:00
friedPotat0
ea8c002eff update postscreen whitelist 2019-09-18 15:30:43 +02:00
friedPotat0
6d41561faa add postscreen whitelist update script 2019-09-18 15:30:21 +02:00
Timo Reymann
45aa7b45fc
#2794 Make parts to restore depend on backup folder contents 2019-09-08 12:21:12 +02:00
Timo Reymann
752f2417de
Resolve #2794 Add restore for 'all' 2019-09-08 10:54:21 +02:00
Jeroen Jacobs
91ff9db147
Omits the verbose option for gzip in the backup script
The verbose option dumps a progress percentage to `STDERR`. I'm piping `STDOUT` to `/dev/null` in my backup cron job but I'd like to keep `STDERR` in case something goes wrong. However because the progress gets dumped to `STDERR` by gzip it means it will always look like something went _wrong_.
2019-06-28 22:49:02 +02:00
andryyy
71e734dc49 [Helper] Update Nextcloud helper - todo: fix upgrade... 2019-05-24 16:02:13 +02:00
wucke13
8fa6083036 "Repaired" shebang for check_translations.rb
Most work was done in 7dc0a05a71, though
`check_translation.rb` still had a hardcoded shebang. This is now
fixed. #2590 is now fully resolved too.
2019-05-11 14:21:59 +02:00
Harald Glatt
7dc0a05a71 Update all helper scripts to '/usr/bin/env bash' shebang 2019-05-10 15:41:24 +02:00
andryyy
cd88165282
[Nextcloud] Always install under subdomain, minor changes to site config and install script 2019-04-14 13:26:53 +02:00
andryyy
a654f7766d
[Helper] Fix nc script, fixes #2484 - again 2019-03-31 22:05:35 +02:00
andryyy
ae21646c5a
[Helper] Fix nc script, fixes #2484 2019-03-31 22:04:25 +02:00
andryyy
884c7fade1
[Helper] Remove custom_apps from NC 2019-03-12 02:49:31 +01:00
andryyy
680ddec687
[Helper] Do not delete updater 2019-03-11 08:56:46 +01:00
eXtremeSHOK
8971dc76e9
Make backups rsynacable
references #2308 
```
I have also confirmed the base-image has support for the rsyncable option
root@whitebox:~#  docker run  debian:stretch-slim gzip --help | grep rsyncable
  --rsyncable       Make rsync-friendly archive
```
2019-02-12 15:58:38 +02:00
Alice Ferrazzi
5a56965a48
Create nested directory for backup
/home/myhome/dir1/dir2/ is not a directory
create it now?

The expected result is that it create the folder also if is nested.
2019-02-09 02:11:46 +09:00
andryyy
500f643169
[Helper] Run db:convert-filecache-bigint after installation of Nextcloud 2019-01-12 23:13:35 +01:00
andryyy
0920bccb05
[Helper] Remove update function 2019-01-12 22:48:00 +01:00
andryyy
a2a963c840
[Helper] Download Nextcloud 15, add --update switch and some minor fixes 2019-01-12 08:54:53 +01:00
Timo N
578e27a66a
Made backup container mounts read only 2019-01-05 00:52:37 +01:00
andryyy
3fad851278 [Nextcloud] Use db 10 for Redis cache 2018-12-12 20:24:18 +01:00
André
5347009fbb [Helper] Do not use full network name for MySQL backup 2018-10-23 11:07:27 +02:00
André
67b3dec5a2 [Helper] Add MAILCOW_BACKUP_LOCATION as alternative to BACKUP_LOCATION to backup script, fixes #957 2018-10-15 11:37:10 +02:00
André
53832d890c [Helper] Fix mailcow reset admin to work in multi-admin environment 2018-10-11 12:01:06 +02:00
André
0fb43f4916 [Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
[Docker API] Create pipe to pass Rspamd UI worker password
[Dovecot] Pull Spamassassin ruleset to be read by Rspamd (MANY THANKS to Peer Heinlein!)
[Dovecot] Garbage collector for deleted maildirs (set keep time via MAILDIR_GC_TIME which defaults to 1440 minutes)
[Web] Flush memcached after mailbox item changes, fixes #1808
[Web] Fix duplicate IDs, fixes #1792
[Compose] Use SQL sockets
[PHP-FPM] Update APCu and Redis libs
[Dovecot] Encrypt maildir with global key pair in crypt-vol-1 (BACKUP!), also fixes #1791
[Web] Fix deletion of spam aliases
[Helper] Add "crypt" to backup script
[Helper] Override file for external SQL socket (not supported!)
[Compose] New images for Rspamd, PHP-FPM, SOGo, Dovecot, Docker API, Watchdog, ACME, Postfix
2018-09-29 22:01:23 +02:00
André
1499094b61 [PHP-FPM] Increase PHP memory limit for "web" to 512M
[Helper] Nextcloud 14
[Rspamd] Fix KEEP_SPAM lua script: skip check if ip is false
2018-09-11 19:35:21 +02:00
André
4227ec15fc Merge branch 'master' of https://github.com/mailcow/mailcow-dockerized 2018-08-03 21:17:59 +02:00
André
681a51b3ce [Helper] Add script to reset all learns in Rspamd 2018-07-29 23:02:34 +02:00
Maxim Baz
ca18ebdb42
Always backup mailcow.conf 2018-07-29 14:31:06 +02:00
André
c074597b82 [Backup Script] Fix stderr output 2018-07-09 22:28:09 +02:00
André
3e08416c6d [Helper] Fixes for volume detection of backup/restore script
[Helper] Redis timeout set to 0 in NC
[Helper] Small fixes to check_translations script
2018-04-26 22:57:20 +02:00
Roman van Gemmeren
e632b3824e + fix shebang 2018-03-31 10:18:09 +02:00
André Peters
fc53a69a44 [Helper] Nextcloud 13; Additional header for Nextcloud site
[PHP-FPM] Build gd with TTF support
2018-02-18 20:59:32 +01:00
David Escala
8ae5077775 Remove unused language keys from data/web/lang/lang.*.php
helper-scripts/check_translations.rb checks if keys present in the master
translation file are used in any php or js code.  Writes a sed comand to
stdout to remove unused keys from all lang files.

This saves unnecessary work when translating.
2018-02-09 18:56:06 +01:00
andre.peters
875b929405 [Helper] Fail on curl error, add help 2018-02-01 13:30:27 +01:00
andre.peters
a569fb3435 [Helper] Set Nextcloud trusted proxies by ipv6/4 network vars 2018-01-24 09:19:03 +01:00
André Peters
4ff1db2db5
Merge pull request #863 from apoc4lyps/dev
[Helper] Nextcloud fixes
2018-01-21 11:07:07 +01:00
andre.peters
518d346845 [Helper] Should fix nc script issue #938 2018-01-18 22:17:23 +01:00
andre.peters
686366b9f5 [Helper] Use proper names for volume and container name filters 2018-01-14 20:53:26 +01:00
andre.peters
8d47f5f347 [Helper] Remove interactive and pseudo-TTY switch 2018-01-13 22:09:17 +01:00
andre.peters
c07e521309 [Web] Fixes number validation in forms, fixes #882 2018-01-13 18:32:28 +01:00
apoc4lyps
06955f5312
Update nextcloud.sh
fix typo
2018-01-04 16:58:02 +01:00
apoc4lyps
c3aaae2a76
[Helper] Nextcloud: fix subdomain and background 2018-01-04 15:59:27 +01:00
andre.peters
a8807b5894 [Helper] Nextcloud: Use latest 12 2017-12-26 11:23:29 +01:00
André
639ba941f3 [Helper] Nextcloud helper script (wip) 2017-11-03 20:39:58 +01:00
André
819124c86e Remove helper script 2017-10-26 10:23:38 +02:00
André
db5a3ae47f [Web] Start work on ACL; [Helper] Nextcloud helper script 2017-10-26 10:21:12 +02:00
andryyy
c5054ae7ed [Watchdog] Ignore null name in jq
[Nginx] Merge sites
[Scripts] Nextcloud helper script (testing!)
2017-10-11 22:56:22 +02:00
andryyy
bf2be8410d Create helper-scripts directory for future scripts 2017-10-09 20:30:45 +02:00