-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Description
Description
New workspace/account creation is completely broken in the latest version of Twenty CRM. The
workspace activation process fails with a fatal error stating that the "dashboard" object cannot be
found. This prevents any new users from creating accounts or workspaces, making new Twenty CRM
deployments unusable.
Error Message
Error: Target object dashboard not found in database for relation dashboard of type MANY_TO_ONE
at StandardFieldRelationFactory.computeRelationFieldsForStandardObject
at WorkspaceSyncFieldMetadataRelationService.synchronizeStandardObjectRelationFields
at WorkspaceSyncMetadataService.synchronize
at WorkspaceManagerService.init
at WorkspaceService.activateWorkspace
Root Cause
- The
DashboardWorkspaceEntity
in
/src/modules/dashboard/standard-objects/dashboard.workspace-entity.ts
is gated behind a feature
flag:@WorkspaceGate({ featureFlag: FeatureFlagKey.IS_PAGE_LAYOUT_ENABLED, })
- The DEFAULT_FEATURE_FLAGS array in
/src/engine/workspace-manager/workspace-sync-metadata/constants/default-feature-flags.ts is empty:
export const DEFAULT_FEATURE_FLAGS = []; - During workspace activation, the dashboard object is never created because the feature flag isn't
enabled, but other entities have relations that expect the dashboard object to exist, causing a
fatal error.
Impact
- Severity: CRITICAL - Complete blocker for new installations
- All new Twenty CRM deployments are non-functional
- Cannot create any new workspaces or user accounts
- No way for end users to work around this issue
Steps to Reproduce
- Clone the latest Twenty CRM repository
- Set up a fresh PostgreSQL database
- Run npx nx database:reset twenty-server
- Start the server with yarn start
- Attempt to create a new account through the UI
- Workspace activation fails with the dashboard object error
Environment
- Twenty CRM version: Latest main branch (commit e787dad and later)
- Node.js version: 24.5.0
- PostgreSQL: Any version
- Affects all operating systems
Additional Context
The UI gets stuck on "Creating your workspace - Prefilling your workspace data..." and never
completes.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status