This commit is contained in:
Alexandre
2024-01-13 10:34:32 +01:00
parent cb13d8f6dd
commit 7641abd74a
3 changed files with 5 additions and 3 deletions

View File

@@ -1,3 +1,4 @@
- Tentative fix : paperless not starting https://github.com/alexbelgium/hassio-addons/issues/1178
## 2.3.3 (13-01-2024)
- Update to latest version from paperless-ngx/paperless-ngx

View File

@@ -126,6 +126,6 @@
"slug": "paperless_ng",
"udev": true,
"url": "https://github.com/alexbelgium/hassio-addons",
"version": "2.3.3",
"version": "2.3.3-2",
"webui": "http://[HOST]:[PORT:8000]"
}

View File

@@ -91,8 +91,9 @@ for variable in PAPERLESS_DATA_DIR PAPERLESS_MEDIA_ROOT PAPERLESS_CONSUMPTION_DI
#if [[ "$variablecontent" = *" "* ]] && [[ "$variable" != "PAPERLESS_OCR_LANGUAGES" ]]; then
# variablecontent="\"$variablecontent\""
#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 "$variable"="$variablecontent"
# Add to bashrc