downtownallday
7fa070aed8
avoid using PYTHONPATH to enable setup mod hooks, which is problematic for managment command line tool use
...
- save the directory path to setup mods in /etc/mailinabox.conf
- dynamically add the path to python during hook initialization
2022-10-24 16:24:44 -04:00
downtownallday
bb969f16ae
avoid prematurely termination of the processing pool
2022-10-24 06:44:59 -04:00
downtownallday
cac796a5bb
Enable compression for wget downloads.
...
This fixes an issue where unless compression=auto (or compression=gzip) is specified, using wget to download jquery.min.js by setup/management.sh fails with max redirects exceeded.
The man page says --compression is an experimental option, but it doesn't appear to have any problems.
Note that downloading jquery.min.js with curl works fine when wget without --compression fails.
2022-10-20 17:02:04 -04:00
downtownallday
c787437317
Add a setup mod to install roundcube's "larry" skin, which was removed with roundcubemail version 1.6
2022-10-16 15:16:02 -04:00
downtownallday
06495298c9
honor STORAGE_ROOT if already set
2022-10-14 15:03:12 -04:00
downtownallday
1a0b94c878
restore backup: don't automatically unmount an ehdd drive
2022-10-14 15:02:44 -04:00
downtownallday
16679aa5ac
preloaded: add support for clone at commit
2022-10-14 14:18:34 -04:00
downtownallday
e636e63862
Setup fixes
...
1. Autodetect encryption-at-rest and run the correct setup in boostrap and /usr/local/bin/mailinabox
2. Fix bug where directories in the local mod folder are improperly executed causing setup to fail
3. Add a remote_nextcloud.sh setup mod cleanup function for cleaner removal of the mod
2022-10-14 09:27:24 -04:00
downtownallday
14a4f34d39
Clarify wording
2022-10-13 19:13:06 -04:00
downtownallday
9e5ce3e681
Enable "bootstrap" installs
2022-10-13 18:58:44 -04:00
downtownallday
9b62b5dc1a
Use an explicit php exectable and package if specified by environment variables
2022-10-13 09:27:58 -04:00
downtownallday
f38e275734
Changes for v60 - initial Jammy Jellyfish release
2022-10-12 08:46:34 -04:00
downtownallday
2f19ec19da
Update tags now that upstream has merged jammy branch
2022-10-12 08:22:05 -04:00
downtownallday
a9d34441fa
Update hashes to match upstream's use of github/nextcloud-releases
2022-10-12 08:20:44 -04:00
downtownallday
caf95b1efe
Apply license
2022-10-12 07:18:30 -04:00
downtownallday
ec2c878360
Merge branch 'main' of https://github.com/mail-in-a-box/mailinabox into jammyjellyfish2204
2022-10-12 06:57:37 -04:00
Joshua Tauberer
286a4bd9e7
Remove stray quote in bootstrap.sh
...
Reported at https://discourse.mailinabox.email/t/version-60-for-ubuntu-22-04-is-released/9558/4 .
2022-10-12 06:11:02 -04:00
Joshua Tauberer
ddf8e857fd
Support Ubuntu 22.04 Jammy Jellyfish ( #2083 )
2022-10-11 21:18:34 -04:00
Joshua Tauberer
4d5ff0210b
Version 60
2022-10-11 21:14:31 -04:00
downtownallday
d786fa2790
Hide apt output when installing duplicity
2022-10-11 08:19:51 -04:00
downtownallday
26fa200014
Merge branch 'jammyjellyfish2204' of https://github.com/mail-in-a-box/mailinabox into jammyjellyfish2204
...
# Conflicts:
# setup/management.sh
# setup/nextcloud.sh
2022-10-09 09:30:12 -04:00
Joshua Tauberer
89cd9fb611
Increase gunicorn's worker timeout since some /admin commands take a long time
2022-10-08 08:23:48 -04:00
Joshua Tauberer
22a6270657
Remove old setup step to uninstall acme library
2022-10-08 08:23:48 -04:00
Joshua Tauberer
0a970f4bb2
Use nsd-control to refresh nsd after zone files are rewritten rather than 'service nsd restart'
...
I am not sure if this was the problem but nsd didn't serve updated zonefiles on my box and 'service nsd restart' must have been used, so maybe it doesn't reload zones.
2022-10-08 07:24:57 -04:00
Joshua Tauberer
9b111e2493
Update to Nextcloud 23.0.8 (contacts 4.2.0, calendar 3.5.0)
2022-10-08 07:23:21 -04:00
downtownallday
cc54379ed2
Merge branch 'jammyjellyfish2204' of https://github.com/mail-in-a-box/mailinabox into jammyjellyfish2204
...
# Conflicts:
# management/backup.py
2022-09-29 11:10:16 -04:00
jvolkenant
b8feb77ef4
Move postgrey database under $STORAGE_ROOT ( #2077 )
2022-09-24 13:17:55 -04:00
Joshua Tauberer
3c44604316
Install 'file' package
...
The command is used in mailinabox-postgrey-whitelist. Reported missing (on systems that don't install it by default) in #2083 .
2022-09-24 10:10:50 -04:00
Steve Hay
1e1a054686
BUGFIX: Correctly handle the multiprocessing for run_checks in the management daemon ( #2163 )
...
See discussion here: #2083
Co-authored-by: Steve Hay <hay.steve@gmail.com>
2022-09-24 09:56:27 -04:00
downtownallday
9a381961c5
setting permissions on mail.log fixes the github actions failure for upgrade-to-upstream - this is just clean up
2022-09-22 18:31:59 -04:00
downtownallday
35aa9f7691
try setting mail.log permissions during setup
2022-09-22 18:06:03 -04:00
downtownallday
c9eb90800b
flush logs on other log scanning functions
2022-09-22 17:34:22 -04:00
downtownallday
4531c90434
restart rsyslogd on GITHUB_ACTIONS=true instead of HUP
2022-09-22 16:56:24 -04:00
downtownallday
86a61a7b12
try to deal with the flurry of messages from rsyslogd after a HUP on github actions
2022-09-22 15:53:45 -04:00
downtownallday
e0f2ba84e2
update .gitignore
2022-09-22 13:41:42 -04:00
downtownallday
9b92b394f4
change wording
2022-09-22 13:38:17 -04:00
downtownallday
f71b5f3229
Add additional vagrant definition that automatically connects to a cloudinabox
2022-09-22 11:10:16 -04:00
downtownallday
892c33af07
Automatically install .emacs on test vms
2022-09-22 11:08:46 -04:00
downtownallday
f6e9fd628c
Hide the output from apt-get unless an error occurs
2022-09-22 11:08:02 -04:00
downtownallday
68bc176b00
Don't add firewall rules for the remote nextcloud if it's not accessible
2022-09-22 11:07:34 -04:00
downtownallday
912b78bb47
Change the remote_nextcloud web_update hook handler strategy
2022-09-22 09:35:50 -04:00
downtownallday
2b25111efa
Stop postgrey during shutdown
2022-09-21 19:27:38 -04:00
downtownallday
9ac1bdd045
LOCAL_MODS_DIR must be absolute
2022-09-21 19:04:18 -04:00
downtownallday
188eb9bee1
update test to get syslog output
2022-09-21 16:46:38 -04:00
downtownallday
a95bfd3e6b
Clarify wording on enabling a remote nextcloud
2022-09-21 15:53:08 -04:00
downtownallday
53cbabac75
Fix url redirection when a remote nextcloud is used so that .well-known/caldav and carddav work properly, as well as the redirecting /cloud to the remote Nextcloud. Since the nginx config is replaced by the management daemon whenever a new domain is added, this change adds a hooking mechanism for setup mods.Fix url redirection when a remote nextcloud is in use. This corrects redirection for /.well-known/caldav, /.well-known/carddav and /cloud to send the client to the remote nextcloud. This requires an nginx configuration change, and since the nginx config is replaced by the management daemon whenever a new domain is added, this change adds a hooking mechanism for setup mods allowing them to intercept and modify the resultant nginx config.
2022-09-21 15:52:47 -04:00
downtownallday
dae697e6af
fix case where value is None
2022-09-21 09:07:23 -04:00
downtownallday
ae0c69f3b9
disable postgrey when using encryption-at-rest. the postgrey database will be moving to user-data
2022-09-21 09:06:52 -04:00
downtownallday
65a3c7e243
Correct dav paths
2022-09-20 22:16:51 -04:00
downtownallday
39aaf94e7b
Add options to 1. re-use existing an existing backup 2. disable test runner
2022-09-20 10:15:36 -04:00