Commit Graph

694 Commits

Author SHA1 Message Date
dkoao 451df93cfe Make sure that DISABLE_NEXTCLOUD is set to 0 2019-09-27 17:19:53 +00:00
dkoao 8b6b59be1e Ask the user if he wants to remove Nextcloud if it appears to be installed previously 2019-09-27 16:48:07 +00:00
dkoao 5cafd91c66 Add apt_purge function to remove packages 2019-09-27 16:41:01 +00:00
dkoao d8c4cf2b28 fixed typo 2019-09-27 13:49:47 +00:00
dkoao 658fe0ceeb Reduce duplicated code in the handling of roundcube's plugins 2019-09-27 10:32:14 +00:00
dkoao 97ac5553e4 fix indentation 2019-09-27 09:54:03 +00:00
dkoao e2d8fd5665 check if the Nextcloud fail2ban configuration isn't already added 2019-09-27 09:40:09 +00:00
dkoao de6b977e21 Add quotation marks to the echo call 2019-09-27 08:45:44 +00:00
dkoao 403d9fdb7d add further clarity to the "Disable Nextcloud?" question 2019-09-27 08:43:42 +00:00
dkoao fdd6628709 Check if Nextcloud is already installed before asking the user if it should be disabled 2019-09-27 03:25:56 +00:00
dkoao 098f24469a Ask the user if he/she wants to disable Nextcloud 2019-09-26 22:46:26 +00:00
dkoao 7160d3c6a5 Add a Yes/No function 2019-09-26 22:34:54 +00:00
dkoao 86fef267f6 reduce duplicated lines 2019-09-26 10:35:12 +00:00
dkoao b9d367adff add quotation marks 2019-09-26 10:32:24 +00:00
dkoao 4f5fb7fe4b explain why Nextcloud gets skipped 2019-09-26 10:26:44 +00:00
dkoao e41cfc30b8 replace '1' with '0', as 0 stands for true in sh. 2019-09-26 10:00:12 +00:00
dkoao 857ccaa06c Implement a new way to handle the Nextcloud fail2ban config.
If the user wants Nextcloud to be installed, the setup script will simply append the relevant rules to the config file.
This is more efficient than having two separate files.
2019-09-26 09:20:52 +00:00
dkoao d30c4d615d get the line responsible for recording the roundcube version out of the DISABLE_NEXTCLOUD check
because it's unrelated
2019-09-26 08:55:19 +00:00
dkoao d78a6b26a5 added more clarity to the boolean logic 2019-09-26 04:08:58 +00:00
dkoao 732a7f9fa2 added an additional quotation mark 2019-09-26 04:05:03 +00:00
dkoao a02657e99c fixed a logical error with the handling of DISABLE_NEXTCLOUD env variable 2019-09-26 03:35:25 +00:00
dkoao 9e2fd98848 check if the user didn't want to install Nextcloud 2019-09-26 03:20:24 +00:00
dkoao ef1327d7bd add further Nextcloud checks 2019-09-26 03:06:35 +00:00
dkoao 81d7fdb63f add further checks 2019-09-26 03:02:35 +00:00
dkoao 27b3e8f1a1 Check if the user didn't want to setup Nextcloud 2019-09-26 02:41:33 +00:00
dkoao 8eb89c2b4e modifying start.sh to check if the environment variable DISABLE_NEXTCLOUD is set to 1
if it is set 1, it'll skip setting up Nextcloud
2019-09-26 02:17:59 +00:00
Joshua Tauberer 9e29564f48 v0.43 2019-09-01 07:43:47 -04:00
jvolkenant d6becddbe5 Change Nextcloud upgrade logic to look at STORAGE_ROOT's config.php version vs /usr/local's version.php version (#1632)
* Download and verify Nextcloud download before deleting old install directory
* Changed install logic to look at config.php and not version.php for database version number. When restoring from a backup, config.php in STORAGE_ROOT will hold the Nextcloud version that corresponds to the user's database and version.php in /usr/local won't even exist, so we were missing Nextcloud migration steps. In other cases they should be the same.
2019-08-31 08:50:36 -04:00
Michael Kroes 1d6793d124 Update the Postgrey whitelist to a newer version monthly (#1611)
Automatically update the Postgrey whitelist to a newer version once a month.
2019-08-31 08:38:41 -04:00
cmharper 295d481603 Upgraded roundcube to 1.3.10 (#1634) 2019-08-31 07:55:38 -04:00
Joshua Tauberer e37768ca86 v0.42b 2019-08-03 11:49:32 -04:00
jvolkenant bea5eb0dda Add interm upgrade step from Nextcloud 13 -> 14 (#1605) 2019-07-12 06:41:16 -04:00
Joshua Tauberer 5fc1944f04 pull v0.42, go back to v0.41 2019-07-05 11:56:54 -04:00
Joshua Tauberer 39fd4ce16c v0.42 2019-07-04 21:34:55 -04:00
jvolkenant 193763f8f0 Update to Nextcloud 15.0.8, Contacts to 3.1.1, and Calendar to 1.6.5 (#1577)
* Update to Nextcloud 15.0.7, Contacts to 3.1.1, and Calendar to 1.6.5
* Enabled localhost-only insecure IMAP login for localhost Nextcloud auth
* Add package php-imagick and BigInt conversion
* added support for /cloud/oc[sm]-provider/ endpoint
2019-06-16 11:10:52 -04:00
jvolkenant 79759ea5a3 Upgrade Z-Push to 2.5.0 (#1581) 2019-06-16 11:07:45 -04:00
jvolkenant 6e5ceab0f8 hide virtualenv output (#1578) 2019-05-15 11:59:32 -07:00
jvolkenant c6fa0d23df check that munin-cron is not running (via cron) when it is run in setup, fixes #660 (#1579) 2019-05-15 11:58:40 -07:00
cmharper 85e59245fd hide 'RTNETLINK answers: Network is unreachable' error message during setup if IPv6 is not available (#1576) 2019-05-15 11:57:06 -07:00
jvolkenant 4232a1205c fix dovecot message about SSLv2 not supported by OpenSSL (#1580) 2019-05-15 11:46:52 -07:00
just4t 25fec63a03 RAM limit to 502Mb to meet EC2 & Vultr 512Mb inst. (#1560)
AS told here: https://github.com/mail-in-a-box/mailinabox/pull/1534
2019-04-14 16:33:50 -04:00
dexbleeker 9b46637aff Update Roundcube to version 1.3.9 (#1546) 2019-04-14 14:19:21 -04:00
Joshua Tauberer dd7a2aa8a6 v0.41 2019-02-26 18:17:50 -05:00
Joshua Tauberer 149552f79b systemctl link should use -f to avoid an error if a system service already exists with that name but points to a different file
https://discourse.mailinabox.email/t/new-error-failed-systemctl-link-conf-mailinabox-service/4626/2
2019-02-26 18:16:26 -05:00
Joshua Tauberer adddd95e38 add lmtp_destination_recipient_limit=1 to work around spampd bug, see #1523 2019-02-25 13:20:57 -05:00
Yoann Colin 10050aa601 Upgrade to NextCloud 14 (#1504)
* Upgraded Nextcloud from 13.0.6 to 14.0.6.
* Upgraded Contacts from 2.1.5 to 2.1.8.
* Upgraded Calendar from 1.6.1 to 1.6.4.
* Cleanup unsupported version upgrades: Since an upgrade to v0.30 is mandatory before moving upward, I removed the checks for Nextcloud prior version 12.
* Fix the storage root path.
* Add missing indices. Thx @yodax for your feedback.
2019-02-08 21:24:03 -05:00
jvolkenant c60e3dc842 fail2ban ssh/ssh-ddos and sasl are now sshd and postfix-sasl (fixes #1453, merges #1454)
* fail2ban ssh/ssh-ddos and sasl are now sshd and postfix-sasl

* specified custom datepattern for miab-owncloud.conf
2019-01-18 09:40:51 -05:00
Joshua Tauberer c7659d9053 v0.40 2019-01-12 08:24:15 -05:00
Joshua Tauberer cd3fb1b487 fix bootstrap.sh to not confuse the status checks about the latest version 2019-01-09 09:03:43 -05:00
Joshua Tauberer 6e60b47cb5 update bootstrap.sh script to detect the operating system and choose a different version tag depending on whether the box is running Ubuntu 14.04 or Ubuntu 18.04 2019-01-09 08:52:51 -05:00