I want to increase the default quota of 50MB. Since I’m selfhosting a single user PieFed instance, I want to be able to use more space on my server for uploads.
I checked all options in the admin panel, but couldn’t find an option to change the quota.
Is this possible in .user.env or .env?
Yes!
Here’s what I am using on my .env.docker :
# Per-user gallery quota, in bytes .
FILE_UPLOAD_QUOTA = 150000000This worked. I’ve set it in .user.env on my server. Thank you!
@007@piefed.social I wanted to use the new “Stack Overflow” PieFed feature and designate this comment as the answer, but the option isn’t available. Could this feature be enabled for this community?
Try doing it now. I just changed it (using admin powers) and want to confirm that it federated out that change properly.
Also, about environment variables. Not all of them are thoroughly documented I don’t think. They are all read into PieFed in the
config.pyfile. Here is the line with the file upload quota for example.The option is still not available. Maybe it doesn’t work for comments that have been posted before the change was made?
I’m traveling right now and haven’t looked at this part of the code at all, but my first guess is that it is because I am an admin instead of a moderator. We have had some similar permissions issues where the check is for mods and not inclusive of admins.
Pinging @rimu@piefed.social for awareness.



