As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
This add on allows you to set the default quota for users in their home directory and also quotas for any folder in share
Hi everyone,
Is this add-on works for alfresco community 5.2 ?
When I look on gitHub, it's said that the last release is compatible with alfresco 4.2 ?
Could you tell me if there's an other way to set default quota ?
Thanks
This should work for 5.2: https://github.com/keensoft/alfresco-myfiles-quota
But I haven't tested it
Thanks for your answer
I will download and install the latest release (7 Apr 2016) and I'll let you know if it works
Hi,
I've installed the add-on and I can set a quota on a forder but I can't set a default quota when I create a user.I've included these properties in <Install_alfresco>/tomcat/shared/classes/alfresco-global-properties
# Folder quota in bytes (10 Mb) user.creation.default.quota=10737418 folder.quota.core.pool.size=10 folder.quota.maximum.pool.size=20 folder.quota.thread.priority=5 Thanks in advance
I added some pictures in the home folder of my user test "quota"
When I execute :
curl -v -u admin:admin "http://192.168.1.30:8080/alfresco/service/keensoft/myfiles/quota/{quota}"
I get :
{"quota":104857600,"currentSize":21256673}
When I look at the user in the Admin tools, there is no information for the Quota field.
Alfresco out-of-the-box quota controls every content created by a user.
This addon controls only content created at user home. If you access to a user home folder, you'll see that 10 MB applied.
I can add pictures without limits even if my quota folder is set to 10 MB
It works.
Tested for 201707.
The problem is you are setting a quota of 100 MB, so you have still around 80 MB available.
I'm so confused
What a stupid mistake
Thank you so much for your help
In Spain, we say: "Sometimes four eyes can see better than two" 😉
Hello Angel Borroy
How to change quota for a user exits on Home Folder?
I did your guide by execute command:
curl -v -u admin:admin -H 'Content-Type: application/json' -d '{"quota":"104857600"}' "http://localhost:8080/alfresco/service/keensoft/myfiles/quota/{username}" But i get error: Please help me fix this issue. Thanks, Phat
The API URL is
http://localhost:8080/alfresco/service/keensoft/myfiles/quota/
After that, you have to include the ID of the user. So finally, it should be something like:
http://localhost:8080/alfresco/service/keensoft/myfiles/quota/pat.tran
Not sure if that dot in the name is going to work, anyway...
Thanks Angel Borroy, i fixed this issue.
How to change default quota of all users who were created before i install this add-on?
Thanks,
Phat
You have to invoke this REST API for ever user.