-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: /tmp dir upload not working #30843
Comments
AFAIK, this folder is not used for chunked uploads. server/apps/files/js/file-upload.js Lines 261 to 330 in a145edd
One option may be disabling chunked uploads (set to Lines 57 to 60 in 0447b53
In ALL cases, it will be your |
@acsfer thx for your reply ! Chunk is nice for uploading big files ;).
When upload files the part of chunk are stored in upload_tmp_dir and after that moved to the upload user folder and after that de file is construct ? |
tmp dir is not involved at all for chunk storage. If you want to speed up uploads, enable 'localstorage.allowsymlinks' in the config and manually symlink uploads folder to the separate drive. |
Hi thx for your reply |
Hi, please update to 24.0.9 or better 25.0.3 and report back if it fixes the issue. Thank you! My goal is to add a label like e.g. 25-feedback to this ticket of an up-to-date major Nextcloud version where the bug could be reproduced. However this is not going to work without your help. So thanks for all your effort! If you don't manage to reproduce the issue in time and the issue gets closed but you can reproduce the issue afterwards, feel free to create a new bug report with up-to-date information by following this link: https://github.com/nextcloud/server/issues/new?assignees=&labels=bug%2C0.+Needs+triage&template=BUG_REPORT.yml&title=%5BBug%5D%3A+ |
This is still occuring for me on 25.0.3-apache version. The doc states that it should change both for php chunks and regular tmp files but it does not apply to php chunks. I want to do chunk/parts upload to a local fs and then move them to a mounted nfs for long term retention and disk capacity on the NFS. The reason for this being that large file uploads (yes I changed all relevant settings according to tuning guides) fails at ~2 GB size using NFS backend. It appears related to the slowness of certain file operations on NFS like move, copy, etc.. I am looking into setting up data dir on local and using external storage plugin instead - might solve the issue: https://docs.nextcloud.com/server/25/admin_manual/configuration_files/external_storage_configuration_gui.html |
Hi, did you check if setting these two values makes it work? |
Bug description
When user upload files, the part files ares uploaded on USERNAME/uploads/web-file-upload-xxxx insted of configured upload dir
Steps to reproduce
...
Expected behavior
Installation method
Manual installation
Operating system
Debian/Ubuntu
PHP engine version
PHP 7.3
Web server
Apache (supported)
Database engine version
MariaDB
Is this bug present after an update or on a fresh install?
Fresh Nextcloud Server install
Are you using the Nextcloud Server Encryption module?
Encryption is Disabled
Are you using an external user-backend?
Configuration report
List of activated Apps
Nextcloud Signing status
Nextcloud Logs
Additional info
no add
The text was updated successfully, but these errors were encountered: