64 MB file size limit

258 views
Skip to first unread message

Innocent Oling

unread,
Oct 28, 2021, 10:16:17 AM10/28/21
to AtoM Users
Dear Atom, 

I am currently trying to upload large files of approximately 1 GB into AtoM running on Ubuntu 18.04, but it fails every time due to the 64 MB file size limit. How can I increase this so that the files can upload?

Thank you
Innocent

Dan Gillean

unread,
Oct 28, 2021, 11:32:11 AM10/28/21
to ICA-AtoM Users
Hi Innocent, 

The 64MB file limit size is set in the PHP pool configured during installation, and can be altered there - see this part of the installation instructions: 
The value you will want to change is: 
  • php_admin_value[upload_max_filesize] = 64M
You may also want to check the php.ini file and alter the global default. See:
After configuration changes in either place, we recommend clearing the application cache and restarting PHP-FPM. See: 
Keep in mind that the command for restarting PHP-FPM varies per PHP version. The documentation link above will default to displaying the most recent stable version docs (i.e. 2.6). If you are not using AtoM 2.6, be sure to look up the correct documentation link for your AtoM version. 

Despite all this, please remember that for large files, uploads via the command-line will succeed where they may fail if you attempt to perform them via the user interface. 

This is because digital object upload in AtoM's UI is still a synchronous process that happens on-demand (and not an asynchronous job performed in the background, as with some of AtoM's other long-running processes). This means that for large uploads, you will likely reach the web browser's built-in timeout limit (usually about 1 minute) before the object is finished uploading. Instead, we recommend using some of the command-line options available in AtoM: 

If you want to create new descriptions and attach large digital objects to them at the same time, you can use the digital object columns in the archival description CSV templates. See:
If you have existing descriptions and want to attach large digital objects to them, the command-line Digital object load task can be used. See:
Cheers, 

Dan Gillean, MAS, MLIS
AtoM Program Manager
Artefactual Systems, Inc.
604-527-2056
@accesstomemory
he / him


--
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-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ica-atom-users/14ed3285-f957-4f75-992e-a4e64c76becan%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages