Skip to content
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

Processing files ... #11724

Closed
CHazz opened this issue Oct 9, 2018 · 19 comments
Closed

Processing files ... #11724

CHazz opened this issue Oct 9, 2018 · 19 comments
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap bug needs info

Comments

@CHazz
Copy link

CHazz commented Oct 9, 2018

after uploading a large file (more than 2gb) .. this message remains .. for an infinite time .. (on all versions and on few installations... it must be a bug ) after refresh the page is all right and the file is uploaded without any problem

https://imgur.com/a/oRFmJ1F

thank you for great job !

@nextcloud-bot
Copy link
Member

GitMate.io thinks possibly related issues are #3475 (question about file count), #2842 ([Files] Upload folders), #898 (Move files to specific folder), #16 (INSTALL file), and #1381 (File Verification).

@Ramalama2
Copy link

Exactly same here, but i have it since v14... (atm 14.0.3)
on v13 this didnt happend...

@Ramalama2
Copy link

Hi, me again, this bug is critical.

Small files are working without any problems, big files (500mb+) doesnt work, always infinite "processing files"

This happens on all 3 Nextcloud instances (all 3 are 14.0.3)

Cheers

@Ramalama2
Copy link

Ramalama2 commented Oct 18, 2018

Here is a debug log, what happens if you uplad a file:

{"reqId":"3ShfGCdWdR8eXSjzRXwA","level":0,"time":"2018-10-18T17:41:16+02:00","remoteAddr":"88.34.33.34","user":"alka","app":"no app in context","method":"MKCOL","url":"\/remote.php\/dav\/uploads\/alka\/web-file-upload-97e882f53055a2408c8da79997c8d0d1-1539877276762","message":"No cache entry found for \/alka\/uploads\/web-file-upload-97e882f53055a2408c8da79997c8d0d1-1539877276762 (storage: home::alka, internalPath: uploads\/web-file-upload-97e882f53055a2408c8da79997c8d0d1-1539877276762)","userAgent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko\/20100101 Firefox\/62.0","version":"14.0.3.0"}
{"reqId":"3ShfGCdWdR8eXSjzRXwA","level":0,"time":"2018-10-18T17:41:16+02:00","remoteAddr":"88.34.33.34","user":"alka","app":"no app in context","method":"MKCOL","url":"\/remote.php\/dav\/uploads\/alka\/web-file-upload-97e882f53055a2408c8da79997c8d0d1-1539877276762","message":"No cache entry found for \/alka\/uploads\/web-file-upload-97e882f53055a2408c8da79997c8d0d1-1539877276762 (storage: home::alka, internalPath: uploads\/web-file-upload-97e882f53055a2408c8da79997c8d0d1-1539877276762)","userAgent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko\/20100101 Firefox\/62.0","version":"14.0.3.0"}
{"reqId":"lZBD9BEoJb9VhKWfBffZ","level":0,"time":"2018-10-18T17:41:16+02:00","remoteAddr":"88.34.33.34","user":"alka","app":"no app in context","method":"PUT","url":"\/remote.php\/dav\/uploads\/alka\/web-file-upload-97e882f53055a2408c8da79997c8d0d1-1539877276762\/0","message":"No cache entry found for \/alka\/uploads\/web-file-upload-97e882f53055a2408c8da79997c8d0d1-1539877276762\/0 (storage: home::alka, internalPath: uploads\/web-file-upload-97e882f53055a2408c8da79997c8d0d1-1539877276762\/0)","userAgent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko\/20100101 Firefox\/62.0","version":"14.0.3.0"}
{"reqId":"lZBD9BEoJb9VhKWfBffZ","level":0,"time":"2018-10-18T17:41:16+02:00","remoteAddr":"88.34.33.34","user":"alka","app":"no app in context","method":"PUT","url":"\/remote.php\/dav\/uploads\/alka\/web-file-upload-97e882f53055a2408c8da79997c8d0d1-1539877276762\/0","message":"No cache entry found for \/alka\/uploads\/web-file-upload-97e882f53055a2408c8da79997c8d0d1-1539877276762\/0 (storage: home::alka, internalPath: uploads\/web-file-upload-97e882f53055a2408c8da79997c8d0d1-1539877276762\/0)","userAgent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko\/20100101 Firefox\/62.0","version":"14.0.3.0"}
{"reqId":"lZBD9BEoJb9VhKWfBffZ","level":0,"time":"2018-10-18T17:41:16+02:00","remoteAddr":"88.34.33.34","user":"alka","app":"no app in context","method":"PUT","url":"\/remote.php\/dav\/uploads\/alka\/web-file-upload-97e882f53055a2408c8da79997c8d0d1-1539877276762\/0","message":"No cache entry found for \/alka\/uploads\/web-file-upload-97e882f53055a2408c8da79997c8d0d1-1539877276762\/0 (storage: home::alka, internalPath: uploads\/web-file-upload-97e882f53055a2408c8da79997c8d0d1-1539877276762\/0)","userAgent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko\/20100101 Firefox\/62.0","version":"14.0.3.0"}
{"reqId":"Ij4XIGeL5WZIE5RrRyP5","level":0,"time":"2018-10-18T17:41:17+02:00","remoteAddr":"88.34.33.34","user":"alka","app":"no app in context","method":"PUT","url":"\/remote.php\/dav\/uploads\/alka\/web-file-upload-97e882f53055a2408c8da79997c8d0d1-1539877276762\/10485760","message":"No cache entry found for \/alka\/uploads\/web-file-upload-97e882f53055a2408c8da79997c8d0d1-1539877276762\/10485760 (storage: home::alka, internalPath: uploads\/web-file-upload-97e882f53055a2408c8da79997c8d0d1-1539877276762\/10485760)","userAgent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko\/20100101 Firefox\/62.0","version":"14.0.3.0"}
{"reqId":"Ij4XIGeL5WZIE5RrRyP5","level":0,"time":"2018-10-18T17:41:17+02:00","remoteAddr":"88.34.33.34","user":"alka","app":"no app in context","method":"PUT","url":"\/remote.php\/dav\/uploads\/alka\/web-file-upload-97e882f53055a2408c8da79997c8d0d1-1539877276762\/10485760","message":"No cache entry found for \/alka\/uploads\/web-file-upload-97e882f53055a2408c8da79997c8d0d1-1539877276762\/10485760 (storage: home::alka, internalPath: uploads\/web-file-upload-97e882f53055a2408c8da79997c8d0d1-1539877276762\/10485760)","userAgent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko\/20100101 Firefox\/62.0","version":"14.0.3.0"}
{"reqId":"Ij4XIGeL5WZIE5RrRyP5","level":0,"time":"2018-10-18T17:41:17+02:00","remoteAddr":"88.34.33.34","user":"alka","app":"no app in context","method":"PUT","url":"\/remote.php\/dav\/uploads\/alka\/web-file-upload-97e882f53055a2408c8da79997c8d0d1-1539877276762\/10485760","message":"No cache entry found for \/alka\/uploads\/web-file-upload-97e882f53055a2408c8da79997c8d0d1-1539877276762\/10485760 (storage: home::alka, internalPath: uploads\/web-file-upload-97e882f53055a2408c8da79997c8d0d1-1539877276762\/10485760)","userAgent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko\/20100101 Firefox\/62.0","version":"14.0.3.0"}

