teldrive icon indicating copy to clipboard operation
teldrive copied to clipboard

[Bug]: Unable to upload and download in 1.7.0

Open RobertusIT opened this issue 2 months ago • 2 comments

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

RobertusIT avatar Oct 13 '25 10:10 RobertusIT

I have the same problems, plus the following #507

roccolycos avatar Oct 13 '25 11:10 roccolycos

I am having a similar issue. am able to download but not upload

aniel300 avatar Nov 17 '25 09:11 aniel300