File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff 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/"
Original file line number Diff line number Diff line change @@ -158,7 +158,7 @@ Requires=redis.service
158158
159159[Service]
160160WorkingDirectory=/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"
162162Environment=GRANIAN_HOST=::
163163Environment=GRANIAN_PORT=8000
164164Environment=GRANIAN_WORKERS=1
You can’t perform that action at this time.
0 commit comments