teldrive
teldrive copied to clipboard
[Bug]: Unable to upload and download in 1.7.0
Describe the bug
Hi,
I just update to 1.7.0 and there are issue to download and upload files.
This log is teldrive docker, duringupload files, with rclone cli:
13/10/2025 10:12 AM ERROR [DB] github.com/tgdrive/teldrive/internal/tgc/channel_manager.go:90 ERROR: cannot get array length of a scalar (SQLSTATE 22023)
[65.539ms] [rows:-] SELECT COALESCE(SUM(jsonb_array_length(parts)), 0) as total_parts FROM "teldrive"."files" WHERE channel_id = 12345
Repoduction
Copy with rclone, from my local storage, to teldrive storage, launched in another machine into the local network, with w11.
.\rclone.exe copy "L:\MYLOCALFILES" "teldrive:/MYBACKUP" --progress --verbose --multi-thread-streams 8 --checkers=16 --fast-list --multi-thread-write-buffer-size 32M --multi-thread-chunk-size 64M --buffer-size 64M
Expected behavior
.
Version
docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
ghcr.io/tgdrive/teldrive latest 58ace8826933 5 days ago 55.9MB
groonga/pgroonga latest-alpine-17 dcb7788e1bca 8 days ago 444MB
Which Platform are you using?
Linux
Additional context
No response
I have the same problems, plus the following #507
I am having a similar issue. am able to download but not upload