From 91fd09ed8c89d074b6e0e3739efe7c4ed51107cf Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Sat, 28 Dec 2024 13:01:01 +0100 Subject: [PATCH 1/6] Update README.md https://github.com/alexbelgium/hassio-addons/issues/1682 --- nextcloud/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nextcloud/README.md b/nextcloud/README.md index 30bb01ec3..017281b69 100644 --- a/nextcloud/README.md +++ b/nextcloud/README.md @@ -33,7 +33,7 @@ This addon is based on the [docker image](https://github.com/linuxserver/docker- ### Custom scripts -/config/addons_autoscripts/nextcloud-ocr.sh will be executed at boot. +/addon_configs/db21ed7f_nextcloud-ocr/nextcloud-ocr.sh will be executed at boot. To run custom commands at boot you can try a code such as : ```bash #!/usr/bin/with-contenv bashio From 7fc0752ad02a0cbb5a2cb0d1e5c006886ae6694f Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Sat, 28 Dec 2024 13:01:58 +0100 Subject: [PATCH 2/6] Correct path in readme https://github.com/alexbelgium/hassio-addons/issues/1682 --- nextcloud/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nextcloud/README.md b/nextcloud/README.md index 017281b69..3dac6b5ed 100644 --- a/nextcloud/README.md +++ b/nextcloud/README.md @@ -49,7 +49,7 @@ To run custom commands at boot you can try a code such as : # Runs only after initialization done # shellcheck disable=SC2128 mkdir -p /scripts -if [ ! -f /app/www/public/occ ]; then cp /config/addons_autoscripts/"$(basename "${BASH_SOURCE}")" /scripts/ && exit 0; fi +if [ ! -f /app/www/public/occ ]; then cp /addon_configs/db21ed7f_nextcloud-ocr/"$(basename "${BASH_SOURCE}")" /scripts/ && exit 0; fi echo "Scanning files" sudo -u abc php /app/www/public/occ files:scan --all From 4b85111c59b6cee6b915d9c57f0f22b9a7e024f4 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Sat, 28 Dec 2024 13:02:41 +0100 Subject: [PATCH 3/6] Correctly for real the path https://github.com/alexbelgium/hassio-addons/issues/1682 --- nextcloud/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nextcloud/README.md b/nextcloud/README.md index 3dac6b5ed..ff2a3078a 100644 --- a/nextcloud/README.md +++ b/nextcloud/README.md @@ -49,7 +49,7 @@ To run custom commands at boot you can try a code such as : # Runs only after initialization done # shellcheck disable=SC2128 mkdir -p /scripts -if [ ! -f /app/www/public/occ ]; then cp /addon_configs/db21ed7f_nextcloud-ocr/"$(basename "${BASH_SOURCE}")" /scripts/ && exit 0; fi +if [ ! -f /app/www/public/occ ]; then cp /config/"$(basename "${BASH_SOURCE}")" /scripts/ && exit 0; fi echo "Scanning files" sudo -u abc php /app/www/public/occ files:scan --all From 23c7256ddabcd07a2cef1e5f3b79a443beffdddc Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Sat, 28 Dec 2024 13:04:20 +0100 Subject: [PATCH 4/6] Provide more details https://github.com/alexbelgium/hassio-addons/issues/1682 --- nextcloud/README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nextcloud/README.md b/nextcloud/README.md index ff2a3078a..90c5b8cc1 100644 --- a/nextcloud/README.md +++ b/nextcloud/README.md @@ -33,7 +33,8 @@ This addon is based on the [docker image](https://github.com/linuxserver/docker- ### Custom scripts -/addon_configs/db21ed7f_nextcloud-ocr/nextcloud-ocr.sh will be executed at boot. +`/config/nextcloud-ocr.sh` will be executed at boot. +To be noted that when accessed using a file editor such as Filebrowser, the file will be located in `/addon_configs/db21ed7f_nextcloud-ocr/nextcloud-ocr.sh` To run custom commands at boot you can try a code such as : ```bash #!/usr/bin/with-contenv bashio From ec157617b918f911803d212d5f696f8709649304 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Sat, 28 Dec 2024 13:07:33 +0100 Subject: [PATCH 5/6] Update config.yaml --- grampsweb/config.yaml | 28 ++++------------------------ 1 file changed, 4 insertions(+), 24 deletions(-) diff --git a/grampsweb/config.yaml b/grampsweb/config.yaml index ca5a279a0..7be846dca 100644 --- a/grampsweb/config.yaml +++ b/grampsweb/config.yaml @@ -69,38 +69,18 @@ environment: { } image: ghcr.io/alexbelgium/grampsweb-{arch} init: false -options: { - "database": "sqlite" -} map: - type: addon_config read_only: false name: Grampsweb ports: - 80/tcp: 5000 + 5000/tcp: 5000 ports_description: - 80/tcp: webui -schema: { - "database": "list(sqlite|MariaDB_addon|Mysql_external)", - "APP_KEY": "str?", - "DB_DATABASE": "str?", - "DB_HOST": "str?", - "DB_PASSWORD": "str?", - "DB_PORT": "int?", - "DB_USERNAME": "str?", - "MAIL_MAILER": "str?", - "MAIL_HOST": "str?", - "MAIL_PORT": "str?", - "MAIL_USERNAME": "str?", - "MAIL_PASSWORD": "str?", - "MAIL_ENCRYPTION": "str?", - "MAIL_FROM_ADDRESS": "str?", - "MAIL_FROM_NAME": "str?" -} + 5000/tcp: webui services: - mysql:want slug: grampsweb tmpfs: true url: https://github.com/alexbelgium/hassio-addons/tree/master/grampsweb -version: "0.1" -webui: "[PROTO:ssl]://[HOST]:[PORT:80]" +version: "0.2" +webui: "[PROTO:ssl]://[HOST]:[PORT:5000]" From f028c7e568d56a08aed2d23ce3805a8d9769f59e Mon Sep 17 00:00:00 2001 From: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 28 Dec 2024 12:13:29 +0000 Subject: [PATCH 6/6] GitHub bot : changelog --- grampsweb/CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/grampsweb/CHANGELOG.md b/grampsweb/CHANGELOG.md index 24c172a35..bc433f7b1 100644 --- a/grampsweb/CHANGELOG.md +++ b/grampsweb/CHANGELOG.md @@ -1,2 +1,4 @@ +## "0.2" (28-12-2024) +- Minor bugs fixed ## "0.1" (28-12-2024) - First version