Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/nextcloudpi.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomTurnschuh <36013390+TomTurnschuh@users.noreply.github.com>2018-09-07 16:23:53 +0300
committernacho <nacho@ownyourbits.com>2018-09-16 18:35:27 +0300
commit241f2e053140e1c0804c3840f263a5ccdaa1b023 (patch)
tree7219223dad85fbbaa52218beb1464784b7de262f
parent5be786659f1d7731827f43bfc18239098f41c634 (diff)
Change email program from PHP to Sendmailv0.59.12
PHP seems to be no longer supported in Nextcloud 14. This modification might need further testing in different environments.
-rw-r--r--changelog.md4
-rw-r--r--etc/ncp-config.d/nc-init.sh2
-rwxr-xr-xupdate.sh3
3 files changed, 7 insertions, 2 deletions
diff --git a/changelog.md b/changelog.md
index a787e131..0efa0243 100644
--- a/changelog.md
+++ b/changelog.md
@@ -1,5 +1,7 @@
-[v0.59.11](https://github.com/nextcloud/nextcloudpi/commit/701dcd6) (2018-09-16) lamp: add referrer policy for enhanced privacy
+[v0.59.12](https://github.com/nextcloud/nextcloudpi/commit/5fc8986) (2018-09-07) Change email program from PHP to Sendmail
+
+[v0.59.11](https://github.com/nextcloud/nextcloudpi/commit/5be7866) (2018-09-16) lamp: add referrer policy for enhanced privacy
[v0.59.10](https://github.com/nextcloud/nextcloudpi/commit/fcbd661) (2018-09-04) ncp-web: add hover text for ncp admin header icons
diff --git a/etc/ncp-config.d/nc-init.sh b/etc/ncp-config.d/nc-init.sh
index c247a88b..f4241c55 100644
--- a/etc/ncp-config.d/nc-init.sh
+++ b/etc/ncp-config.d/nc-init.sh
@@ -111,7 +111,7 @@ EOF
sudo -u www-data php occ config:system:set trusted_domains 5 --value="nextcloudpi.local"
# email
- sudo -u www-data php occ config:system:set mail_smtpmode --value="php"
+ sudo -u www-data php occ config:system:set mail_smtpmode --value="sendmail"
sudo -u www-data php occ config:system:set mail_smtpauthtype --value="LOGIN"
sudo -u www-data php occ config:system:set mail_from_address --value="admin"
sudo -u www-data php occ config:system:set mail_domain --value="ownyourbits.com"
diff --git a/update.sh b/update.sh
index 17d2e5d6..35ab8a41 100755
--- a/update.sh
+++ b/update.sh
@@ -144,6 +144,9 @@ chmod 770 /var/www/ncp-web
EOF
}
+ # NC14 doesnt support php mail
+ sudo -u www-data php /var/www/nextcloud/occ config:system:set mail_smtpmode --value="sendmail"
+
} # end - only live updates
exit 0