Skip to content

Commit a81c074

Browse files
authored
paperless: ASGI interface typo (#9668)
1 parent 33ce3fd commit a81c074

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

ct/paperless-ngx.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,12 @@ function update_script() {
2828
exit
2929
fi
3030

31-
# Check for old data structure and prompt migration
31+
# Check for old data structure and prompt migration (exclude symlinks)
3232
if [[ -f /opt/paperless/paperless.conf ]]; then
3333
local OLD_DIRS=()
34-
[[ -d /opt/paperless/consume ]] && OLD_DIRS+=("consume")
35-
[[ -d /opt/paperless/data ]] && OLD_DIRS+=("data")
36-
[[ -d /opt/paperless/media ]] && OLD_DIRS+=("media")
34+
[[ -d /opt/paperless/consume && ! -L /opt/paperless/consume ]] && OLD_DIRS+=("consume")
35+
[[ -d /opt/paperless/data && ! -L /opt/paperless/data ]] && OLD_DIRS+=("data")
36+
[[ -d /opt/paperless/media && ! -L /opt/paperless/media ]] && OLD_DIRS+=("media")
3737

3838
if [[ ${#OLD_DIRS[@]} -gt 0 ]]; then
3939
msg_error "Old data structure detected in /opt/paperless/"

install/paperless-ngx-install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ Requires=redis.service
158158
159159
[Service]
160160
WorkingDirectory=/opt/paperless/src
161-
ExecStart=uv run -- granian --interface asginl --ws "paperless.asgi:application"
161+
ExecStart=uv run -- granian --interface asgi --ws "paperless.asgi:application"
162162
Environment=GRANIAN_HOST=::
163163
Environment=GRANIAN_PORT=8000
164164
Environment=GRANIAN_WORKERS=1

0 commit comments

Comments
 (0)