Skip to content

Commit

Permalink
unattended-upgrades: fix armbian disabling UU
Browse files Browse the repository at this point in the history
Signed-off-by: nachoparker <nacho@ownyourbits.com>
  • Loading branch information
nachoparker committed Sep 17, 2019
1 parent 9ee9947 commit f885861
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
3 changes: 3 additions & 0 deletions bin/ncp/UPDATES/unattended-upgrades.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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)"
Expand Down
8 changes: 6 additions & 2 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 2 additions & 0 deletions updates/1.17.0.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 ]] && {
:
Expand Down

0 comments on commit f885861

Please sign in to comment.