Skip to content

Upload times out after ~15 minutes causing incomplete uploads #2283

@tbsbdr

Description

@tbsbdr

(on behalf of a mail sent to me - issue was raised on the chemnitzer linux tage clt in person and then sent via mail)

Installation

  • Version 4.0.3
  • Installed as a Docker container
    • opencloudeu/opencloud:4.0.3
    • traefik:v3.6.9

Empty Storage

root@opencloud:~# df -h /srv
Filesystem                     Size  Used Avail Use% Mounted on
/dev/mapper/opencloud–vg-srv   22G  170M   21G   1% /srv

Upload

  • 154 images
  • Total size: 10 GB
  • File format: ARW (Sony RAW)
  • Approx. 66 MB per image
  • Uploaded via drag & drop in the web interface
  • Estimated upload time: ~35 minutes

Problems

  • After some time, a prompt appears asking whether I want to stay on the page, and I get logged out (Screenshot 1)
  • The timeout occurred about 15 minutes after starting the upload
  • At that time, I had the browser developer console open (Screenshot 2)
  • In OpenCloud, the following is now displayed at the bottom:
    "67 entries with a total of 4.7 GB (67 files, 0 folders)"
  • df -h also shows 4.7 GB
    • This looks correct
root@opencloud:~# df -h /srv
Filesystem                     Size  Used Avail Use% Mounted on
/dev/mapper/opencloud–vg-srv   22G  4.7G   16G  23% /srv

Second Upload Attempt

  • I drag all images into the browser window again
  • Already uploaded files are skipped
  • After about 15 minutes, another timeout occurs with the same message as before
  • In OpenCloud, it still shows exactly the same as before the second upload attempt:
    "67 entries with a total of 4.7 GB (67 files, 0 folders)"
  • df -h shows 7.6 GB
root@opencloud:~# df -h /srv
Filesystem                     Size  Used Avail Use% Mounted on
/dev/mapper/opencloud–vg-srv   22G  7.6G   13G  38% /srv
  • Everything still looks correct here, and all images with the correct size are shown
root@opencloud:~# du -sxch /srv/opencloud/data/storage/users/users/2d49d802-928e-46cd-b130-d0f65cfc7ce1/*
4.4G    total
  • Cached uploads under .oc-nodes are not being cleaned up
du -sxch /srv/opencloud/data/storage/users/users/2d49d802-928e-46cd-b130-d0f65cfc7ce1/.oc-nodes/*
2.9G    total
Image Image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions