mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-21 00:01:50 +02:00
Tentative fix https://github.com/alexbelgium/hassio-addons/issues/1178
This commit is contained in:
@@ -1,3 +1,4 @@
|
|||||||
|
- Tentative fix : paperless not starting https://github.com/alexbelgium/hassio-addons/issues/1178
|
||||||
|
|
||||||
## 2.3.3 (13-01-2024)
|
## 2.3.3 (13-01-2024)
|
||||||
- Update to latest version from paperless-ngx/paperless-ngx
|
- Update to latest version from paperless-ngx/paperless-ngx
|
||||||
|
|||||||
@@ -126,6 +126,6 @@
|
|||||||
"slug": "paperless_ng",
|
"slug": "paperless_ng",
|
||||||
"udev": true,
|
"udev": true,
|
||||||
"url": "https://github.com/alexbelgium/hassio-addons",
|
"url": "https://github.com/alexbelgium/hassio-addons",
|
||||||
"version": "2.3.3",
|
"version": "2.3.3-2",
|
||||||
"webui": "http://[HOST]:[PORT:8000]"
|
"webui": "http://[HOST]:[PORT:8000]"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -91,8 +91,9 @@ for variable in PAPERLESS_DATA_DIR PAPERLESS_MEDIA_ROOT PAPERLESS_CONSUMPTION_DI
|
|||||||
#if [[ "$variablecontent" = *" "* ]] && [[ "$variable" != "PAPERLESS_OCR_LANGUAGES" ]]; then
|
#if [[ "$variablecontent" = *" "* ]] && [[ "$variable" != "PAPERLESS_OCR_LANGUAGES" ]]; then
|
||||||
# variablecontent="\"$variablecontent\""
|
# variablecontent="\"$variablecontent\""
|
||||||
#fi
|
#fi
|
||||||
bashio::log.blue "$variable=$variablecontent"
|
bashio::log.blue "$variable=\"$variablecontent\""
|
||||||
|
# Add to entrypoint
|
||||||
|
sed -i "1a export $variable=\"$variablecontent\"" /sbin/docker-entrypoint.sh
|
||||||
# Export
|
# Export
|
||||||
export "$variable"="$variablecontent"
|
export "$variable"="$variablecontent"
|
||||||
# Add to bashrc
|
# Add to bashrc
|
||||||
|
|||||||
Reference in New Issue
Block a user