twenty
twenty copied to clipboard
Local hosting: "Unable to Reach Back-end" but logs show no errors
Debian, local/self hosting through Portainer
Portainer stack (docker compose) details
All the env variables were default except for password and app secret.
name: twenty
services:
server:
image: twentycrm/twenty:${TAG:-latest}
volumes:
- server-local-data:/app/packages/twenty-server/.local-storage
ports:
- "3000:3000"
environment:
NODE_PORT: 3000
PG_DATABASE_URL: postgres://${PG_DATABASE_USER:-postgres}:${PG_DATABASE_PASSWORD:-postgres}@${PG_DATABASE_HOST:-db}:${PG_DATABASE_PORT:-5432}/default
SERVER_URL: ${SERVER_URL}
REDIS_URL: ${REDIS_URL:-redis://redis:6379}
DISABLE_DB_MIGRATIONS: ${DISABLE_DB_MIGRATIONS}
DISABLE_CRON_JOBS_REGISTRATION: ${DISABLE_CRON_JOBS_REGISTRATION}
STORAGE_TYPE: ${STORAGE_TYPE}
STORAGE_S3_REGION: ${STORAGE_S3_REGION}
STORAGE_S3_NAME: ${STORAGE_S3_NAME}
STORAGE_S3_ENDPOINT: ${STORAGE_S3_ENDPOINT}
APP_SECRET: ${APP_SECRET:-replace_me_with_a_random_string}
# MESSAGING_PROVIDER_GMAIL_ENABLED: ${MESSAGING_PROVIDER_GMAIL_ENABLED}
# CALENDAR_PROVIDER_GOOGLE_ENABLED: ${CALENDAR_PROVIDER_GOOGLE_ENABLED}
# AUTH_GOOGLE_CLIENT_ID: ${AUTH_GOOGLE_CLIENT_ID}
# AUTH_GOOGLE_CLIENT_SECRET: ${AUTH_GOOGLE_CLIENT_SECRET}
# AUTH_GOOGLE_CALLBACK_URL: ${AUTH_GOOGLE_CALLBACK_URL}
# AUTH_GOOGLE_APIS_CALLBACK_URL: ${AUTH_GOOGLE_APIS_CALLBACK_URL}
# CALENDAR_PROVIDER_MICROSOFT_ENABLED: ${CALENDAR_PROVIDER_MICROSOFT_ENABLED}
# MESSAGING_PROVIDER_MICROSOFT_ENABLED: ${MESSAGING_PROVIDER_MICROSOFT_ENABLED}
# AUTH_MICROSOFT_ENABLED: ${AUTH_MICROSOFT_ENABLED}
# AUTH_MICROSOFT_CLIENT_ID: ${AUTH_MICROSOFT_CLIENT_ID}
# AUTH_MICROSOFT_CLIENT_SECRET: ${AUTH_MICROSOFT_CLIENT_SECRET}
# AUTH_MICROSOFT_CALLBACK_URL: ${AUTH_MICROSOFT_CALLBACK_URL}
# AUTH_MICROSOFT_APIS_CALLBACK_URL: ${AUTH_MICROSOFT_APIS_CALLBACK_URL}
# EMAIL_FROM_ADDRESS: ${EMAIL_FROM_ADDRESS:[email protected]}
# EMAIL_FROM_NAME: ${EMAIL_FROM_NAME:-"John from YourDomain"}
# EMAIL_SYSTEM_ADDRESS: ${EMAIL_SYSTEM_ADDRESS:[email protected]}
# EMAIL_DRIVER: ${EMAIL_DRIVER:-smtp}
# EMAIL_SMTP_HOST: ${EMAIL_SMTP_HOST:-smtp.gmail.com}
# EMAIL_SMTP_PORT: ${EMAIL_SMTP_PORT:-465}
# EMAIL_SMTP_USER: ${EMAIL_SMTP_USER:-}
# EMAIL_SMTP_PASSWORD: ${EMAIL_SMTP_PASSWORD:-}
depends_on:
db:
condition: service_healthy
healthcheck:
test: curl --fail http://localhost:3000/healthz
interval: 5s
timeout: 5s
retries: 20
restart: always
worker:
image: twentycrm/twenty:${TAG:-latest}
volumes:
- server-local-data:/app/packages/twenty-server/.local-storage
command: ["yarn", "worker:prod"]
environment:
PG_DATABASE_URL: postgres://${PG_DATABASE_USER:-postgres}:${PG_DATABASE_PASSWORD:-postgres}@${PG_DATABASE_HOST:-db}:${PG_DATABASE_PORT:-5432}/default
SERVER_URL: ${SERVER_URL}
REDIS_URL: ${REDIS_URL:-redis://redis:6379}
DISABLE_DB_MIGRATIONS: "true" # it already runs on the server
DISABLE_CRON_JOBS_REGISTRATION: "true" # it already runs on the server
STORAGE_TYPE: ${STORAGE_TYPE}
STORAGE_S3_REGION: ${STORAGE_S3_REGION}
STORAGE_S3_NAME: ${STORAGE_S3_NAME}
STORAGE_S3_ENDPOINT: ${STORAGE_S3_ENDPOINT}
APP_SECRET: ${APP_SECRET:-replace_me_with_a_random_string}
# MESSAGING_PROVIDER_GMAIL_ENABLED: ${MESSAGING_PROVIDER_GMAIL_ENABLED}
# CALENDAR_PROVIDER_GOOGLE_ENABLED: ${CALENDAR_PROVIDER_GOOGLE_ENABLED}
# AUTH_GOOGLE_CLIENT_ID: ${AUTH_GOOGLE_CLIENT_ID}
# AUTH_GOOGLE_CLIENT_SECRET: ${AUTH_GOOGLE_CLIENT_SECRET}
# AUTH_GOOGLE_CALLBACK_URL: ${AUTH_GOOGLE_CALLBACK_URL}
# AUTH_GOOGLE_APIS_CALLBACK_URL: ${AUTH_GOOGLE_APIS_CALLBACK_URL}
# CALENDAR_PROVIDER_MICROSOFT_ENABLED: ${CALENDAR_PROVIDER_MICROSOFT_ENABLED}
# MESSAGING_PROVIDER_MICROSOFT_ENABLED: ${MESSAGING_PROVIDER_MICROSOFT_ENABLED}
# AUTH_MICROSOFT_ENABLED: ${AUTH_MICROSOFT_ENABLED}
# AUTH_MICROSOFT_CLIENT_ID: ${AUTH_MICROSOFT_CLIENT_ID}
# AUTH_MICROSOFT_CLIENT_SECRET: ${AUTH_MICROSOFT_CLIENT_SECRET}
# AUTH_MICROSOFT_CALLBACK_URL: ${AUTH_MICROSOFT_CALLBACK_URL}
# AUTH_MICROSOFT_APIS_CALLBACK_URL: ${AUTH_MICROSOFT_APIS_CALLBACK_URL}
# EMAIL_FROM_ADDRESS: ${EMAIL_FROM_ADDRESS:[email protected]}
# EMAIL_FROM_NAME: ${EMAIL_FROM_NAME:-"John from YourDomain"}
# EMAIL_SYSTEM_ADDRESS: ${EMAIL_SYSTEM_ADDRESS:[email protected]}
# EMAIL_DRIVER: ${EMAIL_DRIVER:-smtp}
# EMAIL_SMTP_HOST: ${EMAIL_SMTP_HOST:-smtp.gmail.com}
# EMAIL_SMTP_PORT: ${EMAIL_SMTP_PORT:-465}
# EMAIL_SMTP_USER: ${EMAIL_SMTP_USER:-}
# EMAIL_SMTP_PASSWORD: ${EMAIL_SMTP_PASSWORD:-}
depends_on:
db:
condition: service_healthy
server:
condition: service_healthy
restart: always
db:
image: postgres:16
volumes:
- db-data:/var/lib/postgresql/data
environment:
POSTGRES_USER: ${PG_DATABASE_USER:-postgres}
POSTGRES_PASSWORD: ${PG_DATABASE_PASSWORD:-postgres}
healthcheck:
test: pg_isready -U ${PG_DATABASE_USER:-postgres} -h localhost -d postgres
interval: 5s
timeout: 5s
retries: 10
restart: always
redis:
image: redis
restart: always
command: ["--maxmemory-policy", "noeviction"]
volumes:
db-data:
server-local-data:
Server logs
[Nest] 1 - 06/24/2025, 10:10:54 PM LOG [InstanceLoader] WorkspaceSSOModule dependencies initialized
[Nest] 1 - 06/24/2025, 10:10:54 PM LOG [InstanceLoader] LabModule dependencies initialized
[Nest] 1 - 06/24/2025, 10:10:54 PM LOG [InstanceLoader] WorkspaceInvitationModule dependencies initialized
[Nest] 1 - 06/24/2025, 10:10:54 PM LOG [InstanceLoader] UserWorkspaceModule dependencies initialized
[Nest] 1 - 06/24/2025, 10:10:54 PM LOG [InstanceLoader] NestjsQueryGraphQLModule dependencies initialized
[Nest] 1 - 06/24/2025, 10:10:54 PM LOG [InstanceLoader] WorkspaceMemberQueryHookModule dependencies initialized
[Nest] 1 - 06/24/2025, 10:10:54 PM LOG [InstanceLoader] WorkflowExecutorModule dependencies initialized
[Nest] 1 - 06/24/2025, 10:10:54 PM LOG [InstanceLoader] WorkflowTriggerModule dependencies initialized
[Nest] 1 - 06/24/2025, 10:10:54 PM LOG [InstanceLoader] WorkflowVersionStepModule dependencies initialized
[Nest] 1 - 06/24/2025, 10:10:54 PM LOG [InstanceLoader] NestjsQueryGraphQLModule dependencies initialized
[Nest] 1 - 06/24/2025, 10:10:54 PM LOG [InstanceLoader] RemoteTableModule dependencies initialized
[Nest] 1 - 06/24/2025, 10:10:54 PM LOG [InstanceLoader] MessagingImportManagerModule dependencies initialized
[Nest] 1 - 06/24/2025, 10:10:54 PM LOG [InstanceLoader] DevSeederModule dependencies initialized
[Nest] 1 - 06/24/2025, 10:10:54 PM LOG [InstanceLoader] OpenApiModule dependencies initialized
[Nest] 1 - 06/24/2025, 10:10:54 PM LOG [InstanceLoader] WorkspaceResolverBuilderModule dependencies initialized
[Nest] 1 - 06/24/2025, 10:10:54 PM LOG [InstanceLoader] WorkflowRunnerModule dependencies initialized
[Nest] 1 - 06/24/2025, 10:10:54 PM LOG [InstanceLoader] WorkflowVersionModule dependencies initialized
[Nest] 1 - 06/24/2025, 10:10:54 PM LOG [InstanceLoader] CalendarEventImportManagerModule dependencies initialized
[Nest] 1 - 06/24/2025, 10:10:54 PM LOG [InstanceLoader] FieldMetadataModule dependencies initialized
[Nest] 1 - 06/24/2025, 10:10:54 PM LOG [InstanceLoader] RemoteServerModule dependencies initialized
[Nest] 1 - 06/24/2025, 10:10:54 PM LOG [InstanceLoader] ObjectMetadataModule dependencies initialized
[Nest] 1 - 06/24/2025, 10:10:54 PM LOG [InstanceLoader] CoreGraphQLApiModule dependencies initialized
[Nest] 1 - 06/24/2025, 10:10:54 PM LOG [InstanceLoader] BillingModule dependencies initialized
[Nest] 1 - 06/24/2025, 10:10:54 PM LOG [InstanceLoader] NestjsQueryGraphQLModule dependencies initialized
[Nest] 1 - 06/24/2025, 10:10:54 PM LOG [InstanceLoader] RoleModule dependencies initialized
[Nest] 1 - 06/24/2025, 10:10:54 PM LOG [InstanceLoader] UserModule dependencies initialized
[Nest] 1 - 06/24/2025, 10:10:54 PM LOG [InstanceLoader] TimelineMessagingModule dependencies initialized
[Nest] 1 - 06/24/2025, 10:10:54 PM LOG [InstanceLoader] RestApiModule dependencies initialized
[Nest] 1 - 06/24/2025, 10:10:54 PM LOG [InstanceLoader] WorkspaceModule dependencies initialized
[Nest] 1 - 06/24/2025, 10:10:54 PM LOG [InstanceLoader] EmailVerificationModule dependencies initialized
[Nest] 1 - 06/24/2025, 10:10:54 PM LOG [InstanceLoader] GraphQLModule dependencies initialized
[Nest] 1 - 06/24/2025, 10:10:54 PM LOG [InstanceLoader] RestApiCoreModule dependencies initialized
[Nest] 1 - 06/24/2025, 10:10:54 PM LOG [InstanceLoader] BillingWebhookModule dependencies initialized
[Nest] 1 - 06/24/2025, 10:10:54 PM LOG [InstanceLoader] WorkflowApiModule dependencies initialized
[Nest] 1 - 06/24/2025, 10:10:54 PM LOG [InstanceLoader] AuthModule dependencies initialized
[Nest] 1 - 06/24/2025, 10:10:54 PM LOG [RoutesResolver] HealthController {/healthz}:
[Nest] 1 - 06/24/2025, 10:10:54 PM LOG [RouterExplorer] Mapped {/healthz, GET} route
[Nest] 1 - 06/24/2025, 10:10:54 PM LOG [RouterExplorer] Mapped {/healthz/:indicatorId, GET} route
[Nest] 1 - 06/24/2025, 10:10:54 PM LOG [RoutesResolver] GoogleAuthController {/auth/google}:
[Nest] 1 - 06/24/2025, 10:10:54 PM LOG [RouterExplorer] Mapped {/auth/google, GET} route
[Nest] 1 - 06/24/2025, 10:10:54 PM LOG [RouterExplorer] Mapped {/auth/google/redirect, GET} route
[Nest] 1 - 06/24/2025, 10:10:54 PM LOG [RoutesResolver] MicrosoftAuthController {/auth/microsoft}:
[Nest] 1 - 06/24/2025, 10:10:54 PM LOG [RouterExplorer] Mapped {/auth/microsoft, GET} route
[Nest] 1 - 06/24/2025, 10:10:54 PM LOG [RouterExplorer] Mapped {/auth/microsoft/redirect, GET} route
[Nest] 1 - 06/24/2025, 10:10:54 PM LOG [RoutesResolver] GoogleAPIsAuthController {/auth/google-apis}:
[Nest] 1 - 06/24/2025, 10:10:54 PM LOG [RouterExplorer] Mapped {/auth/google-apis, GET} route
[Nest] 1 - 06/24/2025, 10:10:54 PM LOG [RouterExplorer] Mapped {/auth/google-apis/get-access-token, GET} route
[Nest] 1 - 06/24/2025, 10:10:54 PM LOG [RoutesResolver] MicrosoftAPIsAuthController {/auth/microsoft-apis}:
[Nest] 1 - 06/24/2025, 10:10:54 PM LOG [RouterExplorer] Mapped {/auth/microsoft-apis, GET} route
[Nest] 1 - 06/24/2025, 10:10:54 PM LOG [RouterExplorer] Mapped {/auth/microsoft-apis/get-access-token, GET} route
[Nest] 1 - 06/24/2025, 10:10:54 PM LOG [RoutesResolver] SSOAuthController {/auth}:
[Nest] 1 - 06/24/2025, 10:10:54 PM LOG [RouterExplorer] Mapped {/auth/saml/metadata/:identityProviderId, GET} route
[Nest] 1 - 06/24/2025, 10:10:54 PM LOG [RouterExplorer] Mapped {/auth/oidc/login/:identityProviderId, GET} route
[Nest] 1 - 06/24/2025, 10:10:54 PM LOG [RouterExplorer] Mapped {/auth/saml/login/:identityProviderId, GET} route
[Nest] 1 - 06/24/2025, 10:10:54 PM LOG [RouterExplorer] Mapped {/auth/oidc/callback, GET} route
[Nest] 1 - 06/24/2025, 10:10:54 PM LOG [RouterExplorer] Mapped {/auth/saml/callback/:identityProviderId, POST} route
[Nest] 1 - 06/24/2025, 10:10:54 PM LOG [RoutesResolver] FileController {/files}:
[Nest] 1 - 06/24/2025, 10:10:54 PM LOG [RouterExplorer] Mapped {/files/*/:filename, GET} route
[Nest] 1 - 06/24/2025, 10:10:54 PM LOG [RoutesResolver] CloudflareController {/}:
[Nest] 1 - 06/24/2025, 10:10:54 PM LOG [RouterExplorer] Mapped {/cloudflare/custom-hostname-webhooks, POST} route
[Nest] 1 - 06/24/2025, 10:10:54 PM LOG [RouterExplorer] Mapped {/webhooks/cloudflare, POST} route
[Nest] 1 - 06/24/2025, 10:10:54 PM LOG [RoutesResolver] BillingWebhookController {/}:
[Nest] 1 - 06/24/2025, 10:10:54 PM LOG [RouterExplorer] Mapped {/webhooks/stripe, POST} route
[Nest] 1 - 06/24/2025, 10:10:54 PM LOG [RoutesResolver] ClientConfigController {/client-config}:
[Nest] 1 - 06/24/2025, 10:10:54 PM LOG [RouterExplorer] Mapped {/client-config, GET} route
[Nest] 1 - 06/24/2025, 10:10:54 PM LOG [RoutesResolver] OpenApiController {/}:
[Nest] 1 - 06/24/2025, 10:10:54 PM LOG [RouterExplorer] Mapped {/open-api/core, GET} route
[Nest] 1 - 06/24/2025, 10:10:54 PM LOG [RouterExplorer] Mapped {/rest/open-api/core, GET} route
[Nest] 1 - 06/24/2025, 10:10:54 PM LOG [RouterExplorer] Mapped {/open-api/metadata, GET} route
[Nest] 1 - 06/24/2025, 10:10:54 PM LOG [RouterExplorer] Mapped {/rest/open-api/metadata, GET} route
[Nest] 1 - 06/24/2025, 10:10:54 PM LOG [RoutesResolver] WorkflowTriggerController {/webhooks}:
[Nest] 1 - 06/24/2025, 10:10:54 PM LOG [RouterExplorer] Mapped {/webhooks/workflows/:workspaceId/:workflowId, POST} route
[Nest] 1 - 06/24/2025, 10:10:54 PM LOG [RouterExplorer] Mapped {/webhooks/workflows/:workspaceId/:workflowId, GET} route
[Nest] 1 - 06/24/2025, 10:10:54 PM LOG [RoutesResolver] AiController {/chat}:
[Nest] 1 - 06/24/2025, 10:10:54 PM LOG [RouterExplorer] Mapped {/chat, POST} route
[Nest] 1 - 06/24/2025, 10:10:54 PM LOG [RoutesResolver] AiController {/chat}:
[Nest] 1 - 06/24/2025, 10:10:54 PM LOG [RouterExplorer] Mapped {/chat, POST} route
[Nest] 1 - 06/24/2025, 10:10:54 PM LOG [RoutesResolver] RestApiMetadataController {/rest/metadata/*}:
[Nest] 1 - 06/24/2025, 10:10:54 PM LOG [RouterExplorer] Mapped {/rest/metadata/*, GET} route
[Nest] 1 - 06/24/2025, 10:10:54 PM LOG [RouterExplorer] Mapped {/rest/metadata/*, DELETE} route
[Nest] 1 - 06/24/2025, 10:10:54 PM LOG [RouterExplorer] Mapped {/rest/metadata/*, POST} route
[Nest] 1 - 06/24/2025, 10:10:54 PM LOG [RouterExplorer] Mapped {/rest/metadata/*, PATCH} route
[Nest] 1 - 06/24/2025, 10:10:54 PM LOG [RouterExplorer] Mapped {/rest/metadata/*, PUT} route
[Nest] 1 - 06/24/2025, 10:10:54 PM LOG [RoutesResolver] RestApiCoreController {/rest}:
[Nest] 1 - 06/24/2025, 10:10:54 PM LOG [RouterExplorer] Mapped {/rest/batch/*, POST} route
[Nest] 1 - 06/24/2025, 10:10:54 PM LOG [RouterExplorer] Mapped {/rest/*/duplicates, POST} route
[Nest] 1 - 06/24/2025, 10:10:54 PM LOG [RouterExplorer] Mapped {/rest/*, POST} route
[Nest] 1 - 06/24/2025, 10:10:54 PM LOG [RouterExplorer] Mapped {/rest/*, GET} route
[Nest] 1 - 06/24/2025, 10:10:54 PM LOG [RouterExplorer] Mapped {/rest/*, DELETE} route
[Nest] 1 - 06/24/2025, 10:10:54 PM LOG [RouterExplorer] Mapped {/rest/*, PATCH} route
[Nest] 1 - 06/24/2025, 10:10:54 PM LOG [RouterExplorer] Mapped {/rest/*, PUT} route
[Nest] 1 - 06/24/2025, 10:10:54 PM LOG [PgPoolSharedService] Pool sharing will use max 10 connections per pool with 600000ms idle timeout and allowExitOnIdle=true
[Nest] 1 - 06/24/2025, 10:10:54 PM LOG [PgPoolSharedService] pg.Pool patched successfully by this service instance.
[Nest] 1 - 06/24/2025, 10:10:54 PM LOG [PgPoolSharedService] Pg pool sharing initialized - pools will be shared across tenants
[Nest] 1 - 06/24/2025, 10:10:54 PM LOG [PgPoolSharedService] Created new shared pg Pool for key "localhost|5432|postgres||no-ssl" with 10 max connections and 600000 ms idle timeout. Total pools: 1
[Nest] 1 - 06/24/2025, 10:10:54 PM LOG [DatabaseConfigDriver] [INIT] Loading initial config variables from database
[Nest] 1 - 06/24/2025, 10:10:54 PM LOG [DatabaseConfigDriver] [INIT] Config variables loaded: 0 values found in DB, 52 falling to env vars/defaults
[Nest] 1 - 06/24/2025, 10:10:54 PM LOG [GraphQLModule] Mapped {/metadata, POST} route
[Nest] 1 - 06/24/2025, 10:10:54 PM LOG [GraphQLModule] Mapped {/graphql, POST} route
[Nest] 1 - 06/24/2025, 10:10:54 PM LOG [NestApplication] Nest application successfully started
Worker logs
[Nest] 34 - 06/24/2025, 10:11:11 PM LOG [InstanceLoader] WorkspaceFeatureFlagsMapCacheModule dependencies initialized
[Nest] 34 - 06/24/2025, 10:11:11 PM LOG [InstanceLoader] WorkspaceMetadataCacheModule dependencies initialized
[Nest] 34 - 06/24/2025, 10:11:11 PM LOG [InstanceLoader] SettingPermissionModule dependencies initialized
[Nest] 34 - 06/24/2025, 10:11:11 PM LOG [InstanceLoader] ObjectPermissionModule dependencies initialized
[Nest] 34 - 06/24/2025, 10:11:11 PM LOG [InstanceLoader] FeatureFlagModule dependencies initialized
[Nest] 34 - 06/24/2025, 10:11:11 PM LOG [InstanceLoader] WorkspaceMetadataVersionModule dependencies initialized
[Nest] 34 - 06/24/2025, 10:11:11 PM LOG [InstanceLoader] CodeActionModule dependencies initialized
[Nest] 34 - 06/24/2025, 10:11:11 PM LOG [InstanceLoader] AiModule dependencies initialized
[Nest] 34 - 06/24/2025, 10:11:11 PM LOG [InstanceLoader] AiModule dependencies initialized
[Nest] 34 - 06/24/2025, 10:11:11 PM LOG [InstanceLoader] WorkspaceMigrationBuilderModule dependencies initialized
[Nest] 34 - 06/24/2025, 10:11:11 PM LOG [InstanceLoader] AgentModule dependencies initialized
[Nest] 34 - 06/24/2025, 10:11:11 PM LOG [InstanceLoader] AdminPanelModule dependencies initialized
[Nest] 34 - 06/24/2025, 10:11:11 PM LOG [InstanceLoader] TwentyORMModule dependencies initialized
[Nest] 34 - 06/24/2025, 10:11:11 PM LOG [InstanceLoader] ServerlessFunctionModule dependencies initialized
[Nest] 34 - 06/24/2025, 10:11:11 PM LOG [InstanceLoader] HealthModule dependencies initialized
[Nest] 34 - 06/24/2025, 10:11:11 PM LOG [InstanceLoader] EmailAliasManagerModule dependencies initialized
[Nest] 34 - 06/24/2025, 10:11:11 PM LOG [InstanceLoader] RefreshTokensManagerModule dependencies initialized
[Nest] 34 - 06/24/2025, 10:11:11 PM LOG [InstanceLoader] ConnectedAccountQueryHookModule dependencies initialized
[Nest] 34 - 06/24/2025, 10:11:11 PM LOG [InstanceLoader] MessagingCommonModule dependencies initialized
[Nest] 34 - 06/24/2025, 10:11:11 PM LOG [InstanceLoader] CalendarCommonModule dependencies initialized
[Nest] 34 - 06/24/2025, 10:11:11 PM LOG [InstanceLoader] MessagingMicrosoftDriverModule dependencies initialized
[Nest] 34 - 06/24/2025, 10:11:11 PM LOG [InstanceLoader] RecordPositionModule dependencies initialized
[Nest] 34 - 06/24/2025, 10:11:11 PM LOG [InstanceLoader] ObjectMetadataRepositoryModule dependencies initialized
[Nest] 34 - 06/24/2025, 10:11:11 PM LOG [InstanceLoader] ObjectMetadataRepositoryModule dependencies initialized
[Nest] 34 - 06/24/2025, 10:11:11 PM LOG [InstanceLoader] ViewModule dependencies initialized
[Nest] 34 - 06/24/2025, 10:11:11 PM LOG [InstanceLoader] MatchParticipantModule dependencies initialized
[Nest] 34 - 06/24/2025, 10:11:11 PM LOG [InstanceLoader] ConnectedAccountModule dependencies initialized
[Nest] 34 - 06/24/2025, 10:11:11 PM LOG [InstanceLoader] SendEmailActionModule dependencies initialized
[Nest] 34 - 06/24/2025, 10:11:11 PM LOG [InstanceLoader] WebhookJobModule dependencies initialized
[Nest] 34 - 06/24/2025, 10:11:11 PM LOG [InstanceLoader] UserRoleModule dependencies initialized
[Nest] 34 - 06/24/2025, 10:11:11 PM LOG [InstanceLoader] WorkflowCommonModule dependencies initialized
[Nest] 34 - 06/24/2025, 10:11:11 PM LOG [InstanceLoader] WorkflowStatusModule dependencies initialized
[Nest] 34 - 06/24/2025, 10:11:11 PM LOG [InstanceLoader] MessagingMonitoringModule dependencies initialized
[Nest] 34 - 06/24/2025, 10:11:11 PM LOG [InstanceLoader] WorkspaceSyncMetadataModule dependencies initialized
[Nest] 34 - 06/24/2025, 10:11:11 PM LOG [InstanceLoader] ApprovedAccessDomainModule dependencies initialized
[Nest] 34 - 06/24/2025, 10:11:11 PM LOG [InstanceLoader] MessagingMessageCleanerModule dependencies initialized
[Nest] 34 - 06/24/2025, 10:11:11 PM LOG [InstanceLoader] MessagingQueryHookModule dependencies initialized
[Nest] 34 - 06/24/2025, 10:11:11 PM LOG [InstanceLoader] CalendarQueryHookModule dependencies initialized
[Nest] 34 - 06/24/2025, 10:11:11 PM LOG [InstanceLoader] CalendarEventCleanerModule dependencies initialized
[Nest] 34 - 06/24/2025, 10:11:11 PM LOG [InstanceLoader] FavoriteModule dependencies initialized
[Nest] 34 - 06/24/2025, 10:11:11 PM LOG [InstanceLoader] ActorModule dependencies initialized
[Nest] 34 - 06/24/2025, 10:11:11 PM LOG [InstanceLoader] ContactCreationManagerModule dependencies initialized
[Nest] 34 - 06/24/2025, 10:11:11 PM LOG [InstanceLoader] MessagingBlocklistManagerModule dependencies initialized
[Nest] 34 - 06/24/2025, 10:11:11 PM LOG [InstanceLoader] CalendarBlocklistManagerModule dependencies initialized
[Nest] 34 - 06/24/2025, 10:11:11 PM LOG [InstanceLoader] WorkspaceQueryRunnerModule dependencies initialized
[Nest] 34 - 06/24/2025, 10:11:11 PM LOG [InstanceLoader] BlocklistValidationManagerModule dependencies initialized
[Nest] 34 - 06/24/2025, 10:11:11 PM LOG [InstanceLoader] TimelineActivityModule dependencies initialized
[Nest] 34 - 06/24/2025, 10:11:11 PM LOG [InstanceLoader] PermissionsModule dependencies initialized
[Nest] 34 - 06/24/2025, 10:11:11 PM LOG [InstanceLoader] NestjsQueryGraphQLModule dependencies initialized
[Nest] 34 - 06/24/2025, 10:11:11 PM LOG [InstanceLoader] WorkflowRunModule dependencies initialized
[Nest] 34 - 06/24/2025, 10:11:11 PM LOG [InstanceLoader] WorkflowSchemaModule dependencies initialized
[Nest] 34 - 06/24/2025, 10:11:11 PM LOG [InstanceLoader] AutomatedTriggerModule dependencies initialized
[Nest] 34 - 06/24/2025, 10:11:11 PM LOG [InstanceLoader] RecordCRUDActionModule dependencies initialized
[Nest] 34 - 06/24/2025, 10:11:11 PM LOG [InstanceLoader] TimelineCalendarEventModule dependencies initialized
[Nest] 34 - 06/24/2025, 10:11:11 PM LOG [InstanceLoader] SearchModule dependencies initialized
[Nest] 34 - 06/24/2025, 10:11:11 PM LOG [InstanceLoader] TokenModule dependencies initialized
[Nest] 34 - 06/24/2025, 10:11:11 PM LOG [InstanceLoader] WorkflowQueryHookModule dependencies initialized
[Nest] 34 - 06/24/2025, 10:11:11 PM LOG [InstanceLoader] AutoCompaniesAndContactsCreationJobModule dependencies initialized
[Nest] 34 - 06/24/2025, 10:11:11 PM LOG [InstanceLoader] MessageParticipantManagerModule dependencies initialized
[Nest] 34 - 06/24/2025, 10:11:11 PM LOG [InstanceLoader] CalendarEventParticipantManagerModule dependencies initialized
[Nest] 34 - 06/24/2025, 10:11:11 PM LOG [InstanceLoader] BlocklistQueryHookModule dependencies initialized
[Nest] 34 - 06/24/2025, 10:11:11 PM LOG [InstanceLoader] TimelineJobModule dependencies initialized
[Nest] 34 - 06/24/2025, 10:11:11 PM LOG [InstanceLoader] WorkspaceManagerModule dependencies initialized
[Nest] 34 - 06/24/2025, 10:11:11 PM LOG [InstanceLoader] WorkspaceHealthModule dependencies initialized
[Nest] 34 - 06/24/2025, 10:11:11 PM LOG [InstanceLoader] WorkspaceSSOModule dependencies initialized
[Nest] 34 - 06/24/2025, 10:11:11 PM LOG [InstanceLoader] LabModule dependencies initialized
[Nest] 34 - 06/24/2025, 10:11:11 PM LOG [InstanceLoader] WorkspaceInvitationModule dependencies initialized
[Nest] 34 - 06/24/2025, 10:11:11 PM LOG [InstanceLoader] UserWorkspaceModule dependencies initialized
[Nest] 34 - 06/24/2025, 10:11:11 PM LOG [InstanceLoader] NestjsQueryGraphQLModule dependencies initialized
[Nest] 34 - 06/24/2025, 10:11:11 PM LOG [InstanceLoader] WorkspaceMemberQueryHookModule dependencies initialized
[Nest] 34 - 06/24/2025, 10:11:11 PM LOG [InstanceLoader] WorkflowExecutorModule dependencies initialized
[Nest] 34 - 06/24/2025, 10:11:11 PM LOG [InstanceLoader] WorkflowTriggerModule dependencies initialized
[Nest] 34 - 06/24/2025, 10:11:11 PM LOG [InstanceLoader] WorkflowVersionStepModule dependencies initialized
[Nest] 34 - 06/24/2025, 10:11:11 PM LOG [InstanceLoader] NestjsQueryGraphQLModule dependencies initialized
[Nest] 34 - 06/24/2025, 10:11:11 PM LOG [InstanceLoader] MessagingImportManagerModule dependencies initialized
[Nest] 34 - 06/24/2025, 10:11:11 PM LOG [InstanceLoader] DevSeederModule dependencies initialized
[Nest] 34 - 06/24/2025, 10:11:11 PM LOG [InstanceLoader] OpenApiModule dependencies initialized
[Nest] 34 - 06/24/2025, 10:11:11 PM LOG [InstanceLoader] WorkflowRunnerModule dependencies initialized
[Nest] 34 - 06/24/2025, 10:11:11 PM LOG [InstanceLoader] WorkflowVersionModule dependencies initialized
[Nest] 34 - 06/24/2025, 10:11:11 PM LOG [InstanceLoader] CalendarEventImportManagerModule dependencies initialized
[Nest] 34 - 06/24/2025, 10:11:11 PM LOG [InstanceLoader] FieldMetadataModule dependencies initialized
[Nest] 34 - 06/24/2025, 10:11:11 PM LOG [InstanceLoader] ObjectMetadataModule dependencies initialized
[Nest] 34 - 06/24/2025, 10:11:11 PM LOG [InstanceLoader] BillingModule dependencies initialized
[Nest] 34 - 06/24/2025, 10:11:11 PM LOG [InstanceLoader] NestjsQueryGraphQLModule dependencies initialized
[Nest] 34 - 06/24/2025, 10:11:11 PM LOG [InstanceLoader] RoleModule dependencies initialized
[Nest] 34 - 06/24/2025, 10:11:11 PM LOG [InstanceLoader] UserModule dependencies initialized
[Nest] 34 - 06/24/2025, 10:11:11 PM LOG [InstanceLoader] TimelineMessagingModule dependencies initialized
[Nest] 34 - 06/24/2025, 10:11:11 PM LOG [InstanceLoader] WorkspaceCleanerModule dependencies initialized
[Nest] 34 - 06/24/2025, 10:11:11 PM LOG [InstanceLoader] WorkspaceModule dependencies initialized
[Nest] 34 - 06/24/2025, 10:11:11 PM LOG [InstanceLoader] JobsModule dependencies initialized
[Nest] 34 - 06/24/2025, 10:11:11 PM LOG [InstanceLoader] EmailVerificationModule dependencies initialized
[Nest] 34 - 06/24/2025, 10:11:11 PM LOG [InstanceLoader] BillingWebhookModule dependencies initialized
[Nest] 34 - 06/24/2025, 10:11:11 PM LOG [InstanceLoader] WorkflowApiModule dependencies initialized
[Nest] 34 - 06/24/2025, 10:11:11 PM LOG [InstanceLoader] AuthModule dependencies initialized
[Nest] 34 - 06/24/2025, 10:11:11 PM LOG [PgPoolSharedService] Pool sharing will use max 10 connections per pool with 600000ms idle timeout and allowExitOnIdle=true
[Nest] 34 - 06/24/2025, 10:11:11 PM LOG [PgPoolSharedService] pg.Pool patched successfully by this service instance.
[Nest] 34 - 06/24/2025, 10:11:11 PM LOG [PgPoolSharedService] Pg pool sharing initialized - pools will be shared across tenants
[Nest] 34 - 06/24/2025, 10:11:11 PM LOG [PgPoolSharedService] Created new shared pg Pool for key "localhost|5432|postgres||no-ssl" with 10 max connections and 600000 ms idle timeout. Total pools: 1
[Nest] 34 - 06/24/2025, 10:11:11 PM LOG [DatabaseConfigDriver] [INIT] Loading initial config variables from database
[Nest] 34 - 06/24/2025, 10:11:11 PM LOG [DatabaseConfigDriver] [INIT] Config variables loaded: 0 values found in DB, 52 falling to env vars/defaults
redis logs
Starting Redis Server
1:C 24 Jun 2025 22:09:29.531 # WARNING Memory overcommit must be enabled! Without it, a background save or replication may fail under low memory condition. Being disabled, it can also cause failures without low memory condition, see https://github.com/jemalloc/jemalloc/issues/1328. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.
1:C 24 Jun 2025 22:09:29.531 * oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
1:C 24 Jun 2025 22:09:29.531 * Redis version=8.0.2, bits=64, commit=00000000, modified=1, pid=1, just started
1:C 24 Jun 2025 22:09:29.531 * Configuration loaded
1:M 24 Jun 2025 22:09:29.532 * monotonic clock: POSIX clock_gettime
1:M 24 Jun 2025 22:09:29.533 * Running mode=standalone, port=6379.
1:M 24 Jun 2025 22:09:29.533 * <bf> RedisBloom version 8.0.1 (Git=unknown)
1:M 24 Jun 2025 22:09:29.533 * <bf> Registering configuration options: [
1:M 24 Jun 2025 22:09:29.533 * <bf> { bf-error-rate : 0.01 }
1:M 24 Jun 2025 22:09:29.533 * <bf> { bf-initial-size : 100 }
1:M 24 Jun 2025 22:09:29.533 * <bf> { bf-expansion-factor : 2 }
1:M 24 Jun 2025 22:09:29.533 * <bf> { cf-bucket-size : 2 }
1:M 24 Jun 2025 22:09:29.533 * <bf> { cf-initial-size : 1024 }
1:M 24 Jun 2025 22:09:29.533 * <bf> { cf-max-iterations : 20 }
1:M 24 Jun 2025 22:09:29.533 * <bf> { cf-expansion-factor : 1 }
1:M 24 Jun 2025 22:09:29.533 * <bf> { cf-max-expansions : 32 }
1:M 24 Jun 2025 22:09:29.533 * <bf> ]
1:M 24 Jun 2025 22:09:29.533 * Module 'bf' loaded from /usr/local/lib/redis/modules//redisbloom.so
1:M 24 Jun 2025 22:09:29.534 * <search> Redis version found by RedisSearch : 8.0.2 - oss
1:M 24 Jun 2025 22:09:29.534 * <search> RediSearch version 8.0.1 (Git=5688fcc)
1:M 24 Jun 2025 22:09:29.534 * <search> Low level api version 1 initialized successfully
1:M 24 Jun 2025 22:09:29.535 * <search> gc: ON, prefix min length: 2, min word length to stem: 4, prefix max expansions: 200, query timeout (ms): 500, timeout policy: return, cursor read size: 1000, cursor max idle (ms): 300000, max doctable size: 1000000, max number of search results: 1000000,
1:M 24 Jun 2025 22:09:29.535 * <search> Initialized thread pools!
1:M 24 Jun 2025 22:09:29.535 * <search> Disabled workers threadpool of size 0
1:M 24 Jun 2025 22:09:29.535 * <search> Subscribe to config changes
1:M 24 Jun 2025 22:09:29.535 * <search> Enabled role change notification
1:M 24 Jun 2025 22:09:29.535 * <search> Cluster configuration: AUTO partitions, type: 0, coordinator timeout: 0ms
1:M 24 Jun 2025 22:09:29.535 * <search> Register write commands
1:M 24 Jun 2025 22:09:29.535 * Module 'search' loaded from /usr/local/lib/redis/modules//redisearch.so
1:M 24 Jun 2025 22:09:29.535 * <timeseries> RedisTimeSeries version 80001, git_sha=577bfa8b5909e7ee572f0b651399be8303dc6641
1:M 24 Jun 2025 22:09:29.535 * <timeseries> Redis version found by RedisTimeSeries : 8.0.2 - oss
1:M 24 Jun 2025 22:09:29.535 * <timeseries> Registering configuration options: [
1:M 24 Jun 2025 22:09:29.535 * <timeseries> { ts-compaction-policy : }
1:M 24 Jun 2025 22:09:29.535 * <timeseries> { ts-num-threads : 3 }
1:M 24 Jun 2025 22:09:29.535 * <timeseries> { ts-retention-policy : 0 }
1:M 24 Jun 2025 22:09:29.535 * <timeseries> { ts-duplicate-policy : block }
1:M 24 Jun 2025 22:09:29.535 * <timeseries> { ts-chunk-size-bytes : 4096 }
1:M 24 Jun 2025 22:09:29.535 * <timeseries> { ts-encoding : compressed }
1:M 24 Jun 2025 22:09:29.535 * <timeseries> { ts-ignore-max-time-diff: 0 }
1:M 24 Jun 2025 22:09:29.535 * <timeseries> { ts-ignore-max-val-diff : 0.000000 }
1:M 24 Jun 2025 22:09:29.535 * <timeseries> ]
1:M 24 Jun 2025 22:09:29.536 * <timeseries> Detected redis oss
1:M 24 Jun 2025 22:09:29.536 * Module 'timeseries' loaded from /usr/local/lib/redis/modules//redistimeseries.so
1:M 24 Jun 2025 22:09:29.536 * <ReJSON> Created new data type 'ReJSON-RL'
1:M 24 Jun 2025 22:09:29.536 * <ReJSON> version: 80001 git sha: unknown branch: unknown
1:M 24 Jun 2025 22:09:29.536 * <ReJSON> Exported RedisJSON_V1 API
1:M 24 Jun 2025 22:09:29.536 * <ReJSON> Exported RedisJSON_V2 API
1:M 24 Jun 2025 22:09:29.536 * <ReJSON> Exported RedisJSON_V3 API
1:M 24 Jun 2025 22:09:29.536 * <ReJSON> Exported RedisJSON_V4 API
1:M 24 Jun 2025 22:09:29.536 * <ReJSON> Exported RedisJSON_V5 API
1:M 24 Jun 2025 22:09:29.536 * <ReJSON> Enabled diskless replication
1:M 24 Jun 2025 22:09:29.536 * <ReJSON> Initialized shared string cache, thread safe: false.
1:M 24 Jun 2025 22:09:29.536 * Module 'ReJSON' loaded from /usr/local/lib/redis/modules//rejson.so
1:M 24 Jun 2025 22:09:29.536 * <search> Acquired RedisJSON_V5 API
1:M 24 Jun 2025 22:09:29.537 * Server initialized
1:M 24 Jun 2025 22:09:29.537 * Ready to accept connections tcp
1:M 24 Jun 2025 22:14:30.089 * 100 changes in 300 seconds. Saving...
1:M 24 Jun 2025 22:14:30.090 * Background saving started by pid 31
31:C 24 Jun 2025 22:14:30.156 * DB saved on disk
31:C 24 Jun 2025 22:14:30.156 * Fork CoW for RDB: current 0 MB, peak 0 MB, average 0 MB
1:M 24 Jun 2025 22:14:30.190 * Background saving terminated with success
db logs
The files belonging to this database system will be owned by user "postgres".
This user must also own the server process.
The database cluster will be initialized with locale "en_US.utf8".
The default database encoding has accordingly been set to "UTF8".
The default text search configuration will be set to "english".
Data page checksums are disabled.
fixing permissions on existing directory /var/lib/postgresql/data ... ok
creating subdirectories ... ok
selecting dynamic shared memory implementation ... posix
selecting default max_connections ... 100
selecting default shared_buffers ... 128MB
selecting default time zone ... Etc/UTC
creating configuration files ... ok
running bootstrap script ... ok
performing post-bootstrap initialization ... ok
initdb: warning: enabling "trust" authentication for local connections
initdb: hint: You can change this by editing pg_hba.conf or using the option -A, or --auth-local and --auth-host, the next time you run initdb.
syncing data to disk ... ok
Success. You can now start the database server using:
pg_ctl -D /var/lib/postgresql/data -l logfile start
waiting for server to start....2025-06-24 22:09:35.184 UTC [54] LOG: starting PostgreSQL 16.9 (Debian 16.9-1.pgdg120+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 12.2.0-14) 12.2.0, 64-bit
2025-06-24 22:09:35.278 UTC [54] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
2025-06-24 22:09:35.529 UTC [57] LOG: database system was shut down at 2025-06-24 22:09:30 UTC
2025-06-24 22:09:35.598 UTC [54] LOG: database system is ready to accept connections
done
server started
/usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/*
2025-06-24 22:09:35.694 UTC [54] LOG: received fast shutdown request
waiting for server to shut down....2025-06-24 22:09:35.754 UTC [54] LOG: aborting any active transactions
2025-06-24 22:09:35.758 UTC [54] LOG: background worker "logical replication launcher" (PID 60) exited with exit code 1
2025-06-24 22:09:35.758 UTC [55] LOG: shutting down
2025-06-24 22:09:35.803 UTC [55] LOG: checkpoint starting: shutdown immediate
2025-06-24 22:09:36.227 UTC [55] LOG: checkpoint complete: wrote 3 buffers (0.0%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.150 s, sync=0.030 s, total=0.470 s; sync files=2, longest=0.021 s, average=0.015 s; distance=0 kB, estimate=0 kB; lsn=0/14EA2C8, redo lsn=0/14EA2C8
2025-06-24 22:09:36.232 UTC [54] LOG: database system is shut down
done
server stopped
PostgreSQL init process complete; ready for start up.
2025-06-24 22:09:36.483 UTC [1] LOG: starting PostgreSQL 16.9 (Debian 16.9-1.pgdg120+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 12.2.0-14) 12.2.0, 64-bit
2025-06-24 22:09:36.484 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432
2025-06-24 22:09:36.484 UTC [1] LOG: listening on IPv6 address "::", port 5432
2025-06-24 22:09:36.593 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
2025-06-24 22:09:36.736 UTC [68] LOG: database system was shut down at 2025-06-24 22:09:36 UTC
2025-06-24 22:09:36.821 UTC [1] LOG: database system is ready to accept connections
2025-06-24 22:14:36.832 UTC [66] LOG: checkpoint starting: time
2025-06-24 22:16:32.815 UTC [66] LOG: checkpoint complete: wrote 1128 buffers (6.9%); 0 WAL file(s) added, 0 removed, 0 recycled; write=115.557 s, sync=0.140 s, total=115.983 s; sync files=653, longest=0.045 s, average=0.001 s; distance=6710 kB, estimate=6710 kB; lsn=0/1B77ED0, redo lsn=0/1B77E98