This commit is contained in:
Alexandre
2023-09-05 16:42:35 +02:00
parent 8e3b50c8f1
commit a100a34a04
4 changed files with 14 additions and 2 deletions

View File

@@ -1,3 +1,5 @@
- Fit : new variable "default_phone_region" https://github.com/alexbelgium/hassio-addons/issues/981
### 27.0.2-3 (24-08-2023) ### 27.0.2-3 (24-08-2023)
- Fix : healthcheck timeouts @https://github.com/alexbelgium/hassio-addons/issues/956 - Fix : healthcheck timeouts @https://github.com/alexbelgium/hassio-addons/issues/956
- Fix : nginx timeouts - Fix : nginx timeouts

View File

@@ -35,6 +35,7 @@ Scripts with .sh ending located in /config/addons_config/nextcloud will be execu
### Addon options ### Addon options
```yaml ```yaml
default_phone_region: EN # Define the default phone region according to https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements
disable_updates: prevent automatic apps updating along addon disable_updates: prevent automatic apps updating along addon
additional_apps: vim,nextcloud #specify additional apk files to install ; separated by commas additional_apps: vim,nextcloud #specify additional apk files to install ; separated by commas
PGID/PUID: 1000 #allows setting user. PGID/PUID: 1000 #allows setting user.

View File

@@ -99,6 +99,7 @@
"DAC_READ_SEARCH" "DAC_READ_SEARCH"
], ],
"schema": { "schema": {
"default_phone_region": "match(^[A-Z]{2}$)?",
"Full_Text_Search": "bool?", "Full_Text_Search": "bool?",
"OCR": "bool?", "OCR": "bool?",
"OCRLANG": "str?", "OCRLANG": "str?",
@@ -124,6 +125,6 @@
"slug": "nextcloud_ocr", "slug": "nextcloud_ocr",
"uart": true, "uart": true,
"url": "https://github.com/alexbelgium/hassio-addons/tree/master/nextcloud", "url": "https://github.com/alexbelgium/hassio-addons/tree/master/nextcloud",
"version": "27.0.2-3", "version": "27.0.2-4",
"webui": "https://[HOST]:[PORT:443]" "webui": "https://[HOST]:[PORT:443]"
} }

View File

@@ -87,3 +87,11 @@ sudo -u abc -s /bin/bash -c "php /data/app/www/public/occ maintenance:mode --off
sudo -u abc php /data/app/www/public/occ app:remove --no-interaction "richdocumentscode" &>/dev/null || true sudo -u abc php /data/app/www/public/occ app:remove --no-interaction "richdocumentscode" &>/dev/null || true
sudo -u abc php /data/app/www/public/occ app:remove --no-interaction "richdocumentscode_arm64" &>/dev/null || true sudo -u abc php /data/app/www/public/occ app:remove --no-interaction "richdocumentscode_arm64" &>/dev/null || true
sudo -u abc php /data/app/www/public/occ app:remove --no-interaction "richdocumentscode_amd64" &>/dev/null || true sudo -u abc php /data/app/www/public/occ app:remove --no-interaction "richdocumentscode_amd64" &>/dev/null || true
################
# DEFINE PHONE #
################
if bashio::config.has_value "default_phone_region"; then
sudo -u abc php /data/app/www/public/occ config:system:set default_phone_region --value="$(bashio::config "default_phone_region")"
fi