Conversation
Notices
-
@mmn Wow, now it's getting strange: I previously had 15728640 as per file limit set which didn't work. Setting it to 50000000 worked.
Anyway, thanks for your help!
-
!gnusocial seems to ignore php.ini settings on file uploads. I have set the post_max_size to 20M and upload_max_filesize to 15M. But both !Qvitter and GS keep telling me about a 5000000 bytes. Anyone got a hint how to fix that? @mmn eventually?
https://gnusocial.de/attachment/4126522
-
@stitchxd @mmn I did of course. Furthermore there never was a 5M limit only 2M/8M in php.ini.
-
@stitchxd @mmn Changed both, I run Apache as well.
-
@stitchxd @mmn Yep, nothing there as well. I even removed the quota from config.php completely.
-
@stitchxd @mmn Yes, it's native. See: https://gnusocial.de/url/4126546
I can't be the root cause because it already was at 10MB. But I'll see what schemacheck says.
-
@vinzv @stitchxd There's a config setting (which doesn't need any schemachecking to be set) for per-file and per-user quotas. A good tip is to look at lib/default.php
I've set this up at !umeHack social:
$config['attachments']['file_quota'] = 50000000;
$config['attachments']['user_quota'] = 500000000;
$config['attachments']['monthly_quota'] = 150000000;
-
@vinzv That's 50MB per file. You could do it more readable with 50*1024*1024 for 50MiB.
-
@vinzv Feel free to suggest a new default value for maximum upload file size. With modern technologies larger files seem to be more common, such as high-resolution images etc.
-
@mmn I'd say 5M or 8M is okay. I wouldn't want to set a default limit which eats up some newbie admin's disk space.
-
And how large is the file you're trying to upload? .)
-
@mmn My test file was 8Mb sized. I have no clue what users are doing. They sometimes complain as Twidere doesn't upload their photos without noticing.