Skip to content

Commit

Permalink
Tentative fix #1178
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbelgium committed Jan 13, 2024
1 parent cb13d8f commit 7641abd
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions paperless_ngx/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion paperless_ngx/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -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]"
}
5 changes: 3 additions & 2 deletions paperless_ngx/rootfs/etc/cont-init.d/99-run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7641abd

Please sign in to comment.