From 04fe76555e95b695e1fa74424f0c33e985bed2aa Mon Sep 17 00:00:00 2001 From: Jim Geraci Date: Mon, 19 Aug 2024 14:51:48 -0400 Subject: [PATCH 1/4] Update Config Location Fix misspelling in config location. --- jellyseerr/rootfs/etc/cont-init.d/90-run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jellyseerr/rootfs/etc/cont-init.d/90-run.sh b/jellyseerr/rootfs/etc/cont-init.d/90-run.sh index 8986fe6f2..b59f898b1 100755 --- a/jellyseerr/rootfs/etc/cont-init.d/90-run.sh +++ b/jellyseerr/rootfs/etc/cont-init.d/90-run.sh @@ -3,7 +3,7 @@ set -e # Create files -CONFIG_LOCATION="/config/addons_config/jellyseer" +CONFIG_LOCATION="/config/addons_config/jellyseerr" bashio::log.info "Config stored in $CONFIG_LOCATION" mkdir -p "$CONFIG_LOCATION" cp -rnT /app/config "$CONFIG_LOCATION"/ From 18149e519e1cb40f124cec5c36bbcfe3a224e59f Mon Sep 17 00:00:00 2001 From: Jim Geraci Date: Tue, 20 Aug 2024 14:10:35 -0400 Subject: [PATCH 2/4] Update configuration Update configuration to fix a misspelling in the config folder name. Update config.json to increment version Update Change log. --- jellyseerr/CHANGELOG.md | 3 +++ jellyseerr/config.json | 2 +- jellyseerr/rootfs/etc/cont-init.d/90-run.sh | 16 ++++++++++++++++ 3 files changed, 20 insertions(+), 1 deletion(-) diff --git a/jellyseerr/CHANGELOG.md b/jellyseerr/CHANGELOG.md index aefeeb29e..52a1043b3 100644 --- a/jellyseerr/CHANGELOG.md +++ b/jellyseerr/CHANGELOG.md @@ -1,3 +1,6 @@ +## 1.9.2-2 (20-08-2024) + +- Minor bugs fixed ## 1.9.2 (15-06-2024) - Update to latest version from Fallenbagel/jellyseerr (changelog : https://github.com/Fallenbagel/jellyseerr/releases) diff --git a/jellyseerr/config.json b/jellyseerr/config.json index d6d7e41de..be4057dff 100644 --- a/jellyseerr/config.json +++ b/jellyseerr/config.json @@ -91,6 +91,6 @@ "slug": "jellyseerr", "udev": true, "url": "https://github.com/alexbelgium/hassio-addons/tree/master/jellyseerr", - "version": "1.9.2", + "version": "1.9.2-2", "webui": "[PROTO:ssl]://[HOST]:[PORT:5055]" } diff --git a/jellyseerr/rootfs/etc/cont-init.d/90-run.sh b/jellyseerr/rootfs/etc/cont-init.d/90-run.sh index b59f898b1..21ca1b0b5 100755 --- a/jellyseerr/rootfs/etc/cont-init.d/90-run.sh +++ b/jellyseerr/rootfs/etc/cont-init.d/90-run.sh @@ -3,6 +3,7 @@ set -e # Create files +OLD_CONFIG_LOCATION="/config/addons_config/jellyseer" CONFIG_LOCATION="/config/addons_config/jellyseerr" bashio::log.info "Config stored in $CONFIG_LOCATION" mkdir -p "$CONFIG_LOCATION" @@ -11,6 +12,21 @@ rm -r /app/config ln -s "$CONFIG_LOCATION" /app/config chmod -R 755 "$CONFIG_LOCATION" +#Move files that may be in misspelled directory +if [ -d "$OLD_CONFIG_LOCATION" ]; + then + #Directory Exists + if [ -z "$( ls -A '$OLD_CONFIG_LOCATION' )" ]; + then + #Empty + else + #Not Empty + bashio::log.info "Moving old configuration settings from $OLD_CONFIG_LOCATION to $CONFIG_LOCATION" + cp -rnT "$OLD_CONFIG_LOCATION" "$CONFIG_LOCATION"/ + rm -r "$OLD_CONFIG_LOCATION" + fi +fi + # Create files JELLYFIN_TYPE=$(bashio::config 'TYPE') export JELLYFIN_TYPE From db49c746c2eb8054726ab78afe7716e97c34a9cc Mon Sep 17 00:00:00 2001 From: James Geraci Date: Tue, 20 Aug 2024 14:22:54 -0400 Subject: [PATCH 3/4] Update onpush_builder.yaml Update user --- .github/workflows/onpush_builder.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/onpush_builder.yaml b/.github/workflows/onpush_builder.yaml index a58b68736..046289420 100644 --- a/.github/workflows/onpush_builder.yaml +++ b/.github/workflows/onpush_builder.yaml @@ -16,7 +16,7 @@ on: jobs: correct_path_filters: - if: github.repository_owner == 'alexbelgium' + if: github.repository_owner == 'kool2zero' runs-on: ubuntu-latest steps: - name: ↩️ Checkout From 3ee3cfaa446a6b47b20916e4b79da25872605c6f Mon Sep 17 00:00:00 2001 From: Jim Geraci Date: Tue, 20 Aug 2024 14:24:10 -0400 Subject: [PATCH 4/4] Revert "Update onpush_builder.yaml" This reverts commit db49c746c2eb8054726ab78afe7716e97c34a9cc. --- .github/workflows/onpush_builder.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/onpush_builder.yaml b/.github/workflows/onpush_builder.yaml index 046289420..a58b68736 100644 --- a/.github/workflows/onpush_builder.yaml +++ b/.github/workflows/onpush_builder.yaml @@ -16,7 +16,7 @@ on: jobs: correct_path_filters: - if: github.repository_owner == 'kool2zero' + if: github.repository_owner == 'alexbelgium' runs-on: ubuntu-latest steps: - name: ↩️ Checkout