I don’t plan on upgrading to Premium for any reason (as I self-host and my needs are small.) However, I see links to premium options all over the UI. Is there a way I can disable all the premium up-sells in the UI?
Hi @draft13,
this is not possible at the moment. So this would fall into the “feature request” category.
We have a BASEROW_OSS_ONLY
setting to hide all premium features completely.
It should be enough to set BASEROW_OSS_ONLY=true
as an environment variable.
Ah didn’t realize that. Is this documented somewhere?
For some reason, it isn’t. I’ve created an issue here to document it properly: Document BASEROW_OSS_ONLY environment variable (#3204) · Issues · Baserow / baserow · GitLab
Not sure if you would like to continue the conversation here, but I am un-able to get this to work, If I add it to an pre-existing docker instance with data adding the environment variable creates errors on startup with key restraint errors.
So I tried creating a fresh docker instance with that environment variable already set, and while that key restraint error doesn’t appear, the UI has no change. There are still references to premium features as before.
I see. Sorry for the inconvenience.
It was introduced almost two years ago for this purpose, but I must admit that it hasn’t been documented well and isn’t widely used, so I guess it broke recently, and nobody noticed it.
I’ll investigate and let you know.
Thanks for checking in on it.
Seems like this is still broken. Setting BASEROW_OSS_ONLY=true
in the file .env leads to several python errors during startup:
backend-1 | 2025-06-19T14:00:19.579749947Z Traceback (most recent call last):
backend-1 | 2025-06-19T14:00:19.579767730Z File "/baserow/backend/src/baserow/manage.py", line 41, in <module>
backend-1 | 2025-06-19T14:00:19.580084503Z main()
backend-1 | 2025-06-19T14:00:19.580093918Z File "/baserow/backend/src/baserow/manage.py", line 37, in main
backend-1 | 2025-06-19T14:00:19.580096921Z execute_from_command_line(sys.argv)
backend-1 | 2025-06-19T14:00:19.580099481Z File "/baserow/venv/lib/python3.11/site-packages/django/core/management/__init__.py", line 442, in execute_from_command_line
backend-1 | 2025-06-19T14:00:19.580102121Z utility.execute()
backend-1 | 2025-06-19T14:00:19.580104702Z File "/baserow/venv/lib/python3.11/site-packages/django/core/management/__init__.py", line 416, in execute
backend-1 | 2025-06-19T14:00:19.580416016Z django.setup()
backend-1 | 2025-06-19T14:00:19.580423799Z File "/baserow/venv/lib/python3.11/site-packages/django/__init__.py", line 24, in setup
backend-1 | 2025-06-19T14:00:19.580426811Z apps.populate(settings.INSTALLED_APPS)
backend-1 | 2025-06-19T14:00:19.580429311Z File "/baserow/venv/lib/python3.11/site-packages/django/apps/registry.py", line 124, in populate
backend-1 | 2025-06-19T14:00:19.580431893Z app_config.ready()
backend-1 | 2025-06-19T14:00:19.580434303Z File "/baserow/backend/src/baserow/contrib/database/apps.py", line 63, in ready
backend-1 | 2025-06-19T14:00:19.580437129Z from .airtable.actions import ImportDatabaseFromAirtableActionType
backend-1 | 2025-06-19T14:00:19.580439622Z File "/baserow/backend/src/baserow/contrib/database/airtable/actions.py", line 17, in <module>
backend-1 | 2025-06-19T14:00:19.581458178Z from .handler import AirtableHandler
backend-1 | 2025-06-19T14:00:19.581472913Z File "/baserow/backend/src/baserow/contrib/database/airtable/handler.py", line 25, in <module>
backend-1 | 2025-06-19T14:00:19.581476256Z from baserow.contrib.database.airtable.registry import (
backend-1 | 2025-06-19T14:00:19.581478757Z File "/baserow/backend/src/baserow/contrib/database/airtable/registry.py", line 3, in <module>
backend-1 | 2025-06-19T14:00:19.581481579Z from baserow_premium.views.decorator_types import LeftBorderColorDecoratorType
backend-1 | 2025-06-19T14:00:19.581484277Z File "/baserow/premium/backend/src/baserow_premium/views/decorator_types.py", line 2, in <module>
backend-1 | 2025-06-19T14:00:19.581486901Z from baserow_premium.license.handler import LicenseHandler
backend-1 | 2025-06-19T14:00:19.581489405Z File "/baserow/premium/backend/src/baserow_premium/license/handler.py", line 16, in <module>
backend-1 | 2025-06-19T14:00:19.581492001Z from baserow_premium.api.user.user_data_types import ActiveLicensesDataType
backend-1 | 2025-06-19T14:00:19.581494501Z File "/baserow/premium/backend/src/baserow_premium/api/user/user_data_types.py", line 3, in <module>
backend-1 | 2025-06-19T14:00:19.581510913Z from baserow_premium.license.registries import LicenseType
backend-1 | 2025-06-19T14:00:19.581513869Z File "/baserow/premium/backend/src/baserow_premium/license/registries.py", line 5, in <module>
backend-1 | 2025-06-19T14:00:19.581516577Z from baserow_premium.license.models import License
backend-1 | 2025-06-19T14:00:19.581519457Z File "/baserow/premium/backend/src/baserow_premium/license/models.py", line 14, in <module>
backend-1 | 2025-06-19T14:00:19.581522112Z class License(models.Model):
backend-1 | 2025-06-19T14:00:19.581524568Z File "/baserow/venv/lib/python3.11/site-packages/django/db/models/base.py", line 134, in __new__
backend-1 | 2025-06-19T14:00:19.581527174Z raise RuntimeError(
backend-1 | 2025-06-19T14:00:19.581529704Z RuntimeError: Model class baserow_premium.license.models.License doesn't declare an explicit app_label and isn't in an application in INSTALLED_APPS.
Tested with most recent 1.33.4