@Ramalama2
Copy link

Guys, i found it out:

I can exactly upload files with maximal size of 9.99 MB
if i try to upload 10.01 MB i get the bug with processing files....

Cheers!

@Ramalama2
Copy link

I found the solution, at least for me:

location ~ /.(?!well-known).* {
deny all;
access_log off;
log_not_found off;
}

I have removed that block and its working now!......

What a crap...

@Nobunaga161RUS
Copy link

Greetings, is there a solution to this baggage? In my logic, when I upload a file, I write the following
{"reqId":"wtdbzPAnPhNOOm0CDQ7P","level":0,"time":"2019-02-01T18:39:35+03:00","remoteAddr":"172.16.11.161","user":"n.gamzin","app":"no app in context","method":"PUT","url":"/remote.php/dav/uploads/n.gamzin/web-file-upload-eb3d8ffa30f02708375177b00a6cc743-1549035192461/5630853120","message":"No cache entry found for /n.gamzin/uploads/web-file-upload-eb3d8ffa30f02708375177b00a6cc743-1549035192461/5630853120 (storage: home::n.gamzin, internalPath: uploads/web-file-upload-eb3d8ffa30f02708375177b00a6cc743-1549035192461/5630853120)","userAgent":"Mozilla/5.0 (X11; Fedora; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.181 Safari/537.36","version":"14.0.6.0"}
{"reqId":"wtdbzPAnPhNOOm0CDQ7P","level":0,"time":"2019-02-01T18:39:35+03:00","remoteAddr":"172.16.11.161","user":"n.gamzin","app":"no app in context","method":"PUT","url":"/remote.php/dav/uploads/n.gamzin/web-file-upload-eb3d8ffa30f02708375177b00a6cc743-1549035192461/5630853120","message":"No cache entry found for /n.gamzin/uploads/web-file-upload-eb3d8ffa30f02708375177b00a6cc743-1549035192461/5630853120 (storage: home::n.gamzin, internalPath: uploads/web-file-upload-eb3d8ffa30f02708375177b00a6cc743-1549035192461/5630853120)","userAgent":"Mozilla/5.0 (X11; Fedora; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.181 Safari/537.36","version":"14.0.6.0"}
{"reqId":"wtdbzPAnPhNOOm0CDQ7P","level":0,"time":"2019-02-01T18:39:35+03:00","remoteAddr":"172.16.11.161","user":"n.gamzin","app":"no app in context","method":"PUT","url":"/remote.php/dav/uploads/n.gamzin/web-file-upload-eb3d8ffa30f02708375177b00a6cc743-1549035192461/5630853120","message":"No cache entry found for /n.gamzin/uploads/web-file-upload-eb3d8ffa30f02708375177b00a6cc743-1549035192461/5630853120 (storage: home::n.gamzin, internalPath: uploads/web-file-upload-eb3d8ffa30f02708375177b00a6cc743-1549035192461/5630853120)","userAgent":"Mozilla/5.0 (X11; Fedora; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.181 Safari/537.36","version":"14.0.6.0"}
{"reqId":"QVR95gWRDYaNh6dsqilG","level":0,"time":"2019-02-01T18:39:36+03:00","remoteAddr":"172.16.11.161","user":"n.gamzin","app":"no app in context","method":"PUT","url":"/remote.php/dav/uploads/n.gamzin/web-file-upload-eb3d8ffa30f02708375177b00a6cc743-1549035192461/5641338880","message":"No cache entry found for /n.gamzin/uploads/web-file-upload-eb3d8ffa30f02708375177b00a6cc743-1549035192461/5641338880 (storage: home::n.gamzin, internalPath: uploads/web-file-upload-eb3d8ffa30f02708375177b00a6cc743-1549035192461/5641338880)","userAgent":"Mozilla/5.0 (X11; Fedora; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.181 Safari/537.36","version":"14.0.6.0"}
{"reqId":"QVR95gWRDYaNh6dsqilG","level":0,"time":"2019-02-01T18:39:36+03:00","remoteAddr":"172.16.11.161","user":"n.gamzin","app":"no app in context","method":"PUT","url":"/remote.php/dav/uploads/n.gamzin/web-file-upload-eb3d8ffa30f02708375177b00a6cc743-1549035192461/5641338880","message":"No cache entry found for /n.gamzin/uploads/web-file-upload-eb3d8ffa30f02708375177b00a6cc743-1549035192461/5641338880 (storage: home::n.gamzin, internalPath: uploads/web-file-upload-eb3d8ffa30f02708375177b00a6cc743-1549035192461/5641338880)","userAgent":"Mozilla/5.0 (X11; Fedora; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.181 Safari/537.36","version":"14.0.6.0"}
{"reqId":"QVR95gWRDYaNh6dsqilG","level":0,"time":"2019-02-01T18:39:36+03:00","remoteAddr":"172.16.11.161","user":"n.gamzin","app":"no app in context","method":"PUT","url":"/remote.php/dav/uploads/n.gamzin/web-file-upload-eb3d8ffa30f02708375177b00a6cc743-1549035192461/5641338880","message":"No cache entry found for /n.gamzin/uploads/web-file-upload-eb3d8ffa30f02708375177b00a6cc743-1549035192461/5641338880 (storage: home::n.gamzin, internalPath: uploads/web-file-upload-eb3d8ffa30f02708375177b00a6cc743-1549035192461/5641338880)","userAgent":"Mozilla/5.0 (X11; Fedora; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.181 Safari/537.36","version":"14.0.6.0"}
and after the file is flooded it hangs on the processing file

@obendev
Copy link

obendev commented Feb 8, 2019

Hey. Same issue here.

Nextcloud 15.0.4
PHP 7.3.2
MySQL 8.0.14
Chrome 72 on Windows 10

Filesize 6,51 GB, *.zip
Log after I try to "re-"access my cloud
{"reqId":"9ZAPfKeMqphuesRJt12l","level":3,"time":"2019-02-08T19:05:45+00:00","remoteAddr":"myip","user":"admin","app":"PHP","method":"MOVE","url":"\/remote.php\/dav\/uploads\/admin\/web-file-upload-5bb0c34184ac3e9b673fb33fa13484d5-1549647751476\/.file","message":"fopen(\/var\/www\/cloud\/data\/admin\/files_encryption\/keys\/files\/test20190206v01.zip.ocTransferId1930963625.part\/OC_DEFAULT_MODULE\/master_4aec25d3.shareKey): failed to open stream: No such file or directory at \/var\/www\/cloud\/lib\/private\/Files\/Storage\/Local.php#284","userAgent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/72.0.3626.96 Safari\/537.36","version":"15.0.4.0"}

On remoteAddr I changed my IPv6 with myip

In the browser it just gives me a Gateway Timeout

~~I also think that this is critical @MorrisJobke ~~

If you need further information I can give them to you, I will keep this "buggy" instance running.

