Unable to upload file

Dear Colleague,
i am trying to upload a file 110MB to a a webpage (https://project-ut.web.cern.ch/node/724/edit) and this is not working. the current limit is set to 256MB.
i experienced the same problem this morning when i tried to upload several pictures.
Could you please let me know how to solve this issue?
thanks, joao
image

Hi Joao

I just tested with a 256MB .txt file and it seemed to go up accordingly.

Are you please able to specify if you are seeing any errors or whether the upload simply fails?

Thanks!

Dear Joachim,
the upload just fails. On Friday i also noticed that if i was uploading, in the same website, many pictures at the same time the upload would fail. however if i uploaded just a couple of pictures this would work.
thanks for your help,
Joao

Hi Joao, I’ll see if there’s any error, but were you able to upload such a large file in the past?

Dear Joao

From my experience, points to check in the file manipulation:

1- PHP environment variables:
https:// <your-site> /admin/reports/status/php

a-) post_max_size
b-) max_file_uploads
c-) max_execution_time
d-) upload_max_filesize
These variables set the file upload environment
upload_max_filesize * max_file_uploads <post_max_size
in a time less than max_execution_time

e-)If you have references to the temporary folders, check your code don’t use PHP functions, because PHP environment variables are not defined
-) upload_tmp_dir = no value

3-)If you use modules like “File (Field) Paths”
a-) Uploading files to the “private://” folder does not work in our sites, only to “public://”
b-) “unmanaged file” results in total failure

If any of the previous aspects fails, the system does not generate any report.

best regards
Guillermo

Hi Konstantinos,
i could for instance upload 251MB: https://project-ut.web.cern.ch/node/390
cheers,
Joao

Hi Joao

Thanks for confirming this! We will investigate further.

Did the post from Guillermo help?

Thanks!

Thanks Joachim!
I’ll wait for your help.
I checked the post from Guillermo and looked into the variables and these seem to be ok.
thanks again for your time and help.
Joao

Hi again Joao

I am just following up on this: Are you still experiencing issues uploading files < 256MB?

Thanks!

Dear Joachim,
this morning i was trying to upload some photos and i couldn’t upload more than 3 to 4 pictures. in the past i could upload up to 20. i tried now and i still have the same problem.
with large file the problem remains as well.
thanks for your help and support!
joao

Hi Joachim,
I am sorry to contact you again concerning this problem.
basically we never solved this issue and since we changed infrastructure i am not longer able to upload large files. i also have some problems to upload several pictures at the same time.
for instance i was trying to upload a 110MB file here: https://ut-lhcb.web.cern.ch/node/245/edit


after a few seconds the upload stopped and was not successful.

this has happened in several websites.
let me know if you are aware of a possible solution for this problem.
i have followed up the advice provided by Guillermo and it seems to me that the parameters are ok.
thanks for your help.
joao

Hi Joao

No worries, thanks for posting. I will be flagging this accordingly.

Apologies for the inconvenience!

Thanks!

Dear Jochim

Something similar was solved here:
https://cern.service-now.com/service-portal?id=ticket&table=incident&n=INC3074487
Maybe as a starting point

best regards
Guillermo

Hi Joachim,
i just want to add some additional information concerning the identified issue.
basically when i try to upload several files ( for example~10 and maximum of 2MB per file) at the same time.
the site stops working for a short period (~ 1minute or so) and the following message is displayed.


cheers,
joao

Hi Joachim,
it seems that the problem may be in the CERN paragraph: Image gallery.
here you can find a view based on this paragraph and often pictures are not displayed: https://ut-lhcb.web.cern.ch/node/374
for instance this node: HV cables | UT LHCb


pictures were uploaded but not displayed.
cheers,
joao

This should definitely not happen; tagging @kosamara.

Thanks for this information; we will have a look. Can you please confirm though whether this is strictly a display issue rather than an upload issue? Have the prior reports on uploads relied on the Image Gallery, too?

Hi Joachim,
This has both issues. Uploading was an issue when I had several pictures; I was not able to upload for instance the theoretical 20 pictures even if the total size was inferior to the maximum stipulated value. The display issue was identified subsequently.
Thanks again, Joao

Hi Joao

Thanks for your patience. Could you please try once again?

Thanks!

Hi Joachim,
thanks for your help.
i tried a 112MB file and it didn’t work (see picture below). if this is a problem i can also upload such files in edms or cernbox.
on other hand i tried 12 images (cern gallery paragraph) at the same time (~25MB) and it worked. previously such upload was difficult.
However the views showing the pictures are still being problematic: https://ut-lhcb.web.cern.ch/node/374
it seem
thanks again,
Joao

Hi Joao

Thanks for reporting back. It seems like we had three issues:

(1) Uploading very large, single files (e.g. 112MB) is broken.
(2) Uploading multiple CERN Gallery Paragraph images is broken.
(3) Showcasing multiple CERN Gallery Paragraph images is broken.

Do I understand you correctly that with the recent changes, only (1) and (3) are pending?

Thanks!