1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2025-04-19 02:42:15 +00:00
Commit Graph

825 Commits

Author SHA1 Message Date
Steve Hay
663306ac5b reverted 1024M change 2022-09-12 01:44:30 -04:00
Steve Hay
7bb9a08610 added imagick library for svg support 2022-09-12 01:21:29 -04:00
Steve Hay
48f147f9bd Merge branch 'jammyjellyfish2204-nextcloud24' into jammyjellyfish2204-everything 2022-09-12 01:14:42 -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
ad3aa6a26f fixed default phone region, imagick, and url warnings. 2022-09-12 01:08:56 -04:00
Steve Hay
4b71889b90 Merge branch 'jammyjellyfish2204-nextcloud24' into jammyjellyfish2204-everything 2022-09-12 00:50:57 -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
0a62f456eb versions of contacts and calendar too high 2022-09-11 22:41:41 -04:00
Steve Hay
3c9a56897e Merge branch 'jammyjellyfish2204-nextcloud24' into jammyjellyfish2204-everything 2022-09-11 22:11:07 -04:00
Steve Hay
ed736cca4a initial edit to nextcloud scripts 2022-09-11 22:10:12 -04:00
Steve Hay
db8d5bd6c5 Merge branch 'jammyjellyfish2204-smtp-banner' into jammyjellyfish2204-everything 2022-09-10 19:31:53 -04:00
Steve Hay
bdd1a14e23 security thru obscurity 2022-09-10 19:31:21 -04:00
Steve Hay
30e10f66fa Merge branch 'jammyjellyfish2204-gunicorn' into jammyjellyfish2204-everything 2022-09-06 15:46:40 -04:00
Steve Hay
0dfb7838e0 reverting the changes that break munin 2022-09-06 15:46:19 -04:00
Steve Hay
13953a96f3 Merge branch 'jammyjellyfish2204-gunicorn' into jammyjellyfish2204-everything 2022-09-06 13:58:06 -04:00
Steve Hay
722ae510a0 two threads on gunicorn, which could help if one call is blocking for a bit. 2022-09-06 13:57:49 -04:00
Steve Hay
53ebc24f00 Merge branch 'jammyjellyfish2204-gunicorn' into jammyjellyfish2204-everything 2022-09-06 13:44:57 -04:00
Steve Hay
9ab2cfe605 swapped out ExpiringDict with Flask session -- may allow multiple workers 2022-09-06 13:44:33 -04:00
Steve Hay
cbf6a0498f Merge remote-tracking branch 'kiekerjan/updateRoundcube' into jammyjellyfish2204-everything 2022-09-05 22:42:03 -04:00
Steve Hay
9bd61e2b4f Merge branch 'jammyjellyfish2204-dovecot_ssl' into jammyjellyfish2204-everything 2022-09-05 21:10:30 -04:00
Steve Hay
0732866a2d changed back to 1 gunicorn worker. 2022-09-05 20:45:34 -04:00
Steve Hay
ec1641e6a5 removing offending braces 2022-09-05 20:19:39 -04:00
Steve Hay
f2227de85a Trying to create the api key before launch so multiple workers do not conflict 2022-09-05 20:18:09 -04:00
Steve Hay
b7b334ac0b tweaked the PYTHONPATH to allow wsgi to be found. 2022-09-05 19:45:28 -04:00
Steve Hay
1d86202b6f trying 1 gunicorn worker 2022-09-05 19:36:47 -04:00
Steve Hay
47f5fb17f4 updated dovecot to allow DH and updated ciphers in nginx and postfix as well 2022-09-05 19:25:20 -04:00
Steve Hay
5aab1deeec still doesnt work 2022-09-05 18:56:39 -04:00
Steve Hay
58dde1ce23 launching from the same directory as before the change 2022-09-05 17:46:59 -04:00
Steve Hay
9457811bec need to install gunicorn! 2022-09-05 17:28:03 -04:00
Steve Hay
af54696b62 first attempt 2022-09-05 17:21:46 -04:00
Steve Hay
66e157d274 updated cipher list to mozilla recommendations and forced use of DHE. 2022-09-05 16:07:48 -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
KiekerJan
5e309c1250 update roundcube 2022-08-20 00:04:09 +02: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
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
Daniel Mabbett
8cb360fe36 Configure nsd listening interfaces before installing nsd so that it does not interfere with bind9 2022-07-28 14:02:46 -04:00
Joshua Tauberer
f534a530d4 Update and drop some package and file names for Ubuntu 22.04
* Fix path to bind9 startup options file in Ubuntu 22.04.
* tinymce has not been a Roundcube requirement recently and is no longer a package in Ubuntu 22.04
* Upgrade Vagrant box to Ubuntu 22.04
2022-07-28 14:02:46 -04:00
Joshua Tauberer
2abcafd670 Update Ubuntu version checks from 18.04 to 22.04 2022-07-28 14:02:44 -04:00
Joshua Tauberer
3c3d62ac27 Version 57a 2022-06-19 08:58:09 -04:00
Joshua Tauberer
d829d74048 Pin b2sdk to version 1.14.1 in the virtualenv also
We install b2sdk in two places: Once globally for duplicity (see
9d8fdef9915127f016eb6424322a149cdff25d7 for #2125) and once in
a virtualenv used by our control panel. The latter wasn't pinned
when the former was but should be to fix new Python compatibility
issues.

Anyone who updated Python packages recently (so anyone who upgraded
Mail-in-a-Box) started encountering these issues.

Fixes #2131.

See https://discourse.mailinabox.email/t/backblaze-b2-backup-not-working-since-v57/9231.
2022-06-18 13:15:59 -04:00
Joshua Tauberer
2aca421415 Version 57 2022-06-12 08:18:42 -04:00