opentype Posted November 14, 2022 Posted November 14, 2022 (edited) I am building a new site with the Gallery application (and S3 storage) where up to 1500 images need to be uploaded to a new album at once. The problem is, that the created albums cut off at a certain point and don’t contain all images that were selected. When I upload: It runs through the collection process without error showing all images as thumbnail (e.g. 1000) It runs through the storage process with the progress bar without errors I am forwarded to the album, but it only has like the first 500 images. I don’t see any errors anywhere. The album is just incomplete. So my question is: Is there a limit that IPS sets somewhere? And if not, it there something I need to tweak in my php.ini to process all files? I guess the list of files to be saved is stored somewhere (RAM? MySQL? File system?) but it can’t hold all the entries at once and so some are getting skipped. Edited November 14, 2022 by opentype
Andy Millne Posted November 14, 2022 Posted November 14, 2022 There aren't any limits in Invision Community that would restrict this, no. It sounds like there might be a PHP variable such as post_max_size or max_input_vars. You should be able to check these in phpinfo or by checking with your host. opentype 1
opentype Posted November 14, 2022 Author Posted November 14, 2022 Thank you. Do you maybe have recommendations for these values for my use case?
Andy Millne Posted November 14, 2022 Posted November 14, 2022 It's difficult to say unfortunately as there are potentially lots of things that can affect the submissions (description and file name sizes etc). Your host is best placed to advise on any server side limits being hit and I'm not certain those variables are the cause but they would be my hunch and you could increase them to see how it affects the count processed. You may also be hitting a max requests limit with s3. I assume you're able to upload all of the images if you do them in batches?
opentype Posted November 15, 2022 Author Posted November 15, 2022 I increased those two values and so far all uploads went through. 👍 Andy Millne 1
Recommended Posts