| Post Reply | RetroFed Forum Forum Index » PieFed help |
| Author | Message | ||
|---|---|---|---|
squirrel
piefed.kobel.fyi
squirrel@piefed.kobel.fyiJoined: 2025-12-06 |
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? |
||
| 1 Original | |||
tenchiken
anarchist.nexus
tenchiken@anarchist.nexusJoined: 2025-08-18 |
Yes! Here's what I am using on my .env.docker : # Per-user gallery quota, in bytes . |
||
| 1 | |||
squirrel
piefed.kobel.fyi
squirrel@piefed.kobel.fyiJoined: 2025-12-06 |
Yes! Here's what I am using on my .env.docker : # Per-user gallery quota, in bytes . FILE_UPLOAD_QUOTA = 150000000
This 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? |
||
| 1 | |||
wjs018
piefed.social
wjs018@piefed.socialJoined: 2024-11-20 |
This 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 |
||
| 1 | |||
squirrel
piefed.kobel.fyi
squirrel@piefed.kobel.fyiJoined: 2025-12-06 |
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.py file. 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? |
||
| 1 | |||
wjs018
piefed.social
wjs018@piefed.socialJoined: 2024-11-20 |
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. |
||
| 1 | |||
| Post Reply |
Back to top |