From 60e285766a6163b650f8549e8883fa55f9135f4c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Tobias=20Kn=C3=B6ppler?=
<6317548+theCalcaholic@users.noreply.github.com>
Date: Fri, 8 Nov 2024 18:14:01 +0100
Subject: [PATCH 01/12] changelog.md: Document v1.55.3
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 | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/changelog.md b/changelog.md
index 5af22a78..b80c2c59 100644
--- a/changelog.md
+++ b/changelog.md
@@ -1,5 +1,17 @@
# NextcloudPi Changelog
+## [v1.55.3](https://github.com/nextcloud/nextcloudpi/tree/v1.55.3) (2024-11-08) Nextcloud 30 and fixes
+
+### Changes
+
+- Support for Nextcloud 30 ([#1957](https://github.com/nextcloud/nextcloudpi/issues/1957))
+
+### Fixes
+
+- Fix resetting failed state of previous ncp-update-nc job ([#1992](https://github.com/nextcloud/nextcloudpi/issues/1992))
+- Fix installer on systems using resolvconf as DNS manager ([#1926](](https://github.com/nextcloud/nextcloudpi/issues/1926))
+- Fix typo that prevents ncp-previews from being disabled (Thanks @m-breitbach)
+
## [v1.55.2](https://github.com/nextcloud/nextcloudpi/tree/v1.55.2) (2024-09-24) Hotfix release
### Fixes
From bba41f0dfd3170a88ca87e2df347332c1c8d763a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Tobias=20Kn=C3=B6ppler?=
<6317548+theCalcaholic@users.noreply.github.com>
Date: Sat, 22 Mar 2025 11:01:30 +0100
Subject: [PATCH 02/12] Update supported NC version to 31
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>
---
etc/ncp-config.d/nc-nextcloud.cfg | 2 +-
etc/ncp.cfg | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/etc/ncp-config.d/nc-nextcloud.cfg b/etc/ncp-config.d/nc-nextcloud.cfg
index 3bf03675..d7ee8acc 100644
--- a/etc/ncp-config.d/nc-nextcloud.cfg
+++ b/etc/ncp-config.d/nc-nextcloud.cfg
@@ -9,7 +9,7 @@
{
"id": "VER",
"name": "Version",
- "value": "30.0.1"
+ "value": "31.0.1"
},
{
"id": "MAXFILESIZE",
diff --git a/etc/ncp.cfg b/etc/ncp.cfg
index af87f23a..e2b62785 100644
--- a/etc/ncp.cfg
+++ b/etc/ncp.cfg
@@ -1,5 +1,5 @@
{
- "nextcloud_version": "30.0.1",
+ "nextcloud_version": "31.0.1",
"php_version": "8.3",
"release": "bookworm"
}
From 1946e04806477a0270c6c322a8fed8624f7ae6f9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Tobias=20Kn=C3=B6ppler?=
<6317548+theCalcaholic@users.noreply.github.com>
Date: Sat, 22 Mar 2025 11:02:09 +0100
Subject: [PATCH 03/12] library.sh: Fix invalid redirection of error message
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>
---
etc/library.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/etc/library.sh b/etc/library.sh
index 1f031ca3..2d41465a 100644
--- a/etc/library.sh
+++ b/etc/library.sh
@@ -22,7 +22,7 @@ export DB_PREFIX="$(php -r 'include("/var/www/nextcloud/config/config.php"); ech
export SYSTEMD_PAGER=
[[ -f "$NCPCFG" ]] || export NCPCFG=/usr/local/etc/ncp.cfg
-[[ -f "$NCPCFG" ]] || { echo "$NCPCFG not found" >2; exit 1; }
+[[ -f "$NCPCFG" ]] || { echo "$NCPCFG not found" >&2; exit 1; }
if [[ "$(ps -p 1 --no-headers -o "%c")" == "systemd" ]] && ! [[ -d "/run/systemd/system" ]]
then
From bee56f576790e5c23695f76c74378c419a03899f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Tobias=20Kn=C3=B6ppler?=
<6317548+theCalcaholic@users.noreply.github.com>
Date: Sat, 22 Mar 2025 11:15:45 +0100
Subject: [PATCH 04/12] .github/workflows: Update artifact actions to v4
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>
---
.github/workflows/build-docker.yml | 4 ++--
.github/workflows/build-lxd.yml | 8 ++++----
.github/workflows/build-sd-images.yml | 6 +++---
.github/workflows/publish-image.yml | 2 +-
.github/workflows/vm-tests.yml | 8 ++++----
5 files changed, 14 insertions(+), 14 deletions(-)
diff --git a/.github/workflows/build-docker.yml b/.github/workflows/build-docker.yml
index adc0084a..98fc9a95 100644
--- a/.github/workflows/build-docker.yml
+++ b/.github/workflows/build-docker.yml
@@ -381,7 +381,7 @@ jobs:
docker exec nextcloudpi bash /usr/local/bin/ncp-diag |& awk "{ print \"${LOG_DIAG} \" \$0 }"
- name: "Upload error report"
if: ${{ failure() }}
- uses: actions/upload-artifact@v3
+ uses: actions/upload-artifact@v4
with:
name: ${{ github.run_id }}-docker-${{ env.ARCH }}-update-test-error-report
path: tests/error-report.txt
@@ -533,7 +533,7 @@ jobs:
- name: "Upload error report"
if: ${{ failure() }}
- uses: actions/upload-artifact@v3
+ uses: actions/upload-artifact@v4
with:
name: ${{ github.run_id }}-docker-${{ env.ARCH }}-install-test-error-report
path: tests/error-report.txt
diff --git a/.github/workflows/build-lxd.yml b/.github/workflows/build-lxd.yml
index c5b2992a..deec7021 100644
--- a/.github/workflows/build-lxd.yml
+++ b/.github/workflows/build-lxd.yml
@@ -91,7 +91,7 @@ jobs:
sudo "$LXC" image export -q ncp/"${version}" "output/${ARTIFACT_FILE}"
echo "artifact_file=${ARTIFACT_FILE}.tar.gz" >> $GITHUB_OUTPUT
- name: upload LXD image to artifact store
- uses: actions/upload-artifact@v3
+ uses: actions/upload-artifact@v4
with:
name: "${{ env.ARTIFACT_NAME }}"
path: "output/${{ steps.pack-lxd.outputs.artifact_file }}"
@@ -639,7 +639,7 @@ jobs:
- name: Setup Selenium
run: pip install selenium
- name: download LXD image from artifact store
- uses: actions/download-artifact@v3
+ uses: actions/download-artifact@v4
with:
name: ${{ env.ARTIFACT_NAME }}
- name: Remove old lxd images
@@ -714,7 +714,7 @@ jobs:
LXD_ARTIFACT_FILE: ${{ needs.build-current.outputs.artifact_file }}
steps:
- name: download LXD image from artifact store
- uses: actions/download-artifact@v3
+ uses: actions/download-artifact@v4
with:
name: ${{ env.LXD_ARTIFACT_NAME }}
- name: convert to LXC image
@@ -732,7 +732,7 @@ jobs:
echo "artifact_file=${LXC_ARTIFACT_FILE?}" >> $GITHUB_OUTPUT;
echo "artifact_name=${LXD_ARTIFACT_NAME//lxd/lxc}" >> $GITHUB_OUTPUT;
- name: upload LXD image to artifact store
- uses: actions/upload-artifact@v3
+ uses: actions/upload-artifact@v4
with:
name: "${{ steps.lxd-to-lxc.outputs.artifact_name }}"
path: "output/${{ steps.lxd-to-lxc.outputs.artifact_file }}"
diff --git a/.github/workflows/build-sd-images.yml b/.github/workflows/build-sd-images.yml
index 12a4490d..caa2afaf 100644
--- a/.github/workflows/build-sd-images.yml
+++ b/.github/workflows/build-sd-images.yml
@@ -98,12 +98,12 @@ jobs:
echo "ARTIFACT_FILE=${IMG}" >> $GITHUB_ENV
- name: "Upload Armbian logs"
if: ${{ failure() }}
- uses: actions/upload-artifact@v3
+ uses: actions/upload-artifact@v4
with:
name: ${{ github.run_id }}-${{ inputs.board_id }}-logs
path: armbian/output
- name: upload image to artifact store
- uses: actions/upload-artifact@v3
+ uses: actions/upload-artifact@v4
with:
name: ${{ github.run_id }}-${{ inputs.board_id }}-image
path: output/${{ env.ARTIFACT_FILE }}
@@ -134,7 +134,7 @@ jobs:
uses: actions/checkout@v3
with:
ref: "${{ env.VERSION }}"
- - uses: actions/download-artifact@v3
+ - uses: actions/download-artifact@v4
with:
name: ${{ env.ARTIFACT_ID }}
path: output
diff --git a/.github/workflows/publish-image.yml b/.github/workflows/publish-image.yml
index 49a083e8..925c66cd 100644
--- a/.github/workflows/publish-image.yml
+++ b/.github/workflows/publish-image.yml
@@ -32,7 +32,7 @@ jobs:
with:
ref: "${{ env.VERSION }}"
- name: "Download artifact"
- uses: actions/download-artifact@v3
+ uses: actions/download-artifact@v4
with:
name: ${{ inputs.artifact_id }}
path: artifacts
diff --git a/.github/workflows/vm-tests.yml b/.github/workflows/vm-tests.yml
index a6cf114a..09e1121d 100644
--- a/.github/workflows/vm-tests.yml
+++ b/.github/workflows/vm-tests.yml
@@ -52,7 +52,7 @@ jobs:
ssh-keygen -t ed25519 -f ".ssh/automation_ssh_key"
. /ncp-test-automation/bin/entrypoint.sh
- name: upload ssh private key to artifact store
- uses: actions/upload-artifact@v3
+ uses: actions/upload-artifact@v4
with:
name: "${{ env.SSH_ARTIFACT_NAME }}"
path: /__w/nextcloudpi/nextcloudpi/.ssh
@@ -302,7 +302,7 @@ jobs:
ssh-keygen -t ed25519 -f "/__w/nextcloudpi/nextcloudpi/.ssh/automation_ssh_key"
. /ncp-test-automation/bin/entrypoint.sh
- name: upload ssh private key to artifact store
- uses: actions/upload-artifact@v3
+ uses: actions/upload-artifact@v4
with:
name: "${{ env.SSH_ARTIFACT_NAME }}"
path: /__w/nextcloudpi/nextcloudpi/.ssh
@@ -514,7 +514,7 @@ jobs:
UID: ${{ github.run_id }}-install
steps:
- name: download ssh private key from artifact store
- uses: actions/download-artifact@v3
+ uses: actions/download-artifact@v4
if: ${{ contains('success|failure', env.TEST_RESULT) }}
with:
name: ${{ env.SSH_ARTIFACT_NAME }}
@@ -621,7 +621,7 @@ jobs:
SSH_ARTIFACT_NAME: "${{ needs.dist-upgrade-test.outputs.ssh_artifact_name }}"
steps:
- name: download ssh private key from artifact store
- uses: actions/download-artifact@v3
+ uses: actions/download-artifact@v4
if: ${{ contains('success|failure', env.TEST_RESULT) }}
with:
name: ${{ env.SSH_ARTIFACT_NAME }}
From 92b352f06e8b34f0c499bbe226466f42e0717213 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Tobias=20Kn=C3=B6ppler?=
<6317548+theCalcaholic@users.noreply.github.com>
Date: Sat, 22 Mar 2025 11:50:48 +0100
Subject: [PATCH 05/12] Update supported NC version to 31 for nc apps
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>
---
ncp-app/appinfo/info.xml | 2 +-
ncp-previewgenerator/ncp-previewgenerator-nc21/appinfo/info.xml | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/ncp-app/appinfo/info.xml b/ncp-app/appinfo/info.xml
index 1fe88071..a3040d3a 100644
--- a/ncp-app/appinfo/info.xml
+++ b/ncp-app/appinfo/info.xml
@@ -12,7 +12,7 @@
tools
https://github.com/nextcloud/nextcloudpi/issues
-
+
diff --git a/ncp-previewgenerator/ncp-previewgenerator-nc21/appinfo/info.xml b/ncp-previewgenerator/ncp-previewgenerator-nc21/appinfo/info.xml
index 46b4ed51..e7a25109 100644
--- a/ncp-previewgenerator/ncp-previewgenerator-nc21/appinfo/info.xml
+++ b/ncp-previewgenerator/ncp-previewgenerator-nc21/appinfo/info.xml
@@ -25,7 +25,7 @@ The first time you install this app, before using a cron job, you properly want
-
+
From 94a8dda931ecaf74361fdf0e9613744c494beab9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Tobias=20Kn=C3=B6ppler?=
<6317548+theCalcaholic@users.noreply.github.com>
Date: Sat, 22 Mar 2025 12:05:32 +0100
Subject: [PATCH 06/12] build-lxd.yml: Run incus/lxc commands as root
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>
---
.github/workflows/build-lxd.yml | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/.github/workflows/build-lxd.yml b/.github/workflows/build-lxd.yml
index deec7021..f16e07b4 100644
--- a/.github/workflows/build-lxd.yml
+++ b/.github/workflows/build-lxd.yml
@@ -668,18 +668,18 @@ jobs:
- name: Test LXD Image
working-directory: ./tests
run: |
- "$LXC" exec ncp -- bash -c 'tail -f /var/log/ncp.log' |& awk '{ print "NCP::" $0 }' &
+ sudo "$LXC" exec ncp -- bash -c 'tail -f /var/log/ncp.log' |& awk '{ print "NCP::" $0 }' &
python activation_tests.py --no-gui "nextcloudpi.local" 443 4443 || {
echo "Activation test failed!"
echo "Geckodriver logs:"
tail -n 20 geckodriver.log >&2 || true
echo "================"
echo "ncp.log: "
- "$LXC" exec ncp -- "tail -n20 /var/log/ncp.log" || true
+ sudo "$LXC" exec ncp -- "tail -n20 /var/log/ncp.log" || true
echo "================"
echo "nextcloud log: "
datadir="$("$LXC" exec ncp -- ncc config:system:get datadirectory)"
- "$LXC" exec ncp -- cat "$datadir/nextcloud.log" || true
+ sudo "$LXC" exec ncp -- cat "$datadir/nextcloud.log" || true
exit 1
}
python nextcloud_tests.py --no-gui "nextcloudpi.local" 443 4443 || {
@@ -688,11 +688,11 @@ jobs:
tail -n 20 geckodriver.log >&2 || true
echo "================"
echo "ncp.log: "
- "$LXC" exec ncp -- "tail -n20 /var/log/ncp.log" || true
+ sudo "$LXC" exec ncp -- "tail -n20 /var/log/ncp.log" || true
echo "================"
echo "nextcloud log: "
- datadir="$("$LXC" exec ncp -- ncc config:system:get datadirectory)"
- "$LXC" exec ncp -- cat "$datadir/nextcloud.log" || true
+ datadir="$(sudo "$LXC" exec ncp -- ncc config:system:get datadirectory)"
+ sudo "$LXC" exec ncp -- cat "$datadir/nextcloud.log" || true
exit 1
}
USE_INCUS="$USE_INCUS" python system_tests.py --non-interactive || {
From 2c7a079e3c02a5121b4f77a013f061bd3265f9f2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Tobias=20Kn=C3=B6ppler?=
<6317548+theCalcaholic@users.noreply.github.com>
Date: Sun, 23 Mar 2025 22:46:53 +0100
Subject: [PATCH 07/12] Set supported NC version to 31.0.2
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>
---
etc/ncp-config.d/nc-nextcloud.cfg | 2 +-
etc/ncp.cfg | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/etc/ncp-config.d/nc-nextcloud.cfg b/etc/ncp-config.d/nc-nextcloud.cfg
index d7ee8acc..aaa39fb9 100644
--- a/etc/ncp-config.d/nc-nextcloud.cfg
+++ b/etc/ncp-config.d/nc-nextcloud.cfg
@@ -9,7 +9,7 @@
{
"id": "VER",
"name": "Version",
- "value": "31.0.1"
+ "value": "31.0.2"
},
{
"id": "MAXFILESIZE",
diff --git a/etc/ncp.cfg b/etc/ncp.cfg
index e2b62785..5c30ba3d 100644
--- a/etc/ncp.cfg
+++ b/etc/ncp.cfg
@@ -1,5 +1,5 @@
{
- "nextcloud_version": "31.0.1",
+ "nextcloud_version": "31.0.2",
"php_version": "8.3",
"release": "bookworm"
}
From 7f4de99aac0c7267a60c3c5ede56a34ff3c15118 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Tobias=20Kn=C3=B6ppler?=
<6317548+theCalcaholic@users.noreply.github.com>
Date: Mon, 24 Mar 2025 00:47:52 +0100
Subject: [PATCH 08/12] updates/1.56.0.sh: Update row format for db tables
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>
---
updates/1.56.0.sh | 8 ++++++++
1 file changed, 8 insertions(+)
create mode 100755 updates/1.56.0.sh
diff --git a/updates/1.56.0.sh b/updates/1.56.0.sh
new file mode 100755
index 00000000..d36cfc61
--- /dev/null
+++ b/updates/1.56.0.sh
@@ -0,0 +1,8 @@
+#!/usr/bin/env bash
+
+set -eu -o pipefail
+
+echo "Update DB row format ..."
+mysql -u root -N nextcloud -e "SELECT CONCAT('ALTER TABLE \`', table_name, '\` row_format=DYNAMIC;') FROM information_schema.tables WHERE table_schema = 'nextcloud' AND engine = 'InnoDB' AND row_format != 'Dynamic';" | mysql -u root nextcloud
+echo "Done."
+
From 5738d58f28dc7fd7e03d9ff0c4dd4639ee8d3707 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Tobias=20Kn=C3=B6ppler?=
<6317548+theCalcaholic@users.noreply.github.com>
Date: Mon, 24 Mar 2025 00:50:05 +0100
Subject: [PATCH 09/12] 1.55.3.sh: Prevent nonzero exit code if no action
necessary
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>
---
updates/1.55.3.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/updates/1.55.3.sh b/updates/1.55.3.sh
index 78ea8436..3464edee 100644
--- a/updates/1.55.3.sh
+++ b/updates/1.55.3.sh
@@ -1,3 +1,3 @@
#!/bin/bash
-[ -f /etc/cron.d/ncp-previews-auto ] && mv /etc/cron.d/ncp-previews-auto /etc/cron.d/nc-previews-auto
+! [ -f /etc/cron.d/ncp-previews-auto ] || mv /etc/cron.d/ncp-previews-auto /etc/cron.d/nc-previews-auto
From 6f4b43e3caf79dfb2408da137f3f88c42d806235 Mon Sep 17 00:00:00 2001
From: twojstaryzdomu
Date: Sun, 22 Dec 2024 16:51:16 +0100
Subject: [PATCH 10/12] nc-limits.sh: Do not trigger ERR trap due to failed
tests
---
bin/ncp/CONFIG/nc-limits.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/bin/ncp/CONFIG/nc-limits.sh b/bin/ncp/CONFIG/nc-limits.sh
index 900662c1..de411e9a 100644
--- a/bin/ncp/CONFIG/nc-limits.sh
+++ b/bin/ncp/CONFIG/nc-limits.sh
@@ -82,14 +82,14 @@ configure()
[[ "$CONF_VALUE" == "$(cat "$CONF")" ]] || service mariadb restart
# RESTART PHP
- [[ "$require_fpm_restart" == "true" ]] && {
+ [[ "$require_fpm_restart" != "true" ]] || {
bash -c "sleep 3; source /usr/local/etc/library.sh; clear_opcache; service php${PHPVER}-fpm restart" &>/dev/null &
}
# redis max memory
local CONF=/etc/redis/redis.conf
local CURRENT_REDIS_MEM="$( grep "^maxmemory" "$CONF" | awk '{ print $2 }' )"
- [[ "$REDISMEM" != "$CURRENT_REDIS_MEM" ]] && {
+ [[ "$REDISMEM" == "$CURRENT_REDIS_MEM" ]] || {
sed -i "s|^maxmemory .*|maxmemory $REDISMEM|" "$CONF"
chown redis:redis "$CONF"
service redis-server restart
From ce2406d222b6603d5dcb5991566c3264fc902c2c Mon Sep 17 00:00:00 2001
From: Josh
Date: Tue, 4 Feb 2025 16:33:21 -0500
Subject: [PATCH 11/12] fix(CONFIG): temp directory typo in nc-datadir.sh
Fixes #1857
Fixes #1750
Signed-off-by: Josh
---
bin/ncp/CONFIG/nc-datadir.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bin/ncp/CONFIG/nc-datadir.sh b/bin/ncp/CONFIG/nc-datadir.sh
index 372c8203..967516ff 100644
--- a/bin/ncp/CONFIG/nc-datadir.sh
+++ b/bin/ncp/CONFIG/nc-datadir.sh
@@ -135,7 +135,7 @@ configure()
create_tmp_upload_dir
ncc config:system:set tempdirectory --value "$DATADIR/tmp" \
|| sed -i "s|'tempdirectory' =>.*|'tempdirectory' => '${DATADIR}/tmp',|" "${NCDIR?}"/config/config.php
- sed -i "s|^;\?upload_tmp_dir =.*$|uploadtmp_dir = ${DATADIR}/tmp|" /etc/php/"${PHPVER?}"/cli/php.ini
+ sed -i "s|^;\?upload_tmp_dir =.*$|upload_tmp_dir = ${DATADIR}/tmp|" /etc/php/"${PHPVER?}"/cli/php.ini
sed -i "s|^;\?upload_tmp_dir =.*$|upload_tmp_dir = ${DATADIR}/tmp|" /etc/php/"${PHPVER}"/fpm/php.ini
sed -i "s|^;\?sys_temp_dir =.*$|sys_temp_dir = ${DATADIR}/tmp|" /etc/php/"${PHPVER}"/fpm/php.ini
From a7cf5a26722e26e0224a1009cda4e1f53106980c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Tobias=20Kn=C3=B6ppler?=
<6317548+theCalcaholic@users.noreply.github.com>
Date: Mon, 24 Mar 2025 12:29:10 +0100
Subject: [PATCH 12/12] changelog.md: Document v1.55.4
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 | 11 +++++++++++
updates/{1.56.0.sh => 1.55.4.sh} | 0
2 files changed, 11 insertions(+)
rename updates/{1.56.0.sh => 1.55.4.sh} (100%)
diff --git a/changelog.md b/changelog.md
index b80c2c59..4a6fbb2e 100644
--- a/changelog.md
+++ b/changelog.md
@@ -1,5 +1,16 @@
# NextcloudPi Changelog
+## [v1.55.4](https://github.com/nextcloud/nextcloudpi/tree/v1.55.3) (2025-03-24) Nextcloud 31 and fixes
+
+### Changes
+
+- Support for Nextcloud 31
+
+### Fixes
+
+- Fix wrongly configured temporary directory for uploads (fixes [#1750](https://github.com/nextcloud/nextcloudpi/issues/1750), [#1857](https://github.com/nextcloud/nextcloudpi/issues/1857)), thanks [@joshtrichards](https://github.com/joshtrichards)
+- Fix regression breaking php upgrades (see [#2026](https://github.com/nextcloud/nextcloudpi/pull/2026)), thanks [@twojstaryzdomu](https://github.com/twojstaryzdomu)
+
## [v1.55.3](https://github.com/nextcloud/nextcloudpi/tree/v1.55.3) (2024-11-08) Nextcloud 30 and fixes
### Changes
diff --git a/updates/1.56.0.sh b/updates/1.55.4.sh
similarity index 100%
rename from updates/1.56.0.sh
rename to updates/1.55.4.sh