From 663b65e45cd7a46f7f38c1325d7458238a27913e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20Kn=C3=B6ppler?= <6317548+theCalcaholic@users.noreply.github.com> Date: Sun, 16 Apr 2023 00:04:44 +0200 Subject: [PATCH] 1.51.2.sh: Update mysql config after update MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Tobias Knöppler <6317548+theCalcaholic@users.noreply.github.com> --- changelog.md | 7 ++++--- updates/1.51.2.sh | 6 ++++++ 2 files changed, 10 insertions(+), 3 deletions(-) create mode 100644 updates/1.51.2.sh diff --git a/changelog.md b/changelog.md index 931925722..1f10773ab 100644 --- a/changelog.md +++ b/changelog.md @@ -1,11 +1,13 @@ # NextcloudPi Changelog -## [v1.51.2](https://github.com/nextcloud/nextcloudpi/tree/v1.51.2) (????-??-??) Restore support for LXC images +## [v1.51.2](https://github.com/nextcloud/nextcloudpi/tree/v1.51.2) (2023-04-16) 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 +- 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)) - LXD/LXC images receive support for the following ncp apps: - nc-autoupdate-ncp - nc-update @@ -18,13 +20,12 @@ - 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) +- Increase mysql max_allowed_packet (fixes [#1752](https://github.com/nextcloud/nextcloudpi/issues/1752)) ## [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 diff --git a/updates/1.51.2.sh b/updates/1.51.2.sh new file mode 100644 index 000000000..8dfc5e488 --- /dev/null +++ b/updates/1.51.2.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env bash + +source /usr/local/etc/library.sh + +install_template "mysql/91-ncp.cnf.sh" "/etc/mysql/mariadb.conf.d/91-ncp.cnf" +service mariadb restart