# After enabling Multitenancy flag True App not started Postgres Issue

**URL:** <https://forum.camunda.io/t/after-enabling-multitenancy-flag-true-app-not-started-postgres-issue/52277>\
**Category:** Camunda 8 Topics\
**Tags:** multitenancy\
**Created:** [May 7, 2024, 9:06am UTC](https://forum.camunda.io/t/after-enabling-multitenancy-flag-true-app-not-started-postgres-issue/52277 "2024-05-07T09:06:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tanaychauli](https://forum.camunda.io/letter_avatar_proxy/v4/letter/t/f05b48/32.png) [@tanaychauli](https://forum.camunda.io/u/tanaychauli)\
**Post date:** [May 7, 2024, 9:06am UTC](https://forum.camunda.io/t/after-enabling-multitenancy-flag-true-app-not-started-postgres-issue/52277/1 "2024-05-07T09:06:56Z")

</div>

after running docker compose file [camunda-platform/docker-compose.yaml at d754764cab4a9e669e4005c1d109f79c7a9bb602 · camunda/camunda-platform · GitHub](https://github.com/camunda/camunda-platform/blob/d754764cab4a9e669e4005c1d109f79c7a9bb602/docker-compose.yaml) getting below error

```auto
2024-05-07 14:29:20 The files belonging to this database system will be owned by user "postgres".
2024-05-07 14:29:20 This user must also own the server process.
2024-05-07 14:29:20 
2024-05-07 14:29:20 The database cluster will be initialized with locale "en_US.utf8".
2024-05-07 14:29:20 The default database encoding has accordingly been set to "UTF8".
2024-05-07 14:29:20 The default text search configuration will be set to "english".
2024-05-07 14:29:20 
2024-05-07 14:29:20 Data page checksums are disabled.
2024-05-07 14:29:20 
2024-05-07 14:29:20 fixing permissions on existing directory /var/lib/postgresql/data ... ok
2024-05-07 14:29:20 creating subdirectories ... ok
2024-05-07 14:29:20 selecting dynamic shared memory implementation ... posix
2024-05-07 14:29:20 selecting default max_connections ... 100
2024-05-07 14:29:20 selecting default shared_buffers ... 128MB
2024-05-07 14:29:20 selecting default time zone ... UTC
2024-05-07 14:29:20 creating configuration files ... ok
2024-05-07 14:29:21 running bootstrap script ... ok
2024-05-07 14:29:21 performing post-bootstrap initialization ... ok
2024-05-07 14:29:21 syncing data to disk ... ok
2024-05-07 14:29:21 
2024-05-07 14:29:21 
2024-05-07 14:29:21 Success. You can now start the database server using:
2024-05-07 14:29:21 
2024-05-07 14:29:21 pg_ctl -D /var/lib/postgresql/data -l logfile start
2024-05-07 14:29:21 
2024-05-07 14:29:21 waiting for server to start....2024-05-07 08:59:21.462 UTC [36] LOG: starting PostgreSQL 14.5 on aarch64-unknown-linux-musl, compiled by gcc (Alpine 11.2.1_git20220219) 11.2.1 20220219, 64-bit
2024-05-07 14:29:21 2024-05-07 08:59:21.463 UTC [36] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
2024-05-07 14:29:21 2024-05-07 08:59:21.465 UTC [37] LOG: database system was shut down at 2024-05-07 08:59:21 UTC
2024-05-07 14:29:21 2024-05-07 08:59:21.466 UTC [36] LOG: database system is ready to accept connections
2024-05-07 14:29:21 done
2024-05-07 14:29:21 server started
2024-05-07 14:29:21 CREATE DATABASE
2024-05-07 14:29:21 
2024-05-07 14:29:21 
2024-05-07 14:29:21 /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/*
2024-05-07 14:29:21 
2024-05-07 14:29:21 waiting for server to shut down....2024-05-07 08:59:21.602 UTC [36] LOG: received fast shutdown request
2024-05-07 14:29:21 2024-05-07 08:59:21.602 UTC [36] LOG: aborting any active transactions
2024-05-07 14:29:21 2024-05-07 08:59:21.603 UTC [36] LOG: background worker "logical replication launcher" (PID 43) exited with exit code 1
2024-05-07 14:29:21 2024-05-07 08:59:21.603 UTC [38] LOG: shutting down
2024-05-07 14:29:21 2024-05-07 08:59:21.607 UTC [36] LOG: database system is shut down
2024-05-07 14:29:21 done
2024-05-07 14:29:21 server stopped
2024-05-07 14:29:21 
2024-05-07 14:29:21 PostgreSQL init process complete; ready for start up.
2024-05-07 14:29:21 
2024-05-07 14:29:21 sh: locale: not found
2024-05-07 14:29:21 2024-05-07 08:59:21.149 UTC [30] WARNING: no usable system locales were found
2024-05-07 14:29:21 initdb: warning: enabling "trust" authentication for local connections
2024-05-07 14:29:21 You can change this by editing pg_hba.conf or using the option -A, or
2024-05-07 14:29:21 --auth-local and --auth-host, the next time you run initdb.
2024-05-07 14:29:21 2024-05-07 08:59:21.732 UTC [1] LOG: starting PostgreSQL 14.5 on aarch64-unknown-linux-musl, compiled by gcc (Alpine 11.2.1_git20220219) 11.2.1 20220219, 64-bit
2024-05-07 14:29:21 2024-05-07 08:59:21.732 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432
2024-05-07 14:29:21 2024-05-07 08:59:21.732 UTC [1] LOG: listening on IPv6 address "::", port 5432
2024-05-07 14:29:21 2024-05-07 08:59:21.735 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
2024-05-07 14:29:21 2024-05-07 08:59:21.740 UTC [50] LOG: database system was shut down at 2024-05-07 08:59:21 UTC
2024-05-07 14:29:21 2024-05-07 08:59:21.744 UTC [1] LOG: database system is ready to accept connections
2024-05-07 14:29:27 2024-05-07 08:59:27.743 UTC [58] ERROR: relation "migration_model" does not exist at character 25
2024-05-07 14:29:27 2024-05-07 08:59:27.743 UTC [58] STATEMENT: SELECT ID, VERSION FROM MIGRATION_MODEL ORDER BY UPDATE_TIME DESC
2024-05-07 14:29:28 2024-05-07 08:59:28.146 UTC [58] ERROR: relation "public.databasechangelog" does not exist at character 22
2024-05-07 14:29:28 2024-05-07 08:59:28.146 UTC [58] STATEMENT: SELECT COUNT(*) FROM public.databasechangelog
2024-05-07 14:29:28 2024-05-07 08:59:28.342 UTC [59] ERROR: relation "public.databasechangeloglock" does not exist at character 22
2024-05-07 14:29:28 2024-05-07 08:59:28.342 UTC [59] STATEMENT: SELECT COUNT(*) FROM public.databasechangeloglock
2024-05-07 14:29:28 2024-05-07 08:59:28.358 UTC [58] ERROR: relation "public.databasechangelog" does not exist at character 22
2024-05-07 14:29:28 2024-05-07 08:59:28.358 UTC [58] STATEMENT: SELECT COUNT(*) FROM public.databasechangelog

```

---

<div class="post-metadata">

**Author:** ![system](https://forum.camunda.io/uploads/default/original/3X/5/8/58d50142eacca605d35cb1ef9e6b86ae85f49436.png) [@system](https://forum.camunda.io/u/system)\
**Post date:** [August 5, 2024, 9:07am UTC](https://forum.camunda.io/t/after-enabling-multitenancy-flag-true-app-not-started-postgres-issue/52277/2 "2024-08-05T09:07:27Z")

</div>

Closed on August 5, 2024, 9:07am UTC

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
