Description
The new v0.7.0 fails to start on the following error:
oxicloud | thread 'tokio-rt-worker' (45) panicked at /usr/local/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/pdf-extract-0.10.0/src/lib.rs:1796:68:
oxicloud | index out of bounds: the len is 0 but the index is 0
Occurs when upgrading from v0.6.0 or when starting from scratch and uploading files.
To Reproduce
networks:
oxicloud:
name: oxicloud
external: false
services:
oxicloud-postgresql:
image: postgres:18
container_name: oxicloud-postgresql
restart: unless-stopped
environment:
POSTGRES_DB: ${OXICLOUD_DBNAME:-oxicloud}
POSTGRES_USER: ${OXICLOUD_DBUSER:-oxicloud}
POSTGRES_PASSWORD: ${OXICLOUD_DBPASS:-oxicloud}
volumes:
- ./sql/:/var/lib/postgresql/:rw
networks:
- oxicloud
oxicloud:
image: diocrafts/oxicloud:latest
container_name: oxicloud
restart: unless-stopped
ports:
- 127.0.0.1:${OXICLOUD_PORT:-8086}:8086
depends_on:
- oxicloud-postgresql
environment:
OXICLOUD_SERVER_HOST: 0.0.0.0
OXICLOUD_BASE_URL: ${OXICLOUD_BASE_URL:-http://127.0.0.1:${OXICLOUD_PORT:-8086}}
OXICLOUD_DB_CONNECTION_STRING: postgres://${OXICLOUD_DBUSER:-oxicloud}:${OXICLOUD_DBPASS:-oxicloud}@oxicloud-postgresql:5432/${OXICLOUD_DBNAME:-oxicloud}
DATABASE_URL: postgres://${OXICLOUD_DBUSER:-oxicloud}:${OXICLOUD_DBPASS:-oxicloud}@oxicloud-postgresql:5432/${OXICLOUD_DBNAME:-oxicloud}
OXICLOUD_JWT_SECRET: ${OXICLOUD_JWT_SECRET:-oxicloud}
OXICLOUD_NEXTCLOUD_ENABLED: true
volumes:
- ./data/:/app/storage/
networks:
- oxicloud
Expected Behavior
Normal startup.
Environment
OS: Arch Linux
OxiCloud Version: v0.7.0
Docker Version: 29.5.2
Description
The new v0.7.0 fails to start on the following error:
Occurs when upgrading from v0.6.0 or when starting from scratch and uploading files.
To Reproduce
Expected Behavior
Normal startup.
Environment
OS: Arch Linux
OxiCloud Version: v0.7.0
Docker Version: 29.5.2