-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Self-hosted not unrestricted #6641
Comments
Issue Status: 🆕 *Untriaged*🆕 Untriaged The team has not yet reviewed the issue. We usually do it within one business day. This is an automatic reply by the bot. |
We will provide more options to config these settings in the future. |
When will provide more options? 😭 We deploy self-hosted version. My team is more than 10 people, but pro user only invite 10 people to a workspace. |
Hello, how to lift the 10GB restriction? |
@Macbook-Specter #6156 (comment) Maybe it useful for you. You can change storageQuota I think. (btw, I never try) |
@StudyingLover Thank you very much |
Hey, for everyone wanted to change limitations on a self-hosted instance until there's an update in the future to do this with a gui:
|
For everyone need more than the pro plan limitations:
Just restart the docker container afterwards. Now the limit of the members should be 100. |
Thannks for this, but where do I run this command? Can you please provide a little more detail? Is there a docker compose environment variable that I can add to edit this setting? or needs to be done via the terminal only? |
Hey there, Enter Docker PostgreSQL Server |
As the back end is not Open Source, this is AFAICT an infringement of the Terms of Service, you need to agree to. They specifically state in section 8:
Can someone confirm this? |
Hm, @svenseeberg good catch. Can't confirm from a legal perspective, but seems workspace quota fits this use case I just wish the description of the project was different.
Doesn't seem to be a precise description of the project, nor the repository. |
That license also states:
And at the bottom of the distro:
Thus, the restriction does not apply here since it is included with the community edition. The restriction is, imo, clearly intended to prevent subscribers of the enterprise edition, or users of the "basic" edition from manually editing the backend to remove restrictions without paying for them. An admin at on their community site says in response to asking about self-hosted file-size limits:
|
Also, you may want to use the 'insert' command instead of 'update', since this will replace the features you already have; i.e. if you use it to assign yourself the pro license, you will no longer be an admin. If you want to remain admin and add features to your account:
Change the 3 to be n+1 where n is the current highest id in the user_features table. Change the 16 to be the id of whatever feature_id you're trying to add. 'selfhost' can be whatever, it's an arbitrary field for the reason column. Make sure the last one is 't' to make sure the feature is activated. |
I can use this method to change the configuration, the capacity limit can see the change, but the upload limit is still 10M |
I tried that but it don't work, what i did was creating a new user in admin panel (then i was sure to still have my admin user) and then UPDATING the user_features and then it works |
It seems like there are a lot of assumptions being made here, which I suspect may be contrary to the author's intent. Specifically:
This is very misleading on its own. The very next line of text tells you to read the TOS for details, where it states:
Based on this wording, the "community edition" seems to exclude all of its server components from the MIT license. This seems extra tricky because we can't reasonably identify a line in the sand after spinning up the docker containers. Bypassing the application-server logic and modifying the DB directly could still be considered out of bounds, IMO, since all the database deployment, management, etc. lives within the restricted directory. INAL, but this is enough of a gray area for me to nope-out until someone with authority makes an official statement green-lighting this. Call me overly cautious. Edit: This thread has a comment from one of the maintainers which indicates the user limit is intentional, and additional users will require paid licenses.
I also came across the following thread where the maintainer indicates that commercial use under an unlicensed self-hosted version is prohibited.
Funnily enough, this isn't even called out in the license document for the backend. https://affine.pro/terms#subscription
It's only once you follow the breadcrumbs through all 3 licensing documents do you actually find the prohibition on commercial-use. Calling this an open-source project is extremely generous, when the entire backend is decidedly not. |
Despite it being 2025, this issue remains unresolved. It's awkward for self-hosted services to have such limitation. It would not be that hard to lift the restriction and make it configurable. |
Everybody here, try https://github.com/outline/outline. This would be a more transparent alternative that we can trust on. |
Maybe 10 years later. It's already 2025. |
Thanks for ping me, but I haven't maintain this repo for ~2 years. but IMO I think it's expected that a company need earn money and have some restrictions in any ways |
You can get around these weird limitations via editing the database. Just search on their discord for "phpmyadmin" or "database" and you will find tutorials on that. If you want, you can message me on Discord then I'll walk you through: @Felitendo |
Is there any way hacking into the source code to change the quota limitation? Editing the database does impact future users. I have to edit the database whenever there are new users coming. |
What happened?
The Github README names:
"Self-Host
Begin with Docker to deploy your own feature-rich, unrestricted version of AFFiNE. Our team is diligently updating to the latest version. For more information on how to self-host AFFiNE, please refer to our documentation."
but after deploying the self-hosted Version and login I see a "Free" Label beside the Username having all restrictions like 10GB and only 3 members per Workspace. How to get the unrestricted self-hosted Version?
Distribution version
macOS x64 (Intel)
What browsers are you seeing the problem on if you're using web version?
No response
Are you self-hosting?
Relevant log output
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: