Roundcube increase upload limit
Is it save to manually amend the php.ini for the roundcube app to increase the file upload limit?
It's set to 25MB which is way too tiny for easy importing of mailboxes
Yes, there is IMAPsync but... roundcube's import/export function is super quick-n-easy.
the problem is not whether it is safe or not safe, simply it is not very effective because after each update that value will be restored, what you can do is a custom app and simply change that parameter in the dockerfile.
I've created an issue to track this at https://git.cloudron.io/cloudron/roundcube-app/-/issues/2
In the new package, you can override PHP.ini settings in /app/data/php.ini
Great, but there are no defaults in there to edit and people like me are unsure of the syntax to use?
@girish I note there are nothing in the docs about how to do this, so perhaps add something there about how to increase attachment size including what syntax to put where?
Before finding this thread, but having looked at the docs I just tried adding
$config['max_message_size'] = '100M';to
/app/data/customconfig.phpbut that didn't seem to do anything (at least, it didn't change the attachment size upload limit)
OK, so I've managed to work out that by using the File Manager to add this to
; Increase maximum post size post_max_size = 75M ; Increase maximum upload size upload_max_filesize = 75M
The upload size is now increased to 75MB
That'll do me for now (I needed to upload a 50 MB file), but I'm also wondering how to increase it beyond 75 MB?
Increasing the values in php.ini over 75 doesn't make any difference, so presumably there is some other config somewhere that needs editing/ overriding too...
@jdaviescoates I put the docs in https://docs.cloudron.io/apps/roundcube/#upload-size . I think adjusting
$config['max_message_size'] = '100M';takes it over 75M . Note that roundcube uses 1/3 of the size here for attachments (the rest is for the message body itself). So, maybe make it like 150MB or something.