Maximum upload size
Hi, is it possible to increase the maximum upload file size? And where is this file located, somehow I can't find it. Thank you very much.
@archos I believe it edit in php.ini in file manager
Go check file manager then that should be show php after edit restart the app will take affect
The default in nextcloud package are already quite high.
RUN crudini --set /etc/php/7.4/apache2/php.ini PHP upload_max_filesize 5G && \ crudini --set /etc/php/7.4/apache2/php.ini PHP post_max_size 5G && \
Do you need more than above? Also, check
/app/data/.htaccessas well which is a htaccess file nextcloud auto-generates for the data directory. (Note: confusingly, there is also a
/app/data/htaccesswhich is for the code directory).
@girish Thank you for your reply. I'm working abroad and I have bad internet at the guesthouse. So I wanted to upload some movies to Nextcloud. So I was wondering if there was a problem increasing the max upload to 10GB
@archos there no problem but make sure higher ram that can run movie.. and space
@archos You have to edit
/app/data/php.iniand add something like:
[PHP] upload_max_filesize=10G post_max_size=10G
And restart the app.
@girish Great, it's settled. Thank you both so much.