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

189 Commits

Author SHA1 Message Date
Niklas Meyer
4bf81975dc
Merge pull request #4888 from mailcow/feature/helper-scripts_nextcloud25
[Nextcloud] Update to 25 + purge fix (DB)
2022-12-23 16:07:28 +01:00
knuth
e5cf35aff8 fix unicode char 2022-12-16 14:17:17 +01:00
knuth
65585e286d use GitHub redirect for newest version 2022-12-16 14:16:46 +01:00
knuth
d98fd74968 use GitHub for newest docker-compose release 2022-12-16 13:58:15 +01:00
knuth
7875185e1f fix unicode char 2022-12-16 13:57:37 +01:00
DerLinkman
299a342a62 [Nextcloud] Update to 25 + purge fix (DB) 2022-12-08 15:57:24 +01:00
Patrick Schult
31b5faa729
Merge pull request #4868 from mailcow/feat/build-backup-image
Add new action Build mailcow backup image
2022-11-24 11:30:24 +01:00
Niklas Meyer
05b897f43e
Merge pull request #4848 from nathanielmom/compose-fix
change 'return 1' to 'exit 1'
2022-11-23 15:29:38 +01:00
Benoît S
f2f5e212f5
Fixy comment typo 2022-11-23 22:10:57 +09:00
Peter
ff7102468e
[Helper] Backup and restore: Use latest tag for image 2022-11-22 18:38:38 +01:00
Nathaniel Mom
df17e6b75e change 'return 1' to 'exit 1' 2022-11-07 09:27:22 +10:00
Niklas Meyer
963510ed22
Merge pull request #4806 from mailcow/feature/pigz-backup
[Backup] Swapped PIGZ instead of gzip (allow Threading)
2022-10-25 11:05:40 +02:00
DerLinkman
50d2671d75 Fixed leading / warning removal 2022-10-25 10:06:53 +02:00
DerLinkman
b73d879f3c Removed thread prompt again. Added notice message 2022-10-25 09:55:29 +02:00
DerLinkman
65ca42ca42 Restored Thread Prompt due to implementation in restore 2022-10-24 15:10:15 +02:00
DerLinkman
b22ff59f7b Added PIGZ for Restoring as well. 2022-10-24 12:28:41 +02:00
DerLinkman
58527857d9 Removed debug message 2022-10-21 11:54:23 +02:00
DerLinkman
6306c4555c Removed Thread Prompt and set default value to 1 Thread 2022-10-21 11:48:29 +02:00
DerLinkman
8026b6c874 Swapped PIGZ instead of gzip 2022-10-19 11:15:12 +02:00
Tomy Hsieh
905993d66e
🛠 fix: Language detection 2022-10-06 22:21:12 +08:00
DerLinkman
047c4aa3a0 Added seperate update_compose Script + some Improvements 2022-08-22 15:44:01 +02:00
DerLinkman
925b220905 Compose Version detection implemented in Backup script 2022-08-22 10:24:38 +02:00
DerLinkman
1f3d9d4e1c Implemented user choice compose in cold-standby 2022-08-19 15:17:19 +02:00
DerLinkman
7d72ae3449 Added update-compose to update.sh and create-coldstandby 2022-07-14 11:29:38 +02:00
DerLinkman
6195b7c334 [Backup Script]Check for docker and docker-compose in each step seperate 2022-07-08 13:29:05 +02:00
DerLinkman
452daf5d5e Restored docker-compose Command 2022-06-23 08:55:06 +02:00
FreddleSpl0it
cd7715fa0e Restore docker-compose check in scripts 2022-06-20 10:32:14 +02:00
DerLinkman
872fa07213 Restore docker-compose check in scripts 2022-06-16 12:49:17 +02:00
DerLinkman
5d14baa43a Fixed typo for previous commit 2022-06-07 18:38:43 +02:00
DerLinkman
141b397c82 Fix Docker Compose recognition for docker-compose syntax 2022-06-07 18:34:41 +02:00
DerLinkman
74baf20feb Optimized if-else arguments and outputs 2022-06-07 14:45:19 +02:00
FreddleSpl0it
958112af6b [Compose] Remove >&2 in if block 2022-06-07 14:07:35 +02:00
FreddleSpl0it
08d0f9448e [Compose] move then in if statement 2022-06-07 13:59:59 +02:00
Niklas Meyer
714511b0a8
[Compose] Update to Docker Compose v2 (#4605)
* Change default HTTP_BIND, HTTPS_BIND

https://github.com/mailcow/mailcow-dockerized/issues/4315#issuecomment-1083034329

* [Compose] Removed Colon after fallback IP in docker-compose.yml

* [Compose] Remove bind options from volumes (#4577)

(cherry picked from commit 4d53216c05)

* Migration (partially) of update.sh + cold-standby.sh to composev2

* Migration of update.sh + cold-standby.sh to composev2

* Migration of update.sh + cold-standby.sh to composev2

* Migration of update.sh + cold-standby.sh to composev2

* [ClamAV] Fixed ClamAV start before unbound

* Migration of update.sh + cold-standby.sh to composev2

* Formulation and values adjusted (IPv4 bind in generate-config.sh)

Co-authored-by: Amin Vakil <info@aminvakil.com>
Co-authored-by: qupfer <github@qupfer.de>
Co-authored-by: FreddleSpl0it <patschul@posteo.de>
2022-06-07 08:53:08 +02:00
andryyy
769e08843b
[Helper] Backup and restore: Use bullseye-slim 2022-03-14 13:10:39 +01:00
andryyy
25a5978043
[Helper] Minor cosmetic changes to cold standby script 2021-10-23 08:06:05 +02:00
andryyy
874446eec0
[Helper] Change -V to --version to be more compatible with ancient OS 2021-10-19 17:49:38 +02:00
andryyy
db33668584 [Helper] Redirect all output to stdout and use stderr only on errors 2021-10-18 21:44:01 +02:00
Max
4a91fdf134 [Cleanup] Clean up the xmpp remainder (#4286)
* [Web] Update russian translation (lang.ru.json)

* XMPP cleanup

Co-authored-by: Dmitriy Alekseev <1865999+dragoangel@users.noreply.github.com>
2021-10-18 21:44:01 +02:00
andryyy
78aafe9b33 [Helper] Cold standby script (WIP, docs incoming) 2021-10-18 12:45:42 +02:00
Kristian Feldsam
58da154bfc
[Helper] Helper script to detect missing translations (#4177)
Signed-off-by: Kristian Feldsam <feldsam@gmail.com>
2021-09-01 17:11:59 +02:00
Peter
85a66c4fbf
[Helper] Update nextcloud to 22 (#4233) 2021-08-16 08:11:22 +02:00
prey87
171f394fd1
[Helper] Use random password for mailcow-reset-admin.sh (#4162)
* use random password for mailcow-reset-admin.sh

* added curly braces and removed newline from hashed password string
2021-07-04 15:12:50 +02:00
andryyy
b08be8bc8c [Helper] Remove ejabberd from compose 2021-06-30 10:14:30 +02:00
Joachim Astel
b1adbb38e6
Update backup_and_restore.sh (#4098)
Script breaks when there are more then one name matching,  see Issue #4097
2021-05-16 08:19:52 +02:00
Sven Gottwald
f11660a5d8
[Helper] Update backup_and_restore.sh (#4005)
Allocate a pseudo-tty for the mariabackup container process. This allows to 
redirect the complete output of the the backup script to a file.
2021-04-20 21:24:31 +02:00
fabreg
496f4ad81f
[Helper] Removed --database-table-prefix switch (#4043)
Looks like in NC 2.0 this option is no more supported. During installation I got this error:

The "--database-table-prefix" option does not exist.
2021-04-09 08:05:14 +02:00
andryyy
294e6a2d43
[Helper] Add ejabberd to DNS overrides 2021-04-01 15:17:48 +02:00
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