andryyy
5b8a983be2
[Update, Config] Set mode 600 for mailcow.conf
2019-03-12 23:23:38 +01:00
André Peters
ae8dfb3449
[Update] Make the update check in update.sh readonly
2019-03-12 17:22:35 +01:00
André Peters
8f6c24e60a
Update update.sh
2019-03-12 17:21:45 +01:00
André Peters
216451ed43
Merge branch 'master' into admin-login
2019-03-10 09:51:12 +01:00
andryyy
3873b7a768
[Update] Add /opt/bin to PATH, fixes #2391
2019-03-02 23:48:26 +01:00
Marcel Hofer
cac67db203
add config ALLOW_ADMIN_EMAIL_LOGIN and implement password-less SOGo login admins
2019-02-23 17:59:18 +01:00
andryyy
7e5fc0f763
[Update] Move Nextcloud Redis fix
2019-01-31 21:55:49 +01:00
andryyy
d9a9716a00
[Update] Move Nextcloud Redis fix
2019-01-31 21:55:13 +01:00
andryyy
40795fd2ab
[Update] Move Nextcloud Redis fix
2019-01-31 21:54:05 +01:00
andryyy
a1baf2112b
[Update] Do not move files before git merge
2019-01-30 23:03:58 +01:00
andryyy
9bd1fcbede
[Config] Add hint to disable Solr if you do not want a readable index in solr-vol-1
2019-01-29 13:29:30 +01:00
andryyy
4245780a66
[Update] Check if run as root
2019-01-29 12:13:04 +01:00
andryyy
aab692301e
[Update] Check internet connection via 1.1.1.1
2019-01-29 00:06:19 +01:00
andryyy
2507a8fd31
[Config] Use #!/usr/bin/env bash for scritps, fixes #2226 , thanks to @cptMikky
2019-01-27 19:50:15 +01:00
andryyy
54a14c01aa
[Update] Disable Solr when upgrading from non-Solr mailcows
2019-01-19 22:00:18 +01:00
andryyy
ae4e1358a2
[Solr] Refuse to start with RAM lt 2 GB
...
[Config/Update] Set limits and change descriptions for Solr
2019-01-17 20:25:38 +01:00
andryyy
d008b67111
[Config] Change some texts, lower RAM req. to 3.5 GB for Solr
2019-01-17 19:44:57 +01:00
André Peters
f3dfe346bf
[Dovecot] Allow setting ACL_ANYONE in mailcow.conf
2019-01-16 19:08:19 +01:00
André Peters
31fba0d5e6
Update update.sh
2019-01-16 10:50:06 +01:00
Markus Heberling
9750ec5bec
Merge branch 'master' into master
2019-01-01 14:20:22 +01:00
andryyy
9aca90c75f
[SOGo] Fix file path of sogo-full.svg
...
[Compose] Updated SOGo image
[Update] Add user.name and user.email for local git config if missing
2018-12-22 16:56:50 +01:00
Markus Heberling
4755bb323b
Allow setting ACL_ANYONE in the configuration
2018-12-11 11:32:36 +01:00
Fabian Schlenz
adf9daa9b7
Modified the update check in update.sh to fetch the newest revision directly from github without having to run git fetch first.
2018-11-16 12:09:55 +01:00
André Peters
7325d80f19
[Update] Change umask for update to ensure its 0022
2018-10-28 10:41:45 +01:00
andryyy
c9cf3476a0
[Update] Remove obsolete parameters
...
[Compose] New watchdog image
[Watchdog] Allow multiple rcpts separated by comma
2018-10-26 10:07:23 +02:00
André
93e0206db4
[Update] Remove mailcow_anonymize_headers.pcre checks
...
[Postfix] Rename mailcow_anonymize_headers.pcre > anonymize_headers.pcre to prevent collisions
2018-10-23 22:57:38 +02:00
André
40888a713a
[Update] Checkout pcre header check if missing, fixes #1906
2018-10-16 21:40:25 +02:00
André
03896ccbee
[Update] Backup old header check, don't delete
2018-10-16 09:33:23 +02:00
André
2feae48c65
[Update] Remove old header check to prevent update failure
2018-10-16 09:31:37 +02:00
Peter
67adca4e05
Don't print 'Collecting garbage...' twice
...
When updating mailcow and it finished it printed 'Collecting garbage..,' twice since in docker_garbage() and before running the code we have the echo command.
Now it's printing the line before running docker_garbage()
2018-10-03 12:34:10 +02:00
André
b61f9714e9
[Update] Add MAILDIR_GC_TIME to config file, fixes #1821
2018-10-02 21:24:22 +02:00
André
62b27aeacb
[Dovecot] Check garbage hourly
...
[Dovecot] Update SA rules once when container starts
2018-10-02 09:34:21 +02:00
André
71ec81db31
[Update] Add MAILDIR_GC_TIME
2018-09-30 14:49:19 +02:00
André
ad85033af2
[Update] IMPORTANT: removed SYSCTL_IPV6_DISABLED
...
[Update] Add help text (-h or --help)
[Update] Run garbage collector with --gc
2018-07-25 01:08:12 +02:00
Florian Braun
2824c44781
Change Umask for update to ensure its 0022
...
This change sets umask to 0022 and restores it afterwards to the standard umask.
This works around issue
2018-07-13 13:06:56 +02:00
André
b0b18dfc89
[Config] Do not accept non-FQDN as MAILCOW_HOSTNAME
...
[Config] Add SNAT6_TO_SOURCE
[Update] Do not update on non-FQDN hostname
2018-07-11 19:59:21 +02:00
André
1e59816665
[Netfilter] Prevent crashes by locking threads
...
[Netfilter] SNAT6
2018-07-11 19:59:10 +02:00
Benjamin Roberts
1602f3b0d0
Fix infinite loop when parsing update.sh arguments
...
update.sh would enter an infinite loop when arguments (e.g. --ours, --check). This is due to a missing `shift` statement that has now been added. This fixes #1193 .
2018-07-04 23:10:30 +10:00
André
6ded3dbd95
[API] Allow to set API options in mailcow.conf, fixes #1457
2018-06-08 09:11:03 +02:00
André
42655e2575
[Update] Do only replace port 9000 if host is phpfpm
2018-04-30 16:35:18 +02:00
André
f0eca3fe7b
[Update] Revert Rspamd controller password file change
2018-04-30 08:01:49 +02:00
André
f76294e52a
[Update] Move COMPOSE_PROJECT_NAME
2018-04-29 09:27:29 +02:00
André
47e3544035
[Update] Remove parallel option (deprecated), check currently installed docker-compose version, change the way Rspamds controller password is handled
2018-04-29 09:22:00 +02:00
André
73df611339
[Update] Add missing "
2018-04-27 21:24:07 +02:00
André
d897ae71f6
[Update] Fix sed for missing *custom files
2018-04-27 21:23:00 +02:00
André
c0aa3ddf7b
[Update] Add COMPOSE_PROJECT_NAME if missing
...
[Update] Fix NC Redis timeout (if NC is installed via helper script)
2018-04-27 21:00:33 +02:00
André
52f26078e5
[Update] Fix PHP-FPM ports for existing non-mailcow Nginx sites
2018-04-26 13:58:03 +02:00
André
b8feaef629
[Update] Change fetch method, again
2018-04-25 21:58:50 +02:00
André
f661e51823
[Update] Remove revspec
2018-04-25 16:51:40 +02:00
André
a6810b81c6
[Update] Fix fetching by adding a refspec...
2018-04-24 13:00:53 +02:00
root
bfcfeeb1e8
Fix the fix for the fix for update.sh etc.
2018-04-18 18:38:37 +02:00
Pascal Jufer
90db5a30cb
Fix initial compose project name
2018-04-13 14:13:24 +02:00
André Peters
182b7826bd
Fix compose project name, take #3
2018-04-12 21:52:32 +02:00
André Peters
0ac3a66182
Additional fix for compose project name
2018-04-12 08:29:40 +02:00
André Peters
152ccba1d4
[Compose] Critical fix for project name
...
Docker-compose doesn't strip dashes and underscores anymore
2018-04-12 07:56:54 +02:00
André Peters
ce7643b3ad
[Update] Remove parameter
2018-02-28 18:36:23 +01:00
eXtremeSHOK
d052a87cc3
Support for alpine linux
...
rebased on dev
replaces #1047
2018-02-20 10:31:01 +02:00
Peter
6db217d97e
Update update.sh
...
Should be `elif` instead of `if`
2018-02-10 18:26:20 +01:00
andre.peters
6118085890
[Compose] Expose SQL to 13306 on 127.0.0.1
2018-02-05 21:42:13 +01:00
andre.peters
96c0fbe78f
[Update] Remove dc_params
2018-02-01 21:51:23 +01:00
andre.peters
6be0577638
[Compose] Allow to disable IPv6
2018-02-01 21:45:49 +01:00
andre.peters
5527d6fb94
[Update] Assume worker-controller-password.inc as unchanged on update
2018-02-01 13:35:18 +01:00
andre.peters
90fe52cc72
[Update] Use correct subnet for IPv6, allow --ours parameter to merge by gits ours strategy
...
[Update/config] Allow to set SNAT_TO_SOURCE
2018-02-01 13:32:40 +01:00
andre.peters
c7280e182f
[Update] Add --ours parameter to override merge strategy
2018-02-01 09:40:08 +01:00
andre.peters
81c1ed9e4d
[Update] Fix update check
2018-01-30 08:58:59 +01:00
andre.peters
120f26261d
Fix var name..
2018-01-27 12:24:00 +01:00
andre.peters
78334fe93e
[Update] Crit fix for missing vars
2018-01-27 12:19:43 +01:00
andre.peters
8ce9d14e07
[Update] Better update check...
2018-01-26 22:40:00 +01:00
andre.peters
1f1ab0960c
[Update] Formatting; Added new options
2018-01-24 09:24:40 +01:00
andre.peters
1c3a52172a
[Update] Added --no-start parameter to update.sh
2018-01-21 15:03:46 +01:00
André Peters
74721c08bd
Merge branch 'master' into dev
2018-01-13 18:38:08 +01:00
andre.peters
1e9cae9084
[Compose] New images with LOG_LINES
...
[Update] Do not add empty line in each loop
2018-01-08 22:00:54 +01:00
maffo999
501731e7b9
Update update.sh
...
fixed a typo on line 82
2017-11-23 10:02:25 +01:00
andryyy
fc18d153cd
[Compose, DockerAPI, Web, Watchdog] Watchdog may send notification mails (todo: docs), DockerAPI via Flesk for limited access
2017-10-05 23:38:33 +02:00
andryyy
a8fb1d3f4f
Add experimental watchdog
2017-09-20 10:56:49 +02:00
andryyy
f7ff93a499
[Update] Stop mailcow before update
2017-09-16 23:24:30 +02:00
andryyy
344f88dbf3
[Update] Set merge.defaultToUpstream true
2017-09-13 19:25:54 +02:00
andryyy
538a99b956
[Update.sh] Move dependencies to loop
2017-09-08 10:02:50 +02:00
andryyy
5e8a130bda
[Update.sh] Do not run docker-compose down
2017-09-08 09:55:53 +02:00
Maxim Baz
82043fcf80
Use different exit code on updates check
...
Enables some scripting, e.g. putting this in a cron job:
./update.sh --check && <notify-me-about-available-updates>
2017-09-04 21:28:24 +02:00
andryyy
d1f14bc62b
[Update.sh] Test if var is int
2017-07-31 08:56:14 +02:00
andryyy
52231ac38d
[update.sh] Remove ,
2017-07-11 21:07:00 +02:00
andryyy
e1fc551bd2
[update.sh] Fix compose project name variable, add DOVEADM_PORT
2017-07-10 21:27:49 +02:00
andryyy
6d981b7f8d
[update.sh] Missing echo, more information
2017-07-08 16:31:08 +02:00
andryyy
bdfaef09c6
[update.sh] Do not clean up dangling items, remove old image tags (not removed by dangling=true)
2017-07-08 16:22:48 +02:00
andryyy
94e5631662
[update.sh] Do not remove dangling volumes
2017-07-08 09:16:23 +02:00
andryyy
7fe6fba994
[update.sh] Add missing options to mailcow.conf, don't show reflog
2017-07-04 21:28:27 +02:00
andryyy
00395b99c6
Fetch origin before update check
2017-06-29 21:45:09 +02:00
andryyy
426b597d02
Fix update check
2017-06-29 21:24:07 +02:00
andryyy
bedd361059
Test new update check
2017-06-29 17:42:37 +02:00
andryyy
716573520f
Use curl for internet connection check, fixes #399
2017-06-24 00:04:05 +02:00
andryyy
a956732c5a
Pull in parallel
2017-06-23 08:48:19 +02:00
andryyy
51011732c7
Slight changes
2017-06-21 16:53:36 +02:00
andryyy
2c8a5ce3f8
Update update.sh
2017-06-21 16:44:57 +02:00
andryyy
4503a76a28
Add more info to update script
2017-06-21 12:40:42 +02:00
andryyy
0f023cffed
Update update.sh
2017-06-21 12:10:20 +02:00
andryyy
959f4a428f
Update update.sh
2017-06-21 11:57:32 +02:00
andryyy
306373558e
Fix update script
2017-06-21 11:48:03 +02:00
andryyy
a45d78db54
Fix update script
2017-06-21 11:46:53 +02:00
andryyy
a0589b4275
Fix update script, fix gitignore
2017-06-21 11:46:01 +02:00
andryyy
b26ee88269
Exit after error
2017-06-21 11:07:20 +02:00
andryyy
a782cee8a1
Add gitignore, fix script
2017-06-21 11:05:59 +02:00
andryyy
c40875e8ca
Fix auto update
2017-06-20 23:43:19 +02:00
andryyy
da2cdb686f
Auto update script
2017-06-20 23:41:25 +02:00
andryyy
044c928ba1
Clean up dangling docker objects after updates
2017-06-20 23:22:39 +02:00
andryyy
eaf15d25b6
Don't need to backup images with tags
2017-06-20 23:05:43 +02:00
andryyy
cbc4e31b4e
Further changes to update.sh
2017-06-20 22:17:41 +02:00
andryyy
1095ba3066
Fix ssl in update.sh
2017-06-20 21:40:15 +02:00
andryyy
ce095432e9
Add fail2ban, run pull after update
2017-06-20 21:21:21 +02:00
andryyy
aa89603dc4
Use currently active branch
2017-06-20 20:42:11 +02:00
andryyy
d5eb85ea6b
Added notes
2017-06-20 00:03:09 +02:00
andryyy
71207b05fe
Update update.sh
2017-06-20 00:02:03 +02:00
andryyy
a9fc66b956
Add update.sh, a wip
2017-06-19 23:31:43 +02:00