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.
-
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). -
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 there no problem but make sure higher ram that can run movie.. and space
@ApplegateR Thank you for the information. So it's enough just to add in the file manager to php.ini code, which gave here @girish ?
RUN crudini --set /etc/php/7.4/apache2/php.ini PHP upload_max_filesize 10G && \ crudini --set /etc/php/7.4/apache2/php.ini PHP post_max_size 5G && \ -
@ApplegateR Thank you for the information. So it's enough just to add in the file manager to php.ini code, which gave here @girish ?
RUN crudini --set /etc/php/7.4/apache2/php.ini PHP upload_max_filesize 10G && \ crudini --set /etc/php/7.4/apache2/php.ini PHP post_max_size 5G && \ -
@archos You have to edit
/app/data/php.iniand add something like:[PHP] upload_max_filesize=10G post_max_size=10GAnd restart the app.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login