Steve Hay
bfa464ed6a
Merge branch 'jammyjellyfish2204' into jammyjellyfish2204-nextcloud24
2022-09-24 15:22:50 -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
Steve Hay
289152c383
A more reliable way to detect the top domain.
2022-09-23 10:09:27 -04:00
Steve Hay
cd8a1caa8b
more efficient
2022-09-22 16:55:51 -04:00
Steve Hay
2df7bac979
Added a hard redirect as well as the .well-known hint
2022-09-22 15:25:41 -04:00
Steve Hay
b5f5b0819d
Add .well-known service discovery redirects to TLD
2022-09-22 14:28:13 -04:00
Steve Hay
178a485831
Updated nginx redirects to reflect a change (? old change maybe) in DAV urls. Added TXT record for *davs._tcp to give path to Card/CalDAV.
2022-09-18 13:42:26 -04:00
Steve Hay
8be9842605
Merge branch 'jammyjellyfish2204-nextcloud24' of github.com:stvhay/mailinabox into jammyjellyfish2204-nextcloud24
2022-09-17 22:33:34 -04:00
Steve Hay
ac77d1fe5f
Added CalDAV calendar updates cron job per NC docs
2022-09-17 22:30:57 -04:00
Steve Hay
97c95be922
Added CalDAV calendar updates cron job per NC docs
2022-09-17 21:36:10 -04:00
Steve Hay
e49617e3be
I went back and simplified this patch to include less changes and to be easier to review.
2022-09-17 12:36:12 -04:00
Steve Hay
fba37addd9
Merge branch 'jammyjellyfish2204' into jammyjellyfish2204-nextcloud24
2022-09-17 11:09:29 -04:00
kiekerjan
d584a41e60
Update Roundcube to 1.6.0 ( #2153 )
2022-09-17 09:20:20 -04:00
downtownallday
56074ae035
Tighten roundcube session config ( #2138 )
...
Merges #2138 .
2022-09-17 09:09:00 -04:00
downtownallday
30631b0fc5
Fix undefined variable 'val' in tools/editconf.py ( #2137 )
...
Merges #2137 .
2022-09-17 09:09:00 -04:00
Steve Hay
84da4e6000
Update dovecot to use same DH parameters file as the other services
...
Originally from #2157 .
2022-09-17 09:07:54 -04:00
Joshua Tauberer
58ded74181
Restore the backup S3 host select box if an S3 target has been set
...
Also remove unnecessary import added in 7cda439c
. Was a mistake from edits during PR review.
2022-09-17 09:07:54 -04:00
Steve Hay
3fd2e3efa9
Replace Flask built-in WSGI server with gunicorn ( #2158 )
2022-09-17 08:03:16 -04:00
Steve Hay
7cda439c80
Port boto to boto3 and fix asyncio issue in the management daemon ( #2156 )
...
Co-authored-by: Steve Hay <hay.steve@gmail.com>
2022-09-17 07:57:12 -04:00
Steve Hay
4e480370f9
generalized php version.
2022-09-16 17:15:07 -04:00
Steve Hay
8dcc632e66
Added overwrite.cli.url to the config update.
2022-09-14 12:40:48 -04:00
Steve Hay
6b8aff4cc1
Fixed JSON formatting. Added check for unset or "C" locale for LC_TELEPHONE. Fixed an issue with the sed command leaving a backup.
2022-09-14 12:32:47 -04:00
Steve Hay
0c886e2875
missed a place where read only config had to be set false.
2022-09-12 20:45:47 -04:00
Steve Hay
7d9ab6d247
rewrote the code to use the occ API for making config changes. with the notable exception of setting read_only=false
2022-09-12 20:35:13 -04:00
Steve Hay
09feb04cae
Rotate the nextcloud log
2022-09-12 12:25:49 -04:00
Steve Hay
3e0228ae2a
fixed typo
2022-09-12 10:43:38 -04:00
Steve Hay
0cb5c1ed9b
disabled unneeded apps
2022-09-12 10:35:28 -04:00
Steve Hay
fb5c9ea371
reverted 1024M change
2022-09-12 01:45:03 -04:00
Steve Hay
032dfb919c
fixed typo
2022-09-12 01:39:28 -04:00
Steve Hay
ee9a0d8dfa
configure webfinger and nodeinfo redirects
2022-09-12 01:27:48 -04:00
Steve Hay
e1fc59b2fc
addings svg support because NC was complaining
2022-09-12 01:22:25 -04:00
Steve Hay
9f880f53d9
missing php semicolon
2022-09-12 01:11:57 -04:00
Steve Hay
883ed9f446
fixed default phone region, imagick, and url warnings.
2022-09-12 01:09:31 -04:00
Steve Hay
692a5a363e
the upgrade to 24 seems to require config_read_only to be set to false.
2022-09-12 00:50:37 -04:00
Steve Hay
eecf6232a6
contacts and calendar version too high.
2022-09-11 22:42:55 -04:00
Steve Hay
ed736cca4a
initial edit to nextcloud scripts
2022-09-11 22:10:12 -04:00
Joshua Tauberer
91fc74b408
Setup fixes for Ubuntu 22.04
...
Nextcloud:
* The Nextcloud user_external 1.0.0 package for Nextcloud 21.0.7 isn't available from Nextcloud's releases page, but it's not needed in an intermediate upgrade step (hopefully), so we can skip it.
* Nextcloud updgrade steps should not be elifs because multiple intermediate upgrades may be needed.
* Continue if the user_external backend migration fails. Maybe it's not necessary. It gives a scary error message though.
* Remove a line that removes an old file that hasn't been in use since 2019 and the expectation is that Ubuntu 22.04 installations are on fresh machines.
Backups:
* For duplicity, we now need boto3 for AWS.
2022-09-03 07:50:36 -04:00
David Duque
e0c0b5053c
Upgrade Nextcloud External User Backend to v3.0.0
...
Co-Authored-By: Joshua Tauberer <jt@occams.info>
2022-07-28 14:42:51 -04:00
Joshua Tauberer
268b31685d
Ensure STORAGE_ROOT has a+rx permission since processes run by different system users need to access files within it
2022-07-28 14:42:51 -04:00
Joshua Tauberer
ab71abbc7c
Update to latest cryptography Python package, add missing source at top of management.sh so it can run standalone (needs STORAGE_ROOT)
2022-07-28 14:42:51 -04:00
Joshua Tauberer
87e6df9e28
Fix roundcube dependency missing imap and unneeded ldap
2022-07-28 14:42:51 -04:00
Felix Matouschek
558f2db31f
system.sh: Remove no longer needed haveged ( #2090 )
...
Starting from kernels 5.6 haveged is obsolete. Therefore remove it in
Ubuntu 22.04.
See https://github.com/jirka-h/haveged/issues/57
2022-07-28 14:42:51 -04:00
Joshua Tauberer
c23dd701f0
Start changelog and instructions updates for version 60 supporting Ubuntu 22.04
...
To scan for updated apt packages in Ubuntu 22.04, I ran on Ubuntu 18.04 and 22.04 and compared the output:
```
for package in openssl openssh-client haveged pollinate fail2ban ufw bind9 nsd ldnsutils nginx dovecot-core postfix opendkim opendkim-tools opendmarc postgrey spampd razor pyzor dovecot-antispam sqlite3 duplicity certbot munin munin-node php python3; do
echo -n "$package ";
dpkg-query --showformat='${Version}' --show $package;
echo
done
```
2022-07-28 14:42:51 -04:00
Joshua Tauberer
0a7b9d5089
Update dovecot, spampd settings for Ubuntu 22.04
...
* dovecot's ssl_protocols became ssl_min_protocol in 2.3
* spampd fixed a bug so we can remove lmtp_destination_recipient_limit=1 in postfix
2022-07-28 14:34:45 -04:00
Joshua Tauberer
1eddf9a220
Upgrade to Nextcloud 23.0.4
...
The first version supporting PHP 8.0 is Nextcloud 21. Therefore we can add migrations only to Nextcloud 21 forward, and so we only support migrating from Nextcloud 20 (Mail-in-a-Box versions v0.51+). Migration steps through Nextcloud 21 and 22 are added.
Also:
* Fix PHP APUc settings to be before Nextcloud tools are run.
2022-07-28 14:34:45 -04:00
Joshua Tauberer
78d71498fa
Upgrade from PHP 7.2 to 8.0 for Ubuntu 22.04
...
* Add the PHP PPA.
* Specify the version when invoking the php CLI.
* Specify the version in package names.
* Update paths to 8.0 (using a variable in the setup scripts).
* Update z-push's php-xsl dependency to php8.0-xml.
* php-json is now built-into PHP.
Although PHP 8.1 is the stock version in Ubuntu 22.04, it's not supported by Nextcloud yet, and it likely will never be supported by the the version of Nextcloud that succeeds the last version of Nextcloud that supports PHP 7.2, and we have to install the next version so that an upgrade is permitted, so skipping to PHP 8.1 may not be easily possible.
2022-07-28 14:02:46 -04:00
Joshua Tauberer
b41a0ad80e
Drop some hacks that we needed for Ubuntu 18.04
...
* certbot's PPA is no longer needed because a recent version is now included in the Ubuntu respository.
* Un-pin b2sdk (reverts 69d8fdef99
and d829d74048
).
* Revert boto+s3 workaround for duplicity (partial revert of 99474b348f
).
* Revert old "fix boto 2 conflict on Google Compute Engine instances" (cf33be4596
) which is probably no longer needed.
2022-07-28 14:02:46 -04:00
Rauno Moisto
78569e9a88
Fix DeprecationWarning in dnspython query vs resolve method
...
The resolve method disables resolving relative names by default. This change probably makes a7710e90
unnecessary. @JoshData added some additional changes from query to resolve.
2022-07-28 14:02:46 -04:00