From f885861ada8fac92bf8a74df18fe2f6938a1c054 Mon Sep 17 00:00:00 2001 From: nachoparker Date: Mon, 16 Sep 2019 20:44:52 -0600 Subject: [PATCH] unattended-upgrades: fix armbian disabling UU Signed-off-by: nachoparker --- bin/ncp/UPDATES/unattended-upgrades.sh | 3 +++ changelog.md | 8 ++++++-- updates/1.17.0.sh | 2 ++ 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/bin/ncp/UPDATES/unattended-upgrades.sh b/bin/ncp/UPDATES/unattended-upgrades.sh index 594e49694..df4ec8bb2 100644 --- a/bin/ncp/UPDATES/unattended-upgrades.sh +++ b/bin/ncp/UPDATES/unattended-upgrades.sh @@ -39,6 +39,9 @@ Dpkg::Options { "--force-confdef"; "--force-confold"; }; + +// Enable the update/upgrade script, disabled by Armbian in 02-armbian-periodic +APT::Periodic::Enable "1"; EOF echo "Unattended upgrades active: $ACTIVE (autoreboot $AUTOREBOOT)" diff --git a/changelog.md b/changelog.md index c2f2fa704..3438f8a6b 100644 --- a/changelog.md +++ b/changelog.md @@ -1,7 +1,11 @@ -[v1.16.6](https://github.com/nextcloud/nextcloudpi/commit/d3718d1) (2019-09-11) Increased modsecurity bodynofileslimit so larger files can be synced (#993) +[v1.16.8](https://github.com/nextcloud/nextcloudpi/commit/c35c752) (2019-09-16) unattended-upgrades: fix armbian disabling UU -[v1.16.5](https://github.com/nextcloud/nextcloudpi/commit/789f0b5) (2019-09-12) nc-datadir: make sure dir exists before check +[v1.16.7](https://github.com/nextcloud/nextcloudpi/commit/9ee9947) (2019-09-11) Increased modsecurity bodynofileslimit so larger files can be synced (#993) + +[v1.16.6](https://github.com/nextcloud/nextcloudpi/commit/dbf129f) (2019-09-13) nc-datadir: fix + +[v1.16.5 ](https://github.com/nextcloud/nextcloudpi/commit/789f0b5) (2019-09-12) nc-datadir: make sure dir exists before check [v1.16.4 ](https://github.com/nextcloud/nextcloudpi/commit/4bd06e6) (2019-09-10) fail2ban: dont need ufw check in docker diff --git a/updates/1.17.0.sh b/updates/1.17.0.sh index 1cfbdaced..8255e25a2 100644 --- a/updates/1.17.0.sh +++ b/updates/1.17.0.sh @@ -20,6 +20,8 @@ apt-get install -y --no-install-recommends php${PHPVER}-gmp # https://github.com/nextcloud/nextcloudpi/issues/959 is_active_app modsecurity && run_app modsecurity +# fix armbian disabling unattended-upgrades +is_active_app unattended-upgrades && run_app unattended-upgrades # docker images only [[ -f /.docker-image ]] && { :