There are a number of other places you should check for file size limitations as well. For example, the php.ini file installed on your server holds a number of values that affect uploads and imports, including upload_max_filesize, max_input_time, max_execution_time, memory_limit, and more. See:
These settings are generally maintained in the php.ini file in your
environment. The confusing part is that the location of this file is not
consistent, and there can even be more than one file - one for your
browser settings, and one for the command-line, for example. Here are a
couple of links to help you locate it:
If you make changes to any of the PHP configuration files, you should clear your application cache and restart PHP-FPM after.
To clear the application cache, run the following from the root AtoM directory:
To restart PHP-FPM, you can use the following command, depending on you operating system:
Please note - changing these and other values might still not allow you to upload large files via your user interface!
Most browsers have a built-in timeout limit of about 1 minute, and a
large upload is likely to time out in the browser before completing. This means that even if you increase all of the values listed above, your browser may still terminate the upload of a large file before it can complete.
There are a couple of workarounds for this.
First, the CSV import template can include 2 columns for importing digital objects:
In our upcoming AtoM 2.4 release, imports are being handled by the job scheduler so they can be performed asynchronously in the background, instead of synchronously by the browser when you initiate the upload. This will prevent imports from timing out in the browser. In the meantime, you can use the command-line import to create new item level descriptions and attach digital objects to them at the same time, using this method.
There is also a command-line task to import digital objects and attach them to existing descriptions. See:
I hope this helps!
Regards,
--
You received this message because you are subscribed to the Google Groups "AtoM Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ica-atom-users+unsubscribe@googlegroups.com.
To post to this group, send email to ica-atom-users@googlegroups.com.
Visit this group at https://groups.google.com/group/ica-atom-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/ica-atom-users/f914fe4f-0bf0-444b-b34d-8b58d87e9ac1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to ica-atom-user...@googlegroups.com.
To post to this group, send email to ica-ato...@googlegroups.com.
Cheers,
To unsubscribe from this group and stop receiving emails from it, send an email to ica-atom-users+unsubscribe@googlegroups.com.
To post to this group, send email to ica-atom-users@googlegroups.com.
Visit this group at https://groups.google.com/group/ica-atom-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/ica-atom-users/fcc921bb-3bdb-40c7-ba99-22930d72c6a4%40googlegroups.com.