diff --git a/bin/ncp/NETWORKING/SSH.sh b/bin/ncp/NETWORKING/SSH.sh index 12f1642c..f3d063ab 100644 --- a/bin/ncp/NETWORKING/SSH.sh +++ b/bin/ncp/NETWORKING/SSH.sh @@ -11,8 +11,6 @@ install() { apt-get update apt-get install -y --no-install-recommends openssh-server - systemctl stop ssh - systemctl disable ssh } is_active() diff --git a/changelog.md b/changelog.md index 7403d22c..93192572 100644 --- a/changelog.md +++ b/changelog.md @@ -1,3 +1,31 @@ +# NextcloudPi Changelog + +## [v1.51.2](https://github.com/nextcloud/nextcloudpi/tree/v1.51.2) (????-??-??) Restore support for LXC images + +### Changes + +- LXC images are being provided again (generated from the LXD ones) +- root/webui users are not disabled on container images anymore +- LXD/LXC images receive support for the following ncp apps: + - nc-autoupdate-ncp + - nc-update + - nc-datadir + - nc-database + - UFW + - nc-audit + - SSH + - fail2ban + - nc-nextcloud + - nc-init + - samba +- Add a new utility (command line) script `nc-broadcast` to notify all Nextcloud users +- Notify docker users about the discontinuation of NCP docker (more information [here](https://help.nextcloud.com/t/nextcloudpi-planning-to-discontinue-its-docker-version-with-nc-25)) + +### Fixes + +- Exclude btrfs snapshots from backup monitoring in `ncp-metrics` for all container variants +- Use systemd backend for ssh jail in `fail2ban` (/var/log/auth.log may not be available) + ## [v1.51.1](https://github.com/nextcloud/nextcloudpi/tree/v1.51.1) (2023-04-08) Support for Nextcloud 25.0.5 and SSH/updater fixes ### Changes diff --git a/post-inst.sh b/post-inst.sh index 9867c49f..9994c0a4 100644 --- a/post-inst.sh +++ b/post-inst.sh @@ -9,7 +9,7 @@ # configure() -{ +{ ( set +e @@ -22,6 +22,8 @@ configure() killall postdrop killall sendmail + [[ -f /usr/local/etc/ncp-config.d/SSH.cfg ]] && systemctl disable ssh + # cleanup all NCP extras find /usr/local/bin/ncp -name '*.sh' | \ while read script; do cleanup_script $script; done