[Nextcloud] - Upload large file doesn't work with NC Client #416
Labels
No Label
administration
Akkoma
Android
Bare metal
bug
Communication
Community
Cryptpad
Discussion
Documentation
duplicate
enhancement
etherpad
Feature request
Feedback
finances
Fixed
forgejo
fun_project
Goal 2024
help wanted
Howto
🤔️ Investigate
ios
jitsi
lacre
Lacre Test
ldap
Lemmy
LibreTranslate
low prio
Lufi
macos
Mail
Merch
monitoring
movim
needs_refine
New Auth
Nextcloud
nice to have
on hold
proposal
question
Ready
refined
Roundcube
searX
spam-protection
Staging Server
Themes
TOR
Urgent!
Website
windows
wontfix
xmpp
Yearly Report
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: Disroot/Disroot-Project#416
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I've done some tests with different big files (overs 600MB): I'm trying to upload them using NC desktop client (so basically just copying in my shared folder). It is uploading, but at the end of the upload, I see "Few seconds left, 800MB on 800MB" on the NC client windows. It stays for like 20 seconds, and then an error popup appears that says ".. 504 Gateway Timeout Error MOVE https://cloud.disroot.org....file"
It looks a bit like this: https://help.nextcloud.com/t/504-gateway-timeout-for-large-file-uploads/87839 or https://help.nextcloud.com/t/error-when-assembling-chunks-status-code-504-on-big-file-upload/99912
I've done some tests with webdav, same issue.
I realized that when I upload large files I get the 504 Gateway timeout error in the NC desktop client. But if I just wait a minute or so, the file does make it into Nextcloud successfully. So it does work. The issue seems to come from the last step: when the file is copied from the temp folder.
Some tests we could do:
@muppeth I've fixed it by setting
fastcgi_read_timeout 3600s;
to cloud nginx config on cloud instance.That is one of the recommendations found here https://docs.nextcloud.com/server/20/admin_manual/configuration_files/big_file_upload_configuration.html
Though, I'm still wondering why it is not faster to move the file (
MOVE https://cloud.disroot.org/whatever/.file
). Would you have any idea?I'm closing this as this is fixed on prod.