I ran out of disk space, but somehow I had enough (about 9 GB) before the upload. The file was only 6,51 GB big.

@Irillit
Copy link

Irillit commented Mar 22, 2019

Hello. Same in my Nextcloud;
OS: CentOS 7.5
Nextcloud version: 14.0.0.4
HTTP Server: Apache 2.4.6
PHP: 7.0.31

As I got, "Processing files" should be in place until you realod or until the uploads folder of user gets cleared. I suspect the parts of file are merged this time.
I see when using web-interface, part size in uploads is 10485760, and quite different in Nextcloud client (it seems 10000000). I hadn't found this value in server code.

I wonder if changing part size would increase performance of merging? And on what side was it defined?

@stale
Copy link

stale bot commented Jun 8, 2019

This issue has been automatically marked as stale because it has not had recent activity and it seems to be missing some essential informations. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale Ticket or PR with no recent activity label Jun 8, 2019
@skjnldsv skjnldsv added the 1. to develop Accepted and waiting to be taken care of label Jun 8, 2019
@ghost ghost removed the stale Ticket or PR with no recent activity label Jun 8, 2019
@fabide
Copy link

fabide commented Aug 9, 2019

Same Issue here as well

OS: Debian 9.9
Nextcloud version: 15.0.7
HTTP Server: Apache 2.4.25
PHP: 7.0.33

My solution workaround to this problem was to change php.ini:
max_execution_time = 7200
max_input_time =7200

//Edit solution to workaround

@Irillit
Copy link

Irillit commented Aug 9, 2019

I have to mention that I also tried to modify App.php
https://github.com/nextcloud/server/blob/master/apps/files/lib/App.php#L60
I changed from 10 Mb to 30 Mb, and it worked faster in my case. Not sure whether it's a good practice.

@fabide
Copy link

fabide commented Aug 9, 2019

I dont' think changing php.ini is a good practice as well. I changed from solution to workaround in my above post because I think it works only if your upload isn't longer than 7200 seconds. That fits my needs but definetly not everyones.

@bkmgit
Copy link

bkmgit commented Sep 25, 2019

Hi, having the same issue on Nextcloud 16.

@karl-in-office
Copy link

This issue might be related to #8802
Please check whether your front-end server allows accesses to ".file" or not.

@SokoFromNZ
Copy link

Hi guys,

This error still exists for me (see https://help.nextcloud.com/t/problem-uploading-files-larger-than-8-10mb/48260/4).

The weird thing is that an upload via a FileDrop shared folder works perfectly!
Files < 10.0MB work as well.

@Ramalama2 : in which file did you delete
location ~ /.(?!well-known).* {
deny all;
access_log off;
log_not_found off;
}
???
Thanks
Soko

@SokoFromNZ
Copy link

SokoFromNZ commented Dec 31, 2019

I found my issue:

in my .htaccess file I had the line
RedirectMatch 404 /(?!.well-known)(\.)\w+

which was added by the Statamic framework.
Once I deleted this line everything worked again.

Hope this helps someone.

Soko

@chrissi55
Copy link

chrissi55 commented Oct 31, 2022

Hi,

is there any comparative solution for nginx based NC Servers?

The processing "error" is still there with NC 24.x under PHP 8.1.x
I am using PostgreSQL 15.x

Thanks.

@szaimen
Copy link
Contributor

szaimen commented Jan 9, 2023

Hi, please update to 24.0.8 or better 25.0.2 and report back if it fixes the issue. Thank you!

@szaimen szaimen added needs info 0. Needs triage Pending check for reproducibility or if it fits our roadmap and removed 1. to develop Accepted and waiting to be taken care of labels Jan 9, 2023
@szaimen szaimen closed this as completed Mar 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap bug needs info
Projects
Status: Done
Development

No branches or pull requests