For some reason the quota limit imposed on a users private files affects the amount of files uploaded to a lesson. I changed the setting for private files from the default 100MB to 1GB and all works now.
Where do you change the settings for private files to 1GB? I have looked all over.
Site administration > Security > Site policies > User quota
Does anyone have experience setting the file size to very large size? I need this because the moodle instance i'm working on will only allow one user to add files. Other users just download what she uploads.
Now I set it to 18446744073709551615, i get this number from wikipedia(I know this is too much :D)
Will I be seing unpredictable behaviours in the future ?
Yes. When I tried to set the maximum upload size and maximum POST size above 2GB on a machine running 32-bit PHP it caused an integer overflow, which resulted in the maximum upload size and POST size becoming -1GB. Users couldn't even log in or submit forms, since anything is bigger than -1GB.
Are those settings in php.ini file? I dont think that should be a problem for my moodle install.
Since my users(teachers only) will be limited to upload 10 MB/upload, but all the files will go to one user private files section. Only this section shall go bigger and bigger.
In Admin's "Site administration > Security > Site policies > User quota" only limits up to 100MB