From 2aa95c657b40ae38f0037804551fcd2e016228d3 Mon Sep 17 00:00:00 2001 From: nachoparker Date: Tue, 16 Nov 2021 17:29:36 -0700 Subject: ncp-previewgenerator: update to NC22 Signed-off-by: nachoparker --- changelog.md | 4 ++- .../ncp-previewgenerator-nc21/appinfo/info.xml | 5 +-- updates/1.45.0.sh | 39 ++++++++++++++++++++++ 3 files changed, 45 insertions(+), 3 deletions(-) create mode 100644 updates/1.45.0.sh diff --git a/changelog.md b/changelog.md index 1b0414fe..36621a26 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,7 @@ -[v1.44.0](https://github.com/nextcloud/nextcloudpi/commit/cfc3d51) (2021-11-16) upgrade to NC22.2.1 +[v1.44.1](https://github.com/nextcloud/nextcloudpi/commit/3f6db7d) (2021-11-16) ncp-previewgenerator: update to NC22 + +[v1.44.0](https://github.com/nextcloud/nextcloudpi/commit/5ebef5e) (2021-11-16) upgrade to NC22.2.1 [v1.43.7](https://github.com/nextcloud/nextcloudpi/commit/6aba9b9) (2021-11-05) nc-restore: improve restoring data from SD to docker diff --git a/ncp-previewgenerator/ncp-previewgenerator-nc21/appinfo/info.xml b/ncp-previewgenerator/ncp-previewgenerator-nc21/appinfo/info.xml index db280895..c34e4b60 100644 --- a/ncp-previewgenerator/ncp-previewgenerator-nc21/appinfo/info.xml +++ b/ncp-previewgenerator/ncp-previewgenerator-nc21/appinfo/info.xml @@ -13,7 +13,8 @@ The first time you install this app, before using a cron job, you properly want AGPL Roeland Jago Douma - 3.1.1 + + 99.99.99 PreviewGenerator multimedia https://github.com/rullzer/previewgenerator @@ -24,7 +25,7 @@ The first time you install this app, before using a cron job, you properly want - + diff --git a/updates/1.45.0.sh b/updates/1.45.0.sh new file mode 100644 index 00000000..16778309 --- /dev/null +++ b/updates/1.45.0.sh @@ -0,0 +1,39 @@ +#!/bin/bash + +set -e + +## BACKWARD FIXES ( for older images ) + +source /usr/local/etc/library.sh # sets NCLATESTVER PHPVER RELEASE + +# all images + +# this update brings a version bump for ncp-previewgenerator +ncc upgrade + +# docker images only +[[ -f /.docker-image ]] && { + : +} + +# for non docker images +[[ ! -f /.docker-image ]] && { + + # make sure redis is up before running nextclud-domain + cat > /usr/lib/systemd/system/nextcloud-domain.service <<'EOF' +[Unit] +Description=Register Current IP as Nextcloud trusted domain +Requires=network.target +After=mysql.service redis.service + +[Service] +ExecStart=/bin/bash /usr/local/bin/nextcloud-domain.sh +Restart=on-failure +RestartSec=5s + +[Install] +WantedBy=multi-user.target +EOF +} + +exit 0 -- cgit v1.2